remove .php prefixes related to master server
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenRA.Mods.RA.Server
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var url = "ping.php?port={0}&name={1}&state={2}&players={3}&bots={4}&mods={5}&map={6}&maxplayers={7}&spectators={8}&protected={9}";
|
var url = "ping?port={0}&name={1}&state={2}&players={3}&bots={4}&mods={5}&map={6}&maxplayers={7}&spectators={8}&protected={9}";
|
||||||
if (isInitialPing) url += "&new=1";
|
if (isInitialPing) url += "&new=1";
|
||||||
|
|
||||||
using (var wc = new WebClient())
|
using (var wc = new WebClient())
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
Game.RunAfterTick(() => RefreshServerListInner(games));
|
Game.RunAfterTick(() => RefreshServerListInner(games));
|
||||||
};
|
};
|
||||||
|
|
||||||
currentQuery = new Download(Game.Settings.Server.MasterServer + "list.php", _ => {}, onComplete);
|
currentQuery = new Download(Game.Settings.Server.MasterServer + "list", _ => {}, onComplete);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshServerListInner(IEnumerable<GameServer> games)
|
public void RefreshServerListInner(IEnumerable<GameServer> games)
|
||||||
|
|||||||
Reference in New Issue
Block a user