Commit graph

175 commits

Author SHA1 Message Date
CosminPerRam
1907b53c4c Fix CS2D flag missuse 2023-09-18 00:07:46 +03:00
Ernest Paśnik
c8e851d6b2
Update CS2D (#354)
* Update cs2d.js

* Rename to CS2D

* Update GAMES_LIST.md

* Update cs2d.js
2023-09-18 00:01:55 +03:00
CosminPerRam
328d518d5b
Add Eco (2018) support. (#363)
* Add initial working eco query

* Add default port and add the game to games.txt

* Add to changelog

* Fix request Info object and add to raw the object

* Rearrange some code to be more readable
2023-09-17 13:01:39 +03:00
CosminPerRam
ad9adff06c
Move to ES6 module (#357)
* Redo imports and exports for lib

* Redo imports and exports for bim

* Redo imports and exports for games

* Remove remaining module.exports

* Use export default in lib

* Use export default in protocols

* Fix import in genreadme.js

* Make package module and solve __dirname

* Fix minecraft protocol imports

* Fix imports on games and make binary runnable

* Renamed protocol class exports to lowercase

* Export promises class as default

* Update README.md to use imports instead of require

* Update CHANGELOG to mention the changes.

* Remove Valve unused imports

* Fix iconv import
2023-09-14 23:28:31 +03:00
CosminPerRam
5b01e1be17
Replace deprecated substr with substring (#355)
* Make the QueryRunner more readable

* Remove use of deprecated substr and replace with substring, and some formatting
2023-09-13 17:31:58 +03:00
CosminPerRam
ca7f56c996
deps: Replace compressjs by seek-bzip (#349)
* Replace compressjs by seek-bzip

* Update CHANGELOG
2023-09-09 11:33:02 +03:00
CosminPerRam
da7d3eebd3
fix: Solve GS1 non-name key values being badly parsed (#342)
* Add initial fix

* fix: properly parse or not number values

* fix: Dont parse empty strings and add todo! comments
2023-08-16 00:44:32 +03:00
Michael Morrison
57a6a2fadd
Merge pull request #307 from cetteup/feature/dns-ip-family
Allow direct control of IP family to be returned by DNS lookup
2023-01-10 13:38:20 -06:00
Adam Spurgeon
97fd450c5c Fixed Minecraft resolver only reporting 0 ping. #310
Minecraft resolver now uses registerRtt rather than setting state.ping.
This prevents the ping value being overwritten with 0 as shortestRTT is
never set.
2023-01-10 01:03:27 +13:00
cetteup
3c38fe48fe feat: Allow direct control of IP family to be returned by DNS lookup
implements #306
2022-12-13 10:46:43 +01:00
Michael Morrison
b191d895f5
Merge pull request #296 from nickdnk/master
Use enum for all AppIds
2022-07-19 17:05:55 -05:00
Michael Morrison
aba57880f1
Merge pull request #293 from c43721/chore/remove-moment-as-dep
chore(deps): remove moment
2022-07-19 17:04:51 -05:00
Michael Morrison
86009a623f
Update openttd.js
Fix typo in moment removal
2022-07-19 17:04:26 -05:00
Nicolai Cornelis
b85c784d95 Use enum for all AppIds 2022-07-20 00:02:33 +02:00
Nicolai Cornelis
40cc94d99c Use enum for app id 2022-07-19 23:53:53 +02:00
Nicolai Cornelis
bba9445ec2 Fix wrong filter for "Max Players" for CSGO 2022-07-19 22:41:04 +02:00
c43721
d18176fa71 fix: the day has come 2022-07-12 01:31:59 +00:00
c43721
3e5a8ae54d chore(deps): remove moment for date-fns 2022-07-09 18:06:01 +00:00
Michael Morrison
84f8601b6d Prefer bedrock strings, since Geyser's gamespy implementation has invalid character encoding Fixes #269 2022-04-17 20:33:46 -05:00
Michael Morrison
07c7eca262 4.0.2 Fix counter strike 1.5 2022-02-19 06:23:21 -06:00
Michael Morrison
343e23c4ad 4.0.1 Fix maxplayers >255 in rust 2022-02-17 10:54:08 -06:00
Michael Morrison
c7a669ce6b Update got, which now requires node 14 2022-02-05 20:10:14 -06:00
Michael Morrison
8496a523c3 Pull ping from minecraft subqueries Fixes #233 2022-02-05 19:38:15 -06:00
Michael Morrison
b11eac277d Improve dayz mod parsing with more random reverse engineering guesses 2022-02-05 19:28:48 -06:00
Michael Morrison
685a955233
Merge pull request #236 from podrivo/dayz-updates
Parse additional dayz tags: first person, dlc enabled and time
2022-02-05 19:28:30 -06:00
Michael Morrison
91d4db40e0
Merge pull request #238 from cetteup/master
Fix teamOffByOne condition for Battlefield 1942
2022-02-05 19:25:09 -06:00
Michael Morrison
5c2d15df49 Remove complex players setter overload (3.0.8) 2021-12-09 18:08:36 -06:00
cetteup
c331eac5bb Fix teamOffByOne condition for Battlefield 1942 2021-08-04 19:52:32 +02:00
Pedro Ivo Hudson
f3d97b6ca1 Parse additional dayz tags: first person, dlc enabled and time 2021-07-21 19:35:48 -03:00
Michael Morrison
a8b7cad002 Fix corrupted dayzMods when packet overflow is used (3.0.7) 2021-07-09 02:23:36 -05:00
Michael Morrison
1d9cf90259 Parse dayz mods, queue length, and time acceleration (3.0.6) Fixes #232 Fixes #234 2021-07-08 21:51:34 -05:00
Michael Morrison
ce4e728493 Add support for udp bind port override (3.0.5) Fixes #149 2021-05-18 23:13:18 -05:00
Michael Morrison
fe124a4487 Bring discord protocol up to date with gamedig 3.0 2021-05-18 22:33:36 -05:00
Michael Morrison
576062e88b Merge remote-tracking branch 'origin/master' into proto-discord
# Conflicts:
#	README.md
#	bin/gamedig.js
2021-05-18 22:08:37 -05:00
Michael Morrison
e8f2c174fb Improve gamespy1 (3.0.3) 2021-04-27 18:12:22 -05:00
Michael Morrison
1b11a132b9 Fix player name extraction for Unreal Tournament (1999) and possibly other gamespy1 games. (3.0.2) 2021-04-27 00:27:14 -05:00
Michael Morrison
fec5a1fac6 Fix raw player subobject in fivem, assettocorsa, gamespy2 Fixes #222
Clarify nodejs 12 requirement for gamedig 3 Fixes #220
Release 3.0.1
2021-04-10 22:27:33 -05:00
Michael Morrison
f70112d092 * Properly handle non-indexed team names in gamespy1 Fixes #213
* Rename raw.steamappid and raw.gameid to raw.appId in steam protocol
* Don't query valve rules by default, unless requestRules option is set Fixes #176
2021-02-25 01:58:35 -06:00
Michael Morrison
052736edd7 Reduced chance of protocol collisions between gamespy3 and minecraftbedrock (2.0.27) 2021-02-12 11:36:51 -06:00
Michael Morrison
883700d7dd Remove redundant guid field from minecraftbedrock 2021-02-12 11:15:13 -06:00
Michael Morrison
4ecce4eff8 Add support for native minecraft bedrock protocol, as some bedrock servers apparently don't respond to gamespy3. Fixes #211 (2.0.26) 2021-02-12 11:07:50 -06:00
Michael Morrison
e4c29f9cbc Support challenges in A2S_INFO (upcoming change to valve protocol) Fixes #210 (2.0.25) 2021-02-06 00:50:06 -06:00
Michael Morrison
e99b3c1812 Add Savage 2: A Tortured Soul (2008) (2.0.24) 2021-01-08 20:02:23 -06:00
Michael Morrison
81a3ec1019 Always treat missing valve player response as non-fatal (2.0.23) 2020-09-02 05:59:54 -05:00
Michael Morrison
487b17dd73 Swap from request to got 2020-07-04 23:28:03 -05:00
Pascal Sthamer
f3b04d52d5
Fix typo 2020-02-18 14:53:39 +01:00
Pascal Sthamer
f5238027c7
Handle situtation where sample exists, but does not contain all players 2020-02-18 14:52:04 +01:00
Pascal Sthamer
f2177204be
Fix wrong player count in minecraftvanilla protocol 2020-02-15 22:05:13 +01:00
Michael Morrison
7c151c771e
Merge pull request #148 from xCausxn/feat/squad
Add check for Password_b on Squad Servers to correct password field.
2020-01-15 16:14:46 -06:00
Tom
f337cf6f58
Remove discriminator's from player names
The widget API seems to always set discriminator to 0000
2020-01-04 13:53:36 +00:00