rcon via PHP

Any discussions that are non-rtcw/et related go here.

Moderators: Forum moderators, developers

Post Reply
jump3r
Posts: 159
Joined: Sun Apr 18, 2004 1:11 am

rcon via PHP

Post 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
User avatar
WeblionX
Posts: 762
Joined: Sun Sep 08, 2002 1:03 pm
Contact:

Post 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.
Got any old idtech3 tutorials you made or saved? Send them my way.
User avatar
Fusen
Posts: 264
Joined: Wed Feb 11, 2004 8:00 pm
Contact:

Post 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
Last edited by Fusen on Fri Feb 04, 2011 12:01 pm, edited 1 time in total.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

You probably want to set it a bit higher, as your packets may get bunched up in the tubes.
send lawyers, guns and money
Post Reply