 |
Castle Paradox
|
View previous topic :: View next topic |
Author |
Message |
Mystic
Joined: 26 Feb 2005 Posts: 16
|
Posted: Mon Jul 14, 2008 11:58 pm Post subject: Simple script causes bug (but has no obvious problems?) |
|
|
Code: | plotscript, nighttime, begin
if(check tag(3)) then(
reset palette
tweak palette (-25,-25,-10)
update palette
)
end |
causes this in in g_debug.txt
WANTIMMEDIATE BUG
nighttime terminated, setting wantimmediate on startup
wantimmediate ended on nowscript = -1
I haven't noticed any problems with it, but BUG in all caps just can't be good. What's wrong with the script? (It works as I'd like it when testing)[/code] |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Tue Jul 15, 2008 1:09 am Post subject: |
|
|
Nothing is wrong with your script. The bug that's mentioned is an engine bug.
That big scary message in g_debug.txt is mostly just for the developers. Maybe it should be removed, because it's scaring everyone. The problem is that there is/was a bug with the way scripts are triggered that could cause wait's to be skipped, or cause error messages. It was fixed, but then discovered that some people actually rely on the buggy behaviour. Opps: ever since, we haven't been able to decide whether to leave the bug in, or fix it. Unfortunately, nightlies and stable releases behave differently. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|