probably a noob question
I've been programming on my game and the games still kinda buggy anyways, i rearranged and rewrote a lot of the code but and to me idealy it looks fine, it's compiles error free too, however the games window will pop up then i get an error message saying the games f*cked uo or something.
I dont know how to rememdy this problem, it complies fine, how can i find out whats f*cking up my game??
Thx
Nelson
I would get my hands on a debugger and line by line see where my [null reference?] errors are.
Quote:Original post by zike22Interesting error message :-)
...i get an error message saying the games f*cked uo or something.
Seriously though, if you want help, provide as much information as you can. For example, what platform and/or APIs you're using, what the error message actually says, and anything else you think might be relevant.
Well, the way you asked it was "noobish"
The problem itself could be either a very simple error, or a complex memory leak of some sort.
As others said, grab a debugger and check it out.
Without nearly enough information I can say it's most likely you've got an array going out of bounds or a pointer trying to access unallocated memory.
The problem itself could be either a very simple error, or a complex memory leak of some sort.
As others said, grab a debugger and check it out.
Without nearly enough information I can say it's most likely you've got an array going out of bounds or a pointer trying to access unallocated memory.
Yea sorry about that, at least i know for next time.
So there is no error the game conpiles fine, however the error i recive from the app onced compiled is from windows, one of their standard "this program f*cked up", here's a pic.
Some info: dev-c++, coded in c++, allegro lib, mappy, mappyal lib,fmod audio lib.
I've never used a debugger, I've notice one on dev-c++, can some one fill me in.
sorry about before, thx
nelson
So there is no error the game conpiles fine, however the error i recive from the app onced compiled is from windows, one of their standard "this program f*cked up", here's a pic.
Some info: dev-c++, coded in c++, allegro lib, mappy, mappyal lib,fmod audio lib.
I've never used a debugger, I've notice one on dev-c++, can some one fill me in.
sorry about before, thx
nelson
need a debugger for that one some times the report provides info about where the program went wrong.
Click on "See what data this error report contains". It's mostly just a bunch of hexadecimal-memory exception stuff, but someone here might be able to decipher it, or it may point you in the right direction.
BTW, I've had this problem when I didn't have all of my graphics and sound files in the same folder as the game when it started, and if that's the case and your game doesn't have any built in error handling, this is the message you'll get, so check to make sure all of your files are together (longest sentence I've ever posted on GDNet :) ).
BTW, I've had this problem when I didn't have all of my graphics and sound files in the same folder as the game when it started, and if that's the case and your game doesn't have any built in error handling, this is the message you'll get, so check to make sure all of your files are together (longest sentence I've ever posted on GDNet :) ).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement