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.

DLL Talk / Terrain Error

Author
Message
Varix
18
Years of Service
User Offline
Joined: 23rd May 2006
Location:
Posted: 30th Jul 2006 06:07
im using advanced terrain for my first time, and when i compile, theres a message box that sais "7". Then it returns to darkbasic pro.
Whats wrong?????
Trinita
21
Years of Service
User Offline
Joined: 29th Sep 2003
Location: Italy
Posted: 30th Jul 2006 17:58
Can you paste some code?

"An eye for an eye will only make the whole world blind."
Varix
18
Years of Service
User Offline
Joined: 23rd May 2006
Location:
Posted: 30th Jul 2006 22:10
make object terrain 1
build terrain 1
do
update terrain
loop


there ya go! i hope you can help
Trinita
21
Years of Service
User Offline
Joined: 29th Sep 2003
Location: Italy
Posted: 31st Jul 2006 02:28
The correct terrain creation code is:



You have forgotten a lot of stuff in your code.You can find some good help files here:
http://forum.thegamecreators.com/?m=forum_view&t=77209&b=1

Bye.

"An eye for an eye will only make the whole world blind."
SirFire
19
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 31st Jul 2006 15:46
I think this actually is worthy of a bug report, b/c "7" doesn't give you any clue what the problem is.

It would be nice if it said something other than "7". Something like "Failed to create advanced terrain. No parameters."

There are other AT errors that say things like "5" or other numbers. Can't we get some kind of more verbose description of the errors?

Varix
18
Years of Service
User Offline
Joined: 23rd May 2006
Location:
Posted: 31st Jul 2006 19:53
thanks for proper code trinita, but it still gives error: "7". What version of dbp is required to use advanced terrain?
Trinita
21
Years of Service
User Offline
Joined: 29th Sep 2003
Location: Italy
Posted: 31st Jul 2006 21:18
I use the last one: 6.2b. you'll better upgrade to that one.

"An eye for an eye will only make the whole world blind."
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 31st Jul 2006 23:05
You have loaded a texture and detail image haven't you? (trinatas example has this set as image 1 and 2)

And you do have a heightmap in the correct place?

Boo!
Varix
18
Years of Service
User Offline
Joined: 23rd May 2006
Location:
Posted: 1st Aug 2006 00:24
i made a heightmap and tried it, same error. I have the wrong version of dbp, so i'll update mine

Login to post a reply

Server time is: 2024-11-22 12:00:42
Your offset time is: 2024-11-22 12:00:42