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

Call Of Duty: PHP RCon 2.40 EN++

I'm pretty sure it is related to my server upgrade, as i didn't have any issue before. I used this tool for months before upgrading, it was perfect.

I also noticed that the missing lines are ALWAYS the same, not the same slot, but the same "line number" on the screen.

I tried an external rcon tool, i can see the missing lines.

Any idea to fix it ?
Thanks for your help !
Reply

No idea, that's why i solved it by hiding the buttons that could be a problem.

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

I have a Java Ban Tool for cod 1 is itpossible to merge it with your php tool?
Reply

Ashus Wrote:No idea, that's why i solved it by hiding the buttons that could be a problem.

I fixed it myself but i'll give the solution in case someone else has the same problem.
Missing lines are due to PHP 5.4, because everything was ok with PHP 5.3

After hours of browsing i found out you have to make some minors changes in php code.

You have to add
Code:
, ENT_NOQUOTES, 'iso-8859-1'
in all htmlspecialchars like

Code:
htmlspecialchars($s, ENT_NOQUOTES, 'iso-8859-1');
Reply

i have successfully installed the php rcon on remote web hosting and it was working fine for 2 cod2 servers . But when i try to add 3rd cod2 server it starts giving me following error

Parse error: syntax error, unexpected T_VARIABLE in /usr/www/clanaccount/public/rcon_php/servers.inc.php on line 9

if i remove the 3 rd server then its gone work fine.
is it because of my web hosting ? or something else?
Reply

probably syntax error, check correct php escaping of " ' characters (string enclosed by ' if needed, should contain \'). Verify it in pspad or other syntax highlighting editor (even this forum has it, use [ code=php] and [ /code] )

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

Ashus Wrote:probably syntax error, check correct php escaping of " ' characters (string enclosed by ' if needed, should contain \'). Verify it in pspad or other syntax highlighting editor (even this forum has it, use [ code=php] and [ /code] )
thankyou......solved.
Reply

is it possible to log ip also with logged username ?
if yes . then how?
Reply

find and replace in action.php:
Code:
            fwrite($fp, date('Y-m-d H:i:s').' '.$admin_name.'@'.$server_friendly_name.': '.$s."\n");
 
>
Code:
            fwrite($fp, date('Y-m-d H:i:s').' '.$admin_name.'@'.$_SERVER['REMOTE_ADDR'].'@'.$server_friendly_name.': '.$s."\n");
 

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

thankyou.........................working
Reply




Users browsing this thread: 11 Guest(s)