Commit graph

777 commits

Author SHA1 Message Date
Thomas Koetsier
1b2345fa02
feat(protocol/hytale): add support for Hytale servers (#750)
Add protocol implementation for querying Hytale game servers using
the Nitrado Query API endpoint. The protocol uses HTTPS with HTTP
fallback to fetch server information including name, version, player
count, and map.

Example:
  $ gamedig --type hytale play.hyfyve.net:5523

  {
    "name": "Hytale Server",
    "map": "default",
    "version": "2026.01.13-dcad8778f",
    "maxplayers": 100,
    "numplayers": 1,
    "connect": "play.hyfyve.net:5523"
  }

Co-authored-by: Thomas Koetsier <thomaskoetsier@Thomass-MacBook-Air.local>
2026-02-03 00:57:27 +02:00
dependabot[bot]
a9ae97a651
chore(deps): bump fast-xml-parser from 5.2.5 to 5.3.4 (#751)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.2.5 to 5.3.4.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.5...v5.3.4)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.3.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-02 22:36:10 +02:00
cetteup
3f1a06638f
fix(protocol/gamespy1): ignore stale player list entries (#744)
closes #743
2025-11-16 17:47:29 +02:00
CosminPerRam
35433cd03f feat: bump version to 5.3.2 2025-09-15 18:46:33 +03:00
CosminPerRam
b37acf062a
fix(games/asa): add wildcard option to eos usage (#739)
* fix(games/asa): add wildcard option to eos usage

* docs: add CHANGELOG.md line
2025-09-15 14:33:01 +03:00
CosminPerRam
bff0c334e9 ci: remove dependabot
We werent really using it, will come back to it later
2025-09-08 20:24:24 +03:00
CosminPerRam
1169b6089f
chore(deps): update iconv-lite to 0.7.0 (#737)
* feat(deps): update iconv-lite to 0.7.0

* docs: add CHANGELOG.md line
2025-09-08 20:23:17 +03:00
Daniel Gibbs
b27cbcbe2b
feat(games): add Clive Barker's Undying to game list (#733)
* feat(games): add Clive Barker's Undying to game list

* Added new game entry for "Clive Barker's Undying"
* Release year set to 2002
* Configured options with port 7777 and protocol 'gamespy1'

* docs: add GAMES_LIST.md entryw

* docs: add CHANGELOG.md line

---------

Co-authored-by: CosminPerRam <cosmin.p@live.com>
2025-09-07 22:31:37 +03:00
CosminPerRam
b4da5fd93d
ci(games_list): add the generation script to triggers (#736) 2025-09-05 12:08:44 +03:00
CosminPerRam
f715b7fe5c fix(tools/generate_games_list): add squad to blanket EOS inclusion 2025-09-05 12:01:46 +03:00
Keith
87f7c09705
feat: update squad support to eos (#731) 2025-09-02 14:55:22 +03:00
CosminPerRam
7823b2da12
fix(core): reassign version to make sure the type is string (#735)
* fix(core): reassign version to make sure the type is string

* docs: update CHANGELOG.md

* docs: update CHANGELOG.md
2025-09-01 22:58:04 +03:00
CosminPerRam
27709572c9
fix(protocols/beammp): not matching on given port (#730)
* fix(protocols/beammp): not matching on port

* chore: eslint

* docs: update CHANGELOG.md

* fix: some other cases

* fix: sorting on array contaning numbers and other forms of none
2025-08-28 16:09:28 +03:00
CosminPerRam
5d5273dce3 docs: update CHANGELOG.md for #723 2025-07-29 10:25:09 +03:00
yellowfromseegg
d7e9bba3cf
fix(game/farmingsimulator): handle possible missing mod attribute (#723)
Fixed Problem with vanilla servers. when no mods are activated on the server the mod part is missing in the xml. (https://github.com/gamedig/node-gamedig/issues/722)
2025-07-29 10:23:05 +03:00
dependabot[bot]
f251e89e3f
chore(deps): bump telnet-client from 2.2.5 to 2.2.6 (#724)
Bumps [telnet-client](https://github.com/mkozjak/node-telnet-client) from 2.2.5 to 2.2.6.
- [Commits](https://github.com/mkozjak/node-telnet-client/compare/v2.2.5...v2.2.6)

---
updated-dependencies:
- dependency-name: telnet-client
  dependency-version: 2.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-29 10:20:08 +03:00
CosminPerRam
f325f147d7 feat(dns): reduce one isIP function call by simplifying condition 2025-07-21 23:03:15 +03:00
CosminPerRam
4645738699 fix(telnet): use socketTimeout option for connect and exec 2025-06-29 18:34:47 +03:00
CosminPerRam
f2dfb8134f
feat(games): add SCP:SL support (#715)
* feat(games): add scpsl initial impl

* feat: add name

* feat: add game entry, add note

* docs: add SSL to games_list.md

* fix: remove stray debug console log

* docs: update CHANGELOG.md
2025-06-29 18:02:38 +03:00
cetteup
bab3452047
fix(protocol/battlefield): detect BFBC2 Vietnam DLC as BFBC2 (#713)
closes #712
2025-06-16 21:58:33 +03:00
dependabot[bot]
96c8e725d8
chore(deps): bump fast-xml-parser from 5.2.3 to 5.2.5 (#711)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.2.3 to 5.2.5.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.3...v5.2.5)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 10:20:49 +03:00
CosminPerRam
d12397cbb0 feat: bump version to 5.3.1 2025-06-09 23:32:14 +03:00
CosminPerRam
c671d5ddf2 chore(protocol/gamespy3): replace if condition many ors with includes 2025-06-09 23:28:29 +03:00
CosminPerRam
7c774ac403 chore(protocol/battlefield): replace if condition many ors with includes 2025-06-09 23:24:31 +03:00
cetteup
a2835108d6
fix: ignore cached ports when givenPortOnly is set (#710)
closes #709
2025-06-09 16:53:45 +03:00
CosminPerRam
da78c84c03
fix(core): throwing in tcpSend onData callback would crash (#705)
* fix(core): throwing in tcpSend onData callback would crash

* docs: update changelog for these changes
2025-06-02 00:30:22 +03:00
CosminPerRam
49093f0b0f docs: update changelog to note #704 2025-06-01 18:28:05 +03:00
cetteup
c5d64dedcb
fix(protocol/battlefield): skip non-response packets (#704) 2025-06-01 18:23:04 +03:00
dependabot[bot]
d3461ffb61
chore(deps): bump fast-xml-parser from 5.2.1 to 5.2.3 (#699)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.2.1 to 5.2.3.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.1...v5.2.3)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-20 12:25:50 +03:00
CosminPerRam
eecf2af2f1 docs: update changelog for #695 2025-05-09 23:54:18 +03:00
Kai
053c608694
feat(protocol/openttd): update for ^12.0 (#695)
* update for OpenTTD^12.1

https://github.com/gamedig/node-gamedig/issues/265
- rewritten parser (by current version of network_query.cpp)
- changed to TCP
- tested with OpenTTD 14.1

* fixed some typo

- fixed typo and consistence of output
- added ticks counting for older versions
- fixed date offset
2025-05-09 23:45:35 +03:00
CosminPerRam
6a3cbece69
meta: add pr templates (#698)
* meta: add pull request templates

* add a checklist for the changelog file

* make it clear that you dont have to mention yourself

... in the changelog file

* fix list

* change label on feature template

* add better context section
2025-05-06 19:58:50 +03:00
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
4db8a473ff docs: feature the awesome list in the README 2025-04-26 23:09:47 +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
CosminPerRam
f760f0c726 ci: add minimal permissions on remaining workflows 2025-04-26 00:37:40 +03:00
CosminPerRam
d4154aa511 feat: bump version to 5.3.0 2025-04-26 00:24:27 +03:00
CosminPerRam
5d6c05b61f
chore: update long and fast-xml-parser (#687)
* chore: update long and fast-xml-parser

* docs: mention pr number
2025-04-26 00:16:52 +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
CosminPerRam
1458aa0e36
ci: run games_list on GAMES_LIST.md change (#685) 2025-03-24 21:55:23 +02: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
CosminPerRam
1e2ade8d5c
docs: Arma Reforger does not provide players data (#680)
* docs: not that armareforger does not provide players data

* docs: update changelog.md
2025-03-03 22:08:37 +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
7ba1bc9e67
docs(counterstrike2): does not provide player names, note workaround (#675)
* docs(counterstrike2): does not provide player names, note workaround plugin

* docs(CHANGELOG.md): update
2025-02-11 11:34:32 +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