Commit Graph

53 Commits

Author SHA1 Message Date
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 c7a669ce6b Update `got`, which now requires node 14 2022-02-05 20:10:14 -06: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 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 487b17dd73 Swap from request to got 2020-07-04 23:28:03 -05:00
mmorrison 62723d85f0 Cherry-picked: Reject only with Error instead of Object or String Fixes #132 2019-10-15 14:47:22 -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 2ffeda6098 Improve starmade protocol 2019-02-05 03:19:06 -06:00
mmorrison 81750805f6 Add support for rFactor (2.0.10) 2019-02-04 01:11:28 -06:00
mmorrison 94c263669d Improve packet ordering and deduplication of players from gamespy1 protocol 2019-01-22 00:11:39 -06:00
mmorrison 2a87360a0e Minor debug logging improvements 2019-01-20 04:21:40 -06:00
mmorrison 9a536b160e Prevent tcp socket errors from dumping straight to console (2.0.7) 2019-01-20 03:52:40 -06:00
mmorrison 05619469b7 Add punycode support (2.0.6) 2019-01-20 03:45:57 -06:00
mmorrison 5aaff8e1e0 Added support for cs2d (2.0.5) 2019-01-13 23:54:36 -06:00
mmorrison dfa5c95efc Remove callback support and global Gamedig.debug option 2019-01-12 22:38:49 -06:00
mmorrison fdc08b5c09 Finalized 2.0 release notes 2019-01-12 22:22:26 -06:00
mmorrison 6496660633 Add ping field, start improving README for 2.0 2019-01-12 21:32:24 -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 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 8b3126e430 Use win1252 character encoding for samp (1.0.48) Fixes #99 2019-01-06 14:10:46 -06:00
mmorrison ab4436d4cb Increase default timeout to 2000ms to align with steam server browser and allow for better compatibility with bad connections. 2018-11-11 06:13:31 -06:00
mmorrison b5f49fe343 Add socketTimeout and attemptTimeout 2018-01-31 04:03:13 -06:00
mmorrison 3a96e00508 Put query duration into the unstable query object 2018-01-31 00:47:09 -06:00
mmorrison 94815a247d Switch maxAttempts from a query param to an option Fixes #73 2018-01-31 00:41:57 -06:00
mmorrison 2cf975b9f6 Add query duration Fixes #76 2018-01-31 00:34:11 -06:00
mmorrison 4c18b6a3fd Add support for FiveM closes #55 2017-08-10 06:49:42 -05:00
mmorrison c0548fb886 Minor cleanup to satisfy code inspection 2017-08-09 05:41:30 -05:00
mmorrison 3674d384d0 Convert tabs to spaces 2017-08-09 05:32:09 -05:00
mmorrison b015d58a0a Fixes for ase, geneshift, minecraftping, and quake 2 arising from cleanup 2017-08-09 05:04:32 -05:00
mmorrison 69288baebc Upgrade syntax of everything to more modern javascript 2017-08-09 04:05:55 -05:00
Kristjan Kirpu 5f34582804 Removed ping 2015-08-07 00:12:37 +03:00
Kristjan Kirpu 618e19192c Added gameserver latency to returning data 2015-08-03 17:05:30 +03:00
James Causon 6e4688a4c8 Removed previous addition (onlineplayers) 2015-06-28 11:01:09 +01:00
xCausxn 4d31e29e70 Added onlineplayers
Added onlineplayers which utilizes the length of the players array to
make it always available.

Possible to add bots to this count but i think just players would be
best.

Updated readme to include this change.
2015-02-21 17:21:56 +00: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 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
Michael Morrison c82554ad1a Super mega-commit
Organize files
Rewrite readme for new game IDs and command line
Add command line access
Replace some dependencies that required binaries with simpler alternatives
Switch gbxremote back to upstream, Closes #2
Moved simple aliases into an alias file, rather than seperate files for each
Patched nearly every protocol variant with tons of bug fixes
Re-tested every combination of server and protocol types except nadeo
Added alternative minecraft query check (minecraftping)
Fixed mutant factions query
Fixed valve gold not working at all
Stripped colors more reliably from protocols that support colors
Added a couple more fields to ut2004 and killing floor
and more that I probably forgot.

This shouldn't break compatibility too bad -- at the most, some game IDs may have changed.
2014-01-31 16:27:52 -06:00
Michael Morrison 0d1577fa35 bunches of updates:
find bots in source engine
add altaddress
pass address to query object output
2013-09-09 23:50:23 -05:00
Michael Morrison 38353b4c07 "actually" add query and notes to errors. 2013-07-12 05:39:08 -05:00
Michael Morrison 2efea9e25a Add query and notes to errors 2013-07-12 05:36:07 -05:00
Michael Morrison 007f1ffb8b Massive revamp for standardization of output 2013-07-12 04:12:02 -05:00
Michael Morrison c4f66a72db Resolve SRV records for minecraft servers 2013-07-10 09:52:47 -05:00