function onAdvance(cid, skill, oldlevel, newlevel) doPlayerSave(cid) end