Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

Multibalancer and BattlelogCache is not the same plugin as this plugin.

 

This plugin requires one complete uninterrupted round of gameplay to add players and stats to the database.

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

Originally Posted by ToM666*:

 

Hi guys

 

I think I am close to get this thing running but not quite.

 

So far I have entered the correct hostname, username, password, port and database name which have been verified by the database server provider.

 

I have added the IP address of the procon layer to the remote mysql database access list.

 

The mysql database user has all access enabled.

 

However, when I enable the plugin I get this errors below.

 

Any ideas where I have gone wrong?

 

 

[17:10:10 77] PRoCon Chat, GUID and Stats Logger Enabled

[17:10:10 77] PRoCon Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player

[17:10:13 88] Error in Tablebuilder:

[17:10:13 88] Message: Host 'dragon986.startdedicated.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

[17:10:13 88] Native: -2147467259

[17:10:13 88] Source: MySql.Data

[17:10:13 88] StackTrace: 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.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:13 88] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:23 03] Error in Tablebuilder:

[17:10:23 03] Message: Host 'dragon986.startdedicated.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

[17:10:23 03] Native: -2147467259

[17:10:23 03] Source: MySql.Data

[17:10:23 03] StackTrace: 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.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:23 03] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:23 08] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Host 'dragon986.startdedicated.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

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.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

[17:10:39 37] PRoCon Chat, GUID and Stats Logger Disabled

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

Originally Posted by ty_ger07*:

 

Hi guys

 

I think I am close to get this thing running but not quite.

 

So far I have entered the correct hostname, username, password, port and database name which have been verified by the database server provider.

 

I have added the IP address of the procon layer to the remote mysql database access list.

 

The mysql database user has all access enabled.

 

However, when I enable the plugin I get this errors below.

 

Any ideas where I have gone wrong?

 

 

[17:10:10 77] PRoCon Chat, GUID and Stats Logger Enabled

[17:10:10 77] PRoCon Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player

[17:10:13 88] Error in Tablebuilder:

[17:10:13 88] Message: Host 'dragon986.startdedicated.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

[17:10:13 88] Native: -2147467259

[17:10:13 88] Source: MySql.Data

[17:10:13 88] StackTrace: 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.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:13 88] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:23 03] Error in Tablebuilder:

[17:10:23 03] Message: Host 'dragon986.startdedicated.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

[17:10:23 03] Native: -2147467259

[17:10:23 03] Source: MySql.Data

[17:10:23 03] StackTrace: 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.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:23 03] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[17:10:23 08] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Host 'dragon986.startdedicated.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

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.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

[17:10:39 37] PRoCon Chat, GUID and Stats Logger Disabled

The error says that your database has blocked your procon server due to too many connection errors. It says to unblock your procon server by using 'mysqladmin flush-hosts' at your database server. Ask your database provider if you need help.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ToM666*:

 

The error says that your database has blocked your procon server due to too many connection errors. It says to unblock your procon server by using 'mysqladmin flush-hosts' at your database server. Ask your database provider if you need help.

This is working now. The server provider flushed the hosts and job done.

 

Thanks

 

ToM

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

Originally Posted by FLirtY-3D*:

 

Hello seem to be having an ERROR two.... how can i fix this

Code:

[12:57:38 23] [Statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 184.154.49.74:3306
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at MySql.Data.Common.StreamCreator.CreateSocketStream(IPAddress ip, Boolean unix)
   at MySql.Data.Common.StreamCreator.GetStreamFromHost(String pipeName, String hostName, UInt32 timeout)
   at MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout)
   at MySql.Data.MySqlClient.NativeDriver.Open()
   --- End of inner exception stack trace ---
   at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo)
[12:57:41 50] Error in Tablebuilder: 
[12:57:41 50] Message: Unable to connect to any of the specified MySQL hosts.
[12:57:41 50] Native: -2147467259
[12:57:41 50] Source: MySql.Data
[12:57:41 50] StackTrace:    at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
[12:57:41 50] InnerException: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 184.154.49.74:3306
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at MySql.Data.Common.StreamCreator.CreateSocketStream(IPAddress ip, Boolean unix)
   at MySql.Data.Common.StreamCreator.GetStreamFromHost(String pipeName, String hostName, UInt32 timeout)
   at MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout)
   at MySql.Data.MySqlClient.NativeDriver.Open()
[12:57:41 50] Error: System.NullReferenceException: Object reference not set to an instance of an object.
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
[12:58:02 51] [Statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 184.154.49.74:3306
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at MySql.Data.Common.StreamCreator.CreateSocketStream(IPAddress ip, Boolean unix)
   at MySql.Data.Common.StreamCreator.GetStreamFromHost(String pipeName, String hostName, UInt32 timeout)
   at MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout)
   at MySql.Data.MySqlClient.NativeDriver.Open()
   --- End of inner exception stack trace ---
   at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo)
[12:58:05 53] Error in Tablebuilder: 
[12:58:05 53] Message: Unable to connect to any of the specified MySQL hosts.
[12:58:05 53] Native: -2147467259
[12:58:05 53] Source: MySql.Data
[12:58:05 53] StackTrace:    at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
[12:58:05 53] InnerException: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 184.154.49.74:3306
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at MySql.Data.Common.StreamCreator.CreateSocketStream(IPAddress ip, Boolean unix)
   at MySql.Data.Common.StreamCreator.GetStreamFromHost(String pipeName, String hostName, UInt32 timeout)
   at MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout)
   at MySql.Data.MySqlClient.NativeDriver.Open()
[12:58:05 53] 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 Co3n*:

 

Hello people,

 

How can i fix all the missing weapons in the stats for BF4? I think i have the latest bf4.def file, but for example the U-100 MK5, v40 minis, impact and rpg dont work.

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

Originally Posted by ty_ger07*:

 

Hello people,

 

How can i fix all the missing weapons in the stats for BF4? I think i have the latest bf4.def file, but for example the U-100 MK5, v40 minis, impact and rpg dont work.

What do you mean by 'doesn't work'?

 

Do you mean something like '!rank rpg' doesn't work? If so, you have to add whatever you think is a common name to the extended keyword list in the plugin settings. For instance, 'rpg' is 'rpg-7v2' according to the weapon codes thread here: showthread....5-Weapon-Codes* which you would add as 'rpg-7v2{rpg}'.

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

Originally Posted by Co3n*:

 

What do you mean by 'doesn't work'?

 

Do you mean something like '!rank rpg' doesn't work? If so, you have to add whatever you think is a common name to the extended keyword list in the plugin settings. For instance, 'rpg' is 'rpg-7v2' according to the weapon codes thread here: showthread....5-Weapon-Codes* which you would add as 'rpg-7v2{rpg}'.

Ok, thank you, ill try it tonight! Hope this is it.

Edit: this was indeed the problem :smile:

.

 

Edit 2: i have made the list in excel... I could place it in the weaponlist if anyone would like it....

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

Originally Posted by wdfstryfe*:

 

I have a question that I can't seem to find the answer on.. Say I have a stat padder that's been in the server for awhile and I just now picked up on it. Does anyone have a query I can run to remove that user without compromising the database?

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

Originally Posted by ty_ger07*:

 

I have a question that I can't seem to find the answer on.. Say I have a stat padder that's been in the server for awhile and I just now picked up on it. Does anyone have a query I can run to remove that user without compromising the database?

Are you comfortable with using phpMyAdmin? It is very easy to find that PlayerID in the database, delete that PlayerID row, and thus delete all the associated player stats data for that player automatically due to foreign key constraints.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by gemzy*:

 

Hi. I am after a way to have stats for a monthly period and an overall stats page. I was wondering if i rename the plugin and install it will it track stats twice to two seperate mysql databases. That way i can reset one lot of stats every month as we run a free reserved slot competition and allow the all time stats to remain ? Was wondering if anyone has tried this and it worked? Or would renaming the plugin not work? So i will have two instances of the plugin running, just one names differently?

Thanks in advance

Gemzy

 

Sent from my SM-G900F using Tapatalk

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

Originally Posted by ty_ger07*:

 

Will realized weapon damage done? DMG % like this http://bf4db.com/players/1579224/weapons

There is no way to figure out damage done because the rcon interface from the game server does not send any data about how many shots were fired and how many hit or missed. That information is only available from the battlelog stats API.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi. I am after a way to have stats for a monthly period and an overall stats page. I was wondering if i rename the plugin and install it will it track stats twice to two seperate mysql databases. That way i can reset one lot of stats every month as we run a free reserved slot competition and allow the all time stats to remain ? Was wondering if anyone has tried this and it worked? Or would renaming the plugin not work? So i will have two instances of the plugin running, just one names differently?

Thanks in advance

Gemzy

 

Sent from my SM-G900F using Tapatalk

You would need to try. At a minimum, you would need to rename CChatGUIDStatsLogger.inc, rename CChatGUIDStatsLogger.cs, rename the text inside CChatGUIDStatsLogger.inc to point to the correctly renamed CChatGUIDStatsLogger.cs. I think that you would also need to rename "public class CChatGUIDStatsLogger : PRoConPluginAPI, IPRoConPluginInterface" inside CChatGUIDStatsLogger.cs and "public CChatGUIDStatsLogger()" also in the same file.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by gemzy*:

 

Ok thanks. I renames them both and edited the text inside the inc and cs files but not the other files. Will try that now thanks. I will let you know how it goes! Thanks :smile:

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

Originally Posted by wdfstryfe*:

 

Are you comfortable with using phpMyAdmin? It is very easy to find that PlayerID in the database, delete that PlayerID row, and thus delete all the associated player stats data for that player automatically due to foreign key constraints.

Don't have phpmyadmin on my server but I pretty efficient at using sql queries.. I guess I can search by Player_ID = Player delete from database where player_id =? Will that work?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Kinsman*:

 

does anyone have any thoughts on how to make the as-val actually have kills? my stats are starting to look pretty weird without it.

 

http://jw.servegame.org/bf4stats/ind...=1540&search=1

 

It exists in weapons as id 245, but when I check weapon stats there isn't a single kill with it?

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

Originally Posted by ty_ger07*:

 

does anyone have any thoughts on how to make the as-val actually have kills? my stats are starting to look pretty weird without it.

 

http://jw.servegame.org/bf4stats/ind...=1540&search=1

 

It exists in weapons as id 245, but when I check weapon stats there isn't a single kill with it?

You are using the latest Procon version with the latest .def file, correct?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by fantasticplayer*:

 

Hello ive got problem with plugin. Everything was setup good by my host provider. Command rank working good but if i type top10 i does not showing me top10 of server. Maybe someone can help please.

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

Originally Posted by ty_ger07*:

 

Hello ive got problem with plugin. Everything was setup good by my host provider. Command rank working good but if i type top10 i does not showing me top10 of server. Maybe someone can help please.

I thought you or someone else just asked this 1 or 2 pages ago.

 

I think your database might be too slow and the plugin might be timing out the request before the database answers. The top 10 query is considerably larger than the rank query and will take longer to process. Turn up this plugin's debug settings in procon to the max, do the top 10 command in game, and check procon's plugin log to see what error is displayed.

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

Originally Posted by ToM666*:

 

You would need to try. At a minimum, you would need to rename CChatGUIDStatsLogger.inc, rename CChatGUIDStatsLogger.cs, rename the text inside CChatGUIDStatsLogger.inc to point to the correctly renamed CChatGUIDStatsLogger.cs. I think that you would also need to rename "public class CChatGUIDStatsLogger : PRoConPluginAPI, IPRoConPluginInterface" inside CChatGUIDStatsLogger.cs and "public CChatGUIDStatsLogger()" also in the same file.

Hi ty_ger

 

I've just been trying to set up a second statslogger for the exact same reasons gemsy did earlier on in the thread.

 

 

So far I have:

 

1) renamed CChatGUIDStatsLogger.inc to MONTHLYCChatGUIDStatsLogger.inc

2) renamed CChatGUIDStatsLogger.cs to MONTHLYCChatGUIDStatsLogger.cs

3) changed contents of MONTHLYCChatGUIDStatsLogger.cs to #include "../MonthlyCChatGUIDStatsLogger.inc"

4) Ran "replace all" in the MONTHLYCChatGUIDStatsLogger.inc

 

Replacing "CChatGUIDStatsLogger.cs" with "MONTHLYCChatGUIDStatsLogger.cs"

 

5) I created a new database called MONTHLYSTATS and used the same user and password as my original stats database.

6) I then uploaded the modified files to my layer and rebooted.

 

The first thing I noticed was that another plugin had appeared for the stats logger but the name hadn't changed it was still called the Procon Chat, GUID, Stats and Map logger.

 

I pressed on and entered the details for access to the new database and switched it on.

 

The plugin connected then started saying:

 

"identical command registration on class MonthlyCChatGUIDStatslogger overwriting class CChatGUIDSstatslogger command potd"

 

it said similiar things for different commands like ranks etc at which point I switched it off for fear it was going to bugger up my original stats database.

 

Is this anything to worry about?

Have I done this correctly?

 

Thanks

 

ToM

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

Originally Posted by ty_ger07*:

 

Hi ty_ger

 

I've just been trying to set up a second statslogger for the exact same reasons gemsy did earlier on in the thread.

 

 

So far I have:

 

1) renamed CChatGUIDStatsLogger.inc to MONTHLYCChatGUIDStatsLogger.inc

2) renamed CChatGUIDStatsLogger.cs to MONTHLYCChatGUIDStatsLogger.cs

3) changed contents of MONTHLYCChatGUIDStatsLogger.cs to #include "../MonthlyCChatGUIDStatsLogger.inc"

4) Ran "replace all" in the MONTHLYCChatGUIDStatsLogger.inc

 

Replacing "CChatGUIDStatsLogger.cs" with "MONTHLYCChatGUIDStatsLogger.cs"

 

5) I created a new database called MONTHLYSTATS and used the same user and password as my original stats database.

6) I then uploaded the modified files to my layer and rebooted.

 

The first thing I noticed was that another plugin had appeared for the stats logger but the name hadn't changed it was still called the Procon Chat, GUID, Stats and Map logger.

 

I pressed on and entered the details for access to the new database and switched it on.

 

The plugin connected then started saying:

 

"identical command registration on class MonthlyCChatGUIDStatslogger overwriting class CChatGUIDSstatslogger command potd"

 

it said similiar things for different commands like ranks etc at which point I switched it off for fear it was going to bugger up my original stats database.

 

Is this anything to worry about?

Have I done this correctly?

 

Thanks

 

ToM

I have not done it, so I can't tell you if you should or not. But the last guy said it worked.

I see at least one error in your method in step 4.

The replace all you did included .cs but shouldn't have. The lines "public CChatGUIDStatsLogger()" and "public class CChatGUIDStatsLogger : PRoConPluginAPI, IPRoConPluginInterface" need different names, but notice that there is no '.cs' in the those names and therefore the replacement would not have been successful because it would not find the match.

I would advice you to start over and this time only find and rename the two specific lines I mentioned instead of doing a replace all command. The name of the plugin in procon should change after the modification.

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

Originally Posted by ToM666*:

 

I have not done it, so I can't tell you if you should or not. But the last guy said it worked.

I see at least one error in your method in step 4.

The replace all you did included .cs but shouldn't have. The lines "public CChatGUIDStatsLogger()" and "public class CChatGUIDStatsLogger : PRoConPluginAPI, IPRoConPluginInterface" need different names, but notice that there is no '.cs' in the those names and therefore the replacement would not have been successful because it would not find the match.

I would advice you to start over and this time only find and rename the two specific lines I mentioned instead of doing a replace all command. The name of the plugin in procon should change after the modification.

Hi Ty_ger

 

Thanks for the feedback. I'd guessed I'd done something wrong.

 

When you say "The lines "public CChatGUIDStatsLogger()" and "public class CChatGUIDStatsLogger : PRoConPluginAPI, IPRoConPluginInterface" need different names"

 

does it matter what I name them? Or do they just have to be different?

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

Originally Posted by ty_ger07*:

 

Hi Ty_ger

 

Thanks for the feedback. I'd guessed I'd done something wrong.

 

When you say "The lines "public CChatGUIDStatsLogger()" and "public class CChatGUIDStatsLogger : PRoConPluginAPI, IPRoConPluginInterface" need different names"

 

does it matter what I name them? Or do they just have to be different?

The "CChatGUIDStatsLogger" part needs to be different (whatever you want) ane both changed to the same thing.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by fantasticplayer*:

 

I thought you or someone else just asked this 1 or 2 pages ago.

 

I think your database might be too slow and the plugin might be timing out the request before the database answers. The top 10 query is considerably larger than the rank query and will take longer to process. Turn up this plugin's debug settings in procon to the max, do the top 10 command in game, and check procon's plugin log to see what error is displayed.

Thanks mate ive done it. Now its working. Is there any chance to reset rank statistic on my server and how to do that?

 

Ive got one more problem on my serwer. Top10 now is working and everything is ok but ive got problem with rank. When u write !rank it allways shows u the same rank, i doesnt change after the round. Maybe u got some ideas how to fix that?

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

Originally Posted by ty_ger07*:

 

Bump?

If you want to reset the stats, why not just shut off the plugin, empty the database, turn the plugin back on, and let it create new tables and hopefully not have errors this time?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Not Working:

 

ClanTag coz the server don't deliver it to PRoCon thx EA/DICE!!!.

 

Isnt there a way around this? Insane limits is capable of getting the clantags!

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