diff --git a/opengsq/protocols/raknet.py b/opengsq/protocols/raknet.py index b8fa8e1..f31f580 100644 --- a/opengsq/protocols/raknet.py +++ b/opengsq/protocols/raknet.py @@ -66,7 +66,7 @@ async def get_status(self) -> dict: import json async def main_async(): - raknet = Raknet(host='193.70.94.83', port=19132, timeout=5.0) + raknet = Raknet(host='mc.advancius.net', port=19132, timeout=5.0) status = await raknet.get_status() print(json.dumps(status, indent=None) + '\n') diff --git a/opengsq/protocols/satisfactory.py b/opengsq/protocols/satisfactory.py index 652f288..8f5cc4f 100644 --- a/opengsq/protocols/satisfactory.py +++ b/opengsq/protocols/satisfactory.py @@ -42,7 +42,7 @@ async def get_status(self) -> dict: import json async def main_async(): - satisfactory = Satisfactory(host='delta3.ptse.host', port=15777, timeout=5.0) + satisfactory = Satisfactory(host='79.136.0.124', port=15777, timeout=5.0) status = await satisfactory.get_status() print(json.dumps(status, indent=None) + '\n') diff --git a/tests/protocols/test_raknet.py b/tests/protocols/test_raknet.py index a7d0120..ea414ca 100644 --- a/tests/protocols/test_raknet.py +++ b/tests/protocols/test_raknet.py @@ -9,7 +9,7 @@ # handler.enable_save = True # Raknet -test = Raknet(host='193.70.94.83', port=19132) +test = Raknet(host='mc.advancius.net', port=19132) @pytest.mark.asyncio async def test_get_status(): diff --git a/tests/protocols/test_satisfactory.py b/tests/protocols/test_satisfactory.py index 223732f..9876b5e 100644 --- a/tests/protocols/test_satisfactory.py +++ b/tests/protocols/test_satisfactory.py @@ -9,7 +9,7 @@ # handler.enable_save = True # Satisfactory -test = Satisfactory(host='delta3.ptse.host', port=15777) +test = Satisfactory(host='79.136.0.124', port=15777) @pytest.mark.asyncio async def test_get_status(): diff --git a/tests/results/test_raknet/test_get_status.json b/tests/results/test_raknet/test_get_status.json index 126f0e1..521d296 100644 --- a/tests/results/test_raknet/test_get_status.json +++ b/tests/results/test_raknet/test_get_status.json @@ -1,11 +1,14 @@ { "edition": "MCPE", - "motd_line_1": "§f§f§l:: §e§lMods§a§lCraft §f§l:: §a1.1-1.19 .", - "protocol_version": 354, - "version": "48", - "num_players": 71, - "max_players": 1501, - "server_uid": "-6650582236557588276", - "motd_line_2": "", - "gamemode": "" + "motd_line_1": "Advancius Network", + "protocol_version": 630, + "version": "1.20.50", + "num_players": 149, + "max_players": 400, + "server_uid": "10878663457117740029", + "motd_line_2": "discord.advancius.net", + "gamemode": "Survival", + "gamemode_numeric": 1, + "port_ipv4": 19132, + "port_ipv6": 0 }