Commit Graph

184 Commits

Author SHA1 Message Date
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 e99b3c1812 Add Savage 2: A Tortured Soul (2008) (2.0.24) 2021-01-08 20:02:23 -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
Michael Morrison 487b17dd73 Swap from request to got 2020-07-04 23:28:03 -05:00
Pascal Sthamer f3b04d52d5
Fix typo 2020-02-18 14:53:39 +01:00
Pascal Sthamer f5238027c7
Handle situtation where sample exists, but does not contain all players 2020-02-18 14:52:04 +01:00
Pascal Sthamer f2177204be
Fix wrong player count in minecraftvanilla protocol 2020-02-15 22:05:13 +01:00
Michael Morrison 7c151c771e
Merge pull request #148 from xCausxn/feat/squad
Add check for Password_b on Squad Servers to correct password field.
2020-01-15 16:14:46 -06:00
Tom f337cf6f58
Remove discriminator's from player names
The widget API seems to always set discriminator to 0000
2020-01-04 13:53:36 +00:00
Tom 3a8164cfbc
Set max players to total amount of members in server 2020-01-04 13:44:09 +00:00
Tom 0128e4d972
Remove extra logging
Whoops
2020-01-04 13:43:35 +00:00
Tom 8ad0fbc87b
Add discord protocol 2020-01-04 01:03:02 +00:00
cwbr 9db659b86b Add Assetto Corsa support 2019-12-27 19:53:38 +01:00
xCausxn 5545cae15f Add check for Password_b on Squad Servers to correct password field. 2019-11-17 16:08:46 +00:00
mmorrison 1c351fc3a4 Fix minecraft never throwing when server is unresponsive 2019-11-11 03:04:51 -06:00
mmorrison 6a0ed624c1 Automatically detect killing floor extended info, don't clobber re-used unreal 2 rule keys, add unreal 2 scoreboard info 2019-10-26 20:20:26 -05:00
mmorrison 265424adc8 unreal2 / killing floor protocol cleanup surrounding ucs-2 encoding issues 2019-10-26 07:31:28 -05:00
Michael Forsman 708988213f Adjusted Terraria protocol to check the "status" property for string "200" rather than integer 200.
I am not sure if the TShock API changed this recently or what, but it returns a string in the current version (4.3.26 for Terraria 1.3.5.3), and comparing it to an integer was incorrectly causing an "Invalid status" error.
2019-10-23 10:13:55 -05:00
mmorrison aacefdca95 Clean up more junk from killing floor protocol 2019-10-16 00:36:44 -05:00
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