Jump to content

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


ImportBot

Recommended Posts

Originally Posted by XpKiller*:

 

Is you server R27? because the R26 doesnt send the gamemod command.

Please try to manualy switch to Vietnam than blue message should show in plugin Console.

Than switch back to BC2.

 

I will implement an option to disable weaponstats and an Option to share tables for both mods

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

 

When i change in procon plugin for example 'Ranking by score' from YES to NO, default gamemode switch automaticly from VIETNAM to BC2

 

And my stats site remain empty. In the database I see the player names but no scores

 

GrTz Red

Very strange this is not happing on my test server.

 

Found some bug provide a fix soon.

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

Originally Posted by CoreSyntax*:

 

Code:

[19:47:52 42] Index #0
[19:47:52 42] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.52-community]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') allrank, StatsID, b.playerScore, b.playerKills, b.playerDeaths, b.playerSuicid' at line 3
[19:47:52 42] Native: 1064
[19:47:52 42] Source: myodbc5.dll
[19:47:52 43] SQL: 42000
Code:
[19:50:54 72] Index #0
[19:50:54 72] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.52-community]Table 'mfc_bfbc2.tbl_playerstats_bfv' doesn't exist
[19:50:54 73] Native: 1146
[19:50:54 73] Source: myodbc5.dll
[19:50:54 74] SQL: 42S02
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by EBassie*:

 

Is you server R27? because the R26 doesnt send the gamemod command.

Please try to manualy switch to Vietnam than blue message should show in plugin Console.

Than switch back to BC2.

 

I will implement an option to disable weaponstats and an Option to share tables for both mods

Server is R27 according to Multiplay... but ProCon still shows R26... funny...

 

Thanks for the changes! you're a lifesaver.

:smile:

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

Originally Posted by HelloKitty*:

 

Think I found a missing weapon: "PBRV"

 

Code:

[08:02:58 56] OLP: roundstarted
[08:04:40 74] Start tablebuilder
[08:04:40 88] OdbcCon open
[08:04:41 11] Your Weapontable is containing all weapons known so far, if you got Error after this( missing Weapons) contact me pls
[08:04:41 15] Connection OdbcCon closed
[08:06:22 73] OdbcCon open
[08:06:22 78] Connection OdbcCon closed
[08:06:51 72] OdbcCon open
[08:06:51 77] Connection OdbcCon closed
[08:08:06 34] OdbcCon open
[08:08:06 39] Connection OdbcCon closed
...
...
...
[08:11:48 55] OdbcCon open
[08:11:48 60] Connection OdbcCon closed
[08:12:02 84] OnLoadingLevel: Levels/NAM_MP_005R Round: 1/1
[08:12:02 84] update sql server
...
...
...
OdbcConn open
[08:12:03 43] OdbcCon open
[08:12:03 46] Received ID from Database ID: 4669Added to cache
[08:12:03 49] Received ID from Database ID: 4614Added to cache
[08:12:03 56] Received ID from Database ID: 4706Added to cache
[08:12:03 63] Received ID from Database ID: 4719Added to cache
[08:12:03 69] Received ID from Database ID: 4712Added to cache
[08:12:03 72] Received ID from Database ID: 4709Added to cache
[08:12:03 76] Received ID from Database ID: 4708Added to cache
[08:12:03 79] Received ID from Database ID: 4718Added to cache
[08:12:03 83] Received ID from Database ID: 4689Added to cache
[08:12:03 86] Received ID from Database ID: 4549Added to cache
[08:12:03 89] Received ID from Database ID: 4716Added to cache
[08:12:04 05] Received ID from Database ID: 4634Added to cache
[08:12:04 08] Received ID from Database ID: 4682Added to cache
[08:12:04 12] Received ID from Database ID: 4683Added to cache
[08:12:04 15] Received ID from Database ID: 4615Added to cache
[08:12:04 21] Received ID from Database ID: 4710Added to cache
[08:12:04 25] Received ID from Database ID: 4657Added to cache
[08:12:04 28] Received ID from Database ID: 4721Added to cache
[08:12:04 35] Received ID from Database ID: 4385Added to cache
[08:12:04 41] Received ID from Database ID: 4695Added to cache
[08:12:04 44] Received ID from Database ID: 4635Added to cache
[08:12:04 48] Received ID from Database ID: 4701Added to cache
[08:12:04 51] Received ID from Database ID: 4691Added to cache
[08:12:04 61] Received ID from Database ID: 3766Added to cache
[08:12:04 78] Error in Startstreaming: 
[08:12:04 79] Index #0
[08:12:04 79] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.0.91-community]Unknown column 'PBRV_kills' in 'field list'
[08:12:04 80] Native: 1054
[08:12:04 80] Source: myodbc5.dll
[08:12:04 80] SQL: 42S22
[08:12:04 81] Connection OdbcCon closed
[08:12:04 85] Connection OdbcConn closed
...
...
...
[08:12:28 86] OdbcCon open
[08:12:28 91] Connection OdbcCon closed
*EDIT*

...and another one:

Code:

[08:49:50 50] Error in Startstreaming: 
[08:49:50 51] Index #0
[08:49:50 51] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.0.91-community]Unknown column 'M14V_deaths' in 'field list'
[08:49:50 51] Native: 1054
[08:49:50 52] Source: myodbc5.dll
[08:49:50 52] SQL: 42S22
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HunterBfV*:

 

*new Version 3.0.1.1*

 

Changelog:

3.0.1.0 -->3.0.1.1

New Shared Mode -> BC2 and Vietnam in the same tables.

Several Bugfixes

Added Option to disable Weaponstatslogging on Request

Hey XpKiller,

 

little typo in the 3.0.1.1 release within the 'GetWeaponStats' request code.

 

search for "sSoldierName" and replace it with "a.SoldierName"

 

Thx!

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

Originally Posted by Sir_Duck*:

 

found another one.

with version 3.0.1.2

Vietnam mode only, not mixed.

 

Code:

[19:48:46 83] OdbcCon open
[19:48:46 93] Error in Startstreaming: 
[19:48:46 94] Index #0
[19:48:46 94] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Unknown column 'GARAND_kills' in 'field list'
[19:48:46 95] Native: 1054
[19:48:46 96] Source: myodbc5.dll
[19:48:46 96] SQL: 42S22
[19:48:46 97] Connection OdbcCon closed
Edit

Did you get this one too>?

Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Unknown column 'HG-2_deaths' in 'field list'

 

Edit 2

and this one?

MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Unknown column 'G69V_deaths' in 'field list'

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

Originally Posted by terwax*:

 

Getting some weird errors... Al though i see rank and other stuff happening, but... Note that currency goes on the same server.

Code:

[12:55:23 43] Time Logger error: System.Data.Odbc.OdbcException: ERROR [HY001] [MySQL][ODBC 5.1 Driver][mysqld-5.1.52]Memory allocation error
   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.CTimeLogger.Update()
Code:
[12:55:27 79] Error in Startstreaming: 
[12:55:27 83] Index #0
[12:55:27 86] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.52]Unknown column 'HG-2_kills' in 'field list'
[12:55:27 88] Native: 1054
[12:55:27 89] Source: myodbc5.dll
[12:55:27 91] SQL: 42S22
Code:
[12:48:06 53] 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 PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
Currency problem or what?

 

I just created 1 db for currency and this plugin inside odbc user dns (just create one column)

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

Originally Posted by Sir_Duck*:

 

Error in Startstreaming:

[22:01:15 37] Index #0

[22:01:15 38] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.51-community]Unknown column 'HG-2_deaths' in 'field list'

[22:01:15 38] Native: 1054

[22:01:15 39] Source: myodbc5.dll

[22:01:15 39] SQL: 42S22

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

Originally Posted by XpKiller*:

 

Getting some weird errors... Al though i see rank and other stuff happening, but... Note that currency goes on the same server.

Code:

[12:55:23 43] Time Logger error: System.Data.Odbc.OdbcException: ERROR [HY001] [MySQL][ODBC 5.1 Driver][mysqld-5.1.52]Memory allocation error
   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.CTimeLogger.Update()
This no error Message of my Stats Plugin

 

*New Version

Changelog:

3.0.1.2 -->3.0.1.3

Added missing Weapons thx to Sir_Duck, terwax for the report

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

Originally Posted by XpKiller*:

 

These 3 weapons are already in the plugin and will added to the table automatically By default. Could you please restart you procon client and check if these columns exists in the database.

On my test system I deleted random columns in the weapons table and the plugin recreate them properly.

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

Originally Posted by EoT-ONeill*:

 

Dear Phogue-team,

 

First of all (you should know it), your admin tool drives on the fast lane .

Of course we use it. Impossible to play without it ... :smile:

Merci beaucoup for that.

 

Maybe you know our little tool, that you use by yourself :smile:

We have a little request (if this would be possible or viable).

 

Is it possible to extend your script that on the end of a round the ranks of the players (bfbcs) based on the name of each player can be readout. Is it also possible to add them in the table "tbl_playerdate" too ?

If players aren't registered on bfbcs.com --> rank 0 or sth. else... (as an example...).

 

It would be very helpfully to have the ranks of the players too.

 

Thanks for read and merry christmas :smile:

Nice regards

EoT-Clan

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

Originally Posted by Basert*:

 

I hav a problem. I've set the wrong table name, and now i have tbl_palyerstatsprocon and tbl_playerstats, with different stats, but the same order.

 

I want to get them into 1 Table, so i have all playerstats together. Can you tell me the MySQL-Syntax?

 

ty, Basert

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

Originally Posted by XpKiller*:

 

I hav a problem. I've set the wrong table name, and now i have tbl_palyerstatsprocon and tbl_playerstats, with different stats, but the same order.

 

I want to get them into 1 Table, so i have all playerstats together. Can you tell me the MySQL-Syntax?

 

ty, Basert

Which version do you use?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Basert*:

 

I hav a problem. I've set the wrong table name, and now i have tbl_palyerstatsprocon and tbl_playerstats, with different stats, but the same order.

 

I want to get them into 1 Table, so i have all playerstats together. Can you tell me the MySQL-Syntax?

 

ty, Basert

Which version do you use?
The latest (3.0.1.3)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

This will not be so easy but possible

I would need a full dump of the database to help you. Because in 3.x the Stats are stored in 3 tables ( tbl_playerdata, tbl_playerstats, tbl_weapons)

These tables are related over their primary key. So the SQL Statment will be much complexer.

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

Originally Posted by Basert*:

 

I am running the Vietnam Mod, but i selected as "Default GameMode" "SHARED". The tables "....procon" are the false ones, i want to move the content to the other ones, mainly the default "tbl_playerstats" without Vietnam.

 

So all Tables to "..." without procon or "..._bfv" at the end :biggrin:

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

Originally Posted by EBassie*:

 

Stil get these errors once in a while:

 

Code:

[00:38:04 31] 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(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)
[00:38:04 34] 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)
[00:38:04 36] 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)
[00:38:04 36] 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)
[00:38:04 36] 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)
I maybe have found the source of this error.

Is it possible the playersnames or not 'escaped' correctly?

There was player called Sky> on the server when it happened.

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

Originally Posted by Sir_Duck*:

 

I have done a backup and noticed that sum of the tables are getting very large.

 

is there any sort of limit to them ?

 

For example in the chatlog would it be an idea to

delete any message older than 3 months while there is no players to process?

 

Duck

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




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