Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : Hold/level stats don't count monsters' GR and REP
New Topic New Poll Post Reply
Poster Message
DezzTech
Level: Smiter
Avatar
Rank Points: 317
Registered: 03-31-2009
IP: Logged
icon Hold/level stats don't count monsters' GR and REP (+2)  
In the level editor, when you press F3 or F4 to show hold/level stats, GR and REP both show up as 0, no matter how many monsters are in the hold.

From what I can see, this happens because the stat counting code (in CEditSelectScreen::OnKeyDown() and the CDbRoom/Level/Hold::getStats() functions) never calls CMonster::SetCurrentGame which apparently is the function that sets the monster stats, so all the stats just default to 0.

____________________________
Click here to view the secret text

11-02-2016 at 02:47 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4335
Registered: 02-04-2003
IP: Logged
icon Re: Hold/level stats don't count monsters' GR and REP (0)  
quote:
DezzTech wrote:
In the level editor, when you press F3 or F4 to show hold/level stats, GR and REP both show up as 0, no matter how many monsters are in the hold.

From what I can see, this happens because the stat counting code (in CEditSelectScreen::OnKeyDown() and the CDbRoom/Level/Hold::getStats() functions) never calls CMonster::SetCurrentGame which apparently is the function that sets the monster stats, so all the stats just default to 0.
Thanks for reporting this and for the help troubleshooting! You are correct. I've fixed this in rev 325 for the next build.

____________________________
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.
11-05-2016 at 09:17 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
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Bugs : Hold/level stats don't count monsters' GR and REP
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.