diff --git a/readme.txt b/readme.txt index 73baefa..9415d85 100644 --- a/readme.txt +++ b/readme.txt @@ -14,13 +14,13 @@ Basic Implementation; | line 79: set keep alive interval ( 60000 = 1 minute ). to run enter `node rcon.js` into console -Will write 'list query responses' to console text and 'sevrer feed' to console as warning text. +Will write 'list query responses' to console text and 'server feed' to console as warning text. There is ZERO error checking - this is intentional! !!! LINE 38: UNSAFE value ( >= 4 ) - this allows the buffer to potentially be read outside of a message, this is to make us more likely to find edge case errors. For SAFE operation value must be ( >= 7 ) !!! line 12: size and id are not important, this is the hard coded 'made up' packet, no point in converting into it each time it arrives later. line 15: 2147483647 used as flag when debugging only. -line 19: id defaults to non zero for easier debugging must be a valid positive signed 32bit value, 2 less than range max. +line 19: id defaults to non zero for easier debugging, must be a valid positive signed 32bit value, 2 less than range max. line 21: id + 2 allows for easier debugging plus sets up for way to avoid need to parse later, ie sudo id 33 = "current map" => read from index x to end" line 47: is special packet? long if statement but efficient. line 58: long messages re-assembled and sent out from here. @@ -44,7 +44,7 @@ if out going text is found to contain "", this also counts as a bad packet. Simple SquadRcon Client (forSquadJS) rconforSquadJS.js -working draft, intended as straight swap for squadJS/core/rcon.js +working draft, intended as a straight swap for squadJS/core/rcon.js Fixes buffer overflow bug etc. Comment/swap Logger(s) and uncomment squadJsStyle() to run as stand alone test.