Jump to content

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

quest negative_exp begin
    state start begin
        when login with pc.get_exp() < 0 begin
            pc.give_exp2(math.abs(pc.get_exp()))
        end
    end
end

 

Jfirewall this not solve the problem.

And it's 100% lazy way and bugged to solve the problems.

 

 

Try this.

 

 

 

There is a fix from ymir for that

def unsigned32(n):

return n & 0xFFFFFFFFL

 
in uicharacter.py
 
and change 
self.GetChild("Exp_Value").SetText(str(player.GetEXP()))

self.GetChild("RestExp_Value").SetText(str(player.GetStatus(player.NEXT_EXP) - player.GetStatus(player.EXP)))

 

to

self.GetChild("Exp_Value").SetText(str(unsigned32(player.GetEXP())))

self.GetChild("RestExp_Value").SetText(str(unsigned32(player.GetStatus(player.NEXT_EXP)) - unsigned32(player.GetStatus(player.EXP))))

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.