1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 14:33:34 +02:00
Commit Graph

43 Commits

Author SHA1 Message Date
Pavel Djundik 98749925c7 Pass length into ReadInternal 2015-10-22 12:24:34 +03:00
Pavel Djundik 2bbe339458 Rename some variables for clarity 2015-10-22 11:58:33 +03:00
Pavel Djundik 4a73f14902 Make test mock a queue 2015-10-22 00:26:31 +03:00
Pavel Djundik c001fe6633 Remove unused reset function 2015-10-22 00:20:09 +03:00
Pavel Djundik 419f66ff72 And now make it work 2015-10-22 00:10:43 +03:00
Pavel Djundik 3c0ca191b5 Pass in callable correctly 2015-10-22 00:06:04 +03:00
Pavel Djundik af50a4a33a Throw in Buffer when there is not enough data to unpack 2015-10-21 23:54:14 +03:00
Pavel Djundik 5ab3873256 Improve socket mocking 2015-10-21 23:54:04 +03:00
Pavel Djundik a8d4418f28 Disable more camelcase goodness 2015-10-21 16:21:57 +03:00
Pavel Djundik 9c944e23d0 Make an abstract class for sockets and allow specifying different socket in SourceQuery
This is a preparation for tests
2015-10-19 22:18:10 +03:00
Pavel Djundik 412bad768c Fix module name and readme 2015-10-19 22:08:05 +03:00
Pavel Djundik 7636340092 Use gmp module to correctly read server's steamid on 32-bit systems 2015-10-19 22:04:34 +03:00
Pavel Djundik f41e4b551c Throw an exception when nothing was read from socket 2015-10-19 21:43:07 +03:00
Pavel Djundik d42aae5046 Get rid of global buffer
Closes #75
2015-10-19 21:38:05 +03:00
Pavel Djundik 24137d64e1 Failed spelling 2015-10-18 22:07:52 +03:00
Pavel Djundik 418dfd4050 Document additional throws and fix return 2015-10-18 22:06:52 +03:00
Pavel Djundik c74a5dcc99 Remove TimeoutException
Closes #74
2015-10-18 22:03:51 +03:00
Pavel Djundik 77e5af8745 Remove socket open check which can never be false 2015-10-18 22:01:28 +03:00
Pavel Djundik f18f3208fa Throw SocketException when trying to call query functions when not being connected 2015-10-18 21:56:34 +03:00
Pavel Djundik dc2a08e503 Less spacing 2015-10-11 13:06:02 +03:00
Pavel Djundik 65a2493c3c Update github url 2015-10-11 12:56:56 +03:00
Tim 9af9cf4f6b PSR-4 support for #70 plus PhpDoc 2015-10-10 18:48:52 +01:00
Kosh a6aa9c1abd Removed extra null byte from packing command 2015-07-14 11:31:33 +10:00
xPaw e95be546f1 Trim NUL bytes from rcon output, fixes #51 2015-07-05 18:35:23 +03:00
xPaw 0e55dddae8 Abstract away Socket.Read 2015-04-27 22:42:32 +03:00
xPaw 45f5f422b4 Normalize line endings 2015-04-27 22:33:20 +03:00
xPaw 7a1d29b47f Remove PHP 5.3 hack 2015-04-27 22:28:57 +03:00
xPaw 00c5a9f234 Partial fix for multi-packet source rcon 2015-02-20 14:35:45 +02:00
xPaw 50729990c6 Minor cosmetic changes, throw an error when rcon read fails (#42) 2015-02-17 13:42:23 +02:00
Michael Yoo cfcd43111c Proposal for better Exceptions 2015-02-01 20:39:45 +10:30
xPaw ebd8f41834 Fix invalid variable when decompressing 2014-12-25 14:35:06 +02:00
xPaw ed5a98cb23 Initialize rcon only when setting rcon password 2014-10-20 17:05:10 +03:00
xPaw 77d8a3aba1 Add support for games that use old method for getting challenges 2014-10-20 16:22:30 +03:00
Kubo2 0571d55407 Update SourceQuery.class.php
Correct some typos in SourceQuery::Rcon() phpDoc.
2014-09-13 13:42:15 +02:00
xPaw c2c0b6bef8 Reset buffer/challenge when disconnecting 2014-07-30 23:00:28 +03:00
xPaw 5e84d9e873 Strict checks; implement GameID from extra data flags 2014-07-21 19:09:56 +03:00
xPaw 266cf6afe7 Add Arma 3 2014-07-21 18:36:25 +03:00
xPaw 13b291ab16 New website 2014-07-20 14:31:45 +03:00
xPaw 3f2df8560e Initial work on multi packet reading for source RCON 2014-06-26 14:05:50 +03:00
xPaw f3684b4783 Split source and goldsource RCON into different classess 2014-06-26 13:18:35 +03:00
Michael Yoo 2679623564 Fix Typo on Rcon Library 2013-09-18 22:40:54 +09:30
xPaw bc9d574122 Add comments and fix whitespacing, no real changes 2012-10-25 15:54:46 +03:00
xPaw ca082f887a Separater classess into their own files 2012-10-22 16:07:11 +03:00