Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by nbtc971*:

 

Why is it that my logger doesn't seem to write data for me, or some others into the playerstats table? It seems to work for most people who join server, but it doesn't seem to want to update my stats any longer. I join the server, play a round and it still says I haven't been on the server in 5 days.

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

Originally Posted by ty_ger07*:

 

Why is it that my logger doesn't seem to write data for me, or some others into the playerstats table? It seems to work for most people who join server, but it doesn't seem to want to update my stats any longer. I join the server, play a round and it still says I haven't been on the server in 5 days.

What errors do you see in the plugin console after you play a round?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by fantasticplayer*:

 

XPKiller has disappeared.

What u mean XPKiller has disappeared? Did i setuo something wrong? Is it possible to fix it? Cuz i really want to have those stats on my server.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by nbtc971*:

 

What errors do you see in the plugin console after you play a round?

[21:39:45] [statslogger]Error: SQLQuery:

[21:39:45] Message: Authentication to host 'ip address' for user 'username' using method 'mysql_native_password' failed with message: Reading from the stream has failed.

[21:39:45] Native: -2147467259

[21:39:45] Source: MySql.Data

[21:39:45] StackTrace: at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)

at MySql.Data.MySqlClient.NativeDriver.Authenticate(S tring authMethod, Boolean reset)

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.CreateNewPooledCo nnection()

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 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)

[21:39:45] InnerException: 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.ReadPacket()

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()

[21:40:41] [statslogger]Error: SQLQuery:

[21:40:41] Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

[21:40:41] Native: -2147467259

[21:40:41] Source: MySql.Data

[21:40:41] StackTrace: at MySql.Data.MySqlClient.ExceptionInterceptor.Throw( Exception exception)

at MySql.Data.MySqlClient.MySqlConnection.Throw(Excep tion ex)

at MySql.Data.MySqlClient.MySqlConnection.HandleTimeo utOrThreadAbort(Exception ex)

at MySql.Data.MySqlClient.MySqlDataReader.Read()

at MySql.Data.MySqlClient.Driver.LoadServerProperties (MySqlConnection connection)

at MySql.Data.MySqlClient.Driver.Configure(MySqlConne ction connection)

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)

[21:40:41] InnerException: System.TimeoutException: 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 ---> System.IO.IOException: Unable to read data from the transport connection: 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. ---> 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

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

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

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

at MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)

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

at MySql.Data.Common.MyNetworkStream.HandleOrRethrowE xception(Exception e)

at MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)

at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)

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

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

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

at MySql.Data.MySqlClient.NativeDriver.FetchDataRow(I nt32 statementId, Int32 columns)

at MySql.Data.MySqlClient.Driver.FetchDataRow(Int32 statementId, Int32 columns)

at MySql.Data.MySqlClient.ResultSet.GetNextRow()

at MySql.Data.MySqlClient.ResultSet.NextRow(CommandBe havior behavior)

at MySql.Data.MySqlClient.MySqlDataReader.Read()

 

That was from last night.. the latest entry into the log is..

 

[23:15:21] [statslogger]Info: OnLevelLoaded: MP_012 Gamemode: ConquestSmall0 Round: 1/1

[23:15:21] [statslogger]Info: update sql server

[23:15:21] [statslogger]Info: Started streaming to the DB-Server

[23:15:35] [statslogger]Info: Status ID-Cache: 37 ID's in cache

[23:15:35] [statslogger]Info: Connection MySqlConn closed

[23:15:35] [statslogger]Info: Streamingprocess duration: 14.345 seconds

 

I removed username and ip address.

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

Originally Posted by fantasticplayer*:

 

XPKiller is the author of this plugin and is most likely to be able to help you with your problem. But he has not showed up to this website for quite a long time.

So no one else cant help? Ty_ger07 i belive in U, U r the best.

 

One more question about the plugin: if my server is setup to automatic restart at 5am european time will that make problem for this plugin? Can i leave my server with auto restart or turn off?

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

Originally Posted by ty_ger07*:

 

[21:39:45] [statslogger]Error: SQLQuery:

[21:39:45] Message: Authentication to host 'ip address' for user 'username' using method 'mysql_native_password' failed with message: Reading from the stream has failed.

[21:39:45] Native: -2147467259

[21:39:45] Source: MySql.Data

[21:39:45] StackTrace: at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)

at MySql.Data.MySqlClient.NativeDriver.Authenticate(S tring authMethod, Boolean reset)

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.CreateNewPooledCo nnection()

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 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)

[21:39:45] InnerException: 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.ReadPacket()

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()

[21:40:41] [statslogger]Error: SQLQuery:

[21:40:41] Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

[21:40:41] Native: -2147467259

[21:40:41] Source: MySql.Data

[21:40:41] StackTrace: at MySql.Data.MySqlClient.ExceptionInterceptor.Throw( Exception exception)

at MySql.Data.MySqlClient.MySqlConnection.Throw(Excep tion ex)

at MySql.Data.MySqlClient.MySqlConnection.HandleTimeo utOrThreadAbort(Exception ex)

at MySql.Data.MySqlClient.MySqlDataReader.Read()

at MySql.Data.MySqlClient.Driver.LoadServerProperties (MySqlConnection connection)

at MySql.Data.MySqlClient.Driver.Configure(MySqlConne ction connection)

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)

[21:40:41] InnerException: System.TimeoutException: 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 ---> System.IO.IOException: Unable to read data from the transport connection: 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. ---> 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

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

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

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

at MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)

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

at MySql.Data.Common.MyNetworkStream.HandleOrRethrowE xception(Exception e)

at MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)

at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)

at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)

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

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

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

at MySql.Data.MySqlClient.NativeDriver.FetchDataRow(I nt32 statementId, Int32 columns)

at MySql.Data.MySqlClient.Driver.FetchDataRow(Int32 statementId, Int32 columns)

at MySql.Data.MySqlClient.ResultSet.GetNextRow()

at MySql.Data.MySqlClient.ResultSet.NextRow(CommandBe havior behavior)

at MySql.Data.MySqlClient.MySqlDataReader.Read()

 

That was from last night.. the latest entry into the log is..

 

[23:15:21] [statslogger]Info: OnLevelLoaded: MP_012 Gamemode: ConquestSmall0 Round: 1/1

[23:15:21] [statslogger]Info: update sql server

[23:15:21] [statslogger]Info: Started streaming to the DB-Server

[23:15:35] [statslogger]Info: Status ID-Cache: 37 ID's in cache

[23:15:35] [statslogger]Info: Connection MySqlConn closed

[23:15:35] [statslogger]Info: Streamingprocess duration: 14.345 seconds

 

I removed username and ip address.

It seems like you have a very slow or heavily overloaded server storing your database. You should look into what is necessary to fix your database server performance issues.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by fantasticplayer*:

 

Ive create a new database and on begining new round i typed !rank and ive got info that there are no stats available, and ive look in to procon and ive got error like that:

[19:38:41 70] [statslogger]Info: Connection MySqlConn closed

[19:38:41 79] [statslogger]Info: Streamingprocess duration: 0,562 seconds

[19:38:41 79] [statslogger]Error: Error in Startstreaming OuterException: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

bei PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

[19:38:43 18] [statslogger]Error: getUpdateServerID1: System.InvalidOperationException: Nested transactions are not supported.

bei MySql.Data.MySqlClient.ExceptionInterceptor.Throw( Exception exception)

bei MySql.Data.MySqlClient.MySqlConnection.BeginTransa ction(IsolationLevel iso)

bei PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

Anyone knows what to do with that?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HARDCOREBF*:

 

Ive create a new database and on begining new round i typed !rank and ive got info that there are no stats available, and ive look in to procon and ive got error like that:

 

Anyone knows what to do with that?

Try ask your host , i think something wrong with your DB setup , make sure post and IPs allowed for DB comunicating . If our Host siteground , we had to request to allow i/o for all servers . Otherwise will not work
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by fantasticplayer*:

 

I saw that some of files in that database which one ive created for that plugin got information (plugin normally save info in them) but in other ones i dont have any information writed. Ill try to check how my mate setup his server and ill do the same but with my mysql database ip.

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

Originally Posted by fantasticplayer*:

 

I think U just need to clear Ur mysql database or create a new one and type info in plugin if its new one. Ive done like that now everything is working for me.

 

Btw. Will that plugin work if i got automatic restart of server each day at 4am? Or ill got problems with stats?

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

Originally Posted by Deemon-Rider*:

 

15:28:39 70] PRoCon Chat, GUID and Stats Logger Enabled

[15:28:39 70] PRoCon Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player

[15:28:43 81] Error in Tablebuilder:

[15:28:43 81] Message: Unable to connect to any of the specified MySQL hosts.

[15:28:43 81] Native: -2147467259

[15:28:43 81] Source: MySql.Data

[15:28:43 81] StackTrace: 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.CreateNewPooledCo nnection()

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()

[15:28:43 81] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[15:28:56 01] Error in Tablebuilder:

[15:28:56 01] Message: Unable to connect to any of the specified MySQL hosts.

[15:28:56 01] Native: -2147467259

[15:28:56 01] Source: MySql.Data

[15:28:56 01] StackTrace: 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.CreateNewPooledCo nnection()

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()

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

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

[15:28:57 04] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts.

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.CreateNewPooledCo nnection()

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)

 

 

why?

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

Originally Posted by HARDCOREBF*:

 

I think U just need to clear Ur mysql database or create a new one and type info in plugin if its new one. Ive done like that now everything is working for me.

 

Btw. Will that plugin work if i got automatic restart of server each day at 4am? Or ill got problems with stats?

i need reset stats only for one player
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Splintist*:

 

I've got one question:

I've just rented a server 2 days ago at Nitrado and want to implement this plugin. Problem is that im not really that good in programming/mysql. I've figured out creating a database though. Now my question is :

I've managed to do so in localhost(my pc/network), which obviously will not work for the server. My server comes with a MYSQL and Database login. Can i use that or do i need a seperate server/webstorage? Thanks in advance for your answer.

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

Originally Posted by LCARSx64*:

 

I've got one question:

I've just rented a server 2 days ago at Nitrado and want to implement this plugin. Problem is that im not really that good in programming/mysql. I've figured out creating a database though. Now my question is :

I've managed to do so in localhost(my pc/network), which obviously will not work for the server. My server comes with a MYSQL and Database login. Can i use that or do i need a seperate server/webstorage? Thanks in advance for your answer.

When you say server do you mean game server or PRoCon layer? If it's a PRoCon layer then you can use the MySQL database that came with that, if it's a game server then you'll need to have remote access to the MySQL database via either a PRoCon layer or your PC (if running PRoCon from home only). Check with your hoster if it's allowed. :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Splintist*:

 

When you say server do you mean game server or PRoCon layer? If it's a PRoCon layer then you can use the MySQL database that came with that, if it's a game server then you'll need to have remote access to the MySQL database via either a PRoCon layer or your PC (if running PRoCon from home only). Check with your hoster if it's allowed. :ohmy:

Isn't the Procon program basically a procon layer? correct me if im wrong here, really new to all this.

It is a gameserver that ive rented, and theyve also provided mysql login details, so i guess i can install it on the gameserver?

EDIT: I think ive figured it out :smile:. Thanks for helping anyways :smile:

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

Originally Posted by HappyGotLucky*:

 

Suddenly started getting this error today, not sure what to do about it?

 

[21:33:37 81] [statslogger]Error: LogChat:

[21:33:37 81] Message: Unknown column 'logPlayerID' in 'NEW'

[21:33:37 81] Native: -2147467259

[21:33:37 81] Source: MySql.Data

[21:33:37 81] StackTrace: at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in :0

at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in :0

[21:33:37 81] [statslogger]Error: LogChat_2: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection (MySql.Data.MySqlClient.MySqlException myException) [0x00000] in :0

at PRoConEvents.CChatGUIDStatsLogger.LogChat (System.String strSpeaker, System.String strMessage, System.String strType) [0x00000] in :0

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

Originally Posted by Hutchew*:

 

Be careful with "server" messages. They contain a lot of usable stuff, especially of running adkats.

 

If you want to filter out spambot/balancer/server kills messages, prefix all of those with >> and then use >>.* in the reflex filter. Set chat logger to trace and it will show you how it's working.

 

 

 

Hutchew

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

Originally Posted by Hutchew*:

 

Ok, so to start...... Go in your Spambot and insert >> in front of each message, like:

>> Contributors recieve reserve slot and are immune to autobalancing - junglewraiths.net

 

Then, in your Chat logger Regex filter, add >>.*

 

It will then filter out any messages sent to the server, regardless of who sent them, that contain >>

 

You can use that for any server messages from any plugin like spambot, balancer, server kills, etc.

 

You are trying to filter an account, not the chat by using "server" as a filter.

 

 

 

Hutchew

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

Originally Posted by ty_ger07*:

 

Ok, so to start...... Go in your Spambot and insert >> in front of each message, like:

>> Contributors recieve reserve slot and are immune to autobalancing - junglewraiths.net

 

Then, in your Chat logger Regex filter, add >>.*

 

It will then filter out any messages sent to the server, regardless of who sent them, that contain >>

 

You can use that for any server messages from any plugin like spambot, balancer, server kills, etc.

 

You are trying to filter an account, not the chat by using "server" as a filter.

 

 

 

Hutchew

Yup! The regex filters out chat content. It does not pay attention to the message's source. So filtering "server" will do nothing unless the chat message contains the word "server" at a specific location.
* 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.