Jump to content

Server Stats page for XpKiller's 'BF3 Chat, GUID, Stats and Mapstats Logger'


ImportBot

Recommended Posts

  • Replies 487
  • Created
  • Last Reply

Originally Posted by ty_ger07*:

 

I think I will just add the scroll-able "recent chat" to the stats page. The ability to search through chat and view conversations at certain times and GUIDs can be left in the standalone chat search page.

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

Originally Posted by ty_ger07*:

 

Code linked to in first post updated.

 

Changes:

- Added server chat page (lite version).

- Fixed issue with stats index link showing when it shouldn't if no index link was provided.

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

Originally Posted by mtnkodiak*:

 

I can't find any sort of "API key" for GGC. Our server streams to GGC, but I can't find anywhere on their site nor in procon or pb server files where "API key" is mentioned. I have the server ID available, but nothing about API key. Anyone?

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

Originally Posted by ty_ger07*:

 

Yep, as Russel5 showed, it's in your account information.

 

Log in and then click "UserCP" at the top right. Then click "Edit Account". The API key should be on the right side.

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

Originally Posted by Enco86*:

 

I can't get it working.My nerves are going to crash.

 

I tried everything but it gives the same error message ''Unable to access stats database. Please notify this website's administrator.''

 

I filled the blanks with Notepad ++ like this:

 

$db_host = 'corpse-merchants.clanservers.com'; // database host

$db_uname = 'c10xxx_cxxx'; // database user name

$db_pass = 'xxxx'; // database password

$db_name = 'c10xxx_cxxx'; // database name

 

Other things are not important i guess.Why this gives an error is beyond me.

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

Originally Posted by ty_ger07*:

 

Are those the same values you are using in XpKiller's plugin? Where is the database hosted?

 

If you view the database in phpMyAdmin, what address does it show?

 

Here is an example of one of my databases:

Posted Image

 

Is it the same as 'corpse-merchants.clanservers.com'?

 

Attached Files:

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

Originally Posted by Enco86*:

 

Database hosted on gameservers.com and i use the same settings as xpkillers plugin.

 

In myphpadmin it looks like this

 

 

Server: Localhost via UNIX socket

Software: MySQL

Software version: 5.1.66-cll - MySQL Community Server (GPL)

Protocol version: 10

User: c10xxxx@localhost

Server charset: UTF-8 Unicode (utf8)

 

Web server:

 

cpsrvd 11.34.1.7

Database client version: libmysql - 4.1.22

PHP extension: mysql

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

Originally Posted by ty_ger07*:

 

Have you tried using '11.34.1.7' as the host?

 

I am having a hard time picturing your setup in my mind. Can you better describe your situation? Where is the game server hosted? Where is the procon layer hosted? Where is the database hosted in relation to the game server and the layer? Where is the website with the stats page hosted? Is the database configured to allow external connections?

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

Originally Posted by ty_ger07*:

 

@ty_ger07

 

do your page support unix sockets? I guess this is the problem here.

I guess I am too ignorant to properly answer that question. What do you mean?

 

My provider of my website is on a Linux machine. Does that mean I am using a Unix socket? What is a Unix socket compared to a non-Unix socket?

 

From what I have seen, php's mysql_connect() and mysql_select_db() are universal. Maybe I am wrong.

 

I do see that this is getting deprecated though in newer versions of PHP and is making a move to mysqli_...

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

Originally Posted by ty_ger07*:

 

Well, the only difference is that I am not specifying the port and allowing it to assume the default port 3306. It has examples where the port is specified and examples where it isn't specified. It is pretty safe to assume it is port 3306 and no one has complained so far. But maybe someone does have a different port and maybe it should be specified.

 

Other than that, like I said, it is getting deprecated in newer versions. Even though it is deprecated, it should still work for now.

 

I hope that Enco86 will respond soon with more information. I wonder if the game server, layer, and database are all hosted by Gameservers. I am not familiar with "clanservers.com" and don't know if it is considered 'localhost' with his other services or if it is separate.

 

EDIT: It seems like he got it working: http://corpse-merchants.clanservers.com/stats/index.php I wonder what the trick was. :huh:

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

Originally Posted by Enco86*:

 

Well, the only difference is that I am not specifying the port and allowing it to assume the default port 3306. It has examples where the port is specified and examples where it isn't specified. It is pretty safe to assume it is port 3306 and no one has complained so far. But maybe someone does have a different port and maybe it should be specified.

 

Other than that, like I said, it is getting deprecated in newer versions. Even though it is deprecated, it should still work for now.

 

I hope that Enco86 will respond soon with more information. I wonder if the game server, layer, and database are all hosted by Gameservers. I am not familiar with "clanservers.com" and don't know if it is considered 'localhost' with his other services or if it is separate.

 

EDIT: It seems like he got it working: http://corpse-merchants.clanservers.com/stats/index.php I wonder what the trick was. :huh:

I wrote a reply but it didn't show up i don't know why.Anyway i solved the problem at last and at the end i laughed so hard that how couldn't i find it ? Trick was entering the websites ip to remote sql's allowed connection list and tatata :smile:

 

Everything is nice and sound but this free hosting is so limited and i want to change it.But i don't know how to backup the stats database and transfer it to new host.

 

Update:

 

I transfered all of the database into a new host without problems and purchased a new domain.

 

New statistics can be found at

 

copmplan.info/stats

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

Originally Posted by dyn*:

 

A bit of a request...

 

Instead of having the customizable details at the top of every PHP file, would it be possible to have one config which is included? This would make it much easier to update when new changes are made.

 

Thanks for your consideration. Right now, while the updates you've provided are great, it does take some time to ensure all php files are updated properly. If there were just one included config file it could make updating a snitch especially when updating multiple servers php files.

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

Originally Posted by ty_ger07*:

 

A bit of a request...

 

Instead of having the customizable details at the top of every PHP file, would it be possible to have one config which is included? This would make it much easier to update when new changes are made.

 

Thanks for your consideration. Right now, while the updates you've provided are great, it does take some time to ensure all php files are updated properly. If there were just one included config file it could make updating a snitch especially when updating multiple servers php files.

You would still need multiple config files (one for each server) and each of the stats pages would somehow need to know which config file it should load (which means you would have to edit the stats page anyways to tell it which config file to load).

 

I can't think of a better way. I think adding multiple config files would add to the confusion.

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

Originally Posted by dyn*:

 

You would still need multiple config files (one for each server) and each of the stats pages would somehow need to know which config file it should load (which means you would have to edit the stats page anyways to tell it which config file to load).

 

I can't think of a better way. I think adding multiple config files would add to the confusion.

I see. In our setup it the only thing that gets changed, or is unique amongst the different files, is server_ID. Everything else is shared amongst the servers. I figured this is how most setups would be. Having a dedicated config file with:

 

DATABASE INFORMATION

DATABASE TABLE SUFFIX

GGC-STREAM INFORMATION

CLAN NAME

ADMIN USERNAME

ADMIN PASSWORD

PAGE BANNER

BANNER LINK

STATS INDEX LINK

 

This could then make it easy for future updates only 1 or 2 lines would have to be changed in the individual php files.

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

Originally Posted by ty_ger07*:

 

I see. In our setup it the only thing that gets changed, or is unique amongst the different files, is server_ID. Everything else is shared amongst the servers. I figured this is how most setups would be. Having a dedicated config file with:

 

DATABASE INFORMATION

DATABASE TABLE SUFFIX

GGC-STREAM INFORMATION

CLAN NAME

ADMIN USERNAME

ADMIN PASSWORD

PAGE BANNER

BANNER LINK

STATS INDEX LINK

 

This could then make it easy for future updates only 1 or 2 lines would have to be changed in the individual php files.

Yeah, you have a point. The only things which should need to be changed between stats pages are:

- Server ID (if you don't use table suffixes)

- Table Suffix (if you use them)

- Server Name

- GGC-Stream server ID

 

I may consider it.

 

Another problem is that if I changed something in the configuration file (like when I just recently added port number), if the user doesn't update their configuration file, they will have issues. People would naturally not want to update the configuration file.

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

Originally Posted by ty_ger07*:

 

I would ask Branzone why their server is being terribly slow.

 

Two problems:

1) Their network connection is being slow. It is sending the data at about 4 KB/s average. It should be at least 10 times that amount.

2) Their web server is running very slowly. It is taking about 5 seconds on average to process the stats page's very simple operations. It should process the operations at least 5 times quicker.

 

It's not the stats page that is the problem. It is your web server host.

 

But as I am sure you can see for yourself on your web server, my stats pages are about twice as fast as RMG-Dr4k3's stats pages. (don't compare my demo to his demo since he is on a different server than me and it would not be an apples-to-apples comparison) This is because I designed my stats pages to be lightweight and fast.

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

Originally Posted by ty_ger07*:

 

The stats page I provided is lightweight. It was designed to be lightweight from the start.

 

I was saying that if you compare http://ktsclanservers.info/player_stats.php with http://ktsclanservers.info/Private%20Stats/ , I think you should see that on average my stats page is faster than RMG-Dr4k3's stats pages. This is because my stats pages were specifically designed to be lightweight and fast. The reason yours is so slow is due to your web server host.

 

Yes, ask your web server host why it is so slow.

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

Originally Posted by ronald32*:

 

So thats what they said:

 

Thank you for contacting Branzone.com support.

The long load times are due to the webhost trying to connect to your database. To fix this you will need to import the stats into a new database on your webhosting.

 

I don't know what they mean by that what should i do know?

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

Originally Posted by ty_ger07*:

 

So thats what they said:

 

Thank you for contacting Branzone.com support.

The long load times are due to the webhost trying to connect to your database. To fix this you will need to import the stats into a new database on your webhosting.

 

I don't know what they mean by that what should i do know?

Where is your stats database located? They are saying that your database is not located on their web server and that you should move the stats database to their web server so that the page will load faster.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ronin*:

 

Hi

 

one of my clients is having problems connecting to the db i have provided i have not had anyone else saying they cant get it to work so was hoping you could give me a hand to figure out whats gone wrong here is the error code they are getting .

 

 

Thanks Wayne

Code:

[10:01:06 83] BF3 Chat, GUID and Stats Logger Enabled
[10:01:06 83] BF3 Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player
[10:01:09 19] [xVotemap] Info: Estimated voting start in 7 minutes, 35 seconds @ 02:08:44
[10:01:09 39] Error in Tablebuilder: 
[10:01:09 39] Message: Authentication to host '216.172.184.95' for user 'wayne_hawes' using method 'mysql_native_password' failed with message: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
[10:01:09 39] Native: -2147467259
[10:01:09 39] Source: MySql.Data
[10:01:09 39] StackTrace: at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Authenticate(String authMethod, Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlConnection.Open()
at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder()
[10:01:09 39] InnerException: MySql.Data.MySqlClient.MySqlException: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
[10:01:09 39] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder()
[10:01:11 76] Error in Tablebuilder: 
[10:01:11 76] Message: Authentication to host '216.172.184.95' for user 'wayne_hawes' using method 'mysql_native_password' failed with message: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
[10:01:11 76] Native: -2147467259
[10:01:11 76] Source: MySql.Data
[10:01:11 76] StackTrace: at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Authenticate(String authMethod, Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlConnection.Open()
at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder()
[10:01:11 76] InnerException: MySql.Data.MySqlClient.MySqlException: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
[10:01:11 76] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder()
[10:01:12 12] Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Authentication to host '216.172.184.95' for user 'wayne_hawes' using method 'mysql_native_password' failed with message: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Authenticate(String authMethod, Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlConnection.Open()
at PRoConEvents.CChatGUIDStatsLoggerBF3.getUpdateServerID(CServerInfo csiServerInfo)
[10:01:24 60] Error in Tablebuilder: 
[10:01:24 60] Message: Authentication to host '216.172.184.95' for user 'wayne_hawes' using method 'mysql_native_password' failed with message: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
[10:01:24 60] Native: -2147467259
[10:01:24 60] Source: MySql.Data
[10:01:24 60] StackTrace: at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Authenticate(String authMethod, Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlConnection.Open()
at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder()
[10:01:24 60] InnerException: MySql.Data.MySqlClient.MySqlException: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
[10:01:24 60] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder()
[10:01:24 96] Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Authentication to host '216.172.184.95' for user 'wayne_hawes' using method 'mysql_native_password' failed with message: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'wayne_hawes'@'109.70.148.109' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Authenticate(String authMethod, Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlConnection.Open()
at PRoConEvents.CChatGUIDStatsLoggerBF3.getUpdateServerID(CServerInfo csiServerInfo)
* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




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