Why do you first have a variable for your rcon pass:
and then just hardcode it in your query:Code:$rcon_password = 'SuperRconPassword123abc';
Code:$sendpacket = "\xff\xff\xff\xffgetstatus"; // \xff\xff\xff\xffrcon thyPassword status // \xff\xff\xff\xffgetstatus