Jump to content

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


ImportBot

Recommended Posts

Originally Posted by Basert*:

 

got a problem with this plugin.

I correctly inserted the hostname for the mysql database but I get the Error :

 

Code:

ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '85.93.2.145 (10061)
bei System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
and so on.

 

And if the game round ends procon crashes because of that plugin. Does anyone know what to do?

* 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 XpKiller*:

 

The plugin is not able to connect to the mysql server.

Check if the odbcdriver is properly installed,

if the port and ip address of the mysqlserver is right,

Password and user ist right and you firewall is configued properly.

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

Originally Posted by EBassie*:

 

For some reason I get this error once every few hours:

Code:

[21:34:25] Error in SQLQuery: 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(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Odbc.OdbcCommand.ExecuteReader()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[21:34:25] 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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)
[21:34:25] 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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)
[21:34:25] 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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)
[21:34:25] Error in SQLQuery: 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(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Odbc.OdbcCommand.ExecuteReader()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[21:34:25] 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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   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

Originally Posted by Panther*:

 

Hallo XP,

 

since 3.0.0.1 The points are not counted correctly.

 

I made a new Database to check and here is the result:

No Errors in debug mode.

 

Here is the new Database where you can see that some players didn't get any points:

http://178.77.65.206/hp/index.php_optio ... &Itemid=68

 

This database was made with the new 3.0.0.5 plugin.

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

Originally Posted by EBassie*:

 

since 3.0.0.1 The points are not counted correctly.

Hey Panther,

 

I reported the same problem last week: viewtopic.php_f=18&t=694&start=420#p11511*

XP say's he can't find no bug. But somehow it got fixed for me since 3.0.0.4.

 

I started to use sessions since 3.0.0.4 and i changed the database:

 

Code:

ALTER TABLE tbl_playerstats ENGINE = MyISAM ;
ALTER TABLE tbl_playerstats CHANGE COLUMN `playerScore` `playerScore` INT(10) NOT NULL DEFAULT '0'  ;
ALTER TABLE tbl_playerstats ENGINE = InnoDB ;
Maybe it helps you too.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

since 3.0.0.1 The points are not counted correctly.

Hey Panther,

 

I reported the same problem last week: viewtopic.php_f=18&t=694&start=420#p11511*

XP say's he can't find no bug. But somehow it got fixed for me since 3.0.0.4.

 

I started to use sessions since 3.0.0.4 and i changed the database:

 

Code:

ALTER TABLE tbl_playerstats ENGINE = MyISAM ;
ALTER TABLE tbl_playerstats CHANGE COLUMN `playerScore` `playerScore` INT(10) NOT NULL DEFAULT '0'  ;
ALTER TABLE tbl_playerstats ENGINE = InnoDB ;
Maybe it helps you too.
Hey,

thanks for that. Gonna test it out. You use sessions? How do you mean with that?

Gonna change the table too and check if it will help, thanks.

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

Originally Posted by EBassie*:

 

You use sessions? How do you mean with that?

@session is a new stats recording option introduced in 2.0.6.4.

I never used it until 3.0.0.4. as I was trying to fix the score's. Dunno if this helps, but somehow my scores are OK. :smile:

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

Originally Posted by Panther*:

 

Hey,

first round went well, with turning Session ON on Yes.

 

I am getting some Errors i was not realy concered about them, but now i see, that the second round didn't got recorded due to that error message.

The error message is this:

Code:

[13:22:12 62] Error: System.Data.Odbc.OdbcException: ERROR [42S22] [MySQL][ODBC 5.1 Driver][mysqld-5.0.45-community-nt]Unknown column 'MG3K_deaths' in 'field list'
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior 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 Panther*:

 

Hey,

first round went well, with turning Session ON on Yes.

 

I am getting some Errors i was not realy concered about them, but now i see, that the second round didn't got recorded due to that error message.

The error message is this:

Code:

[13:22:12 62] Error: System.Data.Odbc.OdbcException: ERROR [42S22] [MySQL][ODBC 5.1 Driver][mysqld-5.0.45-community-nt]Unknown column 'MG3K_deaths' in 'field list'
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
   at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()
found the solution for the error a couple of pages before.

Killa, i have installed a new table and the new specact weapons are not in the list if you install 3.0.0.4 new.

LG

 

 

EDIT:

After turning session On to YES it looks like everything is recorded fine now. 2 Rounds all of em recoreded as they should

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

Originally Posted by XpKiller*:

 

Is PROCON issue its overwrite the new keyword list with the old one .

You must delete the related line in your config first or add the weapons manually and then let the tablebuilder build tthe table.

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

Originally Posted by Panther*:

 

Is PROCON issue its overwrite the new keyword list with the old one .

You must delete the related line in your config first or add the weapons manually and then let the tablebuilder build tthe table.

Ah ok, i added the weapons manually. It should be fine now.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

any plans on releasing a more detailed version of webstatstats?

Yeah, planning it for about, well, since those details can be logged... but i do not find enough time and motivation to do :-( sorry

My aim is to to something like:

http://css.blood-boys.de/hlstats.php_mo ... &player=24

 

Maybe sometimes... in a country far far away :ohmy:

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

Originally Posted by stepper*:

 

Hey hey :smile:

 

Just can´t get it to work.

 

Have tryed many things and confirmed the pass word and still it will not connect

 

Do you now what i am doing wrong ?

 

Code:

[13:15:42 27] Index #0
[13:15:42 31] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:15:42 31] Native: 2003
[13:15:42 32] Source: 
[13:15:42 33] SQL: HY000
[13:15:42 33] Index #1
[13:15:42 34] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:15:42 34] Native: 2003
[13:15:42 35] Source: 
[13:15:42 36] SQL: HY000
[13:16:03 52] Index #0
[13:16:03 54] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:16:03 54] Native: 2003
[13:16:03 56] Source: 
[13:16:03 57] SQL: HY000
[13:16:03 57] Index #1
[13:16:03 58] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:16:03 59] Native: 2003
[13:16:03 59] Source: 
[13:16:03 60] SQL: HY000
[13:16:24 91] Index #0
[13:16:24 92] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:16:24 93] Native: 2003
[13:16:24 94] Source: 
[13:16:24 95] SQL: HY000
[13:16:24 96] Index #1
[13:16:24 96] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:16:24 97] Native: 2003
[13:16:24 98] Source: 
[13:16:24 99] SQL: HY000
[13:16:46 07] Index #0
[13:16:46 08] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:16:46 08] Native: 2003
[13:16:46 09] Source: 
[13:16:46 10] SQL: HY000
[13:16:46 11] Index #1
[13:16:46 12] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '212.97.133.210' (10060)
[13:16:46 13] Native: 2003
[13:16:46 14] Source: 
[13:16:46 14] SQL: HY000
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by stepper*:

 

The IP and Port is 100% right :smile:

Have check and doublet check it. and tryed the Adresse that surftown use also.

 

And in Tools --> Options --> Plugins --> i have set in 3 addresses just to be sure.

 

The https my php admin site and the IP and the alternative addresses that surtown provides that my site fi. use

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

Originally Posted by QUACK-Major-Pain*:

 

Not sure you get what I meant.

Maybe you do and I misunderstand your reply.

 

 

If your procon and database are NOT on the same server:

 

What is the IP where your Procon is hosted?

(If on your CP, then it's your IP - If it is hosted, then the IP of your host)

 

Then in the cPanel of where your database is, you need to add that IP to the Remote Sql to give Procon permission to communicate with your database.

 

 

If they are both on the same server, no permissions needed.

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

Originally Posted by executoronline*:

 

Hi

 

One little Bug, the entries

 

M16K_kills M16K_hs M16K_deaths UMPK_kills UMPK_hs UMPK_deaths MG3K_kills MG3K_hs MG3K_deaths M95K_kills M95K_hs M95K_deaths

 

are missing in the Table "tbl_weaponstats". Without them it can happen that he didn't save the stats. This entries are from the new "Battlefield Bad Company 2: SPECACT Kit Upgrade"

 

eXe

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

Originally Posted by MorpheusX(AUT)*:

 

Have you given remote sql permissions?

Remote ?

Dont now what you mean with that

Remote Access = access from another computer (not the one the mysql-Server is running on).

This should give you some rough information on mySQL-Remote Access, although you don't need the iptables-part on a windows-Server...

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

Originally Posted by EBassie*:

 

I just saw there were 20 duplicate players in the database. The duplicates were recorded at least until december 10.

 

Don't know if the bug exists in latest version, but I will let you know :smile:

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

Originally Posted by EBassie*:

 

The bug with duplicate player records is still present in latest version (3.0.0.6).

I don't know for sure, but I think it has something to do with these error-messages:

 

Code:

[15:44:11 08] Error in SQLQuery: 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(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Odbc.OdbcCommand.ExecuteReader()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[15:44:11 12] 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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)
[15:44:11 22] Error in SQLQuery: 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(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Odbc.OdbcCommand.ExecuteReader()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[15:44:11 23] 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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   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

Originally Posted by XpKiller*:

 

Duplicates are not possible by default because of the the unique index.

so the unique index must be missing in the tbl_playerdata.

Pls check this.

I look at my table too, the unique index was missing there too. So there must be a misstake in my conversion script. :shock:

 

To repair the database delete the rows where the playerID = StatsID = WeaponstatsID and in tbl_dogtags KillerID and VictimID of all duplicates then create the new unique index

 

For delete a index:

Code:

DROP INDEX indexname ON tbl_playerdata;
to create the correct index:

Code:

CREATE UNIQUE INDEX SoldierNameGuid ON tbl_playerdata (SoldierName, GUID);
and a query to find duplicates:sad:takes some time coz its a hard query)

Code:

SELECT * FROM tbl_playerdata 
WHERE (SoldierName,Guid) IN (SELECT SoldierName,Guid
   FROM tbl_playerdata
   GROUP BY SoldierName,Guid
   HAVING COUNT(*)>1);
[/code]
* 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.