mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-03-04 07:00:03 +00:00
Implement most of the remaining client-side GM commands
* Muting a player's freechat * Kicking players * Querying info about a player * Teleporting yourself to a player * Teleporting a player to yourself * Teleporting a player to another player * Teleporting a player to arbitrary coords * Teleporting a player to arbitrary coords in an arbitrary mapnum * /unstick Also: * Renamed misleading setSpecialPlayer() to setValuePlayer() * Revamped monitor logic * Added server-side checks to account level 50 commands * Made sure even trade chat is run through sanitizeText() * Moved setSpecialState() closer to its calling functions * Interpret client commands even in Buddy and Group chat (but not in Trade chat)
This commit is contained in:
@@ -214,7 +214,7 @@ void CNLoginServer::login(CNSocket* sock, CNPacketData* data) {
|
||||
sock->sendPacket((void*)&*it, P_LS2CL_REP_CHAR_INFO, sizeof(sP_LS2CL_REP_CHAR_INFO));
|
||||
|
||||
DEBUGLOG(
|
||||
std::string message = "Login Server: Loaded " + std::to_string(resp.iCharCount) + "character";
|
||||
std::string message = "Login Server: Loaded " + std::to_string(resp.iCharCount) + " character";
|
||||
if ((int)resp.iCharCount > 1)
|
||||
message += "s";
|
||||
std::cout << message << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user