It's a Gamemaker bug I fixed it on accident By adding a troubleshooting debug message that's supposed to tell me what's in the file so I know if it just can't read the file, the game has instead thrown a "Loaded Empty Value from File", an error message I programmed into the filesave system, and now everything works The first time I try to check for a key in an INI file it simply fails What a great time
lmao found ur channel thru a comment but dude this reminds me of when im trying to explain a coding problem to my family and theyre like.... "huh???" lol
ive just accepted that game dev is a series of constantly encountering a problem that you have no clue why its not working. And then spending anywhere from 6hrs to 3 days straight until you find out it was just that you fucked it up
@@JapaAppa Hell yah. The more I program the less often I find myself in this situation. As this video proves tho, you can never really be free from it lmao. You'll always type the wrong operation or encounter an engine quirk eventually. GL with your programming shenanigans!
As someone who has never programmed anything in their life nor have I read a book on it or anything; I have no idea what I’m doing here. What I don’t understand is how people like me (who know absolutely nothing about anything) even began to write code. Like how did they even start to begin writing a language that they didn’t even know that they didn’t know? It seems to be equivalent to a cave man being introduced to a microwave and being asked to find the resources to replicate it with materials he can find scattered about, not realizing he wouldn’t accomplish that task with 1 million lifetimes.
I'll be perfectly honest. I am astounded that this code even compiles. at 21: you push an empty array and later operate on non existing indecis. at 26: you actually asign (=) instead of compare (==) I am not saying those are the cause of your problem here. But just the fact that the language actually allows for it, combined with you clearly being a newbie, it's no wonders things go tits up. Programing doesn't suck any more then any other thing that you don't understand. Learn the basics well.
Lmao. It's always fun having people who use other (real) languages look at my messy GML. Assign and Compare can both be done with one = (presumably to keep it accessible), and the fact that I have no idea why pushing empty arrays is bad says enough about that. In the niche subarea of GML I'm actually decently experienced and competent. The bug was caused by an engine quirk that caused the first attempt to read a file in a while loop to fail, and I had to fix it by having an extraneous ini_read_real() at the start of the function. I agree with your last statement though, even with the smug superiority of your comment.
It's a Gamemaker bug
I fixed it on accident
By adding a troubleshooting debug message that's supposed to tell me what's in the file so I know if it just can't read the file, the game has instead thrown a "Loaded Empty Value from File", an error message I programmed into the filesave system, and now everything works
The first time I try to check for a key in an INI file it simply fails
What a great time
Rule 1: All software contains bugs, so why not the software that should help us to make software :)
@@Zicore47 Of course :(
lmao found ur channel thru a comment but dude this reminds me of when im trying to explain a coding problem to my family and theyre like.... "huh???" lol
ive just accepted that game dev is a series of constantly encountering a problem that you have no clue why its not working. And then spending anywhere from 6hrs to 3 days straight until you find out it was just that you fucked it up
but then you learn from it and its all good lol
@@JapaAppa Hell yah. The more I program the less often I find myself in this situation. As this video proves tho, you can never really be free from it lmao. You'll always type the wrong operation or encounter an engine quirk eventually. GL with your programming shenanigans!
it helps to have the source code to an engine
As someone who has never programmed anything in their life nor have I read a book on it or anything; I have no idea what I’m doing here.
What I don’t understand is how people like me (who know absolutely nothing about anything) even began to write code. Like how did they even start to begin writing a language that they didn’t even know that they didn’t know?
It seems to be equivalent to a cave man being introduced to a microwave and being asked to find the resources to replicate it with materials he can find scattered about, not realizing he wouldn’t accomplish that task with 1 million lifetimes.
This was so funny lol, thx
I'll be perfectly honest. I am astounded that this code even compiles.
at 21: you push an empty array and later operate on non existing indecis.
at 26: you actually asign (=) instead of compare (==)
I am not saying those are the cause of your problem here. But just the fact that the language actually allows for it, combined with you clearly being a newbie, it's no wonders things go tits up.
Programing doesn't suck any more then any other thing that you don't understand. Learn the basics well.
Lmao. It's always fun having people who use other (real) languages look at my messy GML. Assign and Compare can both be done with one = (presumably to keep it accessible), and the fact that I have no idea why pushing empty arrays is bad says enough about that.
In the niche subarea of GML I'm actually decently experienced and competent. The bug was caused by an engine quirk that caused the first attempt to read a file in a while loop to fail, and I had to fix it by having an extraneous ini_read_real() at the start of the function.
I agree with your last statement though, even with the smug superiority of your comment.
@@RaidSpinel Haters gonna hate. Keep fighting the good fight.