antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
ڈیوائن شمان

BUG EXP

Question

Boas pessoal estou com este erro quando meto Nivel 105 a exp fica negativa 

Spoiler

0526_124311.jpg

Alguém pode ajudar-me Porfavor

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Abres o uicharacter.py

 

A seguir ao último import adicionas isto 

 

def unsigned32(n):
return n & 0xFFFFFFFFL

Depois procuras por isto 

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

E substituis por isto 

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))))

 

 

Créditos: Alpha (m2dev)

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this