Commit Graph

215 Commits

Author SHA1 Message Date
mmorrison 18be566540 Improve minecraft protocol compatibility 2019-10-15 23:56:33 -05:00
mmorrison 2df7fdae7a Additional debug logging for gamespy1 2019-10-15 22:31:53 -05:00
mmorrison 899627a92f Update dependencies 2019-10-15 15:03:11 -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 481a8d86c8 Add support for mafia 2 online 2019-02-04 20:20:51 -06:00
mmorrison fc5975bf0c Clean up reader.string 2019-02-04 19:58:28 -06:00
mmorrison 82084ad38e Improve null splitting on rfactor 2019-02-04 01:16:30 -06:00
mmorrison 81750805f6 Add support for rFactor (2.0.10) 2019-02-04 01:11:28 -06:00
mmorrison 00f05b5385 Add support for vcmp, 2.0.9, Fixes #106 2019-02-03 23:40:47 -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 04bd6d9514 Add missing optional await (style choice) 2019-01-13 22:35:07 -06:00
mmorrison 9619449d77 Added support for Starsiege 2009 Closes #100 (v2.0.2) 2019-01-13 00:02:31 -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 a054557f10 Clean up imports to make Intellij code analysis happy 2019-01-06 18:52:03 -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 9b9277172d Export all minecraft json in raw object. Use modern minecraftping for all minecraft queries. 2018-11-11 06:12:44 -06:00
mmorrison 52ad7b1fd5 Fix title encoding for fivem fixes #83 2018-05-05 03:31:25 -05: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 0854345f40 Nadeo cleanup for merge 2018-03-18 05:44:49 -05:00
Michael Morrison 471d3775b3
Merge pull request #81 from ItsPhenom/master
Nadeo patches
2018-03-18 05:39:49 -05:00
mmorrison 1b6f952a2d Add UNSUPPORTED query protocol for tribes 1 master 2018-03-18 04:46:14 -05:00
mmorrison 48dd342478 Improvements to tribes 1 2018-03-18 01:23:01 -05:00
mmorrison 802027c552 Add support for Tribes 1: Starsiege 2018-03-18 00:54:56 -05:00
Nicolas Graf 871647fcbc fixed regex again 2018-03-01 13:05:16 +01:00
Nicolas Graf 7c5c230686 fixed faulty regex 2018-03-01 09:34:30 +01:00
Nicolas Graf 284a1fcf40 removed player loop, enabled full playerlist output, and increased maxoutput on playerlist 2018-02-28 03:47:14 +01:00
Nicolas Graf 9c8c6e4f89 Added more states for trackmania 2018-02-26 23:52:42 +01:00
mmorrison 0de02523f0 Enhance fivem output fixes #79 2018-02-13 04:07:31 -06:00
mmorrison 86422d576e Add KSP:DMP fixes #78 2018-02-13 03:24:40 -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 5fd8318efb Treat duplicate matching challenge keys in valve proto as non-fatal resolves #58 2017-08-10 06:00:33 -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 14aa56714f Fixed hexen 2 and heretic 2 (finally found some servers to test against) 2017-08-09 04:36:38 -05:00
mmorrison 69288baebc Upgrade syntax of everything to more modern javascript 2017-08-09 04:05:55 -05:00
Jim Nordbø 6bcf86fe81 Teamspeak 3 - avoid ServerQuery clients 2016-05-23 00:35:56 +02:00
Michael Morrison 957c0e20ea Merge pull request #31 from Netifriik/master
added Killing Floor 2, 7 Days to Die, Battlefield Hardline and Unturned support
2015-08-08 19:22:20 -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
xCausxn ae8c13ba69 Added quickfix for quake2 hostname
Left other ones in there just incase of unforseen compatibility issues.
2015-07-18 23:13:58 +01:00
xCausxn 869ca4a4d8 Fix for maxclients on Quake2 2015-07-18 23:09:36 +01:00
James Causon 6e4688a4c8 Removed previous addition (onlineplayers) 2015-06-28 11:01:09 +01:00
Michael Morrison 54851c1a35 Fix watchdog being called when sa:mp player query times out Fixes #23 2015-03-29 15:43:58 -05: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 1598971523 Upgrade request dependency, fix mutantfactions 2015-01-18 01:44:19 -06:00
Michael Morrison b2e574217a Upgrade moment and varint dependencies 2015-01-18 01:38:45 -06:00
Michael Morrison bccf9092c2 Remove rounding error on starmade version number, bump version 2015-01-17 21:14:34 -06:00
Michael Morrison 71bde74d20 Add StarMade support, closes #11 2015-01-17 21:10:44 -06:00
Michael Morrison b6bd3b6108 Add support for jc2mp's custom expanded gamespy protocol
Closes #14
2015-01-17 06:51:02 -06:00
Michael Morrison 83238f48e2 Merge remote-tracking branch 'xCausxn/master' 2015-01-17 05:57:38 -06:00
xCausxn 61d239ccd5 Quick Fix For Name and MaxPlayers
virtualserver_name and virtualserver_maxclients
2015-01-04 17:35:11 +00:00
Michael Morrison 53c7f83daa Make naming more consistent 2014-11-18 00:53:11 -06:00
Michael Morrison ca255d8c3f Remove debugging in openttd protocol 2014-11-18 00:48:03 -06:00
Michael Morrison 0fe80d14e7 Add openttd support 2014-11-18 00:43:33 -06: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
Adam Snodgrass 728dbef562 Fixed path for core protocol in mumbleping 2014-09-09 08:05:53 -05:00
Michael Morrison a9d0c38b70 Fix random bot appearing in csgo 2014-05-19 09:19:40 -05:00
Michael Morrison bd17fb0001 Add SA:MP support, fixes #3 2014-03-29 09:34:12 -05:00
Michael Morrison 76ca9fd4d7 Fix jc2mp queries (gamespy3 single splits) 2014-02-09 03:03:54 -06:00
Michael Morrison 473d9544b1 Add a bunch of reference docs 2014-02-03 15:09:00 -06: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 a89fb7bbdf Initial commit for mutant factions support 2014-01-30 00:02:18 -06:00
Michael Morrison 7b8ddfba8c Update tshock support for terraria 1.2 2013-10-12 01:43:16 -05:00
Michael Morrison 25e8d1bd48 Pull maxplayers from gamespy3 state Closes #1 2013-09-12 08:31:13 -05: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 f543b301dd Code to detect url of buildandshoot server 2013-08-17 21:13:40 -05:00
Michael Morrison 6112c88bd4 In source, connecting players don't count, as we don't even know their name yet. 2013-07-12 14:15:16 -05:00
Michael Morrison 1df81277f0 Add support for build and shoot 2013-07-12 10:20:43 -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 1eecba1fdb Update readme with new games 2013-07-11 04:13:39 -05:00
Michael Morrison 088369ea9d Tidy up maniaplanet results 2013-07-10 12:06:28 -05:00
Michael Morrison b5ae623a69 fix ut3 servers timing out 2013-07-10 11:41:49 -05:00
Michael Morrison 61d9b10ee2 syntax error in ut3 2013-07-10 11:17:44 -05:00
Michael Morrison 763f64ff09 syntax error in ut3 2013-07-10 11:17:11 -05:00
Michael Morrison 57c816ce19 UT3 uses gamespy3, not gamespy1 2013-07-10 11:14:57 -05:00
Michael Morrison 45dc08c946 Patch warsow 2013-07-10 10:52:15 -05:00
Michael Morrison 935f61c4ad add warsow 2013-07-10 10:47:23 -05:00
Michael Morrison a777ec79e1 Add tshock 2013-07-10 10:34:16 -05:00
Michael Morrison a771dab222 Fix issue with minecraft SRV record resolving directly to IP 2013-07-10 09:56:07 -05:00
Michael Morrison 1d2198373f Add ut3, ut2004, and maniaplanet protocol 2013-07-10 09:53:43 -05:00
Michael Morrison c4f66a72db Resolve SRV records for minecraft servers 2013-07-10 09:52:47 -05:00
Michael Morrison a0ba0d219c remove more debug logging 2013-07-10 07:35:15 -05:00
Michael Morrison 77648b40bf remove debug logging 2013-07-10 07:34:04 -05:00
Michael Morrison f062e03271 Improve source protocol to support all available features 2013-07-10 07:13:04 -05:00
Michael Morrison 4c1c8be8f1 Don't clobber options, and allow callback as a seperate param 2013-07-10 05:59:10 -05:00
Michael Morrison 822fd50fc1 Fix port defaults 2013-07-10 05:40:41 -05:00
Michael Morrison 8552d0674f initial commit 2013-07-10 05:02:48 -05:00