Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Call Of Duty: PHP RCon 2.40 EN++

Gomerdeath: It really is no difference to the script if you use default or any other port. There must be a blocked network connection (firewall on gameserver or webserver).

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply

ok thanks
Reply

hey ashus,

First of all i thank you for this great tool it has eliminated the use of desktop rcon tools. Smile

The problem that I am facing is that I have WAMP server and have installed php rcon locally and its not working. It says server "Error while connecting to gameserver; server is down or the map may be changing right now." I am using latest WAMP and have entered this into firefox "localhost/php_rcon" i have tried various things but it isn't working could you please help me.


Thanks in Advance.
Reply

Have you configured your server in servers.inc.php and the specific server config file in the servers folder? Paste it here (without rcon password).

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply

This is the text of my servers.inc file:

And my server specific config file is:
Code:
//Server Information


set sv_hostname " ^0^2StB^5^~^7EternitY^3*!" //                       //^0^5StB^2^~^4Fun!
set scr_motd "^4Welcome ^7To ^3!^0|^3STB^0!^3|^2-^0|^1Eter^2nity ^4Server. ^7Have Fun and viSiT:^3STB-^5clan^7.^3cu.cc ^6  *****************"
sets .Admin "^4Decent ^1Devil"
sets .Website "www.stb-clan.cu.cc"
sets .Email "admin@stb-clan.cu.cc" //changed

// Server Performance Settings
set sv_allowDownload 0
set sv_maxPing 900 //changed
set sv_minPing 0

//Server Security Settings
seta sv_floodProtect 1
seta sv_flood_waitdelay 8
seta sv_flood_persecond 3
seta flood_msgs 4
set sv_pure 0
set rconPassword "" //removed for online posting
set g_password ""


//Server Configuration Settings
set g_allowvote "0"
set scr_allow_vote "0"
set sv_maxClients 15 //changed
set sv_privateClients 2 //changed

// Server Logs
set g_log "cod.log"
set logfile 0
set g_logsync 0

//Gameplay Settings
set g_gametype sd
set scr_friendlyfire 0
set scr_autoassign 0
set scr_drawfriend 1
set scr_killcam 1 //0 off, 1 on
set scr_speclock 0 //0 off, 1 on
set scr_bombplant 5
set scr_bombdefuse 10
set scr_bombtimer 30 //changed
set scr_teambalance 2 //changed
//set ham_nominefields "1"
//set g_runspeed 200 //Overall game runspeed
//set scr_teambalance 3
//Anticamper
set scr_anticamp "1"
set scr_anticamper "45"
set scr_spawncamper "30"
set scr_anticamprange "50"
set scr_spawncamprange "100"

//  General Settings
set sv_allowAnonymous 0
set sv_cheats 0
set sv_gamespy "0" // Show server on GameSpy
seta sv_master1 "codauthorise.activision.com"
seta sv_master2 "codmaster.activision.com"
seta sv_master3 "master.gamespy.com"
//set sv_master4 "master0.gamespy.com"
//set sv_master5 "master1.gamespy.com"
//  Weapons
set scr_allow_bar 1
set scr_allow_bren 1
set scr_allow_enfield 1
set scr_allow_kar98k 1
set scr_allow_kar98ksniper 1
set scr_allow_m1carbine 1
set scr_allow_m1garand 1
set scr_allow_mp40 1
set scr_allow_mp44 0
set scr_allow_nagant 1
set scr_allow_nagantsniper 1
set scr_allow_ppsh 1
set scr_allow_springfield 1
set scr_allow_sten 1
set scr_allow_thompson 1
set scr_allow_fg42 0
set scr_allow_panzerfaust 0
set scr_allow_mg42 0

//  TDM
set scr_tdm_scorelimit 150
set scr_tdm_timelimit 30

//  DM
set scr_dm_scorelimit 100
set scr_dm_timelimit 30
set scr_drawfriend 1
set scr_forcerespawn 0

//  SD
set scr_sd_graceperiod 15
set scr_sd_roundlength 4
set scr_sd_roundlimit 0
set scr_sd_scorelimit 10
set scr_sd_timelimit 0

//  BEL
set scr_bel_alivepointtime 10
set scr_bel_scorelimit 50
set scr_bel_timelimit 30

//  RE
set scr_re_graceperiod 15
set scr_re_roundlength 4
set scr_re_roundlimit 0
set scr_re_scorelimit 7
set scr_re_timelimit 0
set scr_re_showcarrier 0


//  These are the command you need to add for the mods
set scr_hitmarker "1"
set scr_instantkill "1"
set fix_w32 "1"

exec CoDaM.cfg
set scr_usecodam 1

exec CoDaM_HamGoodies.cfg
exec CoDaM_PowerServer.cfg


//  Map Rotation  These values below don't really apply, the powerserver ones do

//  set sv_mapRotation "gametype dm map mp_carentan gametype dm map mp_brecourt gametype sd map mp_carentan gametype sd map mp_brecourt"

set sv_mapRotationCurrent "gametype dm map mp_harbor"
set sv_mapRotationCurrentmap "mp_harbor"
map_rotate
Reply

I am sorry didn't read it carefully. here is my server.cfg file:
[code]
Reply

It looks ok, if it really is on that port. Check previous posts in this thread, it may have been solved before.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply

I just fixed my PHP rcon tool its working great. But one little flaw is that it doesn't ban players. It uses the banclient command which doesn't work on my server too. I have seen many clans ban players and they also have players from different countries that means they are using php rcon tool. But i dont get how are they banning players. Can you help?

I am just learning C++ and will move to PHP after a while. I thought of coding a php script that parses the status text and detects if a banned IP is connected. Can you please help me with that? I want the great capability of php rcon and fuse to make a great ban tool. Smile
Reply

Sorry, but I'm using another system for banning clients via iptables. You can use PHP Rules checker to ban IP addresses - but you'd have to program it yourself. Are you sure you can't use punkbuster's banning system?

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply

Congratulations for this work.

I've updated the French translation in attachment and I have a small feature request:
Add "Next Map" option in the map list for the next map in map rotation. command is "map_rotate".


Attached Files
.txt fr.inc.php.txt Size: 2,83 KB  Downloads: 431
Reply




Users browsing this thread: 10 Guest(s)