Commit Graph

628 Commits

Author SHA1 Message Date
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
Pedro Ivo Hudson 7c23e6c9e4
feat(tools/attempt): test against all protocols (#475)
* feat: get protocol list from /protocols

* simpler way to call protocols

* adds a services filter
2024-01-17 13:07:30 +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
Pedro Ivo Hudson 58c9c2cdad
chore: add new options to CHANGELOG (#470) 2024-01-16 11:54:54 +02:00
CosminPerRam 17691b54c0 chore: cleaner CLI
Related: #459
2024-01-16 02:14:02 +02:00
CosminPerRam a8bc3aa098 chore: update CHANGELOG.md to note game id changes 2024-01-16 02:07:56 +02:00
CosminPerRam 5ae12dd494
feat: strip Colors (#469) 2024-01-16 01:39:07 +02:00
CosminPerRam 0a3338320e
chore: cleaner cli (#459)
* chore: cleaner cli

* chore: use destruction for argv
2024-01-16 00:58:54 +02:00
Pedro Ivo Hudson 944716e453
chore: Cleaner and updated README (#461)
* chore: cleaner and updated README

* updated state object table
2024-01-16 00:11:16 +02:00
Pedro Ivo Hudson c81037040b
fix: valve raw.players being deleted (#463) 2024-01-14 23:18:04 +02:00
Tom 68f9c01886
feat: Add ID tests to CI (#456)
* tools: Add script to run ID tests

* ci: Add game ID tests

* tools/id-tests: Import games directly from file

* ci/id: Update ID tests to official repo

* ci/id: Cache rust deps even if tests fail

* Add newlines
2024-01-14 23:17:11 +02:00
Pedro Ivo Hudson 6ecb809512
fix: Add DayZ to Valve protocol in games list (#460)
* fix: add dayz to valve protocol

* fix extra space
2024-01-14 23:16:53 +02:00
Pedro Ivo Hudson 0b8ebc871f
feat: Add valve requestRulesRequired & requestPlayersRequired (#458)
* feat: add valve requestRulesRequired

* missing delete requestRulesRequired

* feat: add valve requestPlayersRequired

* update documentation

* update games list
2024-01-11 22:58:50 +02:00
CosminPerRam 184e9b170c
fix(valve): dont skip players with no name (#449)
* fix: dont skip players with no name

* feat: dont delete raw.players

* chore: update changelog
2024-01-11 02:21:16 +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
Pedro Ivo Hudson 09e4281edb
feat: add more data for dayz state (#450) 2024-01-07 23:04:16 +02:00
CosminPerRam 30581bd868 chore: update readme to add deno note and deno and node badge 2024-01-06 20:10:02 +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
Tom 68c8423c84
tools: Add find ID changes to list changes to game IDs (#435)
This tool iterates through the commit history finding commits where
lib/games.js has been modified. Whenever it has it loads the
before/after state and compares them to generate a list of IDs that were
removed/added/changed (changed is based on comparing the name of the
game).

The output of this script can then be converted into an object mapping
between old IDs and new IDs using a jq one-liner.
2023-12-30 16:38:32 +02:00
CosminPerRam decd329e2e chore: update changelog for the intermediary 4.3.1
related: #445
2023-12-30 16:37:21 +02:00
CosminPerRam 26a6ee1c08
fix: add -1 offset to Rising World (#441) 2023-12-25 23:45:24 +02:00
CosminPerRam 90e26bb442 fix: remove another instance of adding empty player objects valve
Related: #389
2023-12-25 22:31:48 +02:00
Tom dcc69a36b2
minecraft: Split vanilla string by bytes instead of characters (#436)
The received string length from server is expected to be a byte length
whereas if we parse to string first javascript will treat our length as
a character length (accounts for UTF multi-byte characters).

This should hopefully fix #434
2023-12-17 01:13:08 +01:00
CosminPerRam ec33bc2ca2 chore: remove --allow-read from deno permissions as we dont need it anymore because of #407 2023-12-03 18:07:01 +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
Tom d37c5b7f2b
Fix cli with the new module layout (#420) 2023-11-28 12:59:13 +02:00
CosminPerRam 633888b601
chore: Update changelog for the 4.2.0 intermediary release
Related: #416
2023-11-25 21:01:11 +02:00
Sebastian Schmidt 0410822e8a
fix: 7 Days to die ID in GAMES_LIST (#412) 2023-11-20 16:45:48 +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
CosminPerRam f472d8b0e4 docs: Note the removal of GameResolver in changelog. 2023-11-19 23:23:30 +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 f4150b2324
feat: add initial contributing file (#409) 2023-11-19 17:42:33 +02:00
CosminPerRam 34211600c9 docs: Add ASA to GAMES_LIST.md 2023-11-19 15:47:50 +02:00
CosminPerRam 47cd42cf49 docs: update GAMES_LIST to fix latest alternative id removals and renames 2023-11-19 13:48:13 +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
Guilherme Werner 2fb9f507e2
fix: ARK: Survival Ascended `numplayers` (#405) 2023-11-15 01:45:11 +02:00
CosminPerRam e31da4db47 docs: note on the readme that the reported players array length could be different lenght compared to the reported numplayers field 2023-11-13 00:10:03 +02:00
CosminPerRam c56a057f44 chore: Remove the behaviour of adding empty player instances on epic if N mismatch 2023-11-13 00:05:18 +02:00
CosminPerRam 4092fe38d7 fix: Fix using __dirname in the games_list.md generator tool 2023-11-12 19:53:35 +02:00
CosminPerRam 371fad3eab
feat: remove axios from dependencies (#403)
* feat: remove axios usage

* fix: remove unused import

* docs: add comment on why we use usedTcp = true
2023-11-12 17:30:16 +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
Guilherme Werner a8bc7521f6
feat: Add support for ARK: Survival Ascended using EOS protocol (#402)
* Add epic protocol

* Add support for ARK: Survival Ascended

- Using epic protocol

* Fix online player count

* Final cleanup
2023-11-12 11:38:59 +02:00
CosminPerRam c49d463858 feat: Use async/await on attempt_protocols 2023-11-05 23:50:43 +02:00
CosminPerRam c264138e54 feat: Add a little tool that runs multiple protocols for an ip 2023-11-05 23:43:43 +02:00