Jump to content

Chat, GUID, Stats and Mapstats Logger[1.1.0.1][BF3]


ImportBot

Recommended Posts

Originally Posted by VWOer*:

 

Nice, love you Killer, awesome work again. Can't wait for a webpage for your stats. If you find something like this, could you please post it here or on your first post. can't wait to put our serverstats on our homepage again :ohmy:.

I am currently working on such page for e107; I have been updating my own one from BFBC2 to BF3. It will probably look like this page (without the CMS) but with extra functionalities (global server statistics, dog tag history and chat logs for example). I am however still busy with the development of these pages as there are still bugs left and the database is quite different from BFBC2. Depending on your site system I can update the code for you. Please contact me if you are interested (if anyone else is, please contact me as well). I might release my scripts on these forums sooner or later.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    1934

Originally Posted by ty_ger07*:

 

Keyword list:

 

Code:

RPG-7{RPG}
Weapons/SCAR-H/SCAR-H{SCAR,SCAR-H}
USAS-12{USAS12}
M27IAR{M27}
AEK-971{AEK971,AEK}
Weapons/A91/A91{A91}
Weapons/AK74M/AK74{AK74,AK74M}
Weapons/G36C/G36C{G36C}
Weapons/G3A3/G3A3{G3A3,G3}
Weapons/Gadgets/C4/C4{C4}
Weapons/Gadgets/Claymore/Claymore{CLAYMORE,CLAY,LANDMINE}
Weapons/KH2002/KH2002{KH2002}
Weapons/Knife/Knife{KNIFE}
Weapons/M416/M416{M416}
Weapons/MagpulPDR/MagpulPDR{MagpulPDR}
Weapons/MP412Rex/MP412REX{MP412REX,REX,MP412}
Weapons/MP443/MP443{MP443}
Taurus .44{.44,Taurus,Taurus.44}
Weapons/P90/P90{P90}
Weapons/Sa18IGLA/Sa18IGLA{Sa18IGLA,Sa18,IGLA}
Weapons/UMP45/UMP45{UMP,UMP-45,UMP45}
Weapons/XP1_L85A2/L85A2{L85A,L85}
Thank you!

 

EDIT: Added those to the Keywordlist Array, same problem. Specific weapon not found when I type in '!stats M416'.

 

I am using the latest plugin version.

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

Originally Posted by tarreltje*:

 

getting this error:

 

Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'sql.controlyourserver.net' (10060)

ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'sql.controlyourserver.net' (10060)

at System.Data.Odbc.OdbcConnection.HandleError(OdbcHa ndle hrHandle, RetCode retcode)

at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcCo nnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)

at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConn ection outerConnection, OdbcConnectionString connectionOptions)

at System.Data.Odbc.OdbcConnectionFactory.CreateConne ction(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.Odbc.OdbcConnection.Open()

at PRoConEvents.CChatGUIDStatsLoggerBF3.getUpdateServ erID(CServerInfo csiServerInfo)

 

What seems to be the problem? My hosting is telling me that procon is the problem, but i dont think so!

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

Originally Posted by XpKiller*:

 

@tarreltje

 

The plugin can not connect to the db server.

I would guess a Firewall rule is missing or your connection setting to the database are wrong.

 

Please make sure the you are using the right port an server address of the mysql server.

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

Originally Posted by XpKiller*:

 

Thank you!

 

EDIT: Added those to the Keywordlist Array, same problem. Specific weapon not found when I type in '!stats M416'.

 

I am using the latest plugin version.

hmm thats really strange.

 

Could you take a look into the weapontables if they are containing any values?

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

Originally Posted by Waterboyeee*:

 

Those who reset stats each month..... Are you all creating a new database and keeping the old one? Or do you just delete the information from your current one? If so, what method of deleting do you use?

 

Could I just run "TRUNCATE TABLE tablename"?

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

Originally Posted by C-4-N*:

 

thx

 

i have specific weapon not found

 

 

... well i follow step by step , run in localhost , try odbc connector , it work ... but

 

Error in Tablebuilder:

Index #0

Message: [Microsoft][Gestionnaire de pilotes ODBC] Source de données introuvable et nom de pilote non spécifié

Native: 0

Source:

SQL: IM002

and we can't delete the line 144 ever came back

 

boring ...

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

Originally Posted by XpKiller*:

 

I guess it is the 64bit version right?

then you need to install the 32bit version of the odbc driver too.

 

And configure it with with the odbc manger for 32bit.

 

In some cases you need to configure both 64 and 32 bit version of the odbc driver ( dont know why)

 

http://robertoschiabel.wordpress.com...vs-64bit-odbc/

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

Originally Posted by C-4-N*:

 

i have no error , in procon when i set debug on error !

 

it s ingame , when type @rank or @stats etc , it s ever say :" weapon specifc not found !!"

 

all seems good because i have message like that

 

Trace: SQLQuery Weaponquery: INSERT INTO tbl_weapons_assaultrifleveit (`StatsID`, `M16A4_deaths`, `M416_kills`, `M416_hs`) VALUES(58, 3, 9, 2) ON DUPLICATE KEY UPDATE `M16A4_deaths` = `M16A4_deaths` + 3 , `M416_kills` = `M416_kills` + 9 , `M416_hs` = `M416_hs` + 2

there is value in columns, but no name near value , normal ?

 

i have name of players in playerdata

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

Originally Posted by Waterboyeee*:

 

............

 

Those who reset stats each month..... Are you all creating a new database and keeping the old one? Or do you just delete the information from your current one? If so, what method of deleting do you use?

 

Could I just run "TRUNCATE TABLE tablename"?

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

Originally Posted by Frakkas*:

 

Here's an error I received tonight. Let me know if you need more info:

 

[21:19:42 23] Info: OnLevelLoaded: MP_Subway Gamemode: RushLarge0 Round: 1/2

[21:19:42 23] Info: update sql server

[21:19:42 23] Info: Started streaming to the DB-Server

[21:19:42 23] Info: Connection OdbcCon closed

[21:19:42 51] Info: OdbcCon open

[21:19:42 81] Info: OdbcConn open

[21:19:44 04] Info: Status ID-Cache: 3 ID's in cache

[21:19:44 04] Info: Connection OdbcConn closed

[21:42:44 03] Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [08S01] [MySQL][ODBC 5.1 Driver]Lost connection to MySQL server at 'reading authorization packet', system error: 0

at System.Data.Odbc.OdbcConnection.HandleError(OdbcHa ndle hrHandle, RetCode retcode)

at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcCo nnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)

at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConn ection outerConnection, OdbcConnectionString connectionOptions)

at System.Data.Odbc.OdbcConnectionFactory.CreateConne ction(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.Odbc.OdbcConnection.Open()

at PRoConEvents.CChatGUIDStatsLoggerBF3.getUpdateServ erID(CServerInfo csiServerInfo)

[22:24:44 36] Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [08S01] [MySQL][ODBC 5.1 Driver]Lost connection to MySQL server at 'reading authorization packet', system error: 0

at System.Data.Odbc.OdbcConnection.HandleError(OdbcHa ndle hrHandle, RetCode retcode)

at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcCo nnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)

at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConn ection outerConnection, OdbcConnectionString connectionOptions)

at System.Data.Odbc.OdbcConnectionFactory.CreateConne ction(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.Odbc.OdbcConnection.Open()

at PRoConEvents.CChatGUIDStatsLoggerBF3.getUpdateServ erID(CServerInfo csiServerInfo)

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

Originally Posted by XpKiller*:

 

This no error caused by the plugin itself.

 

The Mysql Server has refused the connection during querying.

Code:

Lost connection to MySQL server at 'reading authorization packet', system error: 0
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by C-4-N*:

 

i have no error , in procon when i set debug on error !

 

it s ingame , when type @rank or @stats etc , it s ever say :" weapon specifc not found !!"

 

all seems good because i have message like that

 

 

 

there is value in columns, but no name near value , normal ?

 

i have name of players in playerdata

omg man it's because we can't type command with "/" for command not appear !!!

 

-_-" so "/@rank" won't work and "@rank" work

 

thx for help doctor ! :biggrin:

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

Originally Posted by Frakkas*:

 

The Mysql Server has refused the connection during querying.

Is this something that would happen frequently? It seems to be happening to me quite a bit. Perhaps I need to put my database somewhere else.

 

Also, the plugin doesn't seem to recover from it. Is there a way to maybe schedule a retry so the data isn't lost?

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

Originally Posted by sp37zn4z*:

 

Hi Xpkiller,

 

Thanks for the great plugin. I got the !stats and !top10 Welcomestats working but i'm having a problem with weaponstats (e.g. !top10 WEAPONNAME !stats WEAPONNAME) the plugin recognizes the command but all i'm getting as a reply is "This are the TOP10 WEAPONNAME KILLS in SERVERNAME" just that and no name list 1-10 as what !top10 giving to me. And as for !stats WEAPONNAME i'm getting a reply "no stats for this weapon try on the next round" i already played 10 rounds and still nothing?

 

I did a trace debug and all are working fine, it queries the db every round ends with no errors. Also i check the existing weapon/stats tables on the db through MYSQL workbench and all weapons/stats have the recorded values.BTW, i already deleted the (procon.protected.plugins.setVariable "CChatGUIDStatsLoggerBF3" "Keywordlist" "") on my config file. I'm using a procon client;not on a procon layer. Hosted locally running server Windows 2003 32bit SP2.

 

The odd thing with the deletion of the key (procon.protected.plugins.setVariable "CChatGUIDStatsLoggerBF3" "Keywordlist" "") on the config file is everytime i run procon with it and closes the procon; the deleted key reverted back in the config file. Is this normal? It seems the key is associated in the keywordlist of the plugin. And btw, the keyword list is incomplete do we have to add the specific weaponname manually?

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

Originally Posted by sp37zn4z*:

 

I also have a few questions on the plugins functions:

 

What's the function of these options? What does it do?

 

MapStats

Overall ranking(merged Serverranking)

Send Stats to all Player

tableSuffix

TimeOffset

Servertime Offset

Webrequest

 

I'm asking coz i didn't read any info's regarding these options from the plugin details. No info given by the users nor the developer itself. And btw, i browsed all 38 pages in this thread before posting this.

 

Thanks

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

Originally Posted by Frakkas*:

 

Also, the plugin doesn't seem to recover from it. Is there a way to maybe schedule a retry so the data isn't lost?

I poked around a bit, and I'm just familiarizing myself with plugin development, but this appears to just be updating the tbl_server with a current snapshot of CServerInfo, I'm not too worried about the data loss on this one.

 

Edit:

 

I did some tracing, and the plugin does keep working after this error (I initially thought it stopped everything). It seemed like this was the only error I've seen so far and I noticed you are updating this info on every OnServerInfo() and I wondered if it could be something with re-entrancy. Would Procon send another OnServerInfo if you haven't returned from a previous?

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