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 / drawing outside bitmap causes silent crash

Author
Message
Me!
18
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 2nd Oct 2005 11:24 Edited at: 2nd Oct 2005 11:25
this didn`t happen previously, you used to be able to draw outside of a defined bitmap and all that happened was the draw did not get done, now it just crashes silently back to the editor, no "out of bounds" error message or anything, just crashes, the same goes for circles that go off the edge of the bitmap etc, and while we are on the subject how come "dot" needs more time to execute than line?, maybe you should pass the dot parameters to the line function for now? (hows that for a quick hacky fix), code showing this crash follows, it draws a line on bitmap 1 that will crash the program the instant it goes beyong 200,200 (the position of the text)





why do they say Aliens are gonna be friendly?, surely the agressive ones wipe out the peaceloving ones, so all you have left out there are crazed flesh eating interstellar monsters.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Oct 2005 11:26
Yes, indoodly

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 2nd Oct 2005 16:42
Add an extra safety check into upgrade 5.9.
re faze
19
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 3rd Oct 2005 06:05
hmm, isnt that going to slow the engine?

you dont beat the system. the system beats you.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 3rd Oct 2005 10:11
So - what else do you propose ?

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Me!
18
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 3rd Oct 2005 13:35
well...it won`t slow it down half as much as the unexpected crash you could get if one pixel strays off the bitmap



why do they say Aliens are gonna be friendly?, surely the agressive ones wipe out the peaceloving ones, so all you have left out there are crazed flesh eating interstellar monsters.

Login to post a reply

Server time is: 2024-04-26 09:55:45
Your offset time is: 2024-04-26 09:55:45