Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Halph - Wubba bug (Beeps and Halph disappears)
New Topic New Poll Post Reply
Poster Message
Jacob
Level: Smitemaster
Rank Points: 3749
Registered: 10-01-2004
IP: Logged
icon Halph - Wubba bug (+3)  
Using 4.0.2.112 and playing 12th Architect's Widget Factor, 1st Level 2W.

It's possible to get Halph blocked off by wubbas leading to an error, which not only causes bleeping but causes Halph to disappear. The easiest way to replicate it is to conquer the room, re-enter from the East, leave Halph on the east (past the 3 yellow doors) and then ask him to open one of the doors on the left. He'll walk over the pressure plate and get surrounded by wubbas and the error occurs. But it's possible to get it to occur once you've already released the wubbas yourself.

However, I can't replicate this in a new hold - getting Halph blocked by wubbas while he's going for a door doesn't seem to be sufficient to cause the error.

Sorry, can't find the err file at the moment - it's in one of those odd Vista hidden away saved game folders.

____________________________
New to DROD? You may want to read this.
My Holds and Levels:
Click here to view the secret text

06-22-2012 at 07:50 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
TFMurphy
Level: Smitemaster
Rank Points: 3118
Registered: 06-11-2007
IP: Logged
icon Re: Halph - Wubba bug (+2)  
Ouch. Yeah, that's a nasty bug. It occurs under the following exact conditions:

1. Halph is following a premade path, but something blocks it, forcing him to recalculate.
2. Halph is able to chart a new path to an orb that opens the door he wants.
3. There exists one or more plates that also open the door, but Halph cannot chart a path to any of them.

In the pDirectDests part of CHalph::GetPathTo, it's not reseting the this->pathToDest back to the Orb Path it found correctly. So Halph's chosen path ends up being a completely empty path, which causes very nasty things to happen when he tries to follow it.

Not a difficult fix, but yeah, not a nice bug. Thanks for finding it.
06-22-2012 at 09:21 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Halph - Wubba bug (Beeps and Halph disappears)
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.