conqp / rcon

Python RCON client library
GNU General Public License v3.0
84 stars 15 forks source link

How do I use multiple commands? #24

Closed yota54123 closed 9 months ago

yota54123 commented 10 months ago

I can only use the first command. But the command that shows the message "aaaa1" "aaaa2" doesn't show it.

from rcon.source import Client

host = '127.0.0.1' port = 25575 password = "admin"

with Client(host, 25575, passwd=password) as client: response = client.run('Broadcast aaaa1') response2 = client.run('Broadcast aaaa2')

print(response) print(response2)

conqp commented 10 months ago

Please provide

  1. A minimal reproducible example of the code you run, i.e. valid Python code in a code block.
  2. The actual output of the program run
  3. The expected output of the program
  4. The type of server you connect to.
conqp commented 9 months ago

I am gling to close this due to lack of feedback. Feel free to reopen when you have the time to supply sufficient debug info.