Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

XpKiller,

 

I have another issue.

Now that i have a working query for the session data i have noticed that the data of the sessions is different then the overall ranking.

 

My logs are started the 1th of this month. So my guess is that the rank score of my first player would be equal with the sum of he's session scores.

This is not the case. The session score is allmost double of his ranking score. It's the same with all other players.

 

Here the query's i use

 

Top 30 stats

 

 

 

result:

 

 

 

sessions query:

 

 

 

result: (first 30 lines)

 

 

 

Am i doing something wrong or is the session data incorrect?

 

Greetings

Maybe I am missing something. What makes you think something is wrong?

 

Edit, didn't see your statement about the stats log start date. Maybe my query is wrong.

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

Originally Posted by TrBoss*:

 

Hi;

 

We installed plugin and it started to work perfectly.But recently we noticed plugin doesn't keep the statistics.We tried to initialize the database ut result was the same.Tables,chatlog,player data ,current player etc. are ok but server stats table doesnt loading.What would be the problem ?

 

 

Posted Image

 

And error code :

 

Code:

Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
[13:13:04 64] Error: System.InvalidOperationException: Transaction has already been rolled back or is not pending
   at MySql.Data.MySqlClient.MySqlTransaction.Rollback()
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Gijzijtdood*:

 

I made a pretty simple query that lists all sessions of a player since the start of loggings. And it shows that the sum of the session scores is not equal to the player score.

 

Aren't they supposed to be equal?

 

Greetings

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

Originally Posted by Gijzijtdood*:

 

Hey all,

 

I made used two queries for making a top 10.

One just to list the top10 players with highest rankscore

One that makes sum of all sessions.

The results are completely different. The server logs started on the 1th of January.

Am I doing something wrong?

 

ScreenShot001.pngScreenShot003.png

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

Originally Posted by Gijzijtdood*:

 

Now i'm sure it's not me :smile:

I played one session and compared the scoreboard with the session data.

 

here the results: Scoreboard Kills:9 Deaths:18 score:2840 (I know, its not a great score :-))

Session data Kills:9 Deaths:17 score:4630 (would be a better score but its not right)

 

Something goes wrong with the session data.

 

Greetings

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

Originally Posted by Borzywit*:

 

Hi there

any idea what may couse belowed error?

[statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 109.234.111.65:3306

SOLVED.

 

Procon was blocked by my DB provider. Normally I was getting "access denied for [email protected]". This is what confused me.

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

Originally Posted by IBA_DR_DEATH*:

 

can you run this plugin from a home network, i run a procon on a home network pc 24/7. or does it need to be setup through a third party layer. provider is telling maybe thats the reason it doesn't connect.

 

heres the error I've getting been going at this for a month now cant figure it out. any help would be appreciated

 

[09:16:06 39] Error in Tablebuilder:

[09:16:06 39] Message: Unable to connect to any of the specified MySQL hosts.

[09:16:06 40] Native: -2147467259

[09:16:06 40] Source: MySql.Data

[09:16:06 41] StackTrace: at MySql.Data.MySqlClient.NativeDriver.Open()

at MySql.Data.MySqlClient.Driver.Open()

at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[09:16:06 41] InnerException: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.225.231.66:3306

at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

at MySql.Data.Common.StreamCreator.CreateSocketStream (IPAddress ip, Boolean unix)

at MySql.Data.Common.StreamCreator.GetStreamFromHost( String pipeName, String hostName, UInt32 timeout)

at MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout)

at MySql.Data.MySqlClient.NativeDriver.Open()

[09:16:06 42] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

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

Originally Posted by ty_ger07*:

 

can you run this plugin from a home network, i run a procon on a home network pc 24/7. or does it need to be setup through a third party layer. provider is telling maybe thats the reason it doesn't connect.

 

heres the error I've getting been going at this for a month now cant figure it out. any help would be appreciated

I am confused.

 

First, you say you are running it from home on your own PC 24/7. Then you say your provider is telling you that may be the reason...

 

Aren't you your own provider? Who is your provider and what are they providing? If they are providing you a database, why not just use your own database at your home from the same PC which is running 24/7?

 

For performance reasons, you want the database to be as close to the machine running this plugin as possible. If the database is running from the same machine which is running this plugin, great. The further the database is from this machine (in terms of network location, number of nodes in between, and latency), the more laggy this plugin will seem and the more likely you will see this plugin generate errors.

 

XAMPP makes it incredibly easy to set up a server on your own computer.

 

http://www.apachefriends.org/index.html

 

The following video is from a PHP tutorial series, but this particular video is regarding installing XAMPP and using phpmyadmin to administrate your database on your PC.

 

http://thenewboston.org/watch.php_cat=11&number=3

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

Originally Posted by IBA_DR_DEATH*:

 

maybe im having a brain fart. yes im running procon from home,all plugins working fine except chat logger. when you put your info in Server details (host,port,data base,user name,pw) we are talking about SQl? which i put all info in but it wont connect so i asked my provider (web host) to see if i had my info correct.

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

Originally Posted by ty_ger07*:

 

maybe im having a brain fart. yes im running procon from home,all plugins working fine except chat logger. when you put your info in Server details (host,port,data base,user name,pw) we are talking about SQl? which i put all info in but it wont connect so i asked my provider (web host) to see if i had my info correct.

Is there a reason why you would like your database to be running on the remote web server host instead of your own computer? As I said, you could create a database on your own computer and use that for this plugin which would be much better for performance reasons.

 

Reasons to run database on your own computer:

1) Better plugin performance, reduced plugin lag, reduced plugin errors

2) No reliance on 3rd party web server and possible cost reductions

 

Reasons to run database on web server:

1) Easier to display database contents on the web if you would like to also use web statistics for online users to see stats in other places instead of just inside your game server

2) More secure to have database hosted somewhere other than your computer if you are using the database to provide data to online users (online web stats would be connecting to your computer if your computer was used as database host)

 

 

If you decide that you do want the database to be running on a 3rd party web server, perform these actions:

1) Make sure your web server provider's network address is added to your PRoCon's trusted host list. You will also need to make sure PRoCon plugin sandbox is disabled (and close and re-open PRoCon after doing this).

2) (this step may be optional depending on if your web server provider requires specific client addresses connecting to their database to be whitelisted or if they allow all anonymous external traffic to connect to their database as long as such traffic has the correct username, database name, address name, and password) Provide your computer's network address to your web host so that they can add your address as a safe client to connect to their database. This step of course assumes that you have a fixed IP address, your ISP has approved you to use your internet connection in this way, and your home's network is set up to allow this necessary network traffic between your computer and your web service host.

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

Originally Posted by IBA_DR_DEATH*:

 

thanks ty_ger07,

 

you have been a lot of help and i have XAMPP up and running stats work like a charm now. should of done this from the start

 

Reasons to run database on your own computer:

1) Better plugin performance, reduced plugin lag, reduced plugin errors

2) No reliance on 3rd party web server and possible cost reductions

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

Originally Posted by ty_ger07*:

 

thanks ty_ger07,

 

you have been a lot of help and i have XAMPP up and running stats work like a charm now. should of done this from the start

I am glad you were able to understand what I said and that you got it working.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by staazvaind*:

 

any plans on auto-prune settings ?

 

in 2 month our db got already over 32000 unique players and got really

slow. i already had to disable the chatlog and delete the entries to make

it at least work somehow.

 

something like:

lastseen = 1month -> erase player+stats

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

Originally Posted by Dreddy*:

 

Hi everybody :ohmy:

 

I just installed this plugin for my BC2 server and maybe I'm missing someting but I can't record playerstats, except tbl_chatlog, tbl-games, tbl_currentplayers and tbl_server. I checked the previous advise on the forum for this plugin, but can't find any clue :/

 

here are my settings :

enable chatlogging : yes

log serverspam : no

instant logging of chat messages : no

enable chat log filter : no

map stats on : yes

Enable statslogging : yes

enable weaponstats : yes

ranking by score : yes

enable ingame commands : yes

overall ranking : no

server group : 0

send stats to all players : yes

kdr correction : yes

enable livescore in DB : yes

log player data only : no

table suffix : empty

 

thanks for your help

Dreddy

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

Originally Posted by ty_ger07*:

 

Hi everybody :ohmy:

 

I just installed this plugin for my BC2 server and maybe I'm missing someting but I can't record playerstats, except tbl_chatlog, tbl-games, tbl_currentplayers and tbl_server. I checked the previous advise on the forum for this plugin, but can't find any clue :/

 

here are my settings :

enable chatlogging : yes

log serverspam : no

instant logging of chat messages : no

enable chat log filter : no

map stats on : yes

Enable statslogging : yes

enable weaponstats : yes

ranking by score : yes

enable ingame commands : yes

overall ranking : no

server group : 0

send stats to all players : yes

kdr correction : yes

enable livescore in DB : yes

log player data only : no

table suffix : empty

 

thanks for your help

Dreddy

Have you tried disabling and re-enabling the plugin or tried restarting the layer server. Sometimes settings changes don't work until the plugin is restarted.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dreddy*:

 

yes, I already tried on/off (no layer restart because ProCon is running on my own PC), restart ProCon, and it doens'nt change anything. It acts like if "log player data only" was set to : "yes" :/

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

Originally Posted by Indigo82*:

 

I got ingame the Message:

 

No Stats are available yet! Please wait one Round! On the Webpage it works but only the Liveview if i search for a Player he says:

 

No unique player data found for "Indigo1982" in this server.

 

Can someone help me?

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

Originally Posted by Prophet731*:

 

any plans on auto-prune settings ?

 

in 2 month our db got already over 32000 unique players and got really

slow. i already had to disable the chatlog and delete the entries to make

it at least work somehow.

 

something like:

lastseen = 1month -> erase player+stats

If your database got slow then something isn't configured correctly. Our database is over 3.2 GB big and we don't have really any performance problems. We also have over 1 million unique players across battlefield 3 and battlefield 4. Chatlog alone is over 10 million entries and that includes the server spam.

 

15015c7b260bcc9aba092be1d719c7b1.png

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

Originally Posted by XpKiller*:

 

XpKiller,

 

I have another issue.

Now that i have a working query for the session data i have noticed that the data of the sessions is different then the overall ranking.

 

My logs are started the 1th of this month. So my guess is that the rank score of my first player would be equal with the sum of he's session scores.

This is not the case. The session score is allmost double of his ranking score. It's the same with all other players.

 

Here the query's i use

 

Top 30 stats

 

 

 

result:

 

 

 

sessions query:

 

 

 

result: (first 30 lines)

 

 

 

Am i doing something wrong or is the session data incorrect?

 

Greetings

Hi,

 

looks like a bug.

sorry for the late response. I'm a bit short with time the last months

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