comix
-
Posts
4 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by comix
-
-
@lillecarl, can you please update the patch ?
-
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)
{
-
Can any one update this patch .
i have 2 Crash . 1- When jail Wrong name 2- When Unjail Wrong name .
Last Patch i found from (fallenangelX ) : http://pastebin.com/B0HurChA
thank you
TBC DataBase
in OldGeneral discussion
Posted
Hello,
Witch DataBase it's the best for TBC mangos ?