Resolved Help on Trinitycore 3.3.5 Server (Gold Cap 214k)

IsAwTriCkZz

Member
Rep
0
0
0
Rep
0
Vouches
0
0
0
Vouches
0
Posts
7
Likes
2
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 55 XP
Hi is there a way to Remove the Gold Cap in my core ?

i want that players can have more gold i can recompile when anyone can give me a solution

thanks :)
 

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
448
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 31 71 XP
It’s not really possible to remove the limit due to the client limitations. The client is made in 32-bit.

A workaround is once you reach gold cap, convert it into gold bars that can be sold to vendors. Or make a custom banking system to mange gold another way.
 
Liked By 2 members :

Azayaka

Allelujah
Administrator
Azayaka Rep
3
0
0
Rep
9
Azayaka Vouches
0
0
0
Vouches
0
Posts
329
Likes
225
2 YEARS
2 YEARS OF SERVICE
LEVEL 55 16 XP
Building on what @PrivateDonut highlighted, a 32-bit application or program has a maximum permissible integer value of 2,147,483,647. This value corresponds to the gold cap: 214,748 gold, 36 silver, and 47 copper. This is because, at its core, the database stores money as a singular integer. While it's theoretically possible to raise this currency ceiling, the process would be overly intricate and significantly more complicated than it seems. One could treat Copper, Silver, and Gold as distinct currencies, but such a change would necessitate an extensive overhaul of the core system, making it an impractical solution.

@PrivateDonut also shared a proven method involving gold bar conversions. Numerous private servers have previously implemented this method with variations like gold piggies, bars, or cloth. The choice is up to your imaginative discretion. However, introducing such systems can complicate matters, so simplicity is key. Decreasing gold drops and offering fewer gold rewards from quests is a recommended approach. While large figures may be visually appealing, they are sadly constrained by technology. Fortunately, this issue has been addressed in subsequent game versions which now operate on a 64-bit client. You might find exploring "Wrath Classic" insightful.
 
Liked By 2 members :

MuDZaHeDiN

Mythical
Mythical
MuDZaHeDiN Rep
1
0
0
Rep
1
MuDZaHeDiN Vouches
0
0
0
Vouches
0
Posts
83
Likes
73
3 YEARS
3 YEARS OF SERVICE
LEVEL 8 101 XP
You can also create a custom NPC that has for example 10 slots and each of these slots is Gold Cap, per character you can then deposit 10 x Gold Cap. These NPCs you put then in each bank ;-)
For this you also make a separate table in the database.

Greetings
 

CyberMist Romania

Launcher Master
Mythical
CyberMist Rep
4
1
0
Rep
4
CyberMist Vouches
1
0
0
Vouches
1
Posts
254
Likes
298
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 12 110 XP
I did it long ago by changing uint32 to uint64 in the core where money is stored as, sometimes it worked sometimes it not, I think I've done this on ArcEmu 10 years ago :monkaW:
 
Liked By 1 member :

3,569

1,285

9,619

433

Top