Strange bugs,sounds familiar?

Posted by Tumetsu on Oct. 22, 2006, 10:13 a.m.

Aargh!

I hate when there appears one of bugs what you jsut can't figure out. You probably know what I mean. Or is it familiar when you get odd errors and when you check your code, everything is fine. There is some different "impossible bugs".

Here some what I met.

1. Bug that you can't notice but all peoples who post feedback tells that something won't work in first level, but when you test it, it works finely. Generally bugs, what appears in certain computers. Very annoying and hard to fix.

2. GM's own bugs. Bugs, often errors what appears even your code is perfectly fine. Then you spend next 2 hours thinking WTF is wrong. After that time you copy your object and all it's events and you notice it works fine!

3. Saving bugs. Just found this kind bug, and I can say it's ANNOYING! In my current project I store some ID values to the variables. When I save and load, it just tell that these variables are unknown! So I guess it doesn't save them.

What's the strangest, it don't give any errors when saving GM's F5 and F6 way or when making same system to the another file. Pretty hard to detect.

This is now unsolved, if you have any suggestions or fix ideas, let me know!

4. Illogical bugs. Of course all these bugs are someway illogical, but now I mean one spesific group. Luckily, these

bugs are pretty rare (for me) but when it appears it's very annoying. It's when one completely different function messes one other function. Something like, particle effect messes variable checking or something as illogical. Very hard to find. You can just delete parts of your code, or try to find what the heck is matter.

These was just some of bugs what aren't usually normal coding errors. I don't know do anyone else have these kind of bugs, but I personally doubt that you have never met any of these kind bugs.

BTW, number 3 drives me crazy, and seems like nobody can help me, so that's why I added it there. It's more than annoying. :( Hope that anyone else doesn't have that bug. It's simply so strange! However, if you have solved it, tell to me :p

Comments

smaksak 18 years, 1 month ago

I hate all gm bugs ><

OL 18 years, 1 month ago

Quote:
GM's own bugs. Bugs, often errors what appears even your code is perfectly fine. Then you spend next 2 hours thinking WTF is wrong. After that time you copy your object and all it's events and you notice it works fine!

Or when you realise you didn't even have the object you were editing in the room you were testing it in o_o

smaksak 18 years, 1 month ago

or when you have two different resources with same names

firestormx 18 years, 1 month ago

A lot of the time number 2 can be fixed just by using proper code syntax in the first place. (colons, brackets, braces, etc)

I really don't like how GM doesn't force you to do this…If it did, I'm sure there'd be a lot less people saying there's bugs in GM. I'm not saying there aren't bugs, such as your saving thing and stuff (which I don't know how to fix, sorry), but a lot of the time GM has to make assumptions if you don't use proper syntax, and those assumptions are sometimes wrong.

Tumetsu 18 years, 1 month ago

Yes I know what you mean firestormx, but I mean bugs what GM causes. It's rare but have happened to me couple of times. Code is

proper and it still won't work. Like one time when I tried to active even_user(0) from another object, I just get error. Problem disappeared when I made another object and copied all code manually to it.

Quote:
Or when you realise you didn't even have the object you were editing in the room you were testing it in o_o
Yes! That happened me too! Then I wonder what is wrong and I code whole object again :P

DFortun81 18 years, 1 month ago

Quote:
3. Saving bugs. Just found this kind bug, and I can say it's ANNOYING! In my current project I store some ID values to the variables. When I save and load, it just tell that these variables are unknown! So I guess it doesn't save them.

What's the strangest, it don't give any errors when saving GM's F5 and F6 way or when making same system to the another file. Pretty hard to detect.

This is now unsolved, if you have any suggestions or fix ideas, let me know!
Actually, this is caused because you modified the game. If you save your game using the default method, you can expect it to run fine when in the same version. But as soon as you change ANYTHING, the save file will no longer be compatible with it, hence the error message.

Tumetsu 18 years, 1 month ago

Ah, I wish that it would be that easy! But if I save my gm6,then open game,save game and then open game again without any modifications it still kicks that error. So I doubt it is modifications if gm6 file is untouched. But thanks for trying help.

Arcalyth 18 years, 1 month ago

Hence why making your own save system is like a million times better.

Onyx 18 years, 1 month ago

4. Everithing works just fine, you stop working on a game (lack of time/inspiration) and when you return to it 2 days later it doesnt' work anymore. You try to find the bug and fail miserably. Finnaly you throw your computer throught the window, get it back, rewrite the code completely and it suddenly works. Or you never get it to work anymore

Happend to me a few times when I was working on some AI.

Tumetsu 18 years, 1 month ago

@Onyx

Or when you return after couple weeks or so, you can't understand anything anymore, because you don't remember how your system works anymore XD. Seriously, this happened me when I coded working battle and inventory system. Now when I watch it, I just don't understand even thought I'm more experienced now. Maybe it's because I coded it so strangely when I was less experienced :D

@Arcalyth

Yes, I thought to make own system, but I don't know is it worth it…