PHP CoD2 RCON

Here's the latest version of Ashus's PHP CoD2 RCON, the tool you need to manage your CoD2 server. ;) This version features a few new perks,...

Download

Uploading...
Do not refresh or leave this page!

File Description

Here's the latest version of Ashus's PHP CoD2 RCON, the tool you need to manage your CoD2 server. ;) This version features a few new perks, but I'd recommend it solely for the bug fixes if nothing else. Check out the "what's new" list below, and give it a download!

  • Changed graphical working indicator
  • Added shortcut key R for refreshing the player list
  • Fixed minor JavaScript bugs
  • Fixed a bug where the output table was hidden if query turned up no result

-xXezekielXx

Read More

Download 'phpcod2rconv16.zip' (322KB)

Readme
PHP COD2 RCON
version 1.6

Requirements:
 Server side: Apache webserver with session and PHP5 support
 Client side: Javascript, AJAX and cookies enabled browser (Opera, Firefox, IE6/7)

This is a PHP interface for RCON to Call Of Duty 2. My script gives you a list of players currently on the server along with colors - rcon status. You can send any command to the game, including messages to all, private messages, map changes, map restarting, and any other rcon command. Next to all players there are links for 'one-click kick' and 'one-click message'. This replacement of Rcon4cod2 works everywhere, even if you are sitting at a network with blocked UDP packets.


Installation:
Unpack the directory and upload it on your webserver.
Edit config.inc.php - enter your rcon password and ip and port of target gameserver
Edit maplist.inc.php - add your custom maps to the list
Edit users.inc.php - make a list of allowed users along with their passwords
Edit custom_links.inc.php - insert a HTML code with often used hyperlinks if you wish

Open your browser, enter correct URL, login and have fun administering your game.


History:
1.6
Changed: Graphical working indicator.
Added: Shortcut key R for refreshing the playerlist.
Fixed: Minor fixes in javascript.
Fixed: If result is empty, the output table is hidden.

1.5c
Fixed: A javascript glitch caused some browsers not to work.

1.5b
Fixed: When data for playerlist and other commands are waited for at the same time, they are assigned to the right fields.
Fixed: When waiting for both data at the same time, and one of them finishes, the working indicator doesn't disappear. It is there always, when you're supposed to get data.
Fixed: If you receive an HTTP error, it is displayed along with text of that error.

1.5
Added: AJAX interface (thx. Nazgul for idea) for refreshing only the important parts of page. It has speeded the complete process a lot. Only one piece of code communicates with the server, easier for people to change.
Added: A "working indicator" notifying the user, that the page is waiting for new data. While waiting, you can work with old ones, unlike the old version, there you had to wait for some time without any playerlist to look at.
Added: An error message (if no data are received).
Changed: Almost all forms were removed, they were replaced by javascripts, input-guarded on the client side.
Added: Country codes are now implemeted along with national flag images. See config file for settings.
Added: Clicking any command with Shift button pressed puts the raw code to command line and doesn't send it. This can be used for changing preset commands before exec. 
Fixed: By splitting the main script in two I have caused not to auto-choose current map in map change drop-down box. The default empty line was replaced by Restart command.
Removed: The button to change gametype instantly and those ones to bath disable or enable more weapons - snipers, rifles (executed 2 or more commands in a row) would make things much more complicated. For instant gametype change use Change after map and then restart the map by button below.
Changed: The default refresh time is now 30s (you can now work while refreshing).
Added: More custom commands on one line (for syntax see config file).

1.4b
Added: Italian translation (thx. Nazgul).

1.4
Added: Custom favorite commands (editable in config.inc.php). Waiting a while pointing the cursor at the friendly name of command displays the actual command as hint label.
Added: Custom commands next to all players (config file, hint labels, editable ID offset for PB commands).
Changed: Timeout values, extra-wait failsafe mode, buffer sizes (when problems with full player listing ocurred) and language settings are now editable from within config.inc.php.
Changed: Settings menu is hidden by default, it is displayed (and more php code processed) after clicking one link. Previously, it was shown/hidden by javascript.
Fixed: Arrays are now duplicated when cycling (PHP4 compatible).
Fixed: Minor HTML glitches.
Added: Codepage of the page is now changeable with language.
Added: A map picture is shown via javascript after clicking the map name. To hide it, move the mouse away, or click the picture.
Added: One button to get current gametype was added.

1.3
Changed: Refreshing of the window is now done by javascript, which is stopped/resumed manually or by clicking anywhere to the bottom table (when you start typing a long command or message to send, it is already paused). If an dialog box for message is open and then cancelled, the countdown is resumed right where it has been paused.
Added: The countdown to page refreshing was added.
Added: All weapons are now possible to disable/enable or get their status (the "?" buttons), they are hidden as default, till you click Settings link.
Added: I made a password box for changing public password. It is also hidden by default.
Added: An empty page ready for quick links you may have needed was added. I use it for fast switch to my iptables banning system.

1.2
Fixed: I changed the beginning php tags from short to proper <?php.
Fixed: If return value exceeds limited number of bytes and colorizing is turned off, the background of the character is marked as yellow for easy noticing.
Fixed: The joining substring was changed from national sign of caron to chr(255), it could help to more compatibility.

1.1
Added: A simple login system.
Added: Maps, gametypes changing via dropdown box.
Added: Buttons for changing game settings - Sniper rifles, Shotgun, Smoke grenades.
Added: Javascript and buttons to whisper to any player / say something loud.
Fixed: you can press F5 to refresh the window with list safely - no commands will be re-sent, just the last result and last sent command will be displayed again.
Changed: Kick buttons were changed to javascript links.

1.0
First version, hooray, the communication with gameserver works, now we can begin working on GUI!


Use it and modify it freely, just include my name, as I spent a lot of time developing this tool.

Ashus
ashw3 -at- seznam -dot- cz
Other applications made by me are here: hxxp://ap.ashw.info/ashus/?download

Read More

Comments on this File

There are no comments yet. Be the first!

Ashus


50 XP


Registered 18th June 2006

17 Files Uploaded

Share This File
Embed File