[CS:GO] Strange behavior of custom commands
Posted: Thu Mar 07, 2019 9:20 am
Hello!
I use python-valve for connect to csgo server via RCON.
If I use naitive commands, the response always comes, a message that returns to the server console.
For example, I send the status command via RCON
RCON response:
CONSOLE response:
This behavior for naitive commands, but if I use custom commands via RCON, i have response only server console.
Maybe there's an opportunity to do so that custom commands behave well?
Maybe I something doing wrong?
I use python-valve for connect to csgo server via RCON.
If I use naitive commands, the response always comes, a message that returns to the server console.
For example, I send the status command via RCON
RCON response:
Code: Select all
hostname: myserver
...
os : Linux
type : community dedicated
map : de_mirage
players : 1 humans, 9 bots (10/0 max) (not hibernating)
# userid name uniqueid connected ping loss state rate adr
...
#13 "Zane" BOT active 64
#14 "Cory" BOT active 64
#15 "Dave" BOT active 64
...
CONSOLE response:
Code: Select all
hostname: myserver
...
os : Linux
type : community dedicated
map : de_mirage
players : 1 humans, 9 bots (10/0 max) (not hibernating)
# userid name uniqueid connected ping loss state rate adr
...
#13 "Zane" BOT active 64
#14 "Cory" BOT active 64
#15 "Dave" BOT active 64
...
This behavior for naitive commands, but if I use custom commands via RCON, i have response only server console.
Code: Select all
@TypedServerCommand('test')
def on_test(command_info):
print('blablabla')
Maybe there's an opportunity to do so that custom commands behave well?
Maybe I something doing wrong?