Skip to content

Commit 289ac97

Browse files
Merge pull request #49 from Hornochs/next-update
Adding new Games
2 parents cfd1a50 + a069f42 commit 289ac97

98 files changed

Lines changed: 6520 additions & 23 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ from opengsq.protocols import (
1818
ASE,
1919
Battlefield,
2020
Doom3,
21+
ElDewrito,
2122
EOS,
2223
FiveM,
24+
Flatout2,
2325
GameSpy1,
2426
GameSpy2,
2527
GameSpy3,

docs/tests/protocols/index.rst

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,46 @@ Protocols Tests
44
===============
55

66
.. toctree::
7-
test_gamespy4/index
8-
test_teamspeak3/index
7+
test_cod4/index
8+
test_halo1/index
9+
test_flatout2/index
10+
test_battlefield2/index
11+
test_ssc/index
12+
test_source/index
913
test_won/index
10-
test_toxikk/index
11-
test_gamespy1/index
12-
test_minecraft/index
13-
test_raknet/index
14+
test_fivem/index
15+
test_gamespy2/index
16+
test_nadeo/index
17+
test_trackmania_nations/index
18+
test_ut3/index
19+
test_eldewrito/index
1420
test_eos/index
1521
test_renegadex/index
22+
test_stronghold_ce/index
23+
test_quake2/index
24+
test_gamespy3/index
25+
test_stronghold_crusader/index
1626
test_kaillera/index
17-
test_ase/index
18-
test_quake1/index
19-
test_killingfloor/index
20-
test_source/index
21-
test_samp/index
27+
test_toxikk/index
28+
test_avp2/index
29+
test_gamespy1/index
2230
test_scum/index
23-
test_ut3/index
24-
test_unreal2/index
25-
test_quake3/index
26-
test_warcraft3/index
27-
test_nadeo/index
31+
test_raknet/index
32+
test_killingfloor/index
2833
test_battlefield/index
29-
test_fivem/index
3034
test_palworld/index
31-
test_quake2/index
32-
test_gamespy2/index
33-
test_flatout2/index
35+
test_tmn/index
3436
test_doom3/index
37+
test_w40kdow/index
38+
test_samp/index
39+
test_ase/index
40+
test_teamspeak3/index
3541
test_vcmp/index
42+
test_minecraft/index
43+
test_quake3/index
44+
test_warcraft3/index
45+
test_quake1/index
46+
test_unreal2/index
47+
test_gamespy4/index
48+
test_cod1/index
3649
test_satisfactory/index
37-
test_gamespy3/index
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _test_avp2:
2+
3+
test_avp2
4+
=========
5+
6+
.. toctree::
7+
test_get_basic
8+
test_get_players
9+
test_get_status
10+
test_get_info
11+
test_get_rules
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
test_get_basic
2+
==============
3+
4+
Here are the results for the test method.
5+
6+
.. code-block:: json
7+
8+
{
9+
"gamename": "avp2",
10+
"gamever": "1.0.9.6",
11+
"location": "0"
12+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
test_get_info
2+
=============
3+
4+
Here are the results for the test method.
5+
6+
.. code-block:: json
7+
8+
{
9+
"mspatch": "2.4",
10+
"website": "www.avp2msp.com",
11+
"hostname": "Aliens vs. Predator 2 [D]",
12+
"hostport": "27888",
13+
"mapname": "dm_verloc",
14+
"gametype": "Team DM",
15+
"gamemode": "openplaying",
16+
"numplayers": "1",
17+
"maxplayers": "16",
18+
"lock": "0",
19+
"ded": "1",
20+
"bandwidth": "10000000"
21+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
test_get_players
2+
================
3+
4+
Here are the results for the test method.
5+
6+
.. code-block:: json
7+
8+
[
9+
{
10+
"player": "1-NoName",
11+
"race": "1",
12+
"score": "0",
13+
"ping": "10"
14+
}
15+
]
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
test_get_rules
2+
==============
3+
4+
Here are the results for the test method.
5+
6+
.. code-block:: json
7+
8+
{
9+
"maxa": "8",
10+
"maxm": "8",
11+
"maxp": "8",
12+
"maxc": "8",
13+
"frags": "0",
14+
"score": "0",
15+
"time": "1800",
16+
"rounds": "0",
17+
"lc": "0",
18+
"hrace": "0",
19+
"prace": "0",
20+
"ratio": "0",
21+
"srace": "0",
22+
"mrace": "0",
23+
"drace": "0",
24+
"dlive": "0",
25+
"arace": "0",
26+
"alive": "0",
27+
"speed": "100",
28+
"respawn": "100",
29+
"damage": "100",
30+
"hitloc": "1",
31+
"ff": "0",
32+
"fn": "0",
33+
"mask": "0",
34+
"class": "1",
35+
"exosuit": "4",
36+
"queen": "1",
37+
"cscore": "0"
38+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
test_get_status
2+
===============
3+
4+
Here are the results for the test method.
5+
6+
.. code-block:: json
7+
8+
{
9+
"info": {
10+
"gamename": "avp2",
11+
"gamever": "1.0.9.6",
12+
"location": "0",
13+
"mspatch": "2.4",
14+
"website": "www.avp2msp.com",
15+
"hostname": "Aliens vs. Predator 2 [D]",
16+
"hostport": "27888",
17+
"mapname": "dm_verloc",
18+
"gametype": "Team DM",
19+
"gamemode": "openplaying",
20+
"numplayers": "1",
21+
"maxplayers": "16",
22+
"lock": "0",
23+
"ded": "1",
24+
"bandwidth": "10000000",
25+
"maxa": "8",
26+
"maxm": "8",
27+
"maxp": "8",
28+
"maxc": "8",
29+
"frags": "0",
30+
"score": "0",
31+
"time": "1800",
32+
"rounds": "0",
33+
"lc": "0",
34+
"hrace": "0",
35+
"prace": "0",
36+
"ratio": "0",
37+
"srace": "0",
38+
"mrace": "0",
39+
"drace": "0",
40+
"dlive": "0",
41+
"arace": "0",
42+
"alive": "0",
43+
"speed": "100",
44+
"respawn": "100",
45+
"damage": "100",
46+
"hitloc": "1",
47+
"ff": "0",
48+
"fn": "0",
49+
"mask": "0",
50+
"class": "1",
51+
"exosuit": "4",
52+
"queen": "1",
53+
"cscore": "0"
54+
},
55+
"players": [
56+
{
57+
"player": "1-NoName",
58+
"race": "1",
59+
"score": "0",
60+
"ping": "10"
61+
}
62+
],
63+
"teams": []
64+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. _test_battlefield2:
2+
3+
test_battlefield2
4+
=================
5+
6+
.. toctree::
7+
test_get_status
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
test_get_status
2+
===============
3+
4+
Here are the results for the test method.
5+
6+
.. code-block:: json
7+
8+
{
9+
"info": {
10+
"hostname": "Default Server Name",
11+
"gamename": "battlefield2",
12+
"gamever": "1.0.2442.0",
13+
"mapname": "Daqing_oilfields",
14+
"gametype": "gpm_cq",
15+
"gamevariant": "bf2",
16+
"numplayers": "1",
17+
"maxplayers": "64",
18+
"gamemode": "openplaying",
19+
"password": "0",
20+
"timelimit": "0",
21+
"roundtime": "3",
22+
"hostport": "16567",
23+
"bf2_dedicated": "0",
24+
"bf2_ranked": "0",
25+
"bf2_anticheat": "0",
26+
"bf2_os": "win32",
27+
"bf2_autorec": "0",
28+
"bf2_d_idx": "http://",
29+
"bf2_d_dl": "http://",
30+
"bf2_voip": "1",
31+
"bf2_autobalanced": "0",
32+
"bf2_friendlyfire": "1",
33+
"bf2_tkmode": "Punish",
34+
"bf2_startdelay": "15",
35+
"bf2_spawntime": "15.000000",
36+
"bf2_sponsortext": "",
37+
"bf2_sponsorlogo_url": "",
38+
"bf2_communitylogo_url": "",
39+
"bf2_scorelimit": "0",
40+
"bf2_ticketratio": "100",
41+
"bf2_teamratio": "100.000000",
42+
"bf2_team1": "CH",
43+
"bf2_team2": "US",
44+
"bf2_bots": "0",
45+
"bf2_pure": "1",
46+
"bf2_mapsize": "32",
47+
"bf2_globalunlocks": "0",
48+
"bf2_fps": ""
49+
},
50+
"players": [
51+
{
52+
"name": "Gamie",
53+
"score": "0",
54+
"ping": "0",
55+
"team": "2",
56+
"deaths": "0",
57+
"pid": "0",
58+
"skill": "0"
59+
}
60+
],
61+
"teams": [
62+
{
63+
"name": "CH",
64+
"score": "0"
65+
},
66+
{
67+
"name": "US",
68+
"score": "0"
69+
}
70+
]
71+
}

0 commit comments

Comments
 (0)