Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

Check this plugin's settings.

 

Use these values:

"Enable Statslogging_" : Yes

"Enable Weaponstats_" : Yes

"Enable Livescoreboard in DB_" : Yes

"tableSuffix" : None (empty)

"MapStats ON_" : Yes

"Session ON_" : Yes

"Save Sessiondata to DB_" : Yes

"Log playerdata only (no playerstats)_" : No

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

Originally Posted by PaViTrA14*:

 

Hello, This plugins was working fully when the MySQL and the layer was hosted in the same machine!

i bought a Web-space from interserver.net and hosted the MySQL databases their and added the remote ip of my vps(centos) in which the layers are hosted to the allow remote connections tab in cPanel.

 

But when i now run the plugin in Layer, Stats are not updated and i m receiving the following error!

Code:

[Statslogger]Error: SQLQuery:System.ArgumentException: SourceTable is required to be a non-empty string
Parameter name: sourceTable
at System.Data.Common.DataTableMappingCollection.GetT ableMappingBySchemaAction (System.Data.Common.DataTableMappingCollection tableMappings, System.String sourceTable, System.String dataSetTable, MissingMappingAction mappingAction) [0x00000] in <filename unknown>:0 
at System.Data.Common.DataAdapter.SetupSchema (SchemaType schemaType, System.String sourceTableName) [0x00000] in <filename unknown>:0 
at System.Data.Common.DataAdapter.FillInternal (System.Data.DataTable dataTable, IDataReader dataReader) [0x00000] in <filename unknown>:0 
at System.Data.Common.DataAdapter.Fill (System.Data.DataTable dataTable, IDataReader dataReader) [0x00000] in <filename unknown>:0 
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable dataTable, IDbCommand command, CommandBehavior behavior) [0x00000] in <filename unknown>:0 
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable dataTable) [0x00000] in <filename unknown>:0 
at (wrapper remoting-invoke-with-check) System.Data.Common.DbDataAdapter:Fill (System.Data.DataTable)
at PRoConEvents.CChatGUIDStatsLogger.SQLquery (MySql.Data.MySqlClient.MySqlCommand selectQuery) [0x00000] in <filename unknown>:0
How do i Fix this?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

How can I add a second server to this?

 

 

can I run both servers off one database is it only a matter of "Server Group" number ?

You don't need to do anything different, use the same database. I'd suggest using the same server group number too.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by iraqiboy90*:

 

From the BF3.def:

Line 69: procon.protected.weapons.add None "Knife_RazorBlade" Secondary Melee

Line 91: procon.protected.weapons.add None "Melee" Secondary Melee

Line 127: procon.protected.weapons.add None "Weapons/Knife/Knife" Secondary Melee

From the keywordlist:

Weapons/Knife/Knife{KNIFE,MELEE}

From the DB:

(46, 1, 'Knife_RazorBlade', 'Knife_RazorBlade', 'melee', 'Secondary', 'None'),

(47, 1, 'Melee', 'Melee', 'melee', 'Secondary', 'None'),

(49, 1, 'Knife', 'Weapons/Knife/Knife', 'melee', 'Secondary', 'None'),

1. Is the keywordlist missing?

2. What's the different between the three types of knife/melee?

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

Originally Posted by garbitos*:

 

2. What's the different between the three types of knife/melee?

1st is the Kill Animation(s) event with the 'Premium Knife' box-cutter-thing which replaces the 'Tactical Knife' when you buy premium and you can NOT switch back! haha trolls!

 

2nd is what happens when you kill someone by just hitting/stabbing/swiping them with the knife weapon.

 

3rd is the Kill Animation(s) event with the regular 'Tactical Knife'.

 

I can't answer your first question however. I'm looking for a full keywordslist as well with weapons from all DLC/expansion packs w/ XBOW etc. myself.

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

Originally Posted by Spy-Solder*:

 

Whats a problem:

 

[15:58:53 83] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Reading from the stream has failed. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

[15:58:56 85] Error in Tablebuilder:

[15:58:56 85] Message: Reading from the stream has failed.

[15:58:56 85] Native: -2147467259

[15:58:56 85] Source: MySql.Data

[15:58:56 85] StackTrace: at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[15:58:56 85] InnerException: System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

[15:58:56 85] 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 ColColonCleaner*:

 

1st is the Kill Animation(s) event with the 'Premium Knife' box-cutter-thing which replaces the 'Tactical Knife' when you buy premium and you can NOT switch back! haha trolls!

 

2nd is what happens when you kill someone by just hitting/stabbing/swiping them with the knife weapon.

 

3rd is the Kill Animation(s) event with the regular 'Tactical Knife'.

 

I can't answer your first question however. I'm looking for a full keywordslist as well with weapons from all DLC/expansion packs w/ XBOW etc. myself.

You mean like this thread we made? It's pinned in the plugin enhancement section :P

 

The link there is fed with live weapon codes from all servers running the AdKats plugin, which is currently around 1200 servers.

 

showthread....s-BF3-BF4-BFHL*

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

Originally Posted by ColColonCleaner*:

 

Whats a problem:

 

[15:58:53 83] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Reading from the stream has failed. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

[15:58:56 85] Error in Tablebuilder:

[15:58:56 85] Message: Reading from the stream has failed.

[15:58:56 85] Native: -2147467259

[15:58:56 85] Source: MySql.Data

[15:58:56 85] StackTrace: at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[15:58:56 85] InnerException: System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

[15:58:56 85] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

Are you seeing this constantly or was it a 1-off error?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by EBassie*:

 

Whats a problem:

 

[15:58:53 83] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Reading from the stream has failed. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

[15:58:56 85] Error in Tablebuilder:

[15:58:56 85] Message: Reading from the stream has failed.

[15:58:56 85] Native: -2147467259

[15:58:56 85] Source: MySql.Data

[15:58:56 85] StackTrace: at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[15:58:56 85] InnerException: System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

[15:58:56 85] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

I see an error with Tablebuilder .

Is this a fresh installation? If so, does your database user have the rights to add tables?

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

Originally Posted by Spy-Solder*:

 

i see this always time, after I have the data to connect to the database and included a plug-in Procon.

 

I see an error with Tablebuilder .

Is this a fresh installation? If so, does your database user have the rights to add tables?

My user have permissions to creat table.

 

I rent MySQL from branzone

table.png

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

Originally Posted by Spy-Solder*:

 

Now i have connect ti DB, but have errors

 

[11:11:57 77] [statslogger]Error: SQLQuery:

[11:11:57 77] Message: Reading from the stream has failed.

[11:11:57 78] Native: -2147467259

[11:11:57 78] Source: MySql.Data

[11:11:57 78] StackTrace: at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection, ConnectionState& originalState)

at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

at PRoConEvents.CChatGUIDStatsLogger.SQLquery(MySqlCo mmand selectQuery)

[11:11:57 78] InnerException: System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

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

Originally Posted by ColColonCleaner*:

 

Now i have connect ti DB, but have errors

 

[11:11:57 77] [statslogger]Error: SQLQuery:

[11:11:57 77] Message: Reading from the stream has failed.

[11:11:57 78] Native: -2147467259

[11:11:57 78] Source: MySql.Data

[11:11:57 78] StackTrace: at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

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.MySqlConnection.Open()

at System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection, ConnectionState& originalState)

at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

at PRoConEvents.CChatGUIDStatsLogger.SQLquery(MySqlCo mmand selectQuery)

[11:11:57 78] InnerException: System.IO.EndOfStreamException: Attempted to read past the end of the stream.

at MySql.Data.MySqlClient.MySqlStream.ReadFully(Strea m stream, Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.MySqlStream.LoadPacket()

Continuing our PM, send me your DB credentials and i'll look for the problem tonight.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by rul3zz*:

 

i have turn off the plugin,the drop all tables and start plugin..after the end of the round again this error..

 

this is the situation of the database:

 

Posted Image

i have try enabling all this settings but nothing..

Posted Image

 

Posted Image

 

Posted Image

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

Originally Posted by Prophet731*:

 

It's failing because no server exists in the tbl_server table. Disable the the plugin for all your layers, drop all tables that start with tbl? then enable the plugin on 1 of your layers and just wait. Monitor the DB to make sure that server you enabled the plugin on got inserted into the tbl_server table. Do not manually add them. If your server got inserted into that table then you can enable the plugin on your remaining layers.

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

Originally Posted by rul3zz*:

 

It's failing because no server exists in the tbl_server table. Disable the the plugin for all your layers, drop all tables that start with tbl? then enable the plugin on 1 of your layers and just wait. Monitor the DB to make sure that server you enabled the plugin on got inserted into the tbl_server table. Do not manually add them. If your server got inserted into that table then you can enable the plugin on your remaining layers.

i'm using only one layer for this..

I have try dropping the tables and restarting the plugin but after the end of the match i still get this error and this empty tables..

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

Originally Posted by elmopio*:

 

i'm using only one layer for this..

I have try dropping the tables and restarting the plugin but after the end of the match i still get this error and this empty tables..

Just throwing this out there. Are you sure your db name is right? Even for the same box?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by rul3zz*:

 

Just throwing this out there. Are you sure your db name is right? Even for the same box?

yes because wen i start the plugin,it populate the database of all tables
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by naurel*:

 

Does it work if the server is not ranked ? I cannot manage to get it work in private server :S

Going to try again, I don't know if it's about my settings or not but I just want to know if this plugin works on non-ranked server.

 

We have some events once every 2 months with others teams, and we would like to provide more stats (since there is no battlereport) for players.

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

Originally Posted by butterfinger*:

 

Hey guys, how are you?

Im having a huge problem... The plug-in is not showing in my Procon.

 

I place it in the correct folder in the FTP and nothing... (and restarted the procon).

 

Can you help me?

 

Thanks!

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

Originally Posted by ColColonCleaner*:

 

Hey guys, how are you?

Im having a huge problem... The plug-in is not showing in my Procon.

 

I place it in the correct folder in the FTP and nothing... (and restarted the procon).

 

Can you help me?

 

Thanks!

There is a folder tree you need to drop in, not just the one plugin file.

 

In the zip file you get there is a plugins folder, in your procon root directory paste that entire folder in there so it merges with the existing one. If it says it's going to overwrite anything, let it do the overwrite.

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

Originally Posted by ty_ger07*:

 

I wonder when we will evolve to the point that directory structure doesn't have to be explained over and over again. The files in the zip archive are in different directories ... just the same way they should be when uploaded to the layer server.

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