Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Runtime Error 7008 Object does not exist.

Author
Message
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 5th Apr 2015 13:10 Edited at: 5th Apr 2015 13:16
I get this while testing my loading function which works fine for 2 out of 3 modes for my game.For some reason for the 3rd mode i get this error.Which statesbject number not found: 92.Haha...I don't even use object with this number in my game.I should at least get some error while playing the mode, but not.Only when i try to load a game in this mode.

P.S. And more over it shows that the offending line is 11009, which is an EMPTY LINE!

Coding is My Kung Fu!
And My Kung Fu is better than Yours!
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 5th Apr 2015 17:49
Either attach your project code or place the code you think might be related such as object creation/loading code in your post inside a code block...

Otherwise we might as well tell you how to make a good baguette...

What is Mode?

luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 5th Apr 2015 18:06 Edited at: 5th Apr 2015 18:14
Nevermind i found it.It was a byte that should be long.The routine was scrolling trough the byte positions and displaced the real number because it's not sufficient to remember the real value.It was ment to hold object numbers for objects in the game.First two modes use small object number arround 80 or so.But the next mode uses hundreds.So it wasn't sufficient to remember and it and it write some scrolled bytes instead which confused it.But still not sure why the IDE showed empty line, or maybe i'm becoming crazy for sleep...

Coding is My Kung Fu!
And My Kung Fu is better than Yours!

Login to post a reply

Server time is: 2025-05-12 20:12:42
Your offset time is: 2025-05-12 20:12:42