Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Arcemu C++ Gold Cap Fun Mod!

Newbie Spellweaver
Joined
Apr 28, 2013
Messages
11
Reaction score
8

When ever your gold cap is reached, you will receive gold bars instead of gold.

Then your gold amount will reset + the last gold received.

MatrixGFX - C++ Gold Cap Fun Mod! - RaGEZONE Forums


How to do apply this change:

Open player.cpp Code Line: 22041
Search for:
Code:
[SIZE=2]else
{
 // "At Gold Limit"
 newAmount = MAX_MONEY_AMOUNT;
 if (d)
    SendEquipError(EQUIP_ERR_TOO_MUCH_GOLD, NULL, NULL);
}[/SIZE]

Change with:
Code:
[SIZE=2]else
{
    std::string GoldLimitString = "";
    newAmount = uint32(d) + 147480000; // new amount of gold +14k gold messed up
    if(d)
    GoldLimitString = "GOLD LIMIT REACHED, NEW GOLD HAS BEEN PLACED TO YOU.";
    m_session->SendAreaTriggerMessage(GoldLimitString.c_str());
    m_session->GetPlayer()->AddItem(100013, 4);  // item ID x4 (200k gold)
}[/SIZE]

Item Sql|:

Code:
[CENTER][SIZE=2][COLOR=Red]Fixed, last time player lost 14k gold when gold reset.

Fixed string message, easy way no more needed to add in language.h[/COLOR][/SIZE][/CENTER]

WORKING WITH THE LAST TRINITY!

MatrixGFX - C++ Gold Cap Fun Mod! - RaGEZONE Forums

 
Last edited:
Back
Top