Jump to content

BfBC2 Chat GUID and Stats Logger Webstats v1.21 [BC2]


ImportBot

Recommended Posts

  • Replies 284
  • Created
  • Last Reply

Top Posters In This Topic

Originally Posted by coach*:

 

I have installed this & have the in game stats working but having problems with the web side of the stats. After filling out the page from the installer.php & saving I get a parsing error:

 

Parse error: parse error in C:\wamp\www\proconstats\config.inc.php on line 24

 

Checked the config.inc.php & this is the line:

 

$serverstatus="Currently there are %player/%slots Players playing %gamemode on %map. Join them on "%servername"!";

 

Any ideas? I thought it was just the "" around %servername but if I remove them then the no error or page is shown.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

$serverstatus="Currently there are %player/%slots Players playing %gamemode on %map. Join them on "%servername"!";

Pls write Code:
\"%servername\"
instead in of Code:
"%servername"
, because the Code:
"
ends the definition of $serverstatus !

 

We also found a little mistake in the weaponstats and fixed it. Release in few minutes!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Basert*:

 

Playerdetails are bugged. If I click on a players name, the detail will not show up at the page's top, but on a fixed point. So i included the Stats into my Clan's page and the header is quite big, so the stats are out of my view :biggrin:

 

Can you set a new config value for this?

 

See it at: www.incardia.de and klick on BC2Stats on the left.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by feeblemedic*:

 

I'm sure i'm doing something wrong; forgive my ignorance. When I upload this download and go to the installer.php...it all goes fine; but regardless of what settings i put in there; once I delete installer.php....and then go the the address http://mysite.com/statsfolder/ It just comes up with blank white page I get nothing. What would cause that?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by coach*:

 

$serverstatus="Currently there are %player/%slots Players playing %gamemode on %map. Join them on "%servername"!";

Pls write Code:
\"%servername\"
instead in of Code:
"%servername"
, because the Code:
"
ends the definition of $serverstatus !

 

We also found a little mistake in the weaponstats and fixed it. Release in few minutes!

Modified & changed this & now just get the standard Firefox "Problem loading page".

 

"The connection was reset

 

 

The connection to the server was reset while the page was loading."

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by coach*:

 

Appears to be an error in index.php:

 

PHP Warning: number_format() expects parameter 2 to be long, string given in C:\\wamp\\www\\proconstats\\index.php on line 310

 

$serversum = str_replace("%players", number_format(floatval($serverstats['COUNT( a.StatsID )']), '','','.') ,"$serversum");

 

This works though:

 

http://203.142.9.122/proconstats/serverinfo.php

 

Does not use the number_format() function

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

So i included the Stats into my Clan's page and the header is quite big, so the stats are out of my view :biggrin:

Can you set a new config value for this?

How do you imagine how to do?

less then 50% of the available width of your homepage is used to display content, the whole rest is navigation, Banners and bla...

open the stats in a new windows, or smaller the 3 (!!!) rows, so everything will be displayed proberly.

 

It just comes up with blank white page I get nothing. What would cause that?

let me take a look into my crystal ball.... wrong configuration I guess.

 

The number_format issue and the serversummery issue should be fixed with v1.21.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SexDrugOverclocking*:

 

Firstly, thanks for this new updated version, my customers love it! The modern touches and Map/Weapon stats are great.

 

I have a few issues and I hope you can help....

 

1. Official ranks do not seem to be working. BC2Conn connection is good but there is no rank display? Any idea?

2. Cannot manually edit config.inc manually after installer creates it, after edit I get error line 68 on index.php

3. Weapon Stats returns Incorrect integer value: '' for column 'WeaponID' at row 1

 

If you could help me with these 3 issues I would greatly appreciate it.

 

Thanks Again

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

Hi,

Bc2conn ist needed to display live serverstatus and serverinfo, not for the ranks.

to display ranks, you need to have bfbcs stats enabled in your plugin!

 

what do you edit? you do something wrong, don't you have weaponstatslogging enabled?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SexDrugOverclocking*:

 

I have everything enabled and BFBCS on allowed host list in PRoCon.

 

Weapon Stats enabled and no errors from the plugin. I have tried on 3 of my web servers with the same result.

 

Here is a v1.21 default install - http://rconhostingservices.net/statstest

 

signature image also seems to be iffy, not quite sure.

 

Let me know what you think and thanks for the support.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Code187*:

 

Same as above with this as well.

Currently there are 0/32 Players playing Rush on MapNameNotFoundError. Join them on "HalfBakedKillas"!

No player ranks. EDIT: Removed config file info

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

Sometimes the mapnames are not recognized correctly, no idea why.

The ranks not showing is an issue of the plugin, not of the Webstats. check your DB if there are ranks in bfbcs table and check if procon is set up right!

use the installer.php!!!

You have some char errors like "ValparaÃ*so"

i think there was a failure in uploading, that causes the sig.php phpheader error (there is a breakmissing).

delete all files, upload again, run installer.php, configure, delete installer, check if its working right

you also have no chat displayed...

 

BTW: Why do you edit the files manually? and what tool you use? MS Word? wordpad? (would explain some of the errors)

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Code187*:

 

"Enter Trusted Site and Port Example: http://api.bfbcs.com 80. Or your teamspeak3 ip/query port: ex. 127.0.0.1 10011" This had to be set up in TC admin as well, (/configs/procon.cfg or Ranks will not work if this file isn't edited. Once i restarted procon and joined the server, rank was added.

 

Sig php header error was fixed by opening sig.php in text format and editing the file on the server with the proper format. for some reason cuteftp was not uploading the file correctly.

 

Now if i can fix the map names error.....

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SexDrugOverclocking*:

 

It's a lot easier to be able to edit the config.inc to make changes instead of uploading the installer again. I also notice the installer fails about 60% of the time with IIS7 but I feel the issue is with IIS and not your script. Being able to manually edit config.inc would be easier and I am not sure why it throws an error when I edit it with WordPad, can you recommend something else to edit it?

 

Did what Code187 said and sig.php is fixed, thanks Code187!

 

Will look into Stats Logger and BFBCS however I did notice that even on your demo stats page that some official ranks are not showing up so it seems like it is bfbcs servers overloaded again.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SexDrugOverclocking*:

 

There was a issue with my.ini with my MySQL server for sql_mode. Weapon stats all working.

 

Official Ranks not working due to my plugin version so everything is 100%.

 

Thanks for the help.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SexDrugOverclocking*:

 

Everything working good now, thanks again. I do have one other question though.

 

Are there any plans to make the Web-Stats work with multiple servers? I had an idea to have 2 separate web-stats installs but one primary that had a drop-down menu to select which server would be displayed.

 

Normally we log multiple servers to one database.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by feeblemedic*:

 

I apologize for my ignorance...I've had to do that a lot lately.

 

When ever I attempt to install this on my server I just keep getting a white screen with no error messages once I run the installer.php (which appears to work fine). I've tried every combination of settings I can think of when setting it up, both by running them through the installer.php and by direct edits to the config; no luck.

 

I don't even know where to begin troubleshooting this issue right now. I have the procon stats plugin running fine; and works in game. I host the database on my website jrks.org. I attempt to run this from jrks.org/serverstats/.... I use the same settings for database connections as i use in the procon plugin. I've changed the database host location from jrks.org to www.jrks.org to http://www.jrks.org...etc...trying different settings.

 

My players would really enjoy this; if i could manage to get it to work. Can someone hold my hand through this and/or be willing to set it up for me if provided the information for my database/cpanel/ etc...? Even just a point in the right direction would be greatly appreciated at this point. Or tell me what information is requried to troubleshoot this issue....I didn't want to post all kinds of info that was potentially not relevant to this issue.

 

Thanks in advance for any assistance someone in this community might be able to provide.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

your webspace simply does not allow open directly URLs different from your homepage like http://www.jrks.org/serverstats or with i guess a path like http://www.jrks.org/thisdirectorydoesnotexist!

so upload the script to a directory you can access.

 

give me your ICQ or xfire name so we can find the error

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by feeblemedic*:

 

your webspace simply does not allow open directly URLs different from your homepage like http://www.jrks.org/serverstats or with i guess a path like http://www.jrks.org/thisdirectorydoesnotexist!

so upload the script to a directory you can access.

I don't think thats the case. I have set up multiple test sites (duplicates sites to that on my public_html directory) and they all function fine. for example I have an old test site set up in this location "http://www.jrks.org/testsite/" I can create and delete directories in public_html at will and don't see why any one directory I would create would be any different than any other.

 

Am I misunderstanding you? Should I simply try to set it up in my root directory? I don't really want to do that. Thanks for the response though any guidance is appreciated.

 

I've uploaded the files to jrks.org/proconstats/

 

and am using the following config settings:

 

<_php>

$showerrors="1"; // Set to 1 to report Errors

$embedded="0"; // When 1 => width~600px else width~900px

$background_enable="1"; // Set 1 to enable Background (bad_background.jpg)

$mysqlhost="jrks.org"; // Set the MySQL Host

$mysqldb="jrks_databasename"; // Set the MySQL Databasename*

$mysqluser="jrks_databaseusername"; // Set the MySQL Database Username*

$mysqlpwd="databasepassword"; // Set the MySQL Database Password

$mysqltable_suffix=""; // Same like in your Procon plugin!

$mysqlchatlogtable="tbl_chatlog"; // Set the Name of the Chatlog Table

$ts3id="0"; // Set your own TS3 Viewer ID from http://www.tsviewer.com/ 0 to deactivate

$gametracker="0"; // Set 1 to show your Gameserverinfo

$gameserver="208.100.45.82"; // Set your Gameserver IP

$gameserverport="19567"; // Set your Gameserver Port

$rconport="48888"; // Set your Gameserver IP

$rconpassword="rconpassword"; // Set your Gameserver IP

$limit="20"; // Player shown per Page

$chat="1"; // Show last 15 Chatmessages on Mainpage

$sig_path="www.jrks.org/proconstats"; // URL adress to your Statspage

$sig_image="images/sig.jpg"; // Backgroundimage for Signatures 400x80px!

$defaultgame="bc2"; // Set bc2 for BC2, nam for Vietnam stats or shared for shared DB!

$allowswitchgame="1"; // Check to allow viewers to switch between BC2 and Vietnam stats

$bc2conn_enable="1"; // Set 0 to disable ServerQuery if Server is down!

$serverstatus="Currently there are %player/%slots Players playing %gamemode on %map. Join them on "%servername"!";

// Serverinfo: Use %servername, %map, %player, %slots

$serversum="%players Players scored %score Points in %rounds Rounds (%pointsperround PpR) having %kills Kills and %deaths Deaths.

They spent %time of their sparetime since %firstconnect on our server

doing %teamkills Teamkills and %suicides Suicides with a max Killstreak of %killstreak Kills and a max Deathstreak of %deathstreak Deaths";

// Serversummery: Use %players %score %rounds %kills %deaths %time %firstconnect %teamkills %suicides %killstreak %deathstreak and

for new line

$top_killstreaks="1"; // to enable Top10-View of Killstreaks IMPORTANT: You need to enable Chatlog and LOG SERVERSPAM in your BC2 Stats & Chatlogger!

$killstreakstart=""; // not needed atm

$killstreakend=" has a 8 kill streak going!"; // Same like in your Killstreakplugin!

$killstreaktitle="8 Kills in a row"; // Title for the Row in the Table!

_>

 

*my database name and user name both start with jrks_" and thats how i have it in procon.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by JinF*:

 

I have an issue with the stats lookup for a single player. When looking at the index table all the information is there, but when I click on a single user to look up their stats they are all missing, except on the sig image.

 

noshow.jpg[/attachment:31upkhxh]

 

Any help would be appreciated.

 

 

Also, on our Vietnam set of the webstats, the map information is broke, it shows MAPNAME_NOT_FOUND for all names.

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.