We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f297042 commit de36d48Copy full SHA for de36d48
Client/core/CQueryReceiver.cpp
@@ -195,6 +195,8 @@ SQueryInfo CQueryReceiver::GetServerResponse()
195
// Check if this reply includes rules
196
if (strncmp(szBuffer + i, "RULES", 5) == 0)
197
{
198
+ g_pCore->GetConsole()->Printf("Parsing rules for server: %s", info.serverName.c_str());
199
+
200
i += 5;
201
while (i < len)
202
@@ -212,7 +214,11 @@ SQueryInfo CQueryReceiver::GetServerResponse()
212
214
return info;
213
215
216
info.rules[key] = value;
217
218
+ g_pCore->GetConsole()->Printf(" Rule: %s = %s", key.c_str(), value.c_str());
219
}
220
221
+ g_pCore->GetConsole()->Printf("Finished parsing rules");
222
223
224
// Get player nicks
0 commit comments