Commit Graph

70 Commits

Author SHA1 Message Date
CosminPerRam
fa19c85dae partial gid remakes and years 2024-01-11 01:22:28 +02:00
CosminPerRam
fccd61c4ea fix(games): americas army proving grounds id 2024-01-07 23:29:04 +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
CosminPerRam
26a6ee1c08
fix: add -1 offset to Rising World (#441) 2023-12-25 23:45:24 +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
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
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
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
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
3def20417d Replace an instance of substring with startswith 2023-11-02 18:43:12 +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
5af13e283e Replace of promisify for dns with dns.promises 2023-10-14 19:53:07 +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
17f91904ab Updated node version to 14.17 from 14 2023-09-15 00:05:06 +03:00
CosminPerRam
544610f085
Replace punycode (#359)
* Replace by package

* Update CHANGELOG
2023-09-14 23:44:57 +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
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
b11eac277d Improve dayz mod parsing with more random reverse engineering guesses 2022-02-05 19:28:48 -06:00
Michael Morrison
5c2d15df49 Remove complex players setter overload (3.0.8) 2021-12-09 18:08:36 -06:00
Smith
6354e34d18 handle ambiguity of the setters (players, bots)
* cases where the protocol overwrites the property with a prepared Players instance (eg.: minecraft & gamespy3)
2021-12-09 22:56:24 +01:00
Smith
e6db2a9b72 fix undef prop 2021-12-09 22:27:44 +01: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
d65a24dc18 Release 3.0.0 2021-02-25 02:15:53 -06: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
cetteup
a362d1d113 Added givenPortOnly user option
Allows user to disable gamedig's default behavior of adding query attempts using the default query port(-offset)
2020-08-24 20:27:44 +02:00
mmorrison
1b47fd2096 Support dnsLookupAsync returning a string for some reason, Fixes #135 2019-10-15 14:32:28 -05:00
mmorrison
f0a24b8f65 Use @types/node@8.0.0 to validate (and fix) small node 8 api issues 2019-02-19 21:15:34 -06:00
mmorrison
dd5dce21db Improve multi-attempt logging 2019-02-13 22:46:13 -06:00
mmorrison
ab6e9064d2 More release dates and readme cleanup 2019-02-07 00:37:33 -06:00
mmorrison
0c19c734b1 Filling out more release dates in the readme 2019-02-06 23:19:32 -06:00
mmorrison
a37994e1bf Add Atlas (2018)
Begin filling out dates for games in the list
2019-02-06 06:23:34 -06:00
mmorrison
fc5975bf0c Clean up reader.string 2019-02-04 19:58:28 -06:00
mmorrison
2a87360a0e Minor debug logging improvements 2019-01-20 04:21:40 -06:00
mmorrison
05619469b7 Add punycode support (2.0.6) 2019-01-20 03:45:57 -06:00
mmorrison
9619449d77 Added support for Starsiege 2009 Closes #100 (v2.0.2) 2019-01-13 00:02:31 -06:00
mmorrison
dd478a7bce Re-gen readme for 2.0 release, and remove notes about Separate Query Port (as it's now less important) 2019-01-12 22:52:06 -06:00
mmorrison
dfa5c95efc Remove callback support and global Gamedig.debug option 2019-01-12 22:38:49 -06:00
mmorrison
e937c725bb More async 2019-01-12 05:45:09 -06:00
mmorrison
29ce0b82d0 Additional async rewrite 2019-01-12 04:43:36 -06:00
mmorrison
efe12a00aa More async conversion 2019-01-10 22:20:56 -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
68ee06ef11 Allow encoding override by parameter (1.0.49) 2019-01-06 17:55:12 -06:00
mmorrison
8b3126e430 Use win1252 character encoding for samp (1.0.48) Fixes #99 2019-01-06 14:10:46 -06:00