rcon-cli icon indicating copy to clipboard operation
rcon-cli copied to clipboard

Can not dump all the data at once if the returned data is too long.

Open IAFJaeger opened this issue 5 months ago • 0 comments

For an example, we first connect a game server ( Alien Swarm: Reactive Drop ) in stream mode:

rcon -a 1.2.3.4:27015 -p 123

Then we send a command that will return lots of data, such as find:

> find sv

As a result, the server returns the incomplete data:

"asw_sv_maxspeed" = "500" game notify cheat replicated
"budget_history_numsamplesvisible" = "100" archive                               - number of samples to draw in the budget history window.  The lower the better as
"mat_showmaterialsverbose"                                                       - Show materials (verbose version).
// ...
// ... Many commands are omitted here
// ...
"sv_clamp_unsafe_velocities" = "1" game replicated                               - Whether the server will attempt to clamp velocities that could cause physics bug

And then, if we continue to send the command ( here we send echo 1 ), the server will still return the data that has not been sent in the last command:

> echo 1
"sv_clearhinthistory"  game                                                      - Clear memory of server side hints displayed to the player.
"sv_client_cmdrate_difference" = "0" ( def. "20" ) replicated                    - cl_cmdrate is moved to within sv_client_cmdrate_difference units of cl_updaterat
// ...
// ... Many commands are omitted here
// ...
"sv_frametime_limit" = "3.0" game cheat                                          - When exceed this number of frames, switch to more efficient ai
"sv_hibernate_ms_vgui" = "20"                                                    - # of milliseconds to sleep per frame while hibernating but running the vgui dedi
"sv_hibernate_postgame_delay" = "5"

IAFJaeger avatar Aug 31 '24 15:08 IAFJaeger