The Dink Network

Question!

April 5th 2006, 05:52 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Is it possible that, when a script has bugs, it could still work randomly on some computers/moments? Like, a script could be missing a bracket, but 50% of the times it just works and 50% of the times it crashes?
April 5th 2006, 06:26 PM
dragon.gif
Not from my experience. At least when I done that with my script sets and dmods it wouldn't work at all with brakets missing.
April 5th 2006, 06:41 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Aye, and you don't have to have missing brackets, this code will do:

//Insert code before here
int &randy = random(2,1)
if (&randy == 1)
{
crash:
goto crash;
}
//Instert code after here

Sorry... abusing this kind of posts for lame programmers' humor is too easy.

But seriously, yes, it can happen. I don't know the reason, though.
April 6th 2006, 12:57 AM
duckdie.gif
With programming, just about anything can happen.
April 6th 2006, 06:44 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Unless there's a (pseudo-)random-numbergenerator in there, it should give the same output on the same input
April 7th 2006, 11:23 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
It all depends on how your hardware handles the error, really. Some hardware will try to compensate, other hardware just says "NO! THAT'S OT RIGHT!".