Jump to content

Chat, GUID, Stats and Mapstats Logger[3.0.2.2] 01.02.


ImportBot

Recommended Posts

Originally Posted by Legate*:

 

[19:16:54 15] Error in Startstreaming:

[19:16:54 15] Index #0

[19:16:54 17] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Out of range value for column 'playerPlaytime' at row 1

[19:16:54 17] Native: 1264

[19:16:54 17] Source: myodbc5.dll

[19:16:54 18] SQL: HY000

 

It possible that this message appear once a player have more than 1000 hs on server?

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

Top Posters In This Topic

  • ImportBot

    838

Originally Posted by HelloKitty*:

 

I have Problem.

Since a few weeks, Procon crashed more and more often. After a long search for the reason. It turned out, that it is a problem with the external sql-server. The host of my sql-server seems not to be the fastest. my database has about 76000 players. When I stream Procon to a new database at the same sql-server, there are no errors.

 

So I want to delete all those players, that have not been seen for more than 3 months. I think that should easily be down threw phpmyadmin and a set of sqlcode - but I'm a noob on that and very afraid of "try 'n error". Those primary key relations realy scare me ...

 

..can someone help me with a clean shrink without inconsistencies?

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

Originally Posted by XpKiller*:

 

i could write you a sql Command which delete the old entrys, but at least the dogtagstats would become inconsistent.

 

@Legate

this error has nothing to do with the number of headshots a player has. The column can store values up to 4294967295.

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

Originally Posted by noobsrus*:

 

still getting errors with ODBC 5.1 Driver bit of a noob with this lol we have 10000 players in our database but dont want to start again with new database

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

Originally Posted by XpKiller*:

 

still getting errors with ODBC 5.1 Driver bit of a noob with this lol we have 10000 players in our database but dont want to start again with new database

You dont have a Problem with the DB. You have a ODBC Driver issue on the machine on which procon is running. So reinstall the ODBC Driver and double check your connection parameter (user, password,...).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by noobsrus*:

 

You dont have a Problem with the DB. You have a ODBC Driver issue on the machine on which procon is running. So reinstall the ODBC Driver and double check your connection parameter (user, password,...).

so reinstall ODBC driver onto the procon machine that hosts our procon servers ?

where do i get the driver ?

 

thankyou

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

Originally Posted by HelloKitty*:

 

i could write you a sql Command which delete the old entrys, but at least the dogtagstats would become inconsistent.

oh please, please please .... I can go without dogtags. Guess this table will start at Zero then.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Legate*:

 

@Legate

this error has nothing to do with the number of headshots a player has. The column can store values up to 4294967295.

Ahh ok but do you have any idea about the message?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

oh please, please please .... I can go without dogtags. Guess this table will start at Zero then.

Code:
START TRANSACTION;
use your_DB_here;

#DELETE FROM Dogtagstable
DELETE FROM tbl_dogtags 
WHERE VictimID IN 
(SELECT StatsID FROM tbl_playerstats 
WHERE LastSeenOnServer < date_add(current_date, interval -3 month))
OR
KillerID IN 
(SELECT StatsID FROM tbl_playerstats 
WHERE LastSeenOnServer < date_add(current_date, interval -3 month));

#DELETE FROM weaponstats
DELETE FROM tbl_weaponstats
WHERE WeaponStatsID IN 
(SELECT StatsID FROM tbl_playerstats 
WHERE LastSeenOnServer < date_add(current_date, interval -3 month));

#DELETE FROM playerdata
DELETE FROM tbl_playerdata
WHERE PlayerID IN 
(SELECT StatsID FROM tbl_playerstats 
WHERE LastSeenOnServer < date_add(current_date, interval -3 month));

#DELETE FROM bfbcs
DELETE FROM tbl_bfbcs
WHERE bfbcsID IN 
(SELECT StatsID FROM tbl_playerstats 
WHERE LastSeenOnServer < date_add(current_date, interval -3 month));

#DELETE FROM playerstats
DELETE FROM tbl_playerstats
WHERE LastSeenOnServer < date_add(current_date, interval -3 month);

COMMIT;
IMPORTANT this is for BFBC2 only not for Vietnam if you have table suffixes you need to add them.

Make a backup be commit this to your database.

If you give list of your table name i could adjust the query to your needs.

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

Originally Posted by Legate*:

 

I'm sorry XpKiller but I tried with a new ODBC driver and still I find this message:

 

[17:01:10 12] Error in Startstreaming:

[17:01:10 14] Index #0

[17:01:10 14] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Out of range value for column 'playerPlaytime' at row 1

[17:01:10 14] Native: 1264

[17:01:10 15] Source: myodbc5.dll

[17:01:10 15] SQL: HY000

 

I don't known what is the problem...

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

Originally Posted by XpKiller*:

 

I'm sorry XpKiller but I tried with a new ODBC driver and still I find this message:

 

[17:01:10 12] Error in Startstreaming:

[17:01:10 14] Index #0

[17:01:10 14] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Out of range value for column 'playerPlaytime' at row 1

[17:01:10 14] Native: 1264

[17:01:10 15] Source: myodbc5.dll

[17:01:10 15] SQL: HY000

 

I don't known what is the problem...

Could you post a screenshot of the table definition of tbl_playerstats?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Zaeed*:

 

Hey XP,

 

I've started to get the following recently.

 

[02:01:41 91] Message: [MySQL][ODBC 5.1 Driver]Lost connection to MySQL server at 'reading authorization packet', system error: 0

[02:01:41 91] Native: 2013

[02:01:41 91] Source:

[02:01:41 91] SQL: 08S01

I can successfully connect using the windows odbc tool. Thoughts?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

Hey XP,

 

I've started to get the following recently.

 

 

 

I can successfully connect using the windows odbc tool. Thoughts?

I only know thats this can happen if the mysql is overloaded.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by TONY-TOC*:

 

Im getting a weird problem I have 2 servers with both running this plugin. Everything is working the way its supposed to with the exception of the chat logging. On one server it works fine but on the other ( with same settings ) it does not. I am getting no errors. Any idea what I could try?

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

Originally Posted by Zaeed*:

 

Now I'm getting this..

 

[11:35:29 03] Error: System.InvalidOperationException: OdbcConnection does not support parallel transactions.

at System.Data.Odbc.OdbcConnection.Open_BeginTransact ion(IsolationLevel isolevel)

at System.Data.Odbc.OdbcConnectionOpen.BeginTransacti on(IsolationLevel isolevel)

at System.Data.Odbc.OdbcConnection.BeginTransaction(I solationLevel isolevel)

at System.Data.Odbc.OdbcConnection.BeginTransaction()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[11:44:32 03] Error in Startstreaming: System.NullReferenceException: Object reference not set to an instance of an object.

at System.Data.Odbc.OdbcDataReader.GetRowCount()

at System.Data.Odbc.OdbcDataReader.FirstResult()

at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader)

at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

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

Originally Posted by MorpheusX(AUT)*:

 

You will have to type the IP of the server your database is running on.

So if you have Procon installed on ServerA, and your databaseserver is running on ServerB, you will have to type the IP of ServerB.

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

Originally Posted by MorpheusX(AUT)*:

 

I suppose you mean this: http://www.bsntech.com/services-prov...e-hosting.html

Then you probably also have FTP access to the server (so you can edit your websites files).

Enter the IP of your website (if you have one there) or the FTP (if that connects to the mysql-server too).

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

Originally Posted by Zaeed*:

 

I keep getting exceptions..

 

[14:39:12 17] Error GetID: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)

at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()

at System.Collections.Generic.List`1.get_Item(Int32 index)

at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)

[14:39:12 90] Error in SQLQuery in Case 3: System.NullReferenceException: Object reference not set to an instance of an object.

at System.Data.Odbc.OdbcDataReader.GetRowCount()

at System.Data.Odbc.OdbcDataReader.FirstResult()

at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader)

at System.Data.Odbc.OdbcCommand.ExecuteReader(Command Behavior behavior)

at System.Data.Odbc.OdbcCommand.ExecuteReader()

at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)

[14:39:12 94] Error GetID: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)

at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()

at System.Collections.Generic.List`1.get_Item(Int32 index)

at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)

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