Hi is my first guide (sorry for English).
I noticed that many ask, not having knowledge of PHP, like changing the level at Which the character will be reset after using a simple MuWeb as a portal of your shard.
for up to 0.6 mu web you have to open the file / includes / character_functions.php
for mu web 0.8 open the file / includes / character.class.php
for mu web 0.9 I do not know sorry XD
Going in these files is the $ resetup = $ row [1] (1), inserted two / / so that it becomes a comment and it is turned off, below is a code made by me, is very simple $ row [1 ] denotes the number of reset the character takes at the moment, so if $ row [1] equals 0, $ resetup becomes 1 so that the character receives the first reset, on $ exp post the experience which the character has at the level that is returned, otherwise the experience back to 0 and obviously not fitting for a character level 150 because it would be like having to redo 150 levels before seeing the first level up, as you can see the exp at level 150 that a character 3577500 I have and I take a point to make it possible to move up a level when you kill a monster. (at least in my server shows me that your experience can not be sure it's the same)
Obviously $ clevel indicates the level where the character must be reported, you can put all you want to reset if 5 not enough just to create another row and change the values.
Finally, to allow the code to work you need to edit the query so that it can use this new information.
$ sql_reset_script = "Update Character Set [clevel] = '$ clevel', [experience] = '$ exp', [money] = '$ resetmoeny', [LevelUpPoint] = '$ resetpt', [resets] = '$ resetup 'WHERE name =? "
Put two well here / / so that you disable the old code and place this above in place, if everything goes well and correctly
Example:
Spoiler:
ENJOY ^_^![]()


Reply With Quote

