Jump to content

[patch][5753] Error In .modify Money Command


Guest buffer

Recommended Posts

There's an error in .modify money command.

This is the patch

Index: Level1.cpp
===================================================================
--- Level1.cpp        (revision 5752)
+++ Level1.cpp        (working copy)
@@ -1407,7 +1407,7 @@

        int32 addmoney = atoi((char*)args);

-        uint32 moneyuser = m_session->GetPlayer()->GetMoney();
+        uint32 moneyuser = chr->GetMoney();

        if(addmoney < 0)
        {

Without this patch is very difficult to give money or subtract money from a character.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use