00:00
00:00
TazShelby2016
“One who never played god never dreamed, never thought, and certainly never existed.”

Not to be told.

Not to be told.

Not to be told.

Joined on 3/4/18

Level:
13
Exp Points:
1,633 / 1,880
Exp Rank:
38,538
Vote Power:
5.47 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
46
B/P Bonus:
0%
Whistle:
Normal
Medals:
1,705

Game-destroying Bug

Posted by TazShelby2016 - February 27th, 2021


Unfortunately, Railbound's inventory code seems to fire wrongly to the point I cannot continue. I am not sure if this is a bug with GDevelop but considering that an event is firing when conditions are false, I believe this is.


Tags:

Comments

I've had a few bugs like that. Not in GDevelop, but in AS3. Turns out a variable had been set to true but a long chain of invisible side effects (as in, I glossed over them because it looked like they were irrelevant) had occurred, causing it to be set to false (or vice versa, can't exactly remember.)

In this case, a sound effect plays despite not meeting its conditions. The variable, however, is set to the correct state. (The program, however, acts as if the variable is not in the correct state.)

@Gimmick sorry, it never notified me of this comment. I just saw it.

I haven't used GDevelop but I guess it uses Javascript; what did the debugger say?

Sorry, NG does not notify me at all. I got the info on the variable from the debugger.

I found the source of the bug while converting many variables to booleans. I resumed work today.