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 / Functions Crash

Author
Message
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Mar 2009 08:14 Edited at: 30th Mar 2009 08:17
Hi I am getting my code to compile but it keeps crashing when I try to make it run, why ?


BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Mar 2009 08:33 Edited at: 30th Mar 2009 09:29
hmmmmmmmmmmmm.........good question. Can't run it to see where the error line is since it uses media, and I don't even know the error message itself.........I got nothin.

[EDIT]
Turns out, it wasn't media, it was OBJECT DOESN'T EXIST, not FILE DOESN'T EXIST.

Now, I reiterate of those who have said it in your OTHER POST:

Quote: "well according to the code , I dont see where you even loaded or created object 3. the object must be loaded or created or you will get that error.
"


[EDIT 2]

Added a box for object 3 just to do it. You forgot to put a sync in your main loop too.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Mar 2009 09:54 Edited at: 30th Mar 2009 09:56
Oh I see so it does run then BN2 Productions? and I thought I had those instructions in there, and it was a sphere orignally, think it was you who said that
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Mar 2009 10:03
It was bluestar actually who said it first I think. But I DID get it to run. Only problem was the lack of the object creation and the lack of a sync command in the main loop. However, it didn't do much, wasn't sure exactly what it was supposed to do though.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Mar 2009 10:04 Edited at: 30th Mar 2009 10:05
Well got it to stop crashing , only thing is the camera is stuck grrrrrrrrrrrrrr, well I am supposed to be able to be getting into a hovercraft or a plane and walk about in the 1st or 3rd person
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 31st Mar 2009 12:40
Well I don't know whats wrong with this possibly need someone to teach me about functions
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 31st Mar 2009 16:12
See this.

~QJ
That's what they WANT you to think...
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 3rd Apr 2009 01:34
I think the compiler only checks for syntax errors

can't read?
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 4th Apr 2009 09:51
I see OBese87

Login to post a reply

Server time is: 2025-08-08 20:42:33
Your offset time is: 2025-08-08 20:42:33