Black Wolfs Den
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Keywords

eluna  

Latest topics
» Were Back Baby \o/
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Fri Nov 15, 2019 8:00 pm by Grumbo

» TrinityCore 2 Gold Max Work-Around
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 9:14 pm by Grumbo

» [CPP][Conv] Dedicated World Chat Channel
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 8:56 pm by Grumbo

» Cool [CPP] Grumbo'z VIP System
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 8:03 pm by Grumbo

» [CPP] EmuDevs Premium System
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 7:18 pm by Grumbo

» [TC]255 server stats edit! By Frost - Thanx
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 6:27 pm by Grumbo

» [Eluna] Grumbo`z VIP System
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 6:20 pm by Grumbo

» [CPP] Grumbo'z Capture the Flag System
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Tue Mar 21, 2017 5:14 pm by Grumbo

» Black Wolfs Den
Gold Cap 2147483647 Grumbo'z Fix Icon_minitime1Mon Mar 20, 2017 10:07 pm by Grumbo

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Affiliates

free forum

Forumotion on Facebook Forumotion on Twitter Forumotion on YouTube Forumotion on Google+


Gold Cap 2147483647 Grumbo'z Fix

Go down

Gold Cap 2147483647 Grumbo'z Fix Empty Gold Cap 2147483647 Grumbo'z Fix

Post by Grumbo Wed Dec 03, 2014 7:43 pm

as we all know a players gold limit is a uint32 value with a max limit of 2147483647 copper.
so far all the fixes out there are ... well.... kinda noobish.
so after some research and a better understanding of the possible conflicts .
I re-wrote the whole ModifyMoney() method. when ever a player receives +/- copper the method will now check if its at or above the limit and convert the value to an uint64 THEN calculate for compensation. now all I have to do is make an item worth 50k gold buy/sell and add the id to the worldserver.conf file. yea no re-compiling every time you decide to use a different item, just change it in the worldserver.conf and restart core.
Very Happy
we will currently be using the item `Wolf Coin` worth 50k gold.
it will automatically use the Sell Price of the item to calculate how many to compensate the player with.
this also has the guild looter added to it . now x.x% of all profits will go to a player guild bank. currently set to 0.05%.

exclusively only for realm 1.

Admin,
Grumbo
Grumbo
Grumbo
Admin
Admin

Posts : 95
Points : 234
Join date : 2014-08-21
Location : Pocatello Idaho

http://blackwolfsden.dnsdynamic.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum