Commit 7723cb8c authored by Neoony's avatar Neoony
Browse files

v0.1 WIP22 -Added some debug messages related to Fast refresh local ip

parent bf4d8518
Pipeline #4717 passed with stages
in 4 minutes and 57 seconds
......@@ -21,7 +21,7 @@
//#include <emputils>
#include <socket>
#define PluginVer "v0.1 WIP21"
#define PluginVer "v0.1 WIP22"
public Plugin myinfo =
{
......@@ -166,9 +166,9 @@ public void OnPluginStart()
//Updater
if (LibraryExists("updater"))
{
Updater_AddPlugin(UPDATE_URL);
}
{
Updater_AddPlugin(UPDATE_URL);
}
//Detect hostname of server
GetConVarString(FindConVar("hostname"), hostname, sizeof(hostname));
......@@ -203,7 +203,6 @@ public void OnPluginStart()
{
PrintToServer("[L]EuropiresLocal = false");
}
}
//Create or load config files
......@@ -1193,6 +1192,26 @@ public void RSInfoOfServer(Handle RShDriver, Handle RShResult, const char[] sErr
//Vanilla server IP replacement, as it is a local server
//Vanilla IP:
//Vanilla local IP: 192.168.200.81:27016
if (GetConVarInt(l_debug) == 1)
{
if (VanillaLocal == true)
{
PrintToServer("[L]VanillaLocal = true");
}
if (VanillaLocal == false)
{
PrintToServer("[L]VanillaLocal = false");
}
if (EuropiresLocal == true)
{
PrintToServer("[L]EuropiresLocal = true");
}
if (EuropiresLocal == false)
{
PrintToServer("[L]EuropiresLocal = false");
}
}
if (VanillaLocal == true)
{
if (StrEqual(RSaddrx[ServerIndex], "80.112.155.100:27016") == true)
......
......@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "v0.1 WIP21"
"Latest" "v0.1 WIP22"
}
"Notes" "First release"
......@@ -38,6 +38,7 @@
"Notes" "WIP19: Fixed fast refresh for Europires as it is a local server on main lobby"
"Notes" "WIP20: Revert Europires fast refresh for main lobby back to public IP"
"Notes" "WIP21: Changed Europires fast refresh for main lobby to a different local IP"
"Notes" "WIP22: Added some debug messages related to Fast refresh local ip"
}
"Files"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment