Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

Hey tyger,

 

How would i make a query that results in top 10 players with most melee kils? Or any other weapon?

 

Kind regards.

Melee:

 

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND tws.`Damagetype` = 'melee'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Result for example:

Capture1.PNG

 

 

Substitute 'melee' for some other valid damage type in the portion "AND tws.`Damagetype` = 'melee'" to display other damage types.

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

Originally Posted by Gijzijtdood*:

 

Melee:

 

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND tws.`Damagetype` = 'melee'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Result example:

 

(I left out HS and HSR columns because they were all 0s in this example.)

 

Substitute 'melee' for some other valid damage type in the portion "AND tws.`Damagetype` = 'melee'" to display other damage types.

Is it also possible to query for top 10 players for a specific weapon like for exaple the Knife?

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

Originally Posted by ty_ger07*:

 

Is it also possible to query for top 10 players for a specific weapon like for exaple the Knife?

Yes. Just use tws.`Friendlyname` instead of tws.`Damagetype`.

 

For example:

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND tws.`Friendlyname` = 'USAS-12'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Example results:

Capture2.PNG

 

Friendlyname for Damagetype melee is Friendlyname melee by the way. There are also other different kinds of knives with other Friendlynames though.

 

I will post (edit or reply) with more information about the knife situation.

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

Originally Posted by ty_ger07*:

 

Friendlyname for Damagetype melee is Friendlyname melee by the way. There are also other different kinds of knives with other Friendlynames though.

 

I will post (edit or reply) with more information about the knife situation.

Your database is newer than mine and therefore may have additional newer weapons which I don't have. These are all the different Friendlyname's which share the melee Damagetype in my database:

Repairtool

Melee

Defib

 

I am pretty sure that there are other knives you may need to consider for premium players and maybe some which have been available with DLC.

 

 

If you wanted to use Friendlynames in all your queries but also wanted to include more than one specific weapon, use a query similar to this:

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND (tws.`Friendlyname` = 'Repairtool' OR tws.`Friendlyname` = 'Melee' OR tws.`Friendlyname` = 'Defib')
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Example result:

Capture3.PNG

 

 

Here is an example for including AEK971_M26_Buck, AEK971_M26_Flechette, AEK971_M26_Frag, AEK971_M26_Slug, AEK971_M320_FLASH, AEK971_M320_HE, AEK971_M320_LVG, AEK971_M320_SHG, and AEK971_M320_SMK along with AEK971 when querying for AEK971 by using the term LIKE. When using LIKE, the string you are comparing against should have a wildcard in it. The wildcard is %. If there is one % at the end, it means that the string starts with the specified string and ends with whatever. If there is a wild card at the beginning and a wildcard at the end, it means that the string starts with whatever, has the specified string in the middle, and ends with whatever.

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND tws.`Friendlyname` LIKE 'AEK971%'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Capture4.PNG

 

 

Lastly, if you have multiple servers and want to include results from multiple servers, use the term IN in the ServerID constraint followed by an array of values separated by commas.

 

For example:

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` IN (1,2,3,5)
AND tpd.`GameID` = 1
AND tws.`Friendlyname` = 'M416'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Capture5.PNG
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Gijzijtdood*:

 

Your database is newer than mine and therefore may have additional newer weapons which I don't have. These are all the different Friendlyname's which share the melee Damagetype in my database:

Repairtool

Melee

Defib

 

I am pretty sure that there are other knives you may need to consider for premium players and maybe some which have been available with DLC.

 

 

If you wanted to use Friendlynames in all your queries but also wanted to include more than one specific weapon, use a query similar to this:

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND (tws.`Friendlyname` = 'Repairtool' OR tws.`Friendlyname` = 'Melee' OR tws.`Friendlyname` = 'Defib')
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Example result:

Capture3.PNG

 

 

Here is an example for including AEK971_M26_Buck, AEK971_M26_Flechette, AEK971_M26_Frag, AEK971_M26_Slug, AEK971_M320_FLASH, AEK971_M320_HE, AEK971_M320_LVG, AEK971_M320_SHG, and AEK971_M320_SMK along with AEK971 when querying for AEK971 by using the term LIKE. When using LIKE, the string you are comparing against should have a wildcard in it. The wildcard is %. If there is one % at the end, it means that the string starts with the specified string and ends with whatever. If there is a wild card at the beginning and a wildcard at the end, it means that the string starts with whatever, has the specified string in the middle, and ends with whatever.

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` = 1
AND tpd.`GameID` = 1
AND tws.`Friendlyname` LIKE 'AEK971%'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Capture4.PNG

 

 

Lastly, if you have multiple servers and want to include results from multiple servers, use the term IN in the ServerID constraint followed by an array of values separated by commas.

 

For example:

Code:

SELECT tpd.`Soldiername`, tws.`Friendlyname`, wa.`Kills`, wa.`Deaths`, wa.`Headshots`, (wa.`Headshots`/wa.`Kills`) AS HSR
FROM `tbl_weapons_stats` wa
INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = wa.`StatsID`
INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
INNER JOIN `tbl_weapons` tws ON tws.`WeaponID` = wa.`WeaponID`
WHERE tsp.`ServerID` IN (1,2,3,5)
AND tpd.`GameID` = 1
AND tws.`Friendlyname` = 'M416'
ORDER BY Kills DESC, Deaths DESC
LIMIT 10
Capture5.PNG

Thanks a million Tyger.

You are the best :mad:

 

Regards

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

Originally Posted by Goran*:

 

Hi

I am new in this,just installed my bf4 server and all nessery plugins.

Most of them are working but one thing it doesnt work , its player server stat . Can anyone help me? and since I am kind a new at this ,just tell me what prt screen do you need or info and I wll provide you info.

Thx

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

Originally Posted by ty_ger07*:

 

is there a way to reset reputation stats?

i was testing some tempban setings, now i have a -28 reputation score.

I have no idea what reputation is, but it has nothing to do with this plugin. You better find out which plugin is creating a reputation score and then ask there.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi

I am new in this,just installed my bf4 server and all nessery plugins.

Most of them are working but one thing it doesnt work , its player server stat . Can anyone help me? and since I am kind a new at this ,just tell me what prt screen do you need or info and I wll provide you info.

Thx

Do you have a SQL database hosted by a web server? That is step 1.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Goran*:

 

Do you have a SQL database hosted by a web server? That is step 1.

Yes ,everything is correctly entered ,host ,name, db ,usr,pass..it somehow rememberd only 7 players ,when u run for example !top10 it shows 0 kd etc,and that is where it end . Doesnt remember new players ,new kills ,deaths..
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mr_Shishacolic*:

 

Hi Guys

 

i need your help with setting up this plugin to show the Roundstats automatically on Roundend like:

most kills, most deaths, most dogtags etc.

 

i hope there is one hero, who will help me.

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

Originally Posted by ty_ger07*:

 

Hi Guys

 

i need your help with setting up this plugin to show the Roundstats automatically on Roundend like:

most kills, most deaths, most dogtags etc.

 

i hope there is one hero, who will help me.

This plugin doesn't keep track of round stats. Sorry.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dete96*:

 

Hi!

 

Every time !top10 "weapon code" ist typed ingame this error message appears in ProCon. Does anyone know what the message means and in best case how to solve the problem?

 

Every other ingame command works perfectly, It´s just !top10 "weapon code" that causes problems and doesn´t work.

 

Thank you in advance.

Dete96

 

[15:56:55 81] [statslogger]Error: SQLQuery:

[15:56:55 81] Message: 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 '` DESC, SUM(`Headshots`) DESC

LIMIT 10' at line 8

[15:56:55 81] Native: -2147467259

[15:56:55 81] Source: MySql.Data

[15:56:55 81] StackTrace: bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()

bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

bei MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

bei MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

bei MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataR eader(CommandBehavior behavior)

bei System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior)

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

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

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

bei PRoConEvents.CChatGUIDStatsLogger.SQLquery(MySqlCo mmand selectQuery)

[15:56:55 81] [statslogger]Error: SQLQuery OuterException:System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

bei PRoConEvents.CChatGUIDStatsLogger.SQLquery(MySqlCo mmand selectQuery)

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

Originally Posted by ty_ger07*:

 

Hi!

 

Every time !top10 "weapon code" ist typed ingame this error message appears in ProCon. Does anyone know what the message means and in best case how to solve the problem?

 

Every other ingame command works perfectly, It´s just !top10 "weapon code" that causes problems and doesn´t work.

 

Thank you in advance.

Dete96

 

[15:56:55 81] [statslogger]Error: SQLQuery:

[15:56:55 81] Message: 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 '` DESC, SUM(`Headshots`) DESC

LIMIT 10' at line 8

[15:56:55 81] Native: -2147467259

[15:56:55 81] Source: MySql.Data

[15:56:55 81] StackTrace: bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()

bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

bei MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

bei MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

bei MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataR eader(CommandBehavior behavior)

bei System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior)

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

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

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

bei PRoConEvents.CChatGUIDStatsLogger.SQLquery(MySqlCo mmand selectQuery)

[15:56:55 81] [statslogger]Error: SQLQuery OuterException:System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

bei PRoConEvents.CChatGUIDStatsLogger.SQLquery(MySqlCo mmand selectQuery)

Yes, I see the mistake in XpKiller's plugin code.

 

ORDER BY SUM(`Kills`)` DESC, SUM(`Headshots`) DESC

I don't know the line number (on my phone). Just search the CChatGUIDStatsLogger.inc file for that. You will find it.

 

The extra accent mark (in red) needs to be removed, the file saved, and procon and/or procon layer restarted.

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

Originally Posted by mutsnuts*:

 

System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

 

i keep getting this what have i done wrong

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

Originally Posted by CaptCourage*:

 

Any update on this plugin? I cannot get this plugin to work on the latest ver of mysql. I see that it is posted that I should revert my sql version to an older one. The problem is that I am using a shared mysql environment where my database is being hosted and it cannot be changed.

I need this plugin to be working for adkats to run so I am hoping for a solution. I would like the plugins to run on 2 servers.

Has there been a workaround yet ?

Regards

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

Originally Posted by ty_ger07*:

 

Any update on this plugin? I cannot get this plugin to work on the latest ver of mysql. I see that it is posted that I should revert my sql version to an older one. The problem is that I am using a shared mysql environment where my database is being hosted and it cannot be changed.

I need this plugin to be working for adkats to run so I am hoping for a solution. I would like the plugins to run on 2 servers.

Has there been a workaround yet ?

Regards

Unfortunately, XpKiller -- this plugin's author -- has not showed himself around here for quite some time. You will need to edit the C# source code of this plugin if you wish for it to work with the latest sql version. Do you need help modifying the sql table builder queries in the source code of this plugin?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mutsnuts*:

 

[19:04:18 83] Error: 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.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.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()

[19:04:18 83] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

 

 

 

 

 

please help me with this iv been trying to get it to work no im lost

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

Originally Posted by mutsnuts*:

 

[19:04:18 83] Error: 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.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.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()

[19:04:18 83] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()

 

please help me im try to get this to work now im lost if u need anythink off me im happy to get it for u

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

Originally Posted by ty_ger07*:

 

Don't know if anyone posted an update for the missing map images yet, but here is the one I made for my site

 

Just make a backup of your constants.php before you upload the new one,

This does not really belong in this thread. XpKiller's plugin does not use php. Your post belongs in the appropriate thread in the plugin enhancements section of the forum.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spatieman*:

 

ok, so i messed up my sql setup masivly.

tried to rebuild with clean stuff, but didnt manage to create user account for adkats/statlogger.

 

installed xampp ,made a user account first and created the adkats database.

both xampp and procon are running on the same machine.

 

but i get this message when starting the stats logger.

 

Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Authentication to host '127.0.0.1' for user 'xxxxx' using method 'mysql_native_password' failed with message: Access denied for user 'xxxx'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'xxxx'@'localhost' (using password: YES)

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

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

--- Einde van intern uitzonderingsstackpad ---

bij MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)

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

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

bij MySql.Data.MySqlClient.NativeDriver.Open()

bij MySql.Data.MySqlClient.Driver.Open()

bij MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)

bij MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()

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

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

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

bij PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

 

 

i managed the stuff with phpmyadmin, so, where did i misfired.

 

think i found it, makeing a user not at localhost wont work i guess.. lets wait.....

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

Originally Posted by CaptCourage*:

 

Unfortunately, XpKiller -- this plugin's author -- has not showed himself around here for quite some time. You will need to edit the C# source code of this plugin if you wish for it to work with the latest sql version. Do you need help modifying the sql table builder queries in the source code of this plugin?

Ty_ger...Thanks for your reply. As I do not code myself, your proposition sounds excellent. I would really like to have adkats operational. Any assistance with this would be gladly appreciated.

Pop into my ts anytime mate 43.245.160.15:10028.

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

Originally Posted by irdx*:

 

ok, so i messed up my sql setup masivly.

tried to rebuild with clean stuff, but didnt manage to create user account for adkats/statlogger.

 

installed xampp ,made a user account first and created the adkats database.

both xampp and procon are running on the same machine.

 

but i get this message when starting the stats logger.

 

Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Authentication to host '127.0.0.1' for user 'xxxxx' using method 'mysql_native_password' failed with message: Access denied for user 'xxxx'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'xxxx'@'localhost' (using password: YES)

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

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

--- Einde van intern uitzonderingsstackpad ---

bij MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)

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

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

bij MySql.Data.MySqlClient.NativeDriver.Open()

bij MySql.Data.MySqlClient.Driver.Open()

bij MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)

bij MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()

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

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

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

bij PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

 

 

i managed the stuff with phpmyadmin, so, where did i misfired.

 

think i found it, makeing a user not at localhost wont work i guess.. lets wait.....

You need to grant access to your database user:

 

GRANT ALL PRIVILEGES TO 'user'@'127.0.0.1' ON yourdb.* IDENTIFIED BY 'youruserpassword';

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

Originally Posted by spatieman*:

 

You need to grant access to your database user:

yea, found that out, my console sql is poor, i was always used to phpmyadmin.

so i installed xampp for it, geting that working wass horror to, bcouse some ports where already used.

but it is working again,, and making complete backups is a bit easy'r now.

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

Originally Posted by ty_ger07*:

 

Ty_ger...Thanks for your reply. As I do not code myself, your proposition sounds excellent. I would really like to have adkats operational. Any assistance with this would be gladly appreciated.

Pop into my ts anytime mate 43.245.160.15:10028.

Stop the plugin on the layer server (if it is running for some reason).

 

Open the file 'CChatGUIDStatsLogger.inc'. On line 5429, change `TeamID` smallint(5) DEFAULT NULL, to `TeamID` smallint(5) unsigned NOT NULL,.

 

Save the file. Upload it to your layer server. Start the plugin on the layer server. It should work now.

 

I have no way to test since I don't have that new of a database to test on and I don't have a game server or layer server to start the process either. Let me know if it does or does not work.

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