Sign in to follow this  
Llurendt

King's Coffers (Database question)

Recommended Posts

Does anyone know how to check the amount of money the kingdom treasury has in it? I looked in wurmeconomy.db and the 'economy' table seems to be the best bet, but I really don't know. :/ I'm running into a problem where it seems the traders' accounts aren't refilling, so I think the kingdom bank might be empty, but I've no way of checking or refilling it, haha.

 

Thanks!

-Llurendt

Share this post


Link to post
Share on other sites

If you're wanting to check how much coin is in the king's coffer you can do so as a GM by right clicking on any token and going to 'Economics'. This value seems to be set upon each time that the server starts, regardless of what was in there previously. So I don't think it stores this value in the database anywhere.

 

Edit: The database entry for the current in-game value for the King's coffer can be seen in the wurmeconomy.db under the TRADER table, with a WURMID of 0. This value will be reset on server restart to the value of what's in the KINGSMONEY field in SERVERS table in the wurmlogin.db. To keep a persistent value in the king's coffer set the 'Money pool in silver' (GUI option) or KINGSMONEY field (in wurmlogin.db under SERVERS table) to 0.

Edited by Drakeling

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this