Commit Graph

41 Commits

Author SHA1 Message Date
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
Pedro Ivo Hudson c81037040b
fix: valve raw.players being deleted (#463) 2024-01-14 23:18:04 +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 90b3c6044b
chore: extract dayz from valve (#448) 2024-01-02 17:45:44 +02:00
CosminPerRam 90e26bb442 fix: remove another instance of adding empty player objects valve
Related: #389
2023-12-25 22:31:48 +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 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
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 bff9507189 Replace use of deprecated internal debugLog with logger.debug 2023-09-18 10:48:24 +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 ca7f56c996
deps: Replace compressjs by seek-bzip (#349)
* Replace compressjs by seek-bzip

* Update CHANGELOG
2023-09-09 11:33:02 +03: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
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 b11eac277d Improve dayz mod parsing with more random reverse engineering guesses 2022-02-05 19:28:48 -06: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 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 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 81a3ec1019 Always treat missing valve player response as non-fatal (2.0.23) 2020-09-02 05:59:54 -05:00
mmorrison e937c725bb More async 2019-01-12 05:45:09 -06:00
mmorrison 484e99b29c Improve logging 2019-01-09 05:50:30 -06:00
mmorrison 9b8423b20a More async conversions 2019-01-09 05:35:11 -06:00
mmorrison 77b2cc1c7f Initial es6 async conversion work 2019-01-07 00:52:29 -06:00
mmorrison a054557f10 Clean up imports to make Intellij code analysis happy 2019-01-06 18:52:03 -06:00
mmorrison e2c734577a Improve player / bot separation in valve games 2018-05-05 03:25:34 -05:00
mmorrison 1b85fda837 Add battalion 1944 Fixes #84 2018-05-05 03:00:54 -05:00
mmorrison 69614c606c #85 Fallback to limited player details if csgo doesn't respond with player packet 2018-05-05 02:45:58 -05:00
mmorrison 5fd8318efb Treat duplicate matching challenge keys in valve proto as non-fatal resolves #58 2017-08-10 06:00:33 -05:00
mmorrison 3674d384d0 Convert tabs to spaces 2017-08-09 05:32:09 -05:00
mmorrison 69288baebc Upgrade syntax of everything to more modern javascript 2017-08-09 04:05:55 -05:00
Michael Morrison f1467c5a04 crlf -> ln conversion 2014-10-29 02:02:03 -05:00
Michael Morrison a3c3184eb8 crlf -> lf conversion 2014-10-29 01:42:33 -05:00
Michael Morrison a483a17e6f Add support for cs:go servers with host_players_show 1 2014-10-29 00:59:45 -05:00
Michael Morrison a9d0c38b70 Fix random bot appearing in csgo 2014-05-19 09:19:40 -05:00
Michael Morrison bc6b5c9225 Super epic commit 3
Move everything around
Add another 50 or so games
*** 'port' option should now be CONNECT port, not query port ***
add reference for many missing games
2014-02-03 14:00:51 -06:00