Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by MRniceGuy*:

 

Hi

the stats logger works fine but sometimes at the end of the round it shows this error at procon

[statslogger]Error: Error in Startstreaming:

[00:11:34 98] Message: Duplicate entry '1-EA_D8849ADAE6B7BBC4A5647A05C833FE16' for key 'UNIQUE_playerdata'

[00:11:34 98] Native: -2147467259

[00:11:34 98] Source: MySql.Data

[00:11:34 98] StackTrace: at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

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

Originally Posted by ty_ger07*:

 

Hi

the stats logger works fine but sometimes at the end of the round it shows this error at procon

I think that happens when players change their soldier names. The error message seems to indicate that XpKiller's plugin thinks it is a new player but then finds out that the EA GUID is already saved under a different player name. I don't know if the plugin recovers right away by changing the player's stored name to the new name, or if the stats for that round are lost until the player data is updated correctly.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

I think that happens when players change their soldier names. The error message seems to indicate that XpKiller's plugin thinks it is a new player but then finds out that the EA GUID is already saved under a different player name. I don't know if the plugin recovers right away by changing the player's stored name to the new name, or if the stats for that round are lost until the player data is updated correctly.

Thanks.

actually the player stats and everything else are getting updated i check round chat log at your stats webpage xD) also stats kills deaths they're all updated when it shows the error, anyways if its only for one player its okay

----

 

 

i saw another error today...

[04:32:01 20] [statslogger]Error: getUpdateServerID1: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

any idea about this one!?

Edit: again stats and everything else saved and updated when it shows this error

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

Originally Posted by DarkZerO_AT*:

 

Due to foreign key constraints, you have to export the database all in one huge piece and import it all in one huge piece. You cannot try to export and import individual missing tables by themselves. You need to find a way to export and import the whole thing without it timing out during the process. Sometimes the server host has an option somewhere in the server control panel to backup and restore databases and it you choose that option, it should be able to do it all in one step without timing out. Otherwise, you can contact your server host and ask for their support staff to export or import the entire database manually on the machine directly so that it completes in one step without timing out.

really?

god damnit

oh well in that case i need to do it in one piece

will that work with navicat lite too?

just the statslogger tables or everything else too? (adkats etc)

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

Originally Posted by www-battleplay4u-com*:

 

hi...we get errors with the statslogger

 

we have 2 GSPs.....and its only at one GSP...the other works fine as allways

i think its a time bug caused by the windoes machine where the gameserver runs...but do you have any further ideas?

 

Code:

[22:50:03 19] [Statslogger]Error: CreateSession: System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.AddTicks (Int64 value) [0x00000] in <filename unknown>:0 
  at System.DateTime.AddMilliseconds (Double value) [0x00000] in <filename unknown>:0 
  at System.DateTime.AddHours (Double value) [0x00000] in <filename unknown>:0 
  at PRoConEvents.CStats+myDateTime.get_Now () [0x00000] in <filename unknown>:0 
  at PRoConEvents.CStats..ctor (System.String guid, Int32 score, Int32 kills, Int32 headshots, Int32 deaths, Int32 suicides, Int32 teamkills, Int32 playtime, Double timeoffset, System.Collections.Generic.Dictionary`2 _weaponDic) [0x00000] in <filename unknown>:0 
  at PRoConEvents.CChatGUIDStatsLogger.CreateSession (System.String SoldierName, Int32 intScore, System.String EAGUID) [0x00000] in <filename unknown>:0 
[22:50:03 20] [Statslogger]Error: CreateSession: System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.AddTicks (Int64 value) [0x00000] in <filename unknown>:0 
  at System.DateTime.AddMilliseconds (Double value) [0x00000] in <filename unknown>:0 
  at System.DateTime.AddHours (Double value) [0x00000] in <filename unknown>:0 
  at PRoConEvents.CStats+myDateTime.get_Now () [0x00000] in <filename unknown>:0 
  at PRoConEvents.CStats..ctor (System.String guid, Int32 score, Int32 kills, Int32 headshots, Int32 deaths, Int32 suicides, Int32 teamkills, Int32 playtime, Double timeoffset, System.Collections.Generic.Dictionary`2 _weaponDic) [0x00000] in <filename unknown>:0 
  at PRoConEvents.CChatGUIDStatsLogger.CreateSession (System.String SoldierName, Int32 intScore, System.String EAGUID) [0x00000] in <filename unknown>:0
Update:

FIXED - Error did not occur after re-writing statslogger config file

that means if you copy that file from GSP 1 to GSP 2 this error can occur

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

Originally Posted by HARDCOREBF*:

 

hello can you help with this plz

we added new server . and we always user Mirged Tats for server

So in all servers stats ingame shows correctly (all mirged)

with new server its not , its looks like this. score and kills shows combined but not rank

f7cc431ca3acdad51083f225164f0223.png

 

everything else works good , leaderboard for ACpanel (adk) shows all mirged stats , same for stats page , top 20 players , all combined. I tryed reupload plugin , same result

 

6b4b4c5d0d8cc6e93bf1a2238743528e.png

 

Plz help

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

Originally Posted by MRniceGuy*:

 

Can i add another server to same db i use it for another server

i know it will wipe out everything and create new tables if you put same db info at another server for first time

 

but i'm just saying is it possible to use one db for 2 servers?

if yes please tell me exactly what i need to do

--

sorry this might be already answered but the pages are just to many and no way to brows all and read all of the comments

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

Originally Posted by MRniceGuy*:

 

^ yes you can have as many server as you want as i know we had 4 server same DB

Thank you to reply

right now i have a server +9000 player stats has been saved from last 3 weeks since i installed it

after i use a new db for both servers does it work to import my old db ! does every thing stats and stuff comes back?

also what about adkats! i also use adkats what well happen to first server adkats settings and users? i'm totally lost

please help XD

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

Originally Posted by HARDCOREBF*:

 

is 1st server gone or you keeping it ?

1. If 1st server gone , you simply create new connection in procon and all plugins and settings should and will be kept , to keep your stats still counting and showing , you need to enable in Logger option " merge stats " and set server group , let say your 1st server was 1,and 2nd now is 2 . so set Group servers #2 . this will show merged stats even if server is gone , tables still in DB

 

2. if you keeping your 1st server and deploying 2nd , you need to have 2nd procon and set up all plugins for it and set :merged stats : and set server group number

 

NOTE:: iam not in any mean developer or supported of this soft , i just go by my own experience ... but i think that how it works

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

Originally Posted by MRniceGuy*:

 

Yea i still have my first server its not gone, sorry for bad english hhhh

 

I got it thank you very much.

So what exactly merging 2 servers is good for if you know? im not sure if i merge them or just creating another fb for new server !

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

Originally Posted by DarkZerO_AT*:

 

first off, the stats will ALWAYS be seperate, even if you merge them, you can unmerge them at every time (afaik)

merging the stats only makes sense if you want it to be combined and if you got identical servers imho

you can always add a server to a DB without anything getting deleted (adding a new server will only create new tables for the added servers, it never deletes something)

btw BFadminCP shows only merged stats for some strange reason (we are having 4 servers)

if you want seperate stats on a webpage use the statslogger webpage from Ty_ger (which also has a button to show combined stats)

it looks like THIS on our page

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

Originally Posted by scarecr0w12*:

 

Hello, I'm trying to figure out a way to make the stats log only if there are 6 or more players in game, and possibly a way of giving the stats a timestamp so i can load stats accumulated during a specific time frame. Is this possible, or easily done?

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

Originally Posted by ty_ger07*:

 

Hello, I'm trying to figure out a way to make the stats log only if there are 6 or more players in game, and possibly a way of giving the stats a timestamp so i can load stats accumulated during a specific time frame. Is this possible, or easily done?

It's not possible with the plugin as it currently is.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

its for merging stats , when you 2nd server running its will show combined stats for all servers

okay so when i merge and deploy my second server on same database what about adkats!? i want to use adkats on my second server too, i dont want my both servers to be same adkats settings

what should i do with adkats!? anyone!

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

Originally Posted by HARDCOREBF*:

 

okay so when i merge and deploy my second server on same database what about adkats!? i want to use adkats on my second server too, i dont want my both servers to be same adkats settings

what should i do with adkats!? anyone!

2 server 2 separate procos, connected to 1 DB
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DarkZerO_AT*:

 

mmm sorry what! xD

if i set same db info for adkats on my second server

isn't settings goes to be the same? for both servers?

no, the settings on each server are stored seperate, you can import all the settings from the main server, but you dont have to
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

no, the settings on each server are stored seperate, you can import all the settings from the main server, but you dont have to

I dont get it :/ how can settings be stored separate when i just set the same db? i'm talking about adkats.

 

ok lets say i have a server name one' and i have installed stats logger and adkats on it

 

now i got another server named two' i want to install stats logger and adkats and merge it with server one' on same DB

so at server two on on stats logger plugin i check "Overall ranking(merged serverking)" to YES. and setting "Server group" to "2".

and now what about adkats what do i do with it? do i just set same database info on adkats plugin at server two! and settings gonna be separated!

--

help please a newbie here xD its my first time making servers

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

Originally Posted by Prophet731*:

 

btw BFadminCP shows only merged stats for some strange reason (we are having 4 servers)

I sum up the players stats manually from all servers. I'll make it to where its shows the top 10 for each server on the final version.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

I dont get it :/ how can settings be stored separate when i just set the same db? i'm talking about adkats.

 

ok lets say i have a server name one' and i have installed stats logger and adkats on it

 

now i got another server named two' i want to install stats logger and adkats and merge it with server one' on same DB

so at server two on on stats logger plugin i check "Overall ranking(merged serverking)" to YES. and setting "Server group" to "2".

and now what about adkats what do i do with it? do i just set same database info on adkats plugin at server two! and settings gonna be separated!

--

help please a newbie here xD its my first time making servers

What exactly are you trying to accomplish? Each server is unique in the way it stores its data from AdKats and the Stats logger. There is no collision with multiple servers on 1 database.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

What exactly are you trying to accomplish? Each server is unique in the way it stores its data from AdKats and the Stats logger. There is no collision with multiple servers on 1 database.

seriously! then how the hell do people install multiple stats logger with one db ? XD i mean they have multiple servers and using stats logger in one single database

i'm must be so wrong damn it xD

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

Originally Posted by ColColonCleaner*:

 

seriously! then how the hell do people install multiple stats logger with one db ? XD i mean they have multiple servers and using stats logger in one single database

i'm must be so wrong damn it xD

Stat logger and AdKats are designed for that...just use the same credentials to connect, same database, everything, the plugins will handle the rest.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

Stat logger and AdKats are designed for that...just use the same credentials to connect, same database, everything, the plugins will handle the rest.

ok,

i did that right now the stats logger works fine both server merged

but now adkats in both of my server have same settings :/

same server rule messages' same admins looks like everything is synced :/

i dont want my adkats settings to be the same on both of servers

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

Originally Posted by ColColonCleaner*:

 

ok,

i did that right now the stats logger works fine both server merged

but now adkats in both of my server have same settings :/

same server rule messages' same admins looks like everything is synced :/

i dont want my adkats settings to be the same on both of servers

Only users and commands sync, nothing else. We run 8 servers with different settings on all of them.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

I just checked and tested twice they both use same settings

like when you type !rules both have same rules' i also changed rules on both server it worked at first but i disabled adkats and enabled then again settings synced :/ ' looks like settings on my first servers comes to my second server if you disable and enable adkats

--

i already mentioned that i ONLY changed the db info to same of my first server, i just installed adkats plugin then used same db info as my first server. i did not run any script on database schema or any thing like my first time when i installed adkats on first server

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

Originally Posted by ColColonCleaner*:

 

I just checked and tested twice they both use same settings

like when you type !rules both have same rules' i also changed rules on both server it worked at first but i disabled adkats and enabled then again settings synced :/ ' looks like settings on my first servers comes to my second server

--

i already mentioned that i ONLY changed the db info to same of my first server, i just installed adkats plugin then used db info to same of my first server.

If this is an issue with AdKats, not stat logger, please post in that thread. Are the server IDs it displays in section 1 different?
* 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.