Jump to content

Recommended Posts

Hi dev, I have a problem ... when I give myself level 100, the experience for next level si negative like this :

 

25z3sbq.jpg

 

 

I've applyed a diff with max lvl 150 but no succes.

 

Thanks in advance!

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/719-negatie-experience/
Share on other sites

  • 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
https://metin2.dev/topic/719-negatie-experience/#findComment-5519
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.