Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by SmackDown*:

 

I need some help and I have spent several hours searching, but haven't found an answer.

 

Due to hardware issues, my server provider had to move my server box. I now have a new server, but my problem is that I want to transfer the old servers database (players stats and rankings for that server) to the new server. The server provider was able to move my server so the it would stay in players favorites list so I want the same database for the new server.

 

If this is possible, what file should be moved. I am not sure which file should be moved. I am also currently using AdKats.

 

Can someone tell me which file(s) to move and where to move them too. Adkats had my old server ID number to be 1 and now its assigned the new server an id number of 7. (I included this info in case you need it.)

 

Is this possible and if so, How do I do it?

 

Thank you in advance for your help.

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

Originally Posted by wdfstryfe*:

 

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

[13:49:48 81] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

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

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

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

 

Seems that the plugin is causing procon to crash on a regular basis.

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

Originally Posted by wdfstryfe*:

 

[19:03:20 50] 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()

[19:03:20 52] 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 ty_ger07*:

 

I need some help and I have spent several hours searching, but haven't found an answer.

 

Due to hardware issues, my server provider had to move my server box. I now have a new server, but my problem is that I want to transfer the old servers database (players stats and rankings for that server) to the new server. The server provider was able to move my server so the it would stay in players favorites list so I want the same database for the new server.

 

If this is possible, what file should be moved. I am not sure which file should be moved. I am also currently using AdKats.

 

Can someone tell me which file(s) to move and where to move them too. Adkats had my old server ID number to be 1 and now its assigned the new server an id number of 7. (I included this info in case you need it.)

 

Is this possible and if so, How do I do it?

 

Thank you in advance for your help.

The database on the server needs to be transferred. It's not a file. The old database can be backed up (if it still exists) and "restored" on the new server. If this has already been done (it sounds like maybe it has), there is a trick to make the new server use the old serverid if the plugin is turned off and some values in the database are changed while the plugin is off.

 

If you respond explaining exactly where you are in this process, I can answer with further recommendations.

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

Originally Posted by SmackDown*:

 

The database on the server needs to be transferred. It's not a file. The old database can be backed up (if it still exists) and "restored" on the new server. If this has already been done (it sounds like maybe it has), there is a trick to make the new server use the old serverid if the plugin is turned off and some values in the database are changed while the plugin is off.

 

If you respond explaining exactly where you are in this process, I can answer with further recommendations.

I currently run four servers on one Procon Layer server. One of those four servers had to be moved to a new box because of hardware issues with Gameservers.

 

After they moved the old server to the new box, the new server is now starting all over with new stats such as Player rank, kills etc.. What I would like to do is move the old stats from the old server into the new one. I just cannot figure out how do it. When gameservers moved my box, they were able to keep the guild settings so that players would not lose our server on their Battlelog favorites list.

 

I am currently running Adkats are well in case you need that information.

 

So in basically, I still have the same database, but a new server has been created and I want to move the stats from the old server into the new server which is now creating its own stats. I have not move my database at all, I just created a new server box and want to move the data stats from the old server box to the new box.

 

I hope I have explained this well enough for you to help.

 

Thank you in advance for your help.

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

Originally Posted by ty_ger07*:

 

I currently run four servers on one Procon Layer server. One of those four servers had to be moved to a new box because of hardware issues with Gameservers.

 

After they moved the old server to the new box, the new server is now starting all over with new stats such as Player rank, kills etc.. What I would like to do is move the old stats from the old server into the new one. I just cannot figure out how do it. When gameservers moved my box, they were able to keep the guild settings so that players would not lose our server on their Battlelog favorites list.

 

I am currently running Adkats are well in case you need that information.

 

So in basically, I still have the same database, but a new server has been created and I want to move the stats from the old server into the new server which is now creating its own stats. I have not move my database at all, I just created a new server box and want to move the data stats from the old server box to the new box.

 

I hope I have explained this well enough for you to help.

 

Thank you in advance for your help.

The new server can still access the old database fine, correct? The new server is in the old database with a new server id and you want it to inherit the old server id to use the old stats, correct?

 

Do you have access to phpmyadmin to access the database and know how to use it? If you don't know how to access phpmyadmin, ask gameservers how to log into phpmyadmin. I can help you from that point.

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

Originally Posted by SmackDown*:

 

The new server can still access the old database fine, correct? The new server is in the old database with a new server id and you want it to inherit the old server id to use the old stats, correct?

 

Do you have access to phpmyadmin to access the database and know how to use it? If you don't know how to access phpmyadmin, ask gameservers how to log into phpmyadmin. I can help you from that point.

The new server can still access the old database fine, correct? YES!

 

 

The new server is in the old database with a new server id and you want it to inherit the old server id to use the old stats, correct? YES!

 

 

Do you have access to phpmyadmin to access the database and know how to use it? I can access it and have a little knowledge on how to use it. I also have a clan member who is our webmaster who can also help me. Both of us have tried to figure this out, but are unable to.

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

Originally Posted by ty_ger07*:

 

The new server can still access the old database fine, correct? YES!

 

 

The new server is in the old database with a new server id and you want it to inherit the old server id to use the old stats, correct? YES!

 

 

Do you have access to phpmyadmin to access the database and know how to use it? I can access it and have a little knowledge on how to use it. I also have a clan member who is our webmaster who can also help me. Both of us have tried to figure this out, but are unable to.

If you haven't done so already, you should create a backup of the database. This will either by an option GameServers provides you with, or you can do an export from within phpMyAdmin.

 

If you make a mistake during the following procedure, you could permanently delete data by accident.

 

1) Stop the plugin.

2) Stop the layer server.

3) Log into phpmyadmin.

4) View tbl_server in phpmyadmin.

tbl_server.jpg

 

5) Write down the IP_Address of the new server on a piece of paper.

remember.jpg

 

6) Delete the new server row.

delete.jpg

 

7) Edit the old server and change the IP_Address to what your wrote down in step 5.

edit.jpg

 

8) Do not change the ServerID of the old server and do not Delete the old server row.

9) Start the layer server.

10) Start the plugin.

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

Originally Posted by HitchItch*:

 

Hi all,

I am new to SQL servers. I am pretty good with procon.

I am trying to setup a stats page for all player like this clan has http://um4d.us/index.php_ServerID=1

In the detail of this mode it tells me to :

Start Procon

Go to Tools --> Options --> Plugins --> Enter you databaseserver under outgoing Connections and allow all outgoing connections

Restart Procon

 

I cannot enter trusted host/doman and port. It is grayed out. I have plugin security set to: Run plugins with no restrictions

 

Can someone first help me with this, after If get that far Im sure I will have few more questions about host, port, etc. I do have a sql data created so the plugin can log the stats to it, just not sure how to properly setup.

 

Thanks

Hitch

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

Originally Posted by wdfstryfe*:

 

I'm trying to do an import of the old data from my old database. I started over with a new database due to various issues one being I couldn't get adkats script to work with the old database and I moved servers. What I want to do is move the user's data (ranks, points, weapon stats) from the old database over to the new database. I have access to both servers and mysql console and can run what ever query it would take to do this. Thanks!

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

Originally Posted by ty_ger07*:

 

I'm trying to do an import of the old data from my old database. I started over with a new database due to various issues one being I couldn't get adkats script to work with the old database and I moved servers. What I want to do is move the user's data (ranks, points, weapon stats) from the old database over to the new database. I have access to both servers and mysql console and can run what ever query it would take to do this. Thanks!

First step is to move the data over. Export from phpmyadmin in the old one. Then import in phpmyadmin to the new one. Make sure nothing else is using the database at that time (plugins disabled and such).

 

That's the first step.

 

Then look at this if you need help syncing the server to the old stats: myrcon.net/...chat-guid-stats-and-mapstats-logger#entry45736

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

Originally Posted by ty_ger07*:

 

You shoule replace all or none. It's too convoluted otherwise. You'll never get the player ids to match up with the correct stats ids if you try to merge them together. .... not without a lot of custom code to splice it together in small chunks and time at least.

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

Originally Posted by iraqiboy90*:

 

I'm getting wrong timezone timestamps on the chatlog. What could be the issue?

I tried restarting the procon service.

 

Example:

DB server clock 22:16

ProCon server clock 22:16

My local PC clock: 23:16

 

but the chatlog is 20:16

 

The adkats plugin is outputting correct timezone

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

Originally Posted by ty_ger07*:

 

I'm getting wrong timezone timestamps on the chatlog. What could be the issue?

I tried restarting the procon service.

 

Example:

DB server clock 22:16

ProCon server clock 22:16

My local PC clock: 23:16

 

but the chatlog is 20:16

 

The adkats plugin is outputting correct timezone

In this plugin's settings, what is the "Servertime Offset" set to?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

I'm getting wrong timezone timestamps on the chatlog. What could be the issue?

I tried restarting the procon service.

 

Example:

DB server clock 22:16

ProCon server clock 22:16

My local PC clock: 23:16

 

but the chatlog is 20:16

 

The adkats plugin is outputting correct timezone

An option:

 

A16: Orchestration Settings: Post Stat Logger Chat Manually

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

Originally Posted by MRniceGuy*:

 

my server is on i3d.net

i uploaded the plugin with ftp and its in the server plugins i also restart the layer and procon on my pc, but still this plugin dooesnt show up in plugins tab

any idea?

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

Originally Posted by ColColonCleaner*:

 

my server is on i3d.net

i uploaded the plugin with ftp and its in the server plugins i also restart the layer and procon on my pc, but still this plugin dooesnt show up in plugins tab

any idea?

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

Originally Posted by iraqiboy90*:

 

In this plugin's settings, what is the "Servertime Offset" set to?

Yes, I remember having this option available before, but I searched the plugin left and right yesterday night and I couldnt find it.

 

An option:

 

A16: Orchestration Settings: Post Stat Logger Chat Manually

Does this upload to the same table?

Do I need to stop the chatlogger feature on the Logger plugin?

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

Originally Posted by iraqiboy90*:

 

An option:

 

A16: Orchestration Settings: Post Stat Logger Chat Manually

A16: Orchestration Settings: Feed Sat Logger Settings

I think turning this setting off and on with the combination of restarting the Statlogger plugin fixed the issue.

 

p.s. I did not enable the manual chatlogger yet.

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

Originally Posted by MRniceGuy*:

 

Wrong game?

HI

sorry for not motion it, i wanted for bf4

i uploaded the plugin since yesterday whatever i was doing it didnt show up in plugins tab

but now i after i checked procon again its there :P

and a bunch of thanks for the great plugin :*

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

Originally Posted by ty_ger07*:

 

is there a way to quickly correct the chatlogs rows on DB that contains the wrong timestamps?

If you had a way of identifying which ones were wrong and which ones were right, sure. But you would need to know to adjust id #x through id #y.

 

Edit: example query:

 

Code:

UPDATE
    `tbl_chatlog`
SET
    `logDate` = CONCAT(SUBSTRING(`logDate`, 1, LENGTH(`logDate`) - 8), SUBSTRING(`logDate`, 12, LENGTH(`logDate`) - 17) + 2, SUBSTRING(`logDate`, 14, LENGTH(`logDate`)))
WHERE
    `ID` > 1
    AND `ID` < 2
Change "WHERE `ID` > 1 AND `ID` " to the chat ID # range you want to affect.

 

Change "`logDate` = CONCAT(SUBSTRING(`logDate`, 1, LENGTH(`logDate`) - 8), SUBSTRING(`logDate`, 12, LENGTH(`logDate`) - 17) + 2, SUBSTRING(`logDate`, 14, LENGTH(`logDate`)))" to the number of hours you want to add or subtract. Currently, it will add 2 hours. Bug Warning: adding 2 hours to 23 or 24 hours may do ... I am not sure what. ColCleaner will probably have better ideas of how to avoid this bug using SQL built in date function.

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

Originally Posted by MRniceGuy*:

 

Hi

sorry a newbie here its my first time making servers

do i need to create a DB from my website_!

what does it mean "Add the machine running the plugin to the remote mysql access host list."

do i just need to create a new db from my website and use them in this plugins ?

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

Originally Posted by ty_ger07*:

 

Yes, this plugin needs a database to store the data in.

You need to make sure that your database allows remote connections (a connection from outside of that server's local network) so that the procon plugin can access the database. Usually, databases don't allow remote connections for security reasons.

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