Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Assertion error on undo or room view in ZelDROD Overworld multiple rooms
New Topic New Poll Post Reply
Poster Message
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1545
Registered: 02-22-2003
IP: Logged
icon Assertion error on undo or room view in ZelDROD Overworld multiple rooms (0)  
Any time I undo a move in room Overworld 1N1E of 'The Legend of ZelDROD 1', there's a beep and two lines get written to drod.err (two lines for each one press of backspace):
Assertion error in line 5052 of .\Character.cpp: "room.pMonsterSquares[room.ARRAYINDEX(this->wX,this->wY)] == this"
Assertion error in line 5052 of .\Character.cpp: "room.pMonsterSquares[room.ARRAYINDEX(this->wX,this->wY)] == this"
Edit: also in 2S3W. But not in 2S2W (which has trees and octorooks) or 1S3E (which has rubies). So I can't pick a specific character that's responsible.

This can also be triggered by using the map view to look at Overworld 1N1E or 2S3W. Same lines in drod.err.

DROD TSS 5.1.0.6512, Caravel download, Windows 10 x64. Also reproducible in the latest 5.1.1.371 beta (error reports line 5111).

Matching the reported line numbers to the 5.1.0.6501 source snapshot and current GitHub respectively, this looks like it's the assertion in CCharacter::Disappear(), not the one in TeleportCharacter.

[Last edited by Tuttle at 08-12-2021 08:03 AM]
08-12-2021 at 03:24 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1545
Registered: 02-22-2003
IP: Logged
icon Re: Assertion error on undo or room view in ZelDROD Overworld multiple rooms (0)  
Apparently (from chat) this may not affect Mac 5.1.0.6512. (Or at least there's no assertion beep -- I don't know whether the error handling in general is different on Mac.)

[Last edited by Tuttle at 08-12-2021 07:08 AM]
08-12-2021 at 05:54 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5056
Registered: 02-04-2003
IP: Logged
icon Re: Assertion error on undo or room view in ZelDROD Overworld multiple rooms (0)  
Thanks for the thorough bug report!

Can you try out the 5.1.1 beta to see if this issue persists?

____________________________
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.
08-15-2021 at 02:54 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
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1545
Registered: 02-22-2003
IP: Logged
icon Re: Assertion error on undo or room view in ZelDROD Overworld multiple rooms (+1)  
I'm able to reproduce in beta 5.1.1.371 (Dec 2020, from http://forum.caravelgames.com/viewtopic.php?TopicID=44738&page=2#438204 ) -- that's the latest one I could find. (Assertion error in that case is on line 5111.) If there's a newer one floating around then point me at it and happy to check that one too.
08-15-2021 at 04:06 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Assertion error on undo or room view in ZelDROD Overworld multiple rooms
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.