Jump to content

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


ImportBot

Recommended Posts

Originally Posted by BB-Insomnia*:

 

Nope, it's a IE problem...

 

but with the upcoming BIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIG update the stats will also be IE compatible.... (maybe :biggrin:)

 

The cause for the signature not showing is error 30 :biggrin:

Error 30 is: you did something wrong in the config.inc.php

Check the paths in your config.inc.php, and the banner should be shown probably!

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 284
  • Created
  • Last Reply

Top Posters In This Topic

Originally Posted by NilsBov*:

 

Currently the config looks like this:

 

Code:

$sig_path="http://lame.no-ip.org/bc2/stats"; // Path to your Statspage
	$sig_image = "http://lame.no-ip.org/bc2/stats/images/sig.jpg"; // Backgroundimage for Signatures 400x80px !
	$banner_image = "http://lame.no-ip.org/bc2/stats/images/banner.jpg"; // Backgroundimage for Signatures 400x80px !
Have tried with

 

Code:

$sig_image = "stats/images/sig.jpg"; // Backgroundimage for Signatures 400x80px !
	$banner_image = "bc2/stats/images/banner.jpg"; // Backgroundimage for Signatures 400x80px !
But no luck their either =(
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

Code:

$sig_path="http://lame.no-ip.org/bc2/stats"; // Path to your Statspage
	$sig_image = "images/sig.jpg"; // Backgroundimage for Signatures 400x80px !
	$banner_image = "images/banner.jpg"; // Backgroundimage for Signatures 400x80px !
try this
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by NilsBov*:

 

I appreciate the help but sadly it didnt work :sad:

 

I have tried using \images instead of /images incase it had soemthing to do with how paths work in windows.

But no change.

 

Everything else works so thanks for the great script =)

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

Originally Posted by BB-Insomnia*:

 

Die Grafik "http://lame.no-ip.org/BC2/stats/sig.php_p=NilsBov" kann nicht angezeigt werden, weil sie Fehler enthält.

With further infos from about your system setup and the config.inc.php i could help you, but atm i can't
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by NilsBov*:

 

Currently using xampp with apache 2.2.12 and mysql 5.1.37 under windows. And curl is enabled.

 

The stats folder is located at \bc2\stats seen from the root. And all folders have the right permissions

Here is my config file:

 

Code:

<_php
	$showerrors="1"; // Set to 1 to report Errors
	$background_enable="0"; // Set "1" to enable Background (bad_background.jpg)
	$mysqlhost="****"; // Set the MySQL Host
	$mysqldb="****"; // Set the MySQL Databasename
	$mysqluser="****"; // Set the MySQL Database Username
	$mysqlpwd="****"; // Set the MySQL Database Password
	$mysqltable_suffix="";
	$mysqlchatlogtable="tbl_chatlog"; // Set the Name of the Chatlog Table
	$starttime="2011 01 05"; // Set this Date by the first use this Script
	$ts3id="0"; // Set u own TS3 Viewer ID from [url=http://www.tsviewer.com/]http://www.tsviewer.com/[/url] or "0" to disable
	$gametracker="0"; // Set "1" to show your Gameserverinfo
	$gameserver="94.75.230.166"; // Set your Gameserver IP
	$gameserverport="19567"; // Set your Gameserver Port (Standard: "19567")
	$rconport="48888"; // Set your Gameserver IP (Standard: 48888)
	$rconpassword="****"; // Set your Gameserver IP
	$limit= "20"; // Player shown per Page
	$ranks="1"; // Show official ranks (disable if your have no curl or your provider blocks outgoing connections!)
	$cachetime="86400"; // Time in seconds for caching official stats Standard: "10800" (3 hours), Minimum: "600" (10 minutes)
	$chat="1"; // Show last 15 Chatmessages on Mainpage
   	$sig_path="http://lame.no-ip.org/bc2/stats"; // Path to your Statspage
   	$sig_image = "images/sig.jpg"; // Backgroundimage for Signatures 400x80px !
   	$banner_image = "images/banner.jpg"; // Backgroundimage for Signatures 400x80px !

	// Serverinfo: Use %servername, %map, %player, %slots
	$bc2conn_enable="1"; // Set 0 to disable if your provider blocks outgoing connections!
	$serverstatus ="Currently there are %player/%slots Players playing %gamemode on %map. Join them on \"%servername\"!";

	$top="1"; // to enable Top10-View of Killstreaks
	// IMPORTANT: You need to enable "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!




_>
Don't know what more info could be of assistance
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GrubbyWaffles*:

 

I am having one other issue... might be doing something wrong but I am not getting the Top 10 kill streaks to show on the website side of things. Have I over looked something or is this currently an issue?

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

Originally Posted by BB-Insomnia*:

 

Hi guys in the web page i have double entries. Have a look here: http://www.leagueofkarpathos.gr/server .

 

Any ideas? I think it happened yesterday after i updated to 0.55 but I'm not 100% sure.

As my script only READS from the tbl? tables, and only writes into the playerdata without tbl_,

this could not cause this.

what data is redundant?

I read in the plugins thread that you had 2 instances of procon running for a time...

 

 

I am having one other issue... might be doing something wrong but I am not getting the Top 10 kill streaks to show on the website side of things. Have I over looked something or is this currently an issue?

You have to put the same Text into config.inc.php as you have in your plugin (killstreak).

 

 

 

 

Version 1.0 released! Check it out!*

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

Originally Posted by slekkas*:

 

I am having one other issue... might be doing something wrong but I am not getting the Top 10 kill streaks to show on the website side of things. Have I over looked something or is this currently an issue?

I updated to v1.0 and now i'm having the same issue. It worked fine with v0.55 witch makes me believe that something is broken.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by slekkas*:

 

Be sure you have set up your Logger+Killstreak plugins according to the attached screenshot.

I have it exactly like that. It was working before the update and i didn't change anything and from what i see neither did you for that section. I triple checked.

 

If i did what you mention i would at least get the title but no data in it. Now there is nothing at all.

 

It's like at this option: $top="1"; // to enable Top10-View of Killstreaks the value is 0 even though i have it to 1.

 

Here is an exact copy paste from procon and config.inc.php:

 

Procon: has a 8 kill streak going!

config.inc.php: $killstreakend=" has a 8 kill streak going!"; // Same like in your Killstreakplugin!

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

Originally Posted by GrubbyWaffles*:

 

Everything running great so far. I love this and am currently integrating in into our clan site. Was curious though anyone else getting the following error?

 

"Warning: Invalid argument supplied for foreach()"

 

It seems to happen on multiple lines and from what I can tell only players with 0 rank/no bfbcs stats.

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

Originally Posted by BB-Insomnia*:

 

It seems to happen on multiple lines and from what I can tell only players with 0 rank/no bfbcs stats.

your right!

Pls set this Code:

$showerrors="1"; // Set to 1 to report Errors
found in the config.inc.php to "0" and there are no errors shown!

 

It will be fixed in the next version, which will be comming soon, too.

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

Originally Posted by maester*:

 

Hate to bother you on xfire again. So post it here. Same issue as before stats are being stored but giving a blank page. Procon is set for vietnam mode and stats are set to nam for default nothing happening. Using v1.01 now

 

http://www.teamfxgaming.com/private

 

Gonna try dropping all the tables and see if that helps

 

Show errors set to 1 here is my config minus rcon and database info

 

<_php>

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

$embedded="0"; // When "1" => width=558px, when "0" => width=778px

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

$mysqlhost="localhost"; // Set the MySQL Host

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

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

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

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

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

$starttime="StartDate"; // Set this Date by the first use this Script

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

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

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

$gameserverport="19567"; // Set your Gameserver Port (Standard: "19567")

$rconport="48888"; // Set your Gameserver IP (Standard: 48888)

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

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

$ranks="1"; // Show official ranks (disable if your have no curl or your provider blocks outgoing connections!)

$cachetime="86400"; // Time in seconds for caching official stats Standard: "10800" (3 hours), Minimum: "600" (10 minutes)

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

$sig_path="http://teamfxgaming.com/private"; // Path to your Statspage

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

$banner_image = "images/banner.jpg"; // Backgroundimage for Signatures 400x80px !

 

$defaultgame = "nam"; // Set "bc2" for BC2 and "nam" for Vietnam stats

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

 

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

$bc2conn_enable="1"; // Set 0 to disable if your provider blocks outgoing connections!

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

 

$top_killstreaks="0"; // to enable Top10-View of Killstreaks

// IMPORTANT: You need to enable "LOG SERVERSPAM" in your BC2 Stats & Chatlogger & activate Killstreakplugin!

 

$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!

_>

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

Originally Posted by HelloKitty*:

 

It is working good for me so far. Only thing missing is the signature image. I have v1.01 on the same directory on my webserver as v0.98 but the sig doesnt show up in the new version. :sad: no clue whats wrong. configs are not changed.

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

Originally Posted by tesla*:

 

.

hello, :smile:

I currently use privatestats v0.96 in my web site, linked to the db proconhosting.

Could you tell me what I should do to upgrade to version v1.01. Which file to edit? How?

Help me please :?

 

If I transfer privatestats v1.01 on my web hosting. I can put config.inc.php from v.096 in the version v1.01,

or I should edit config.inc.php to v1.01 with the same information as in my version 0.96

but there are new lines, for example, Code:

$ mysqltable_suffix = ""
and more lines...

How I should do?

Thank you for your help and for your good work

goodbye..

Tesla

(PS,I am a novice in the field, could you provide details of your reponse.Thx)

.

* 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.