Re: [Request]Script [message #399072 is a reply to message #399067] |
Sat, 22 August 2009 21:54 |
|
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma:
|
General (2 Stars) |
|
|
raven wrote on Sat, 22 August 2009 23:32 |
Ethenal wrote on Sat, 22 August 2009 22:58 | Yes, you are correct in assessing that your problem is the while loop; since while(1) will always be true, and since the RenegadeFDS is not multithreaded, your program will essentially stay in that loop and any code executed by it indefinitely until 1 is no longer equal to 1, which will obviously never happen.
As raven said, learn to write non blocking code or shove this code in a thread so it won't halt the FDS. I've heard plenty of people say creating threads in the FDS is not a good idea, though.
|
ExodusScripts is multithreaded
|
That's probably why our server has bluescreened our box then.
-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29 | Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade
|
|
|
|