00:00
00:00
View Profile TazShelby2016
“One who has never played god has 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:
11
Exp Points:
1,141 / 1,350
Exp Rank:
46,079
Vote Power:
5.28 votes
Rank:
Civilian
Global Rank:
113,237
Blams:
0
Saves:
36
B/P Bonus:
0%
Whistle:
Normal
Medals:
1,612

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 (4)

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.