Commit Graph

101 Commits

Author SHA1 Message Date
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
CosminPerRam 4e6ab05291
feat: add Myth of Empires support (#557) 2024-03-28 03:06:01 +02:00
CosminPerRam 331d7bbc53 fix: remaining failing ids 2024-02-24 23:03:33 +02:00
CosminPerRam df654a2c85 fix: il-2 sturmovik gid 2024-02-24 22:06:44 +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
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
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
Vito0912 2338b82307
feat: Add Factorio support (#527)
* Update eco protocol to include player names and fixed problems when using eco webinterface behind a proxy

* changelog + readability

* Typo

* Typo

* Added Factorio

* wrong comment

* CHANGELOG
2024-01-31 23:38:17 +02:00
Pedro Ivo Hudson e4d59a9f89
feat: add Euro Truck Simulator 2 support (#523)
* feat: add Euro Truck Simulator 2 support

* Update CHANGELOG.md
2024-01-31 16:01:17 +02:00
Pedro Ivo Hudson 731f553607
feat: add Duke Nukem Forever 2001 support (#499) 2024-01-29 19:03:07 +02:00
Sebastian Schmidt 0bf6645921
fix: typo in standard port for Palworld (#516)
* Fix: Palworld results - Name of the server is empty

* #497 - refactor of feedback

* #497 - refactor of feedback from Cosmin

* Fix for current-players bug - #491 and #507

* Fix for current-players bug - #491 and #507 - added changelog

* #515 fixed typo in standard port for Palworld
2024-01-27 13:00:27 +02:00
Guilherme Werner dbf83ab083
feat: add support for Enshrouded (#512)
* Add support to Enshrouded

* Update CHANGELOG.md
2024-01-24 22:51:48 +02:00
CosminPerRam 38c6712fd7 fix: terraria tshock mistype 2024-01-22 23:23:05 +02:00
CosminPerRam b0ca4df687
fix: rewrite migration document and fix check old ids (#504)
* docs: rewrite migration document

* fix: old games check
2024-01-22 23:05:52 +02:00
CosminPerRam f46580d1ad
fix: remove query_port and fix those with the use of it (#503) 2024-01-22 22:31:03 +02:00
Pedro Ivo Hudson 1f10ad0608
feat: add checking for older GIDs (#496)
* feat: add new games.extra.old_id

* add extra.old_id; standard release_year

* add option dontCheckOldIDs

* update naming, README, CHANGELOG

* Update CONTRIBUTING.md

* fix games.js

* add tool for checking duplicates

* update GAMES_LIST

* fix anchor links

* fix notes in generated game list

* Update GAMES_LIST.md

* Update GAMES_LIST.md

* add Game Object Example in CONTRIBUTING

* Update find_id_duplicates.js

* check skipOldIDs only once

* remove old ids; tweaks GAMES_LIST

* add MIGRATION document WIP

* Update GAMES_LIST.md

* update Halo Online name

* revert changes tool/generate

* remove extra line

* Update GAMES_LIST.md

* roll back GAME_LIST

* Update GAMES_LIST.md

* OMG

* WAT

* ok... hopefully the last change

* Update GAMES_LIST.md

* add MIGRATION ids

* roll back CONTRIBUTING

* Update CHANGELOG.md

* update skipOldIDs to checkOldIDs

* Update MIGRATION.md

* add migration note on README
2024-01-22 22:16:58 +02:00
Guilherme Werner 7f373212bb
feat: add support for The Isle Evrima (#501)
* Add support for The Isle Evrima

* Move specific attributes to game protocol

* Update changelog and fix gid

* Keep attributes in eos protocol
2024-01-21 23:15:09 +02:00
Jonathan Lambert 96e2054a04
feat: add support for Palworld (#495)
* Added Palworld

* Tidy up

* Improve variable wording for Epic auth
2024-01-21 00:36:05 +02:00
Pedro Ivo Hudson cbf66e127c
chore: add Minecraft notes (#492)
* chore: add Minecraft note about players

* Update CHANGELOG.md
2024-01-20 18:21:53 +02:00
CosminPerRam 10718d917c
feat: add xonotic support (#472) 2024-01-19 00:33:27 +02:00
CosminPerRam e05ac1fd48
feat: add Unreal 2: The Awakening - XMP support (#488)
* feat: add Unreal 2: The Awakening (XMP) support

* fix: game name
2024-01-19 00:27:53 +02:00
Pedro Ivo Hudson d4babb078b
feat: add new port to V Rising (#483)
* chore: add new port to V Rising

* update CHANGELOG

* update changelog
2024-01-18 23:24:08 +02:00
CosminPerRam 1ef09d470b
feat: breadth attempt order (#486)
* feat: breadth attempt order

* fix: remove stray console log from debugging
2024-01-18 23:11:03 +02:00
CosminPerRam 6746442254
chore: rename maxAttempts option to maxRetries (#485)
* chore: rename maxAttempts to maxRetries

* fix: typo
2024-01-18 01:15:48 +02:00
CosminPerRam b48a4398cd
feat: port caching (#478)
* feat: port caching

* feat: dont store in cache if disabled
2024-01-17 23:23:20 +02:00
Pedro Ivo Hudson 1f0563f7d2
feat: make port_query_offset accept a number or an array of numbers (#471)
* feat: add port_query_offset_alt

* feat: port_query_offset can now handle arrays of numbers

* back to previous state

* refactor gameQueryPortOffset ifs

* simpler code
2024-01-17 23:14:01 +02:00
Pedro Ivo Hudson 861d24898a
feat: Add Call of Duty: Black Ops 3 support (#473)
* feat: add black ops 3 support

* fix duplicate game name

* fix codbo3 port

* try resolve conflict

* possible conflict fix
2024-01-17 13:08:07 +02:00
CosminPerRam b481425dbf fix: numplayers not having a default value 2024-01-17 00:23:29 +02:00
CosminPerRam ec708d7219
feat: add query port to the results (#476) 2024-01-17 00:20:56 +02:00
Pedro Ivo Hudson 2ffff5e7d6
chore: update games list (#474)
* add game notes

* adjusting table spacing

* add missing extra notes
2024-01-16 23:16:48 +02:00
CosminPerRam 5ae12dd494
feat: strip Colors (#469) 2024-01-16 01:39:07 +02:00
CosminPerRam aa8b20b302
chore: Games IDs and names refactor, extract release year. (#415)
* partial gid remakes and years

* First run of complete gid and name revision

* chore: some gid refactors and some years

* fix: add missing years

* chore: regenerate GAMES_LIST.md

* fix: wrong ids caught by rust gid testing

* fix: star wars jedi knight 2: jedi outcast gid

* chore: regenerate games_list after rebase

* chore: fix some more ids caught by rust id testing
2024-01-11 01:38:44 +02:00
CosminPerRam fccd61c4ea fix(games): americas army proving grounds id 2024-01-07 23:29:04 +02:00
CosminPerRam 6e6d140b7a
fix: remove deno hacky fixes (#452)
* fix: remove deno hacky fixes

* fix: upgrade deno workflow from 1.x to 1.39.2
2024-01-06 15:46:02 +02:00
CosminPerRam 90b3c6044b
chore: extract dayz from valve (#448) 2024-01-02 17:45:44 +02:00
CosminPerRam 6bfbc883be
feat: add BeamMP support (#447)
* feat: add beammp support

* fix: cleanup server name of escape codes

* chore: add a new line for better readability
2023-12-30 22:41:56 +02:00
CosminPerRam 26a6ee1c08
fix: add -1 offset to Rising World (#441) 2023-12-25 23:45:24 +02:00
CosminPerRam 89515cb677
feat: backport 4.3.0 changes into master (#432)
* chore: backport all 4.3.0 changes

* docs: remove changelog line that does not apply
2023-12-03 17:52:17 +02:00
CosminPerRam 8192ed07e0
feat: export games and protocols besides GameDig (#411)
* feat: export games and protocols besides GameDig

* fix: revert ProtocolResolver rename

* fix: imports on the attempt tools

* docs: update changelog to note exports
2023-11-20 11:35:31 +02:00
Tom bdb926d6b2
feat: dns: Use node's built in isIP check instead of regex (#410)
Fixes #408
2023-11-19 21:02:55 +02:00
CosminPerRam c0287ab932 chore: rename game id 7d2d to sdtd 2023-11-19 03:03:47 +02:00
CosminPerRam ce4cddb87f
feat: remove games.txt and replace it with an in-code solution (#407)
* feat: remove games.txt and replace it with an in-code solution

* docs: update changelog

* chore: add todo comment regarding weird game ids to rename

* fix: generate games list md file

* fix: gemerate games list file to alphabetical id order

* fix: update changelog to note removal of some game ids and add geneshift alternative
2023-11-19 02:59:31 +02:00
CosminPerRam cee42e7a88
chore: Convert all files to LF endings (#400)
* Convert to LF?

* Modify gitattributes

* Force LF

* Git --renormalize

* Update .gitattributes to enforce eol=lf

* Redo CRLF -> LF on remaining files
2023-11-12 13:14:43 +02:00
CosminPerRam 3def20417d Replace an instance of substring with startswith 2023-11-02 18:43:12 +02:00
CosminPerRam da7a4a6334
Remove Players::setNum and stabilize field numplayers (#389)
* Remove Players Set Num

* Stabilize numplayers on armagetron

* Stabilize numplayers on ase

* Stabilize numplayers on assettocorsa

* Optimize away a variable declaration

* Stabilize numplayers on buildandshoot

* Stabilize numplayers on cs2d

* Fix wrong raw field parsed on Doom3

* Updated CHANGELOG and README regarding doom3 fix and numplayers

* Stabilize numplayers on doom3

* Stabilize numplayers on eco

* Stabilize numplayers on ffow

* Stabilize numplayers on quake2

* Stabilize numplayers on gamespy1

* Stabilize numplayers on gamespy2

* Stabilize numplayers on gamespy3

* Remove reductant numplayers setter in jc2mp

* Stabilize numplayers on kspdmp

* Stabilize numplayers on mafia2mp

* Stabilize numplayers on minecraftvanilla and remove players empty placeholders

* Stabilize numplayers on nadeo

* Stabilize numplayers on samp and reduce unused setters

* Stabilize numplayers on terraria

* Stabilize numplayers on tribes1

* Stabilize numplayers on unreal2

* Stabilize numplayers on valve

* Stabilize numplayers on ventrilo

* Battlefield: Set numplayers from info, not players

* Stabilize numplayers on minecraft

* Stabilize numplayers on teamspeak2

* Stabilize numplayers on teamspeak3

* Update CHANGELOG.md to add removal of players placeholders

* Replaced minecraft gamespy numplayers
2023-10-27 19:48:56 +03:00
CosminPerRam 5af13e283e Replace of promisify for dns with dns.promises 2023-10-14 19:53:07 +03:00
Tom 01794f6339
Add support for running using deno (#362)
* Add missing CRLF line ending

* Add support for running using deno

Prefix node imports with "node:" and gate a socket API that is not
implemented in [deno](https://deno.land) so that the library can be used
there. This should not break node and doesn't in my brief testing.
2023-10-10 12:25:57 +03:00
CosminPerRam 93a9095d99
Add eslint (#364)
* Add initial prettier and eslint configs

* Modify prettierrc

* Run eslint on everything

* Actually remove prettier

* Fix some eslints

* Remove label in gs2

* Update CHANGELOG

* Update eslintrc to specify es2021
2023-09-19 19:52:35 +03:00
CosminPerRam 17f91904ab Updated node version to 14.17 from 14 2023-09-15 00:05:06 +03:00
CosminPerRam 544610f085
Replace punycode (#359)
* Replace by package

* Update CHANGELOG
2023-09-14 23:44:57 +03:00