Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Bridge Building
New Topic New Poll Post Reply
Poster Message
TFMurphy
Level: Smitemaster
Rank Points: 3118
Registered: 06-11-2007
IP: Logged

File: Bridge Bug.hold (950 bytes)
Downloaded 43 times.
License: Public Domain
icon Bridge Building (+2)  
Rather nasty bug here that causes DROD to crash with no accompanying assertion errors.

The crash appears to occur mainly when a builder places a bridge tile that connects two "monitored" bridges (i.e. two bridges that could drop if all trapdoors they're connected to are removed). I'm not sure of all the conditions to cause the crash - there's a few unique formations that can cause DROD to keep running, but things start seeming a little unstable with further bridge building afterwards. (As an example, one tile built to connect two bridges might cause DROD to accept it, but a tile placed next to it might cause it to crash.)

I've attached a Hold that demonstrates the behavior fairly easily. You can simply wait for the crash to happen, or influence in several ways: one example is to immediately turn your sword southwest to allow the Red Citizen to build its first bridge at (21,15), which will cause the crash to occur when the White Citizen makes the first connection (rather than the crash happening on the second connection). Another example is to run forward and drop the center bridge: the crash will then occur when a tile *next* to the one that connects the two upper bridges is placed.

I'm not entirely sure what's the cause of the bug here - probably to do with index removal problems or similar. I have also tested this in Build 84, and it's still buggy there. So I hope this is enough to successfully find and fix it.

09-09-2008 at 09:58 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged
icon Re: Bridge Building (0)  
Thanks! I fixed the crash. It was an index inconsistency issue. This is fixed in build 85, and also will be in RPG build 56.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
04-20-2009 at 12:58 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Bridge Building
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.