Page 1 of 1

rcon via PHP

Posted: Sun Feb 18, 2007 11:36 am
by jump3r
hi there.

i'm trying to make php web control panel for my et servers, but i'm facing problems with sending more than one rcon commands in one second. is it possible to get around that foolish limitation?

if yes, how? and if not, how can i deal with problem like this...? ->
for example, i have a web page with a few text inputs (g_password: [___], refereepassword: [___], sv_hostname: [____], ...) and i want to save (= send) them at once (by one click). as you know, it needs to use several rcon commands at a time. in this case, three.

thanks in advance

Posted: Sun Feb 18, 2007 2:23 pm
by WeblionX
You'd have to put in a sleep statement of 500ms or larger, though I'm not sure how that works with PHP.

Posted: Sun May 27, 2007 12:08 pm
by Fusen
WeblionX wrote:You'd have to put in a sleep statement of 500ms or larger, though I'm not sure how that works with PHP.
usleep(500000);
________
how to love

Posted: Mon May 28, 2007 3:01 pm
by ReyalP
You probably want to set it a bit higher, as your packets may get bunched up in the tubes.