if(src.exp >= src.max_exp)
src.exp = 0
usr.level += 1
usr.cp += 2
usr.sp += 1
usr.age += 1
The code shown above is the leveling proc for a new project(Been working on it for awhile, but haven't announced it... so, yes... new) and while it does not show any errors while being compiled... the actual procedure does not take place in game. I have tested the game on two different computers, and it still will not allow any players to level up.
I have no idea where the problem lies, or if I just did something incorrectly... so, suggestions and/or advice would be greatly appreciated! Onegai!(Please.w.)
Thanks for reading, and I hope someone will be able to guide me through this frustrating issue.