PDA

View Full Version : mIRC rcon script


LethalSpoon
02-27-2003, 08:42 AM
I'm making a mohaa rcon script for mIRC, but I'm having some problems.

I open a socket to the server/port like this:

sockudp -k <name> <localPort> <serverIP> <serverport> ÿÿÿÿ $+ rconpassword <rconpass> $+ $lf

That doesnt do much atm, but I'm sure connected.

But how do I get the commands to work, I think I'll need to get an Ident reply from the server that i can send with every new command, so the server know who's sending the command and what password they used.

For CS it's like this: the first thing u send is ÿÿÿÿ $+ challenge rcon $+ $lf
And then the server assigns and sends a ID to your IP i think, that u can use for the rest of the session.
edit: for CS you send each command like this:

sockudp -k <name> <localPort> <serverIP> <serverport> ÿÿÿÿ $+ rcon <rconID> <rconpass> $1- $+ $lf

Basically, rcon commands or anything to help me out, I'm sure it works, ASE uses it for the remote console.