wtf is this goofy ass type name????

This commit is contained in:
Downforce Agent 2024-01-29 04:24:10 -06:00
parent 8d06546da6
commit ba4fda62ee

View File

@ -781,6 +781,9 @@ bool handleGroups(char* buffer, std::string from, std::string message) {
// teleport using a markEntry loaded from the database // teleport using a markEntry loaded from the database
void handleTeleportRequest(internalTypes::markEntry details) { void handleTeleportRequest(internalTypes::markEntry details) {
std::cout << "info: delaying teleport by 1000ms to avoid race condition\n";
sleep(1);
std::cout << "info: requesting to join room \"" + details.room + "\"\n"; std::cout << "info: requesting to join room \"" + details.room + "\"\n";
roomIDReq(&roomsock, details.room); roomIDReq(&roomsock, details.room);
@ -830,6 +833,7 @@ void lookUpWorldName(std::string alias, char* buffer/*replies*/) {
typeid((*key)["position"][2]).name() != "int" || typeid((*key)["position"][2]).name() != "int" ||
typeid((*key)["position"][3]).name() != "int") { typeid((*key)["position"][3]).name() != "int") {
std::cout << "ERROR: expected type int when reading position. PLEASE CHECK your marks.json!!!\n"; std::cout << "ERROR: expected type int when reading position. PLEASE CHECK your marks.json!!!\n";
std::cout << typeid((*key)["position"][0]).name();
} }
details.name = (*key)["name"].get<std::string>(); details.name = (*key)["name"].get<std::string>();