Jump to content
  • 0

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


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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:!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

go to your SQL database. and find the query/sql tab, then paste those codes.

  • Upvote 1
Link to comment
Share on other sites

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.

×
×
  • Create New...