Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IAFJaeger opened this issue Aug 31, 2024 · 0 comments
Open

Comments

@IAFJaeger
Copy link

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant