Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : -1 Def doesn't show
New Topic New Poll Post Reply
Poster Message
Someone Else
Level: Smitemaster
Avatar
Rank Points: 1306
Registered: 06-14-2005
IP: Logged
icon -1 Def doesn't show (+1)  
I haven't tested it with other stats, but when DEF is equal to -1, it is just blank where -1 should show.
12-03-2012 at 10: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
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged
icon Re: -1 Def doesn't show (0)  
This occurs because we are currently using -1 as a sentinel value, indicating that no value should be displayed. We should either choose a rarer value as a sentinel or come up with a more complex method to handle the blank value case.

____________________________
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.
01-15-2016 at 08:38 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
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged
icon Re: -1 Def doesn't show (0)  
mrimer wrote:
This occurs because we are currently using -1 as a sentinel value, indicating that no value should be displayed. We should either choose a rarer value as a sentinel or come up with a more complex method to handle the blank value case.
Edit: actually, this is already fixed in 1.2.1. I'm not sure what earlier build included the fix, but it's fixed now in any event.

____________________________
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.
01-23-2016 at 02:11 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
kieranmillar
Level: Smitemaster
Rank Points: 2671
Registered: 07-11-2014
IP: Logged
icon Re: -1 Def doesn't show (+1)  
Can confirm that a DEF value of -1 shows correctly in 1.2.3.148 :thumbsup
01-24-2016 at 06:22 PM
View Profile Send Private Message 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 : -1 Def doesn't show
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.