Game server admin's helping the community setup and maintain great dedicated game servers.
----Home----Submit News ----Forum--------Guides----


Go Back   FPSadmin.com > BattleField > Bad Company 2 > BC2: Remote Admin Tool Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2010, 01:56 PM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Exclamation Bc2 php commander

PHP script shows serverinfo with rcon interface for administration.

WEB: http://www.cybopat.net/bc2/bc2php_commander/
Attached Thumbnails
Click image for larger version

Name:	bc2php_commander_preview_01.jpg
Views:	798
Size:	35.0 KB
ID:	268   Click image for larger version

Name:	bc2php_commander_preview_02_054.jpg
Views:	876
Size:	160.3 KB
ID:	272   Click image for larger version

Name:	bc2php_commander_preview_03_054.jpg
Views:	926
Size:	93.6 KB
ID:	273  

Last edited by CyboPat; 04-27-2010 at 12:41 PM.
Reply With Quote
  #2  
Old 04-14-2010, 12:07 PM
woowoo's Avatar
woowoo woowoo is offline
Senior Member
 
Join Date: Aug 2008
Location: Alpharetta, GA
Age: 51
Posts: 1,520
Rep Power: 11
woowoo is on a distinguished road
Looks interesting. Quick question - the lower ranking (only get ban button, etc) - do they get access to the button via logging into the website that you setup or via in game chat parsing?

Thanks.
__________________
_________________
WooČ
Reply With Quote
  #3  
Old 04-15-2010, 12:47 PM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
All ranks (god, admin, clanmember) have access to buttons ONLY by weblogin.
Reply With Quote
  #4  
Old 04-15-2010, 09:55 PM
oddball118 oddball118 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 8
Rep Power: 0
oddball118 is on a distinguished road
I keep getting this error:


Warning: Cannot modify header information - headers already sent by (output started at /blah/blah/public_html/blah/blah/blah/bc2_server_info_login.php:10) in /blah/blah/public_html/blah/blah/blah/bc2_server_info_login.php on line 42

I can't seem to find any extra spaces at the end of the files either. This happens on just a stock install without changing a thing.
Reply With Quote
  #5  
Old 04-16-2010, 05:03 AM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Quote:
Originally Posted by oddball118 View Post
I keep getting this error:


Warning: Cannot modify header information - headers already sent by (output started at /blah/blah/public_html/blah/blah/blah/bc2_server_info_login.php:10) in /blah/blah/public_html/blah/blah/blah/bc2_server_info_login.php on line 42

I can't seem to find any extra spaces at the end of the files either. This happens on just a stock install without changing a thing.
Link to your login page?
Reply With Quote
  #6  
Old 04-16-2010, 05:36 AM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Exclamation

New version: 0.53
more info in HISTORY LOG: http://www.cybopat.net/bc2/bc2php_commander/
Reply With Quote
  #7  
Old 04-16-2010, 07:51 AM
bArtAA bArtAA is offline
Junior Member
 
Join Date: Apr 2010
Location: The Netherlands
Posts: 3
Rep Power: 0
bArtAA is on a distinguished road
Thumbs up

thanx for the new version.

And the extra space can be found in the file bc2_server_info_config.php
There is an extra line at the bottom that has to be remove.
Else you got the error oddball118 is talking about
__________________

Last edited by bArtAA; 04-16-2010 at 08:02 AM.
Reply With Quote
  #8  
Old 04-16-2010, 09:37 AM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Thumbs up

Quote:
Originally Posted by bArtAA View Post
thanx for the new version.

And the extra space can be found in the file bc2_server_info_config.php
There is an extra line at the bottom that has to be remove.
Else you got the error oddball118 is talking about
Thanx, yes you right, damn one Enter at end Now its fixed.

If you have problem with this, redownload 0.53 version.
Reply With Quote
  #9  
Old 04-16-2010, 02:13 PM
bArtAA bArtAA is offline
Junior Member
 
Join Date: Apr 2010
Location: The Netherlands
Posts: 3
Rep Power: 0
bArtAA is on a distinguished road
great, could you also change the team names.
For a RUSH map it is correct to say Attackers and Defenders.
But for Conquest i would like to see U.S army and Russian Army

the is a link to the player stats which is not working anymore: http://bfbc2.elxx.net/getsigs/pc/bArtAA
The correct link is http://bfbc2.statsverse.com/stats/pc/bArtAA


And i have the following problem:

Warning: unpack() [function.unpack]: Type I: not enough input, need 4, have 0 in /var/www/bc2_server_info.php on line 99

But not always, when the server is empty i have no problem.
When there are some players on the server i get this error, don't know the exact number before it gives the error.

I'm using PHP Version 5.2.0-8+etch16
__________________

Last edited by bArtAA; 04-16-2010 at 04:19 PM.
Reply With Quote
  #10  
Old 04-16-2010, 05:06 PM
elrossco22 elrossco22 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 4
Rep Power: 0
elrossco22 is on a distinguished road
can you help me with my installation

hi ive just copied the files and tried to login and im hit by an error message Warning: Cannot modify header information - headers already sent by (output started at /home/elrossco/public_html/admin1/bc2_server_info_login.php:10) in /home/elrossco/public_html/admin1/bc2_server_info_login.php on line 42



can you help me my script is installed at http://admin.rm-tech.co.uk/bc2_server_info_login.php
Reply With Quote
  #11  
Old 04-16-2010, 06:23 PM
sgTsTuFz's Avatar
sgTsTuFz sgTsTuFz is offline
Senior Member
 
Join Date: Aug 2004
Location: Coralville, Iowa
Posts: 907
Rep Power: 14
sgTsTuFz is on a distinguished road
that error happens regardless - just do a refresh and it will come back.

the script has been released in more than one form - and the error is common to all versions.

doh ! meh ! needanotherwordtocompletethetrilogy!
Reply With Quote
  #12  
Old 04-16-2010, 06:56 PM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Exclamation

Quote:
Originally Posted by elrossco22 View Post
hi ive just copied the files and tried to login and im hit by an error message Warning: Cannot modify header information - headers already sent by (output started at /home/elrossco/public_html/admin1/bc2_server_info_login.php:10) in /home/elrossco/public_html/admin1/bc2_server_info_login.php on line 42



can you help me my script is installed at http://admin.rm-tech.co.uk/bc2_server_info_login.php
I send you PM..
Reply With Quote
  #13  
Old 04-16-2010, 06:59 PM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Quote:
Originally Posted by bArtAA View Post
great, could you also change the team names.
For a RUSH map it is correct to say Attackers and Defenders.
But for Conquest i would like to see U.S army and Russian Army

the is a link to the player stats which is not working anymore: http://bfbc2.elxx.net/getsigs/pc/bArtAA
The correct link is http://bfbc2.statsverse.com/stats/pc/bArtAA


And i have the following problem:

Warning: unpack() [function.unpack]: Type I: not enough input, need 4, have 0 in /var/www/bc2_server_info.php on line 99

But not always, when the server is empty i have no problem.
When there are some players on the server i get this error, don't know the exact number before it gives the error.

I'm using PHP Version 5.2.0-8+etch16
Conquest name - good proposal
Link to player stat - thanx for info.
error: as sad sgTsTuFz, really I dont know, this part of code is not mine
http://forums.electronicarts.co.uk/b...us-script.html

Last edited by CyboPat; 04-16-2010 at 07:13 PM.
Reply With Quote
  #14  
Old 04-17-2010, 01:21 AM
oddball118 oddball118 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 8
Rep Power: 0
oddball118 is on a distinguished road
Seems your download is not working.
Reply With Quote
  #15  
Old 04-17-2010, 06:45 AM
CyboPat CyboPat is offline
Member
 
Join Date: Jan 2005
Posts: 38
Rep Power: 0
CyboPat is on a distinguished road
Unhappy

Quote:
Originally Posted by oddball118 View Post
Seems your download is not working.
I know, because by mischance I rewrite version 0.53 on my disk and on web with version 0.52.
If you have first release bc2php_commander_053.zip but not MD5 4a8c1c968c7401bb9fa3833faa99031e (its "newest" but 0.52) can you send me to mail cybopat@seznam.cz.
Otherwise I hope I found good version at monday in work
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:06 AM.


Powered by: vBulletin Copyright ©2000, Jelsoft Enterprises Ltd.