-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Error happens when a multi packet response is caused with gmod server.
Error: Command lost at handleUnexpectedData (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\index.js:127:39) at dataHandler (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\index.js:106:32) at Socket.dataHandler (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\lib\connection.js:77:22) at Socket.emit (events.js:315:20) at addChunk (_stream_readable.js:295:12) at readableAddChunk (_stream_readable.js:271:9) at Socket.Readable.push (_stream_readable.js:212:10) at TCP.onStreamRead (internal/stream_base_commons.js:186:23) caught Error: Command lost at handleUnexpectedData (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\index.js:127:39) at dataHandler (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\index.js:106:32) at Socket.dataHandler (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\lib\connection.js:77:22) at Socket.emit (events.js:315:20) at addChunk (_stream_readable.js:295:12) at readableAddChunk (_stream_readable.js:271:9) at Socket.Readable.push (_stream_readable.js:212:10) at TCP.onStreamRead (internal/stream_base_commons.js:186:23) { details: { reqId: 2, partialResponse: 'cvar list\n' + '--------------\n' + '_autosave : cmd : : Autosave\n' + '_autosavedangerous : cmd : : AutoSaveDangerous\n' + '_bugreporter_restart : cmd : : Restarts bug reporter .dll\n' + '_deathrec : cmd : : \n' + '_resetgamestats : cmd : : Erases current game stats and writes out a blank stats file\n' + '_restart : cmd : : Shutdown and restart the engine.\n' + '_ttt_radio_send : cmd : : \n' + '_ttt_request_rolelist : cmd : : \n' + '_ttt_request_serverlang : cmd : : \n' + '_u : cmd : : \n' + '_xgui : cmd : : \n' + 'achievement_debug : 0 : , "sv", "cheat", "rep" : Turn on achievement debug msgs.\n' + 'act : cmd : : \n' + 'addip : cmd : : Add an IP address to the ban list.\n' + 'adsp_alley_min : 122 : : \n' + 'ai_debug_expressions : 0 : , "sv" : Show random expression decisions for NPCs.\n' + 'ai_debug_follow : 0 : , "sv" : \n' + 'ai_debug_loners : 0 : , "sv" : \n' + 'ai_debug_looktargets : 0 : , "sv" : \n' + ai_debug_los : 0 : , "sv", "cheat" : NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'l\n + 'ai_debug_nav : 0 : , "sv" : \n' + 'ai_debug_node_connect : cmd : : Debug the attempted connection between two nodes\n' + 'ai_debug_ragdoll_magnets : 0 : , "sv" : \n' + 'ai_debug_readiness : 0 : , "sv" : \n' + 'ai_debug_shoot_positions : 0 : , "sv", "cheat", "rep" : \n' + 'ai_debug_speech : 0 : , "sv" : \n' + 'ai_debug_squads : 0 : , "sv" : \n' + 'ai_debug_think_ticks : 0 : , "sv" : \n' + 'ai_debugscriptconditions : 0 : , "sv" : \n' + 'ai_default_efficient : 0 : , "sv" : \n' + 'ai_disable ' } } Error: Command lost at handleUnexpectedData (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\index.js:127:39) at dataHandler (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\index.js:106:32) at Socket.dataHandler (C:\Users\Khris\Documents\Git\krak-bot2\node_modules\srcds-rcon\lib\connection.js:77:22) at Socket.emit (events.js:315:20) at addChunk (_stream_readable.js:295:12) at readableAddChunk (_stream_readable.js:271:9) at Socket.Readable.push (_stream_readable.js:212:10) at TCP.onStreamRead (internal/stream_base_commons.js:186:23)
command was used as suggested by #9