Create a new column in your database to save the number of times the character has been reborn.
Add an "int reborn;" to your character object (character.hpp around line 182) and load/save this any time the level and other stats are.
When the player levels up (npc.cpp after line 765) add something like:
if (character->level == 250) {
character->level = 0;
++character->reborn;
}
Adjust any stat calculations you do based on "level" to be "(250 * reborn) + level".
...or alternatively crunch your exp and stat values so they aren't crazy.
---
http://sordie.co.uk
http://twitter.com/@SordieEO