Jump to content

Recommended Posts

Helle everyone,

 

I have set the Gold in my game source to max 3.000.000.000 with unsigned long long, but when i have ingame more the 2.147.XXX.XXX gold, the game set my gold to 0... how can i fix it?

 

I hope someone can help me. :)

 

Kind Gerads

xXCapConXx

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Did you change it in game binary also?

What do you mean with "game binary"? I dont know about a game binary...

I know about a Game, a DB and a Client Binary (.bin/.exe).

 

If you mean the Client binary, i dont know what i have to change there.

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/#findComment-11743
Share on other sites

Yes I mean client binary.Did you change the packet.h on client/server?You have also to edit the player.GetElk() function

No i didn't. I will check out this. :)

 

What i have to change at the player.GetElk() function? And also at the packet.h? I can't find something about the Max money...

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/#findComment-11757
Share on other sites

Well the player.GetElk() is the function that shows you how much yang you have so from int you have to change it to unsigned long long.In the packet.h you must find the packet that sends the gold data and change it from int to unsigned long long (If I remember right).

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/#findComment-11762
Share on other sites

Well the player.GetElk() is the function that shows you how much yang you have so from int you have to change it to unsigned long long.In the packet.h you must find the packet that sends the gold data and change it from int to unsigned long long (If I remember right).

For exactly this i searched, but there is nothing like int or something else. :(

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/#findComment-11763
Share on other sites

 

Well the player.GetElk() is the function that shows you how much yang you have so from int you have to change it to unsigned long long.In the packet.h you must find the packet that sends the gold data and change it from int to unsigned long long (If I remember right).

For exactly this i searched, but there is nothing like int or something else. :(

Search for "GetElk" in the clientside src and you can see why you can't find player.GetElk().

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/#findComment-11788
Share on other sites

 

 

Well the player.GetElk() is the function that shows you how much yang you have so from int you have to change it to unsigned long long.In the packet.h you must find the packet that sends the gold data and change it from int to unsigned long long (If I remember right).

For exactly this i searched, but there is nothing like int or something else. :(

Search for "GetElk" in the clientside src and you can see why you can't find player.GetElk().

 

I searched already for "GetElk" there is nothing like INT or something else...

Link to comment
https://metin2.dev/topic/1600-problem-with-gold/#findComment-11793
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.