Sign in to follow this  
Eject

Need sql help

Recommended Posts

Hello friends of wurm

 

I am not so good with sql and would need you help please.

We like to activate upkeep in the next days, but before i change the setting i like to add 20s upkeep to each deed to prevent that the deeds are disbanded after turn on the upkeep.

Hopefully someone can post me the correct sql statement and tell me in which db i have to run the code.

 

Thanks in advance

Eject

Share this post


Link to post
Share on other sites

Something like that should work i think

update VILLAGES set UPKEEP=UPKEEP+200000 WHERE DISBANDED=0

in wurmzones.db

  • Like 1

Share this post


Link to post
Share on other sites

Thank you very much bdew, that was very fast =)

 

Eject

Share this post


Link to post
Share on other sites

Something is wrong, i added the upkeep but at settlement info i see just the 3 silvercoins from the standard but the new entry is in the db

 

Eject

Share this post


Link to post
Share on other sites

did you do it while the server was offline? the server won't pick it up while running

Share this post


Link to post
Share on other sites

Maybe its another table? Upkeep sounds correct, but where i look, i cant see the 3 silver from the standard upkeep.

 

Eject

Share this post


Link to post
Share on other sites

Hmm, looks like there another place... try this: (still in wurmzones.db)

 

update GUARDPLAN set MONEYLEFT=MONEYLEFT+200000 
Edited by bdew

Share this post


Link to post
Share on other sites

Yes that was it bdew

I never thought that this is here

Thank you very much for your help =)

 

 

Ux6xX76.png

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