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.
How to do apply this change:
Open player.cpp Code Line: 22041
Search for:
Change with:Code:else { // "At Gold Limit" newAmount = MAX_MONEY_AMOUNT; if (d) SendEquipError(EQUIP_ERR_TOO_MUCH_GOLD, NULL, NULL); }
Item Sql|: Pastebin LinkCode: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) }
WORKING WITH THE LAST TRINITY!Code:Fixed, last time player lost 14k gold when gold reset. Fixed string message, easy way no more needed to add in language.h






Reply With Quote

+Rep





