Jump to content
  • 0

help reducing maximum level of all player


OunoriBaka

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

halo.

im not good at editing in sql. but is there any command i can use to edit / lower our players maximum level?
my servers default max level is 255 i want to set it to like 99 

i already made the changes in conf and exp.txt but the first player still has their maximum level. which is kind of unfair for the new ones.


also


is there a way to reduce a headgear slot from [4] back to [1]? i dont mean editing from item db. but the ones currently used by player.


it will help a lot. thanks.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Make sure all players are offline when you execute this:

UPDATE `char` SET `base_level` = 99 WHERE `base_level` > 99;
Also, make sure to reset their stats.
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

Make sure all players are offline when you execute this:

UPDATE `char` SET `base_level` = 99 WHERE `base_level` > 99;
Also, make sure to reset their stats.
thanks euphy. 

does it also works with stats? if i change some of it? i dont want to mess up my database. T_T....

@vhan - 

yep ive done that already. and compile. stil thanks.

Edited by OunoriBaka
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

# Stat points for non-trans classes: 1273

UPDATE `char` SET `status_point` = 1273 WHERE `base_level` > 99 AND ((`class` > 4001) OR (`class` > 4022 AND `class` < 4060) OR (`class` > 4065 AND `class` < 4072) OR (`class` > 4095));

# Stat points for trans classes: 1325

UPDATE `char` SET `status_point` = 1325 WHERE `base_level` > 99 AND `status_point` != 1273;

# Lower level and reset stats

UPDATE `char` SET `base_level` = 99, `str` = 1, `agi` = 1, `vit` = 1, `int` = 1, `dex` = 1, `luk` = 1 WHERE `base_level` > 99;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

# Stat points for non-trans classes: 1273
UPDATE `char` SET `status_point` = 1273 WHERE `base_level` > 99 AND ((`class` > 4001) OR (`class` > 4022 AND `class` < 4060) OR (`class` > 4065 AND `class` < 4072) OR (`class` > 4095));

# Stat points for trans classes: 1325
UPDATE `char` SET `status_point` = 1325 WHERE `base_level` > 99 AND `status_point` != 1273;

# Lower level and reset stats
UPDATE `char` SET `base_level` = 99, `str` = 1, `agi` = 1, `vit` = 1, `int` = 1, `dex` = 1, `luk` = 1 WHERE `base_level` > 99;

tried running it but query turn to no result.. 

btw. 

i tried removing the slot #2,3,4 (since we have [4] on our headgear) but it just delete the card that has been on it.

is there a way to remove the card and just put em back on the players inventory?

•how can i remove a specific equipment's card(s) on slot 2,3,4

example:

Dropping Imp (20404) *has quadruple kiel cards = i want to delete/remove the other kiel cards leaving behind the card on slot #1. 

(as i mention above ^ it seems like i deleted the weapon cards aswel.)

Edited by OunoriBaka
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   0
  • Joined:  07/30/12
  • Last Seen:  

# Stat points for non-trans classes: 1273
UPDATE `char` SET `status_point` = 1273 WHERE `base_level` > 99 AND ((`class` > 4001) OR (`class` > 4022 AND `class` < 4060) OR (`class` > 4065 AND `class` < 4072) OR (`class` > 4095));

# Stat points for trans classes: 1325
UPDATE `char` SET `status_point` = 1325 WHERE `base_level` > 99 AND `status_point` != 1273;

# Lower level and reset stats
UPDATE `char` SET `base_level` = 99, `str` = 1, `agi` = 1, `vit` = 1, `int` = 1, `dex` = 1, `luk` = 1 WHERE `base_level` > 99;

 

Will this work for 3rd job classes? (Trans to 3rd job)

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