diff --git a/opengsq/version.py b/opengsq/version.py index 8219039..1c4ddd3 100644 --- a/opengsq/version.py +++ b/opengsq/version.py @@ -1 +1 @@ -__version__ = '2.3.0' +__version__ = '2.3.1' diff --git a/tests/protocols/test_killingfloor.py b/tests/protocols/test_killingfloor.py index 970cbf6..998d28d 100644 --- a/tests/protocols/test_killingfloor.py +++ b/tests/protocols/test_killingfloor.py @@ -9,7 +9,7 @@ # handler.enable_save = True # Killing Floor -test = KillingFloor(host='104.234.65.235', port=7708) +test = KillingFloor(host='185.80.128.168', port=7708) @pytest.mark.asyncio async def test_get_details(): diff --git a/tests/results/test_killingfloor/test_get_details.json b/tests/results/test_killingfloor/test_get_details.json index 362e820..02b6aae 100644 --- a/tests/results/test_killingfloor/test_get_details.json +++ b/tests/results/test_killingfloor/test_get_details.json @@ -3,14 +3,14 @@ "ServerIP": "", "GamePort": 7707, "QueryPort": 0, - "ServerName": "|uDeep|/T\\||Noi| #2 < W", - "MapName": "KF-STALKER-DUTY-BASE(REMAKE)", - "GameType": "KFGameType", - "NumPlayers": 17, - "MaxPlayers": 32, - "WaveCurrent": 2, - "WaveTotal": 7, + "ServerName": "WS-GAMING.EU | NORMAL | 60LVL [#1]", + "MapName": "KF-WS-NoMercy", + "GameType": "UZGameType", + "NumPlayers": 10, + "MaxPlayers": 25, + "WaveCurrent": 1, + "WaveTotal": 10, "Ping": 0, - "Flags": 512, + "Flags": 64, "Skill": "0" } diff --git a/tests/results/test_killingfloor/test_get_players.json b/tests/results/test_killingfloor/test_get_players.json index c0e951a..ca51c94 100644 --- a/tests/results/test_killingfloor/test_get_players.json +++ b/tests/results/test_killingfloor/test_get_players.json @@ -1,100 +1,51 @@ [ { - "Id": 769, - "Name": "[CHL] asein", - "Ping": 56, - "Score": 1500, + "Id": 7, + "Name": "Falcon1i", + "Ping": 64, + "Score": 500, "StatsId": 536870912 }, { - "Id": 554, - "Name": "[MEX] Tologuin", - "Ping": 148, - "Score": 1515, + "Id": 6, + "Name": "kaziukaass", + "Ping": 32, + "Score": 500, "StatsId": 536870912 }, { - "Id": 374, - "Name": "[CHL] fafe_asta", - "Ping": 60, - "Score": 984, - "StatsId": 536870912 - }, - { - "Id": 311, - "Name": "[ARG] Rekiam", - "Ping": 76, - "Score": 1129, - "StatsId": 536870912 - }, - { - "Id": 277, - "Name": "[ARG] KFL/UFOKILLER", - "Ping": 28, - "Score": 1716, - "StatsId": 536870912 - }, - { - "Id": 271, - "Name": "[KOR] Bohemian", - "Ping": 252, - "Score": 493, - "StatsId": 536870912 - }, - { - "Id": 199, - "Name": "[BRA] Finish", + "Id": 5, + "Name": "JOE_BIDEN", "Ping": 40, - "Score": 0, - "StatsId": 0 - }, - { - "Id": 83, - "Name": "[CHL] LordChalox", - "Ping": 60, - "Score": 2282, - "StatsId": 536870912 - }, - { - "Id": 29, - "Name": "[CHL] Kriss_Nemesis", - "Ping": 52, - "Score": 226, + "Score": 500, "StatsId": 536870912 }, { - "Id": 21, - "Name": "[ESP] HomerO", - "Ping": 176, - "Score": 175, + "Id": 4, + "Name": "Wev", + "Ping": 88, + "Score": 500, "StatsId": 536870912 }, { - "Id": 19, - "Name": "[CHL] Marcelo_Kris", - "Ping": 56, - "Score": 229, + "Id": 3, + "Name": "Angry_Dany", + "Ping": 24, + "Score": 500, "StatsId": 536870912 }, { - "Id": 18, - "Name": "[CHL] ZuraRxx", - "Ping": 92, - "Score": 2046, + "Id": 2, + "Name": "Kornis", + "Ping": 36, + "Score": 500, "StatsId": 536870912 }, { - "Id": 17, - "Name": "[ARG] francomaldonado", + "Id": 1, + "Name": "THE_ANCIENT/_\\Predat", "Ping": 48, - "Score": 59, - "StatsId": 536870912 - }, - { - "Id": 15, - "Name": "[SLV] memtrix", - "Ping": 128, - "Score": 569, + "Score": 500, "StatsId": 536870912 } ] diff --git a/tests/results/test_killingfloor/test_get_rules.json b/tests/results/test_killingfloor/test_get_rules.json index 56a6b51..1dc5050 100644 --- a/tests/results/test_killingfloor/test_get_rules.json +++ b/tests/results/test_killingfloor/test_get_rules.json @@ -1,27 +1,24 @@ { "Mutators": [ - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase", - "ZNBase" + "KillingFloorMut", + "SpecimenHPConfigMut", + "CleanAppIDMut", + "MutSlotMachine", + "KFShareCashMut", + "ServerPerksMut" ], "ServerMode": "dedicated", - "AdminName": "AdminEmail", + "AdminName": "", + "AdminEmail": "kf@ws-gaming.eu", "ServerVersion": "1065", "IsVacSecured": "true", - "MaxSpectators": "6", + "MaxSpectators": "20", "MapVoting": "true", "KickVoting": "true", - "SP: Version": "750", - "SP: Min perk level": "6", - "SP: Max perk level": "99", - "SP: Num trader weapons": "140", - "SP: Perk 1": "Support Specialist", - "SP: Perk 2": "Berserker" + "Slot Machines": "Ver 200", + "Veterancy Handler": "Ver 700", + "Veterancy saving": "Enabled", + "Min perk level": "0", + "Max perk level": "60", + "Num trader weapons": "123" }