Completely overhaul cross zone and world wide methods in quest API.

This commit is contained in:
Alex committed 2020-07-07 08:02:56 -04:00
1 parent a78c3b9800
commit c8389bc674
11 files changed
+3906 -718

No files matched your search

+3 -3
View File
@@ -830,8 +830,8 @@ void ConsoleSignalCharByName(
sizeof(CZClientSignalByName_Struct) + message_len
);
CZClientSignalByName_Struct *CZSC = (CZClientSignalByName_Struct *) pack->pBuffer;
strn0cpy(CZSC->Name, (char *) args[0].c_str(), 64);
CZSC->data = atoi(args[1].c_str());
strn0cpy(CZSC->character_name, (char *) args[0].c_str(), 64);
CZSC->signal = atoi(args[1].c_str());
zoneserver_list.SendPacket(pack);
safe_delete(pack);
}
@@ -936,4 +936,4 @@ void RegisterConsoleFunctions(std::unique_ptr<EQ::Net::ConsoleServer>& console)
console->RegisterCall("zonestatus", 50, "zonestatus", std::bind(ConsoleZoneStatus, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));console->RegisterCall("ping", 50, "ping", std::bind(ConsoleNull, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
console->RegisterCall("quit", 50, "quit", std::bind(ConsoleQuit, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
console->RegisterCall("exit", 50, "exit", std::bind(ConsoleQuit, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
}
}