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 / Help with error in game.

Author
Message
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 1st Dec 2007 03:22
Hi, it's me again.

I'm making an RPG game based in the desert. So far I'm trying to create the enviorment for the game. There's an error in the code that has to do with object numbers. I believe it has to do with the hut code.




If anyone can help me figure the error out, that would be great.

http://en.wikipedia.org/wiki/Main_Page
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 1st Dec 2007 03:46
You need to give 'h' a value. You are attempting to load and scale the hut model using the value of 'h', but you did not assign a value to 'h'. DB values 'h' at 0 unless you say otherwise. Since 0 is not a legal object number, it errors.

LB
TheDark
18
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 1st Dec 2007 23:11
Thanks.

http://en.wikipedia.org/wiki/Main_Page

Login to post a reply

Server time is: 2026-07-05 16:06:06
Your offset time is: 2026-07-05 16:06:06