Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : DROD Crashes (Divide by zero)
New Topic New Poll Post Reply
Poster Message
Insane
Level: Master Delver
Avatar
Rank Points: 154
Registered: 08-06-2005
IP: Logged
icon DROD Crashes (0)  
Hey,

When DROD attempts to Divide by zero, could you make it ignore the command, as currently it just crashes with an ugly error.

-Insane

[Last edited by Insane at 04-10-2007 01:37 PM]
04-09-2007 at 07:04 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Insane
Level: Master Delver
Avatar
Rank Points: 154
Registered: 08-06-2005
IP: Logged
icon Re: DROD Crashes (0)  
Does this happen only to me or to anybody else?

-Insane
04-10-2007 at 01:37 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
VortexSurfer
Level: Delver
Avatar
Rank Points: 90
Registered: 04-04-2004
IP: Logged
icon Re: DROD Crashes (+1)  
Insane wrote:
Does this happen only to me or to anybody else?

I encountered a similar behavior when attempting to modulo by zero (which I'm aware doesn't make any sense either, it just crept into my script accidentally).
04-10-2007 at 01:55 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Insane
Level: Master Delver
Avatar
Rank Points: 154
Registered: 08-06-2005
IP: Logged
icon Re: DROD Crashes (0)  
Yeah, modulo should crash too.
So, if drod automatically detects and stops infinite loops, shouldn't it also ignore divide by zero errors?

-Insane
04-10-2007 at 01:57 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Briareos
Level: Smitemaster
Avatar
Rank Points: 3516
Registered: 08-07-2005
IP: Logged
icon Re: DROD Crashes (+1)  
Insane wrote:
So, if drod automatically detects and stops infinite loops, shouldn't it also ignore divide by zero errors?
It sure should - before anybody gets the funny idea of implementing a quiz using the snazzy new Question function and makes DROD crash if you get the answer wrong... :wacko

____________________________
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
R.I.P. Robert Feldhoff (1962-2009) :(
04-10-2007 at 02:01 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Insane
Level: Master Delver
Avatar
Rank Points: 154
Registered: 08-06-2005
IP: Logged
icon Re: DROD Crashes (0)  
Briareos wrote:
Insane wrote:
So, if drod automatically detects and stops infinite loops, shouldn't it also ignore divide by zero errors?
It sure should - before anybody gets the funny idea of implementing a quiz using the snazzy new Question function and makes DROD crash if you get the answer wrong... :wacko

Excellent idea! I'll do that.
EDIT: :whistle

-Insane

[Last edited by Insane at 04-10-2007 02:14 PM]
04-10-2007 at 02:03 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Briareos
Level: Smitemaster
Avatar
Rank Points: 3516
Registered: 08-07-2005
IP: Logged
icon Re: DROD Crashes (0)  
Insane wrote:
Excellent idea! I'll do that.
EDIT: :whistle
NOOOOOOOOOOOOOOOOOOoooooooooooooooooooo~~~!

What have I done? :~(

Click here to view the secret text


____________________________
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
R.I.P. Robert Feldhoff (1962-2009) :(
04-10-2007 at 02:20 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Insane
Level: Master Delver
Avatar
Rank Points: 154
Registered: 08-06-2005
IP: Logged
icon Re: DROD Crashes (0)  
Briareos wrote:
Insane wrote:
Excellent idea! I'll do that.
EDIT: :whistle
NOOOOOOOOOOOOOOOOOOoooooooooooooooooooo~~~!

What have I done? :~(

Click here to view the secret text

It's ok, I removed it.

-Insane
04-10-2007 at 02:27 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Briareos
Level: Smitemaster
Avatar
Rank Points: 3516
Registered: 08-07-2005
IP: Logged
icon Re: DROD Crashes (0)  
Insane wrote:
It's ok, I removed it.
Errr... could it be you're taking things a wee bit too serious here? Or didn't you read my secret-ed postscript?

____________________________
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
R.I.P. Robert Feldhoff (1962-2009) :(
04-10-2007 at 02:35 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Insane
Level: Master Delver
Avatar
Rank Points: 154
Registered: 08-06-2005
IP: Logged
icon Re: DROD Crashes (0)  
Briareos wrote:
Insane wrote:
It's ok, I removed it.
Errr... could it be you're taking things a wee bit too serious here? Or didn't you read my secret-ed postscript?

Nah, I'd have removed it anyways... deliberately crashing DROD seems a bit......... hard....

-Insane
04-10-2007 at 02:37 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Pilchard VIII
Level: Smiter
Rank Points: 392
Registered: 01-21-2006
IP: Logged
icon Re: DROD Crashes (0)  
But from what I see, purposely crashing DROD is fun! :wacko

____________________________
The DROD Dragon
04-10-2007 at 05:19 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
halyavin
Level: Delver
Rank Points: 52
Registered: 02-20-2006
IP: Logged
icon Re: DROD Crashes (-1)  
Crashing DROD is not interesting - one can always make incorrect hold (using not only in-game editor of course). Executing arbitrary code is a real fun. Unfortunately, I don't know buffer overflow errors in DROD code.
04-11-2007 at 07:15 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : DROD Crashes (Divide by zero)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.