Jump to content
  • 0

sql query 3rd job replace to 2nd job


DanialFX

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  43
  • Reputation:   0
  • Joined:  02/10/14
  • Last Seen:  

I have an issue here.

 

I want to change all my players 3rd job into 2nd job 

 

using mySQL query or any scripts

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

UPDATE `char` SET `class` = XYZ WHERE `class` = ABC;

replace the value yourself ...

XYZ = 2nd job ID

ABC = third job ID

 

make sure you shutdown server before run this.

 

 

you can also try other way....simpler... OnPCLoginEvent + jobchange

  • 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...