Commit graph

253 commits

Author SHA1 Message Date
CosminPerRam
a3fca5d590
feat(protocol/sdtd): add optional more data via telnet (#697)
* feat(protocol/sdtd): add optional more data via telnet

* docs: update CHANGELOG.md

* feat: some refactoring

* feat: add hordeDay to raw

* docs: mention what extra data it is

* docs: formatting
2025-05-06 10:53:30 +03:00
CosminPerRam
b9767ab99d fix(protocols/sdtd): commands would end up missing the first line 2025-05-05 22:22:58 +03:00
CosminPerRam
71ce074866
feat(protocols/sdtd): add telnet support for players (#692)
* feat(protocols/sdtd): add telnet support

* docs: update CHANGELOG.md
2025-04-27 17:06:23 +03:00
CosminPerRam
e24e9d0a9e
fix(core/http): remove got internal retry (#690)
* fix(core/http): remove got internal retry

* feat(protocol/brokeprotocolmaster): remove repeated default options in http request

* docs: add changelog line

* docs: credit contributor for the bug find
2025-04-26 15:23:30 +03:00
CosminPerRam
6821e664b0
feat(protocol/brokeprotocol): replace explicit got usage (#689)
* feat(protocols/brokeprotocol): replace explicit got usage

* dont overcomplicate things, it should always be ok

* docs: fix return type for checkApi

* feat: restore limit 0
2025-04-26 15:06:49 +03:00
James Causon
47c9182bed
feat: replace cheerio and update build-and-shoot (#683)
* Implement fast-xml-parser replacing cheerio for farmingsim

* Add extra player raw fields

* Update buildandshoot for server 0.75 which uses json.

* Remove cheerio

* Add changelog entry

* Add notes for build and shoot query server

* Update CHANGELOG.md

* Update package.json to fix version

* Update buildandshoot.js

* update lock

* Add specific key and value to bas config in note

* Add spacing for import

* Run eslint on bas protocol

* Use includes for check. Add doc notes to games.js

* Updates GAMES_LIST.md

* fix: support stable and master

* attempt to manually fix conflict

* fix players

* fix fx

* Update CHANGELOG.md

---------

Co-authored-by: CosminPerRam <cosmin.p@live.com>
2025-04-25 23:57:04 +03:00
GoodDays13
58f045dd36
fix(protocols/terraria): add missing maxplayers (and raw) to terraria protocol (#686)
* Add maxplayers to terraria protocol

* Update CHANGELOG.md

* Add raw to terraria state

It returns multiple versions, so instead of choosing one I decided to do this.

* Update CHANGELOG.md
2025-04-22 23:23:50 +03:00
Anthony
099f7107cf
feat: Renown add support (#684)
* add renown support

* add changelog entry
2025-03-22 22:25:41 +02:00
CosminPerRam
e6b959a4d7
feat(game/farmingsimulator): add response to raw object (#682)
* feat(game/farmingsimulator): add response to raw object

* docs: add changelog line
2025-03-19 00:16:47 +02:00
HJ
f0c3b76bc5
fix(protocols/minetest): rename ip to address (#678)
* Update minetest protocol

Minetest changed property name in list

* changelog
2025-02-26 22:14:56 +02:00
CosminPerRam
467606f6a6
fix(gta5f): wrap query of players in a catch (#674)
* feat: wrap query of players in a catch

* docs: add note about how to make players query get through

* docs: update CHANGELOG.md

* docs: add comment regarding adding requestPlayers and requestPlayersRequired eventually
2025-02-09 19:32:18 +02:00
CosminPerRam
56a90eabce
fix: Nadeo failing queries on map info (#667)
* fix: nadeo failing queries

* docs: update changelog, fix games list issue not being hyperlinked

* feat: Adding CurrentChallengeInfo to get Map Informations (#669)

Co-authored-by: Stephan Schaffner <stephan.schaffner@check24.de>

* docs: remove note removal notice from games_list

* docs: update changelog to note for version

* docs: mention @Hornochs in the changelog line

* chore: swap some lines around

---------

Co-authored-by: Stephan Schaffner <chaos_bloated856@memehorst.de>
Co-authored-by: Stephan Schaffner <stephan.schaffner@check24.de>
2025-01-21 19:40:49 +02:00
CosminPerRam
a62f623134
fix: palworld not respecting response schema (#666)
* fix: palworld not respecting schema

* docs: add number to changelog
2025-01-21 19:30:01 +02:00
James Causon
0ad23aa1a4
fix: Use cp tag for accurate rust player count (#663)
* Use cp tag for accurate rust playercount

* Add changelog entry
2025-01-04 23:03:49 +02:00
CosminPerRam
5391daf6b7
fix: minecraft name being duplicated in the string (#656) 2024-11-15 15:04:11 +02:00
CosminPerRam
f5899fd54d
feat(games/satisfactory): pass optional token, make http query not required (#653)
* feat: let the user provide a token to skip PasswordlessLogin

* feat: make querying the HTTP api not required

* docs: add to changelog, note query priority

* fix: passing rejectUnauthorized as arg made it string, ignoring its value
2024-10-16 22:40:06 +03:00
CosminPerRam
5b1da1ad71
feat: Satisfactory add lightweight query (#652)
* feat: add lightweight query

* docs: update CHANGELOG
2024-10-14 00:28:19 +03:00
RattleSN4K3
899a39a393
feat: add BROKE PROTOCOL support (#651)
* Add support for BROKE PROTOCOL, querying master server

Plus support for master query through separate protocol

* Define json response via schema, optional data validation with Ajv (commented out)

* Fallback query from game data server listing (servers.json)

* docs: update CHANGELOG and GAMES_LIST for Broke Protocol
2024-10-13 17:21:19 +03:00
RattleSN4K3
d2397b67e7
feat: add Hawakening support (#648)
* Add support for Hawakening, querying master server

* Outsource backend calls into Api class

* Define json response via schema, optional data validation with Ajv (commented out)

* Add support for Hawakening master query through separate protocol

Protocol 'hawakeningmaster' provides full list of processed server info

* docs: update CHANGELOG and GAMES_LIST for Hawakening

* Additional API check + cleanup

* Allowing public/non-authorized master server query for Hawkening severs

* Fix: Reference the master protocol correctly in docs/games_list

* Reorganized code file, moved schema and API-class to the end
2024-10-12 17:51:56 +03:00
RattleSN4K3
fe9d4f2cfc
feat: add Renegade X support (#643) 2024-10-04 10:42:43 +03:00
Smidy
b3947164d3
feat: Add Satisfactory support (#645)
* feat: Added Satisfactory Protocol and Support

* fix: Reordering Alphabetically

* Further Updates based on Feedback

* Removed Duplicate Code

* Adding rejectUnauthorized option for Satisfactory

* Move rejectUnauthorized back to Protocol

* Adding Doc Notes for Satisfactory

* Made Docs Clearer
2024-10-01 10:23:07 +03:00
RattleSN4K3
39d7f06bd9
feat: add Toxikk support (#641)
* Add support for Toxikk, using Valve protocol plus UnrealEngine3 rules parsing

* docs: update CHANGELOG for Toxikk

* docs: update GAMES_LIST for Toxikk
2024-09-28 02:39:14 +03:00
CosminPerRam
c77ca299b0
feat: update Soldat protocol (#642)
* feat: add Soldat support

* feat: update protocol in games.js and CHANGELOG

* feat: add gamemode in the raw object

* remove debug console log

* misspell

* docs: add server config requirements

* fix games list formatting issue

* fix: players list
2024-09-25 18:56:15 +03:00
CosminPerRam
e74ae933b3
feat: add requestPlayers option (#624)
* feat: add  option

* docs: alter readme
2024-09-01 16:13:03 +03:00
CosminPerRam
cb73ccd260 feat: quake2 protocol's version field, look for 'version' in the raw object
Observed while looking on #619
2024-08-31 02:08:59 +03:00
CosminPerRam
60c3990c7c
fix: registerRTT would break successful queries (#610)
* revert commit

* revert core registerRTT

* revert "revert commit"

* making this simpler

* changelog
2024-08-19 18:51:21 +03:00
CosminPerRam
dcd12d0360
feat: add vintage story support (#606)
* feat: add vintage story support

* remove debug console.log
2024-08-13 11:56:28 +03:00
CosminPerRam
b6ac839162
fix: minecraft vanilla top level description text and mixed cases (#599)
* fix: minecraft vanilla top level description text

* i have minecraft description strings

this should be tested....

* feat: better minecraft name composure
2024-08-11 14:37:54 +03:00
dayrain
9e83681cee
feat: add a rules bytes return for valve protocol (#597)
* feat: added a rules bytes return for valve protocol

* chore: add changelog
2024-08-05 13:16:45 +03:00
CosminPerRam
c5f8ec521d
fix: minecraft velocity name with multiple layers of color encoding (#595)
* fix: minecraft velocity recursive name

* chore: update CHANGELOG.md

* feat: remove obvious (?) condition

* feat: simplify using javascript code moment
2024-07-29 13:52:12 +03:00
James Causon
bdb819d0f8
feat: Add support for AltvMP (#588)
* feat: Add Minetest support using serverlist

* Allow for connect to be assigned,

* Add serverId to the string args

* Add altvmp implementation

* Added altv to games.

* Add changelog entry

* Update CHANGELOG.md with state.connect
2024-07-17 18:10:06 +03:00
CosminPerRam
8a968c006c perf(games/assettocorsa): replace parseInt with Math.floor 2024-07-07 20:50:48 +03:00
CosminPerRam
402be8a357
fix: assetto corsa failing all queries due to undefined (#584) 2024-07-07 20:35:08 +03:00
CosminPerRam
a5187f70f9 chore: run eslint --fix 2024-06-29 23:27:19 +03:00
CosminPerRam
5210f523b4
fix: xonotic player names being reported as numbers (#580)
* fix: xonotic player names being reported as numbers

* changelog
2024-06-29 21:25:58 +03:00
James Causon
cfd5614353
feat: Add Grand Theft Auto V - RAGE MP support (#576)
* feat: Add Grand Theft Auto V - RAGE MP support

* Add changelog entry

* Change ID for RageMP to gta5r

* Rename to be RageMP

* Revert prettier changing * to -

* Add notes to ragemp.

* Update CHANGELOG.md
2024-06-24 11:18:35 +03:00
CosminPerRam
fd63ed79d6
feat: Restore Minecraft's favicon (#575)
* fix: restore minecraft favicon

* chore: update CHANGELOG.md
2024-06-11 22:29:17 +03:00
James Causon
2a1219128d
feat: Add Minetest support (#573)
* feat: Add Minetest support using serverlist

* Update CHANGELOG.md

* Update CHANGELOG.md
2024-06-11 22:25:41 +03:00
CosminPerRam
9bd3caab7b feat(protocol/minecraft): reduce repeated code on promise.push 2024-05-11 18:47:38 +03:00
CosminPerRam
ee5baaff13
feat: add palworld new new query implementation (#560)
* feat: add initial first working query

* feat: map serverInfo data

* feat: add players, settings and metrics queries

* update docs stuff

* fix broken palworld hyperlink in games list
2024-04-08 20:11:08 +03:00
Rephot
181a1b7644
Update beammp.js (#558)
Use resolved IP in case of hostname entered since serverinfo only returns IP
2024-03-28 03:01:15 +02:00
Daniel Gibbs
b0af081d36
fix(beammp): correct maxplayers that was displaying player count (#551) (#551) 2024-02-26 17:26:24 +02:00
CosminPerRam
67e86d3fe8 chore: reorganize some setters in assetocorsa 2024-02-25 19:48:45 +02:00
Pedro Ivo Hudson
a7c3b5474c
feat: Add version as a top level field (#532)
* add top level version on existing entries

* start adding version on new protocols WIP

* add version to more games

* more games with version

* add more games

* more version

* even more games with version

* add 'delete state.raw.version'

* fix delete version

* Update CHANGELOG.md

* add version in Results.js

* more games

* add new game

* more games

* add version on README

* add new game

* other game

* new game

* add unreal2 version

* add ventrilo version

* add eldewrito eldewrito

* add beammp version

* fix starmade version

* add new version in samp protocol

* docs: tweak the changelog line a bit

---------

Co-authored-by: CosminPerRam <cosmin.p@live.com>
2024-02-24 20:46:40 +02:00
CosminPerRam
fb6a5a1c7a perf: remove some if statements in gamespy 2 2024-02-24 18:59:17 +02:00
CosminPerRam
6b85c6bc0b
perf: revise core class and make it cleaner (#548)
* feat: rework core protocol a bit

* feat: transform some strings to literals

* feat: check if a param is a promise with instanceof

* fix: shortest RTT not registering properly

* feat: use another optional chaining

* fix: grammatic error in comment

* docs: add CHANGELOG line

* fix: move a start time indicator closer to the source
2024-02-24 18:26:48 +02:00
Focus
6bfc3426e7
fix: Added c query requests for gtasao (open.mp) (#547)
* Added full OMP support

* Added a new protocol for OMP which extends SAMP

* Edited the changelog
2024-02-22 22:57:41 +02:00
Pedro Ivo Hudson
cf0144683d
fix: TeamSpeak2 server name (#544)
* fix teamspeak2 server name

* Update CHANGELOG.md
2024-02-15 18:29:31 +02:00
Pedro Ivo Hudson
e047f9fb2a
fix: Assetto Corsa numplayers (#538)
* fix Assetto Corsa numplayers

* Update CHANGELOG.md
2024-02-10 18:21:29 +02:00
Vito0912
3a17184862
feat: Add Farming Simulator 22/19 (#531)
* Added token paramter

* Added Farming Simulator 2022

* Fixed order

* Undo debug line

* Update Farming Simulator 22 support (By @Vito0912 #531)

* Added Farming Simulator 2019 support

* Revert change

* Update release year for Farming Simulator 2019

* Update mods array to raw.mods in farmingsimulator.js

* Update Farming Simulator naming in GAMES_LIST.md

* Missed some names

* Add server version to state.raw and eslint
2024-02-05 17:29:01 +02:00