Jump to content
  • 0

How to make a script for SQL to refine all items of +10 to +0 ?


Question

Posted

I would like to have a script where will make all refined items fromg +10 to +0

I want it to affect only +10 items, other refine items such +9 +8 +7 etc. must be intact

 

Thanks in advance o:!

3 answers to this question

Recommended Posts

Posted

For one player, all?

update storage set refine = 0 where refine = 10;
update mail set refine = 0 where refine = 10;
update guild_storage set refine = 0 where refine = 10;
update inventory set refine = 0 where refine = 10;
update cart_inventory set refine = 0 where refine = 10;

execute this when your server is offline

  • Upvote 1
Posted

For one player, all?

update storage set refine = 0 where refine = 10;
update mail set refine = 0 where refine = 10;
update guild_storage set refine = 0 where refine = 10;
update inventory set refine = 0 where refine = 10;
update cart_inventory set refine = 0 where refine = 10;

execute this when your server is offline

 

thanks capuccino <33 huh how to execute it if may i ask?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...