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

121 Commits

Author SHA1 Message Date
Pavel Djundik 3959cda6e3 Create CONTRIBUTING.md 2016-02-10 14:55:57 +02:00
Pavel Djundik faf138591d Rust no longer requires +1 in rcon
Fixes #88
2016-02-08 16:50:46 +02:00
Pavel Djundik 205ad2ec97 Send initial challenge request as 4 byte int
Closes #79
2015-12-15 15:40:19 +02:00
Pavel Djundik 6d1de4182f Missed quote 2015-12-12 17:22:52 +02:00
Pavel Djundik dd9cc14ba7 Display players/rules count for easier debugging 2015-12-12 17:22:31 +02:00
Pavel Djundik 3e572da580 Test PHP 7.0 2015-12-05 16:18:30 +02:00
Pavel Djundik 9662c507b8 Space Engineers works
Closes #78
2015-12-02 12:12:50 +02:00
Pavel Djundik ce32b661d5 Put badges on a separate line 2015-10-28 19:08:02 +02:00
Pavel Djundik 4073003d27 Don't use consts 2015-10-24 22:50:31 +03:00
Pavel Djundik d6ce30970e Don't use consts and call GetRules 2015-10-24 22:48:02 +03:00
Pavel Djundik 85dd439369 Challenge reply should be S2A_CHALLENGE 2015-10-24 22:42:45 +03:00
Pavel Djundik 082d7bb690 Remove argument 2015-10-24 22:39:23 +03:00
Pavel Djundik 65f7653469 Test challenge caching 2015-10-24 22:37:57 +03:00
Pavel Djundik 499f4d7afe Test bad players/rules packets after correct challenge 2015-10-24 22:32:51 +03:00
Pavel Djundik ea95b515e5 Test players and rules for bad packets 2015-10-24 22:19:25 +03:00
Pavel Djundik 8642079233 Add RCON non connected tests 2015-10-24 16:21:01 +03:00
Pavel Djundik 613299b2bc Throw more when using RCON 2015-10-24 16:11:55 +03:00
Pavel Djundik 4be6bf48c1 Simplify challenges 2015-10-24 16:08:34 +03:00
Pavel Djundik d322b3bb78 Add players tests and some goldsource info tests 2015-10-22 18:49:21 +03:00
Pavel Djundik 750df786ec Everyone needs a shield 2015-10-22 13:40:08 +03:00
Pavel Djundik 19b63dff79 Correct variable 2015-10-22 13:33:51 +03:00
Pavel Djundik 8a8f1585cf Add rules test 2015-10-22 13:31:24 +03:00
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 8b475d2649 Add timeout and not connected test 2015-10-22 00:31:45 +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 29597ff1b6 Add some GetInfo tests 2015-10-21 23:54:51 +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 85a2dd534f Disable camelcase reporting 2015-10-21 16:08:32 +03:00
Pavel Djundik f9dc00ccf1 Make .codeclimate.sh executable 2015-10-21 16:03:06 +03:00
Pavel Djundik b767c63b7c Correct setup 2015-10-21 16:02:06 +03:00
Pavel Djundik a5f54674d0 Humble test beginnings 2015-10-21 15:56:38 +03:00
Pavel Djundik 6a94bcb6a6 Update .gitignore 2015-10-20 11:34:53 +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 caf5296b5b Prevent tables overflowing 2015-10-19 21:38:05 +03:00
Pavel Djundik ef0af834c6 Add authors to composer.json 2015-10-19 13:15:35 +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