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 Discussion / A slight problem when execute game

Author
Message
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 26th Jul 2005 08:15
Hi

Well, I've written a game wich I haven't hade problem with yet. But now, when I exectue my game, an error comes up saying that an object doesn't exist. When I return to the editor (CodeKEEPER) the "loop" command is marked. I think this is because there is something wrong in the code like:

Make object box 4,10
Yrotate object 5,180

or is it something else? Do I have to go trough my whole code before or after the "do"-command? I just don't know were the problem is

"Even though I'm ugly, I'm extreamly sexy!"
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 26th Jul 2005 10:46
Stora tomtefar,

Somewhere within your code you are possibly raising a variable too high, one that you are using to edit a specific object. On the other hand, you may have just typed a wrong number in. Let us see your code. Elsewise, this is the best answer we can give you.


+NanoBrain+
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 26th Jul 2005 11:02
Are you using TAPEs?
If so hit Ctrl+Sift+F5 which will bring up the code buffer, which is where CodeKeeper injects all your taped code into the main source file. Just remember what line it tells you to go to and check that line in the code buffer.

Otherwise I have no clue, blame it on CodeKeeper. If you have no need of the TAPEs I'd recommend DarkEdit, while it lacks that wonderful tape feature it's a lot more stable.


I'm going to eat you!
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 27th Jul 2005 05:52
Okey, I figured it out now. Thanks, noth of you

"Even though I'm ugly, I'm extreamly sexy!"

Login to post a reply

Server time is: 2025-05-22 13:16:28
Your offset time is: 2025-05-22 13:16:28