Question!
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?
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.
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.
//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.
Unless there's a (pseudo-)random-numbergenerator in there, it should give the same output on the same input
