This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Didn't know where else to post this.
Im trying to connect to rcon via ubuntu linux bash. The documentation say's its an implementation of the source rcon protocol so I expected the following to work.
printf '\xFF\xFF\xFF\xFFrcon <PASSWORD> <COMMAND>\n' | nc -u -n -w 1 <SERVER_IP> <SERVER_PORT> | sed -ne ':x;/\xFF/{N;s/\xFF\xFF\xFF\xFFprint\n//;tx};/^$/d;p'
However it does not work, what am I doing wrong?
Didn't know where else to post this.
Im trying to connect to rcon via ubuntu linux bash. The documentation say's its an implementation of the source rcon protocol so I expected the following to work.
printf '\xFF\xFF\xFF\xFFrcon <PASSWORD> <COMMAND>\n' | nc -u -n -w 1 <SERVER_IP> <SERVER_PORT> | sed -ne ':x;/\xFF/{N;s/\xFF\xFF\xFF\xFFprint\n//;tx};/^$/d;p'
However it does not work, what am I doing wrong?