Character editor does not let you have more than 25000 gold #79

Closed
opened 2018-02-15 08:06:24 +00:00 by daerogami · 2 comments
daerogami commented 2018-02-15 08:06:24 +00:00 (Migrated from github.com)

Isn't the limit 30000-something?


This is an item logged from the To-Do and was originally reported by ADoS. If you are familiar with or can recreate this bug, please provide details here.

Isn't the limit 30000-something? --- This is an item logged from the To-Do and was originally reported by ADoS. If you are familiar with or can recreate this bug, please provide details here.
NQNStudios commented 2025-02-16 04:40:40 +00:00 (Migrated from github.com)

Here are the limitations that are mentioned:

0f6aa4f139/src/pcedit/pc.action.cpp (L118)

0f6aa4f139/src/game/boe.town.cpp (L1108)

Indeed, for gold, they don't match.

And also, give_gold() and take_gold() aren't DRY, they're defined twice between PCEdit/Game.

Here are the limitations that are mentioned: https://github.com/calref/cboe/blob/0f6aa4f1398580d475ccb1432fa3e6058a64ea22/src/pcedit/pc.action.cpp#L118 https://github.com/calref/cboe/blob/0f6aa4f1398580d475ccb1432fa3e6058a64ea22/src/game/boe.town.cpp#L1108 Indeed, for gold, they don't match. And also, `give_gold()` and `take_gold()` aren't DRY, they're defined twice between PCEdit/Game.
CelticMinstrel commented 2025-02-16 05:04:41 +00:00 (Migrated from github.com)

The absolute max gold at the moment is 32767, though it's definitely good not to let it hit exactly the maximum. But I guess it does make sense for whatever limit we set to be consistent in different places.

The absolute max gold at the moment is 32767, though it's definitely good not to let it hit exactly the maximum. But I guess it does make sense for whatever limit we set to be consistent in different places.
Sign in to join this conversation.
No description provided.