Commit graph

201 commits

Author SHA1 Message Date
Vito0912
b2de68f551
fix: Updated the eco protocol to include player names and fix problems encountered when using the eco web interface behind a proxy. (#526)
* Update eco protocol to include player names and fixed problems when using eco webinterface behind a proxy

* changelog + readability

* Typo

* Typo
2024-01-31 20:29:02 +02:00
Sebastian Schmidt
46db10fcc7
: Incorrect numplayers on Palworld (#508)
* 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
2024-01-24 15:18:05 +02:00
Sebastian Schmidt
67e0cd8809
Fix: Palworld results - Name of the server is empty (#497)
* Fix: Palworld results - Name of the server is empty

* #497 - refactor of feedback

* #497 - refactor of feedback from Cosmin
2024-01-21 23:16:56 +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
CosminPerRam
ec708d7219
feat: add query port to the results (#476) 2024-01-17 00:20:56 +02:00
CosminPerRam
5ae12dd494
feat: strip Colors (#469) 2024-01-16 01:39:07 +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
Pedro Ivo Hudson
09e4281edb
feat: add more data for dayz state (#450) 2024-01-07 23:04:16 +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
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
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
Guilherme Werner
2fb9f507e2
fix: ARK: Survival Ascended numplayers (#405) 2023-11-15 01:45:11 +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
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
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
5c4a7327b0 Remove dynamic import of got 2023-10-14 19:34:44 +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
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