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.

Bug Reports / dbp U5.9 b3

Author
Message
Yian
20
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Nicosia, Cyprus(the Greek half)
Posted: 24th Oct 2005 20:46
in the U5.9 b3 info it says:
Quote: "* Stopped a possible crash with "sprite collision" not checking for existence of both sprites
"

well,actually this code worked fine till this beta update,now if you try to compile it says sprite doesnt exist - when you do a sprite collision test...


NB: I can't upload my code and a few models for some reason(not over 10mb)

It's Mr.Yian to you.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 24th Oct 2005 23:18
Please put a better topic to your posts so people can use the search feature on this forum. This bug is fixed in DBP 5.9 beta 3 on my machine. See this thread for example codes that all work here.

http://forum.thegamecreators.com/?m=forum_view&t=62596&b=15

Yian
20
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Nicosia, Cyprus(the Greek half)
Posted: 25th Oct 2005 17:23
my bug is difffernet, it says the sprite doesn't exist... and I am with the latest patch.Didn't you read???

It's Mr.Yian to you.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 25th Oct 2005 22:17 Edited at: 25th Oct 2005 22:18
His also says sprite does not exist ... didn't you read? See if you can run the code I posted there. If not then your computer did not update correctly to beta 3 somehow. It works here.



Yian
20
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Nicosia, Cyprus(the Greek half)
Posted: 26th Oct 2005 15:16
sorry I should have shown my code,which is diffrent,I don't put zero for the last parameter.I uploaded my example.
http://66.98.192.31/~jeriko/delete.rar

It's Mr.Yian to you.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 27th Oct 2005 11:11 Edited at: 27th Oct 2005 11:14
That is no bug, but a programming error. You are deleteing all sprites (2-4) when clicking on the single player sprite:



But you are not exiting the main loop so it goes on the the next check in the loop:



And since sprite 3 was deleted you get the error.

[edit] Something like this would work better.



Yian
20
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Nicosia, Cyprus(the Greek half)
Posted: 27th Oct 2005 13:52
hmm yes this is true,but try using your code...it just exits when u click single player.So I wasn't sure,I thought it must be abug with 5.9b3 since it didn't happen before.

It's Mr.Yian to you.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 27th Oct 2005 22:16 Edited at: 27th Oct 2005 22:21
That code runs fine here.

[edit] Here is my entire .dba file contents when running. I had to remove your absoute paths from the code and the exe name though.



Yian
20
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Nicosia, Cyprus(the Greek half)
Posted: 28th Oct 2005 13:27
nope didn't work here,but worked after I removed the 4 'enemy' ships. sry for stupidly comin gto bug reports and thanks for the help!

It's Mr.Yian to you.

Login to post a reply

Server time is: 2024-04-24 15:52:37
Your offset time is: 2024-04-24 15:52:37