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 / Possible bug not sure~8-|

Author
Message
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 19th May 2012 19:12
For some strange reason my game exe crashes when I have this line:

It does not crash when I comment out the joystick section of the line


Strange stuff

AEngine 2012 Ameadus Project Feedback or Food o0
Daniel wright 2311
User Banned
Posted: 19th May 2012 19:18
@BlackChaos

It could be you dont have any joy stick commands or dlls,or there is a problem in your joy stick code that we cant see as you did not post it.

my signature keeps being erased by a mod So this is my new signature.
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 19th May 2012 19:29


Hmm..

I've reviewed my code a couple times and the same error pops up every time, without any obvious reason.

Not 2 things:
* I'm using a Sixaxis controller(PS3 Controller). Works Fine with the other Joystick commands and my OS registers it as a Game controller!.
* The command "Joystick y()" is a Native command. I try not to use .dll's when functions are built in to the editor/compiler.
* This is strange because I have lots of other joystick commands all over this game and this is the only occurrence of this error

AEngine 2012 Ameadus Project Feedback or Food o0
Daniel wright 2311
User Banned
Posted: 19th May 2012 20:15
comment out the RunTimer# > 70 and not the Joystick y()>500 and see what happens,it could be your timmer

my signature keeps being erased by a mod So this is my new signature.
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 20th May 2012 21:35
@Daniel wright 2311
Same thing happens

Its Ok. Found a longer way of doing it.

Much appreciated

AEngine 2012 Ameadus Project Feedback or Food o0
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 20th May 2012 22:51
Try:

Don't know if it will work, but I've had instances where calling a function inside of an IF statement crashed on me.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
Daniel wright 2311
User Banned
Posted: 21st May 2012 02:31
I never once had function's inside of IF statement's crash on me,not that I remember,but i will say this,he already rewrote it so I guess it works now.


my signature keeps being erased by a mod So this is my new signature.
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 21st May 2012 03:22
Could have been FOR NEXT loops, don't remember. All I know, is that I usually do variable = function instead of using a function in another process because of issues I've had.

P.S. Mr. Wright, Did you ever get your Mystic81006 = Daniel wright 2311 3D stuff resolved? I'm surprised the threads are still locked, since, as far as I can tell, you are Mystic81006.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
Daniel wright 2311
User Banned
Posted: 21st May 2012 03:34
I am bolth mystic81006 and danielwright2311 , look at my email address my good friend.I never did,no one would listen to me,I can even prove my own work.

my signature keeps being erased by a mod So this is my new signature.
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 21st May 2012 03:43
After a couple quick google searches, it is easy to tell that you are also mystic81006. It's a shame the threads are still locked, good work on the 3D stuff, though. If you need back up, let me know. I'll vouch for you!

Sorry to hijack your thread, BlackChaos.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.

Login to post a reply

Server time is: 2026-07-22 00:35:18
Your offset time is: 2026-07-22 00:35:18