Search found 403 matches

by Henrik
Mon Jan 09, 2012 7:04 pm
Forum: Coding Questions
Topic: collisions problem
Replies: 4
Views: 1561

Re: collisions problem

Hi BP
BasicallyPure wrote:try this before your repeat / until loop.

Code: Select all

 SetFrameRate(30)
edit:
using both SetFrameRate(30) and RenderWorld(60) seems to give good results.

B.P.
Yes it does :)
Thank you 8)

Btw. sorry for posting in the wrong forum, shoud have been in Game Programming :?

Best Henrik.
by Henrik
Sat Jan 07, 2012 9:33 pm
Forum: Coding Questions
Topic: collisions problem
Replies: 4
Views: 1561

Re: collisions problem

Hi gnasen thanks for your answer :D


There are different things you can do: First (dont know if there is a parameter in PB) you can adjust the timestep of the engine (more checks -> less mess)

if i use RenderWorld(100) the sphere seems to bounce of, i will try it out with different settings ...
by Henrik
Sat Jan 07, 2012 8:37 pm
Forum: Coding Questions
Topic: collisions problem
Replies: 4
Views: 1561

collisions problem

Hi there
How would you go about this problem without inventing your own physics system. I have tried to illustrate the problem in the code below. It's maybe not the best way to show the problem, but i hope you understand. :(

Is there anything that i have missed or does the code actual work as it ...
by Henrik
Wed Aug 31, 2011 6:10 pm
Forum: Coding Questions
Topic: Test internet connection reliably?
Replies: 45
Views: 11112

Re: Test internet connection reliably?

Hi SFSxOI Thanks for a very fine in depth explanation, realy great. :D
But you should always assume that the return value is in the user's own language


...
If p : While ProgramRunning(p) : o$+ReadProgramString(p) : Wend : CloseProgram(p) : EndIf
If o$<>"" And FindString(o$,"unreachable",1)=0 ...
by Henrik
Thu Aug 11, 2011 4:47 pm
Forum: Coding Questions
Topic: Total Hook
Replies: 13
Views: 3562

Re: Total Hook

Hi kcc
You would probably need somthing like EasyHook EasyHook - http://easyhook.codeplex.com it uses a " Driver ", to ensure that it workes
But the project seems abandoned, but some have made it work in Vs2010
it is primarily at C# project "I dont like C#, but that is my problem"

Also to inject up ...
by Henrik
Wed Jun 22, 2011 9:39 pm
Forum: General Discussion
Topic: How to use MySql in PureBasic!
Replies: 3
Views: 1904

Re: How to use MySql in PureBasic!

Yes
But be aware that you probably will have to register your IP at forum host, or at your domain configuration, to be able to access the database


Use GoogleTranslate and go here
http://www.purebasic.fr/french/search.php?keywords=Libmysql.pbi&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=topics&st=0 ...
by Henrik
Wed Jun 01, 2011 7:07 pm
Forum: Coding Questions
Topic: How to catch a code from a website wich needed log & pass
Replies: 6
Views: 2149

Re: How to catch a code from a website wich needed log & pas

(sorry, i don't have an answer)
But does it matters if the guy has a skull something for avatar???
And I bet almost everyone knows how to right click on a web page to get its source, so It wasn't obviously what he wanted.

Sorry guys, but this sounds like "oh, he has a skull in his avatar, he might ...
by Henrik
Fri Dec 03, 2010 11:19 pm
Forum: Coding Questions
Topic: Going insane re:Database
Replies: 4
Views: 1449

Re: Going insane re:Database

Check your settings on your webserver, it is possible that you have to register your ip for external access to your database.

Henrik.
by Henrik
Wed Nov 24, 2010 7:41 pm
Forum: Coding Questions
Topic: How do you write a program?
Replies: 6
Views: 1685

Re: How do you write a program?

If i were you, i would download kales book
"PureBasic - A Beginner's Guide To Computer Programming"

link : http://www.purebasic.fr/english/viewtop ... 14&t=37059


Edit* Your subject doesn't fit your question

Regards
Henrik
by Henrik
Wed Feb 17, 2010 5:04 pm
Forum: Coding Questions
Topic: Getting the External IP weirdness
Replies: 6
Views: 1717

Re: Getting the External IP weirdness

Damn, I dont wanna download the file. :(
There's no other way?
Hi This is what i do, this way the ip add only appear in the header of the GetIP.php file

php file "GetIP.php"

<?php
//Gets the IP address
$ip = getenv("REMOTE_ADDR") ;
Header(":\"$ip\"");
?>


pb get only ip addy

InitNetwork ...
by Henrik
Wed Dec 02, 2009 3:01 pm
Forum: Off Topic
Topic: Offering Google Wave Invites
Replies: 30
Views: 7618

Re: Offering Google Wave Invites

nhokem wrote:If any more are available, I would also like an invite please (csugioka at gmail dot com)...thanks!
Done. :wink:
by Henrik
Mon Nov 30, 2009 12:02 am
Forum: Off Topic
Topic: Offering Google Wave Invites
Replies: 30
Views: 7618

Re: Offering Google Wave Invites

Thanks to Bonne_den_kule :wink: i too have 8 invitation, for those who want. :D
by Henrik
Tue Sep 08, 2009 6:02 pm
Forum: Coding Questions
Topic: Change the ASCII of a given character
Replies: 6
Views: 1761

Why not Search for Scancode on this forum ?
by Henrik
Thu Aug 13, 2009 9:02 pm
Forum: Off Topic
Topic: Ever forgot your password for e-mail, forums, et cetera?
Replies: 13
Views: 5877



What if an input field, or several input fields, must be left blank in order to continue? Will bots get around this?

Hi i did that with my cousin's guest book, and that worked very well, before she had about 10 + bots a' day, eh. she still does, but now they are filteret out, cus they fill out ...
by Henrik
Tue Aug 04, 2009 8:05 pm
Forum: Coding Questions
Topic: Turn LCD off until a key is pressed
Replies: 17
Views: 3563

> The delay should be raised to at least 20-100 in my opinion,
> this makes the program lighter on the CPU

Nah, 1 is fine. Remember, 1 isn't always going to be exactly 1 ms, it's going
to be whatever the CPU needs at that time. I've done tests using 1, 50 and
100 ms and there was no difference in ...