CommandHelper

CommandHelper

46.5k Downloads

set_ptexp() with negative values returns stacktrace

LadyCailinBot opened this issue · 2 comments

commented

CMDHELPER-3009 - Reported by Алексей.Положенцев

Tested on build #2817

set_ptexp(player(), -1)

http://pastebin.com/KVCjMagK

commented

Comment by Guy.Nice

I have same version and i cant set right amount using set_ptexp()... or ptexp() returns wrong amount.

If player have even 1 xp point and he is under level 10 then set_ptexp(player(),ptexp()) increases xp little every time, if player is above level 10 then its decreases every time.

This causes some problems when i store xp to hard-drive and then give it back when needed.

commented

Comment by PseudoKnight

Fixed in build 2822