62 Commits (master)

Author SHA1 Message Date
Pavel Djundik 890d98da92 Add phpstan
4 years ago
Pavel Djundik 904e547fe4 Assign socket only if it was created
4 years ago
Pavel Djundik cd3624704e Use Valve's packet names (proto_oob.h)
4 years ago
Pavel Djundik e96807bb24 Correct const for request value (it is still same value)
4 years ago
Pavel Djundik 673e572233 Use challenge straight away if available
4 years ago
Pavel Djundik 7c8e5add77 Support challenges in A2S_INFO
4 years ago
Pavel Djundik bbb6c4c23e Revert "Add 1200 byte padding to all requests"
4 years ago
Pavel Djundik 7231921b0b Add 1200 byte padding to all requests
4 years ago
Pavel Djundik 914ec4b79a Add more type info
5 years ago
Pavel Djundik b87c9faab9 Fix up some type information
5 years ago
Pavel Djundik 1078e47b7e Add missing uses
5 years ago
Pavel Djundik e00235c29a Add S2A extra data comments
5 years ago
Pavel Djundik 75d3465690 Drop the email
5 years ago
Byte ee60bef189
Only write SERVERDATA_RESPONSE_VALUE once for multi packet responses
7 years ago
Pavel Djundik d4ae8c631d Fix gold source query not working
9 years ago
Pavel Djundik 205ad2ec97 Send initial challenge request as 4 byte int
9 years ago
Pavel Djundik 8642079233 Add RCON non connected tests
9 years ago
Pavel Djundik 613299b2bc Throw more when using RCON
9 years ago
Pavel Djundik 4be6bf48c1 Simplify challenges
9 years ago
Pavel Djundik 98749925c7 Pass length into ReadInternal
9 years ago
Pavel Djundik 2bbe339458 Rename some variables for clarity
9 years ago
Pavel Djundik 4a73f14902 Make test mock a queue
9 years ago
Pavel Djundik c001fe6633 Remove unused reset function
9 years ago
Pavel Djundik 419f66ff72 And now make it work
9 years ago
Pavel Djundik 3c0ca191b5 Pass in callable correctly
9 years ago
Pavel Djundik af50a4a33a Throw in Buffer when there is not enough data to unpack
9 years ago
Pavel Djundik 5ab3873256 Improve socket mocking
9 years ago
Pavel Djundik a8d4418f28 Disable more camelcase goodness
9 years ago
Pavel Djundik 9c944e23d0 Make an abstract class for sockets and allow specifying different socket in SourceQuery
9 years ago
Pavel Djundik 412bad768c Fix module name and readme
9 years ago
Pavel Djundik 7636340092 Use gmp module to correctly read server's steamid on 32-bit systems
9 years ago
Pavel Djundik f41e4b551c Throw an exception when nothing was read from socket
9 years ago
Pavel Djundik d42aae5046 Get rid of global buffer
9 years ago
Pavel Djundik 24137d64e1 Failed spelling
9 years ago
Pavel Djundik 418dfd4050 Document additional throws and fix return
9 years ago
Pavel Djundik c74a5dcc99 Remove TimeoutException
9 years ago
Pavel Djundik 77e5af8745 Remove socket open check which can never be false
9 years ago
Pavel Djundik f18f3208fa Throw SocketException when trying to call query functions when not being connected
9 years ago
Pavel Djundik dc2a08e503 Less spacing
9 years ago
Pavel Djundik 65a2493c3c Update github url
9 years ago
Tim 9af9cf4f6b PSR-4 support for #70 plus PhpDoc
9 years ago
Kosh a6aa9c1abd Removed extra null byte from packing command
10 years ago
xPaw e95be546f1 Trim NUL bytes from rcon output, fixes #51
10 years ago
xPaw 0e55dddae8 Abstract away Socket.Read
10 years ago
xPaw 45f5f422b4 Normalize line endings
10 years ago
xPaw 7a1d29b47f Remove PHP 5.3 hack
10 years ago
xPaw 00c5a9f234 Partial fix for multi-packet source rcon
10 years ago
xPaw 50729990c6 Minor cosmetic changes, throw an error when rcon read fails (#42)
10 years ago
Michael Yoo cfcd43111c
Proposal for better Exceptions
10 years ago
xPaw ebd8f41834 Fix invalid variable when decompressing
10 years ago