Jump to content

comix

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by comix

  1. it's not work , i fix Crash in Unjail but in jail still crash :

    fix crash in Unjail :

    @@ -2062,11 +2066,11 @@ bool ChatHandler::HandleUnJailCommand(char *args)

    chr->CastSpell(chr,8690,false);

    //chr->GetSession()->LogoutPlayer(false);

    } else PSendSysMessage(LANG_JAIL_CHAR_NOTJAILED, cname.c_str());

    return true;

    }

    - else

    + else if (!GUID == 0)

    {

    CharacterDatabase.BeginTransaction();

    QueryResult *jresult = CharacterDatabase.PQuery("SELECT * FROM `jail` WHERE `guid`='%u' LIMIT 1", chr->GetGUIDLow());

    CharacterDatabase.CommitTransaction();

    @@ -2098,11 +2102,15 @@ bool ChatHandler::HandleUnJailCommand(char *args)

    delete jresult;

    return true;

    }

    }

    + else

    + {

    + SendSysMessage(LANG_JAIL_WRONG_NAME);

    return true;

    + }

    }

    //Send mail by command

    bool ChatHandler::HandleSendMailCommand(char* args)

    {

×
×
  • 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