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.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • 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.