Jump to content

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


ImportBot

Recommended Posts

Originally Posted by ronin*:

 

@ronin you need to setup at least one DSN with the mysql ODBC Driver on your procon host.

Hi

 

Im not sure how to do that but i did install the 32bit odbc driver and the errors have stoped but im not sure if its working properly yet . Im kind of stumped if it doesnt as im using win2008 server now and ws using 2003 before and there so different on the 2003 server i didnt have to do anything except install the driver.

 

Thanks

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

 

XpKiller,congratulations for your work, i have installed your procon plugin and your web page statistics and work very well both. :smile:

How can i add the crossbow statistics? :ohmy:

Thanks

XpKiller doesn't have a web statistics page made by him. There are several people who have made web statistics pages. You should ask the person who created the web statistics page you are using for support.

 

BTW, I have a web statistics page which does include the Crossbow (I just added the crossbow a few hours ago). See link in my signature.

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

Originally Posted by diabolik1973*:

 

XpKiller doesn't have a web statistics page made by him. There are several people who have made web statistics pages. You should ask the person who created the web statistics page you are using for support.

 

BTW, I have a web statistics page which does include the Crossbow (I just added the crossbow a few hours ago). See link in my signature.

I made a mistake :mad: I have seen right now that he has developed only Procon plugin.

Thank you :smile:

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

Originally Posted by ArcticWolf*:

 

@ronin you need to setup at least one DSN with the mysql ODBC Driver on your procon host.

We're getting the same errors, despite checking all has been installed and set up properly.

 

Would you mind providing a little more detail on what needs to be done to set this exact feature up plz m8 :smile:__?

 

TY.

 

EDIT:- Sok, sorted TY :smile:.

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

Originally Posted by diabolik1973*:

 

XpKiller doesn't have a web statistics page made by him. There are several people who have made web statistics pages. You should ask the person who created the web statistics page you are using for support.

 

BTW, I have a web statistics page which does include the Crossbow (I just added the crossbow a few hours ago). See link in my signature.

Hi i have installed your web statistics and work fine.

Hi have a problem, i would like to exclude from the ranking my clan.

We haven't the battlefield clantag becouse it's too short but we are registred on origin with our_clan_name-our_nick.

Mysql side like:

Code:

SELECT 'SoldierName' FROM mydb.tbl_playerdata WHERE SoldierName NOT LIKE '%our_clan_name';
How do I change your code?

I'm not an expert in php code :huh:

Thank you.

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

Originally Posted by ty_ger07*:

 

Hi i have installed your web statistics and work fine.

Hi have a problem, i would like to exclude from the ranking my clan.

We haven't the battlefield clantag becouse it's too short but we are registred on origin with our_clan_name-our_nick.

Mysql side like:

Code:

SELECT 'SoldierName' FROM mydb.tbl_playerdata WHERE SoldierName NOT LIKE '%our_clan_name';
How do I change your code?

I'm not an expert in php code :huh:

Thank you.

You probably shouldn't ask here. :ohmy:

 

Ask here:

www.phogue.net/forumvb/showth...apstats-Logger*

 

EDIT: Here's your reply: myrcon.net/...server-stats-page-for-xpkillers-bf3-chat-guid-stats-and-mapstats-logger#entry23256

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

Originally Posted by EBassie*:

 

Hey XPKiller,

 

Today we shut down our dedicated server, running our webserver & mysql.

We moved our site & database (now MariaDB) to a nice cheap VPS for the time being, awaiting our new dedicated server.

 

But I noticed the CPU load reaches 100% for +/- 2,5 minutes every time the rounds end and stats are updated.

 

Is there any way to fix this behaviour? You have any tips for the best setup?

 

Current VPS specs:

RAM: 512MB

Disk: 25GB

Cpu: X5650 (1 core)

 

Plugin settings (version 1.0.0.9):

Chatlogging: Yes

Instant Chatlogging: Yes

 

Close Connection After each request: No

High Performance mode: No

Failed retry: 4

Minimum secs between ServerInfo Updates: 60

 

Sessions: No

Welcome Message: No

 

It really seems InnoDB and transactions are pretty heavy for this machine. Any way to lighten it up a bit?

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

Originally Posted by XpKiller*:

 

@EBastard

 

The default values for innodb are very bad. That is the reason why you got such a bad result.

 

Could you give so info like the my.cnf and how much ram you are using right now.

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

Originally Posted by EBassie*:

 

@EBastard

 

The default values for innodb are very bad. That is the reason why you got such a bad result.

 

Could you give so info like the my.cnf and how much ram you are using right now.

I know 512MB RAM is not much, but that's all we have at the moment. (as this is a temporary solution)

 

I don't have access to the my.cnf at this time but here some graphics of the RAM & SWAP usage:

 

VPS-RAM.jpg VPS-SWAP.jpg

 

I think I will be able to get access to my.cnf tomorrow.

 

Also I forgot: we switched to MariaDB 5.5.28. So no MySQL. :smile:

 

 

 

EDIT: The my.cnf is empty

So if you have some tips to improve performance with our limited setup: shoot :biggrin:

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

Originally Posted by CaptCourage*:

 

How to set up table_...I am getting this error but it could have something to do with building the table on my sql server. I have been at this for days and any help would be extremely appreciated.....

 

Error in Tablebuilder:

[14:17:44 78] Index #0

[14:17:44 78] Message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

[14:17:44 78] Native: 0

[14:17:44 78] Source:

[14:17:44 78] SQL: IM002

[14:17:44 78] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder( )

[14:17:44 79] Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [iM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

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)

 

Thanks in advance

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

Originally Posted by Baile*:

 

Any idea what causes this:

 

 

Index #0

[00:21:53 46] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.21-log]No database selected

[00:21:53 46] Native: 1046

[00:21:53 46] Source: myodbc5.dll

[00:21:53 47] SQL: 3D000

[00:21:53 47] Error: System.IndexOutOfRangeException: Cannot find column 0.

at System.Data.DataColumnCollection.get_Item(Int32 index)

at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder( )

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

Originally Posted by CaptCourage*:

 

Remkot

 

 

Hi,

 

is there a log viewer for the chat messages for my website?

 

Thanks

Look in your procon folder on your hard drive and open logs folder , open server ip folder and view logs...View them using notepad
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

Any idea what causes this:

 

 

Index #0

[00:21:53 46] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.21-log]No database selected

[00:21:53 46] Native: 1046

[00:21:53 46] Source: myodbc5.dll

[00:21:53 47] SQL: 3D000

[00:21:53 47] Error: System.IndexOutOfRangeException: Cannot find column 0.

at System.Data.DataColumnCollection.get_Item(Int32 index)

at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder( )

Do you have entered a valid database name?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BF3-FairPlay*:

 

Hi,

 

I'm getting this error by the end of every round:

 

Code:

[20:27:28 41] Error: Error in Startstreaming: 
[20:27:28 41] Index #0
[20:27:28 41] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.27-cll]Cannot add or update a child row: a foreign key constraint fails (`bf3fairp_01`.`tbl_server_player`, CONSTRAINT `fk_tbl_server_player_tbl_server` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE NO ACTION)
[20:27:28 41] Native: 1452
[20:27:28 41] Source: myodbc5.dll
[20:27:28 41] SQL: HY000
Could someone please help me to resolve it?

 

Many thanks.

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

Originally Posted by ty_ger07*:

 

Hi,

 

I'm getting this error by the end of every round:

 

Code:

[20:27:28 41] Error: Error in Startstreaming: 
[20:27:28 41] Index #0
[20:27:28 41] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.27-cll]Cannot add or update a child row: a foreign key constraint fails (`bf3fairp_01`.`tbl_server_player`, CONSTRAINT `fk_tbl_server_player_tbl_server` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE NO ACTION)
[20:27:28 41] Native: 1452
[20:27:28 41] Source: myodbc5.dll
[20:27:28 41] SQL: HY000
Could someone please help me to resolve it?

 

Many thanks.

The first post says this:

 

" Its recommend to use the 5.1.9 or 5.1.10 Driver".

 

Is it possible for you to get your ODBC driver version changed?

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

Originally Posted by ronald32*:

 

Hey xp-killer thanks for the great work you did and i am having a issue i am able to connect to the database ans use the stats but when i use the playerstats.php that guy has created its doesn't show the battle stats but when i enter in my server everything works fine with the plugin and here is the link to website: http://mysql.clanservers.com/player_stats.php

Pliz can you help me out what is going wrong i have used localhost,127.0.01,my server ip that is running mysql and none of them have solved the problem and i port forwarded 3306 and i can use another computer and connect to my mysql server with no problem i have also telnet my ip and port works perfect !! I got no idea why its not going!! Any help would be great thank you and btw i am new to this !!

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

Originally Posted by BF3-FairPlay*:

 

The first post says this:

 

" Its recommend to use the 5.1.9 or 5.1.10 Driver".

 

Is it possible for you to get your ODBC driver version changed?

Hi, thank you for your response.

 

I'm actually hosting procon layer at prolayer.co.uk (the owner of this site is ronin - member of this forum) and I been told that they have correct driver installed to work with plugin. The plugin itself logs chat, mapstats and playerdata without a problem so I thought it must be somethingng else that not letting plugin to work correctly.

 

Also, plugin lets you to choose the version of the ODBC driver and I've tried both - same error. So, if it caused by incorrect driver installed I would speak to the owner of layer hosting to have a look at it but I need to be sure it's a drivers fault so I don't ask him to restart his server when he has many custumers runing procon at his server :smile:

 

Many thanks.

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

Originally Posted by BF3-FairPlay*:

 

@BF3-FairPlay

 

did you setup a a tablesuffix in the plugin configuration?

No, I haven't. Shall I?

 

 

Ok, seems like it really was drivers fault as my layer's hoster restarted the server (probably re-installed driver as well) and it started to work.

 

Thanks for your help.

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

Originally Posted by BF3-FairPlay*:

 

Please not. Its not needed.

I got the same error again :sad: Not sure what's going on... I think I need to get hold of ronin (owner of hosting server) to see if he can do something about it...

 

In case of error does your plugin stores all the data until successful connection to sql database or data is being lost due to this type of errors?

 

Cheers

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

Originally Posted by XpKiller*:

 

The plugin tries to write the stats after every round. if it fails the stats for that round are lost.

 

Regarding the error you got:

The error means that there is an entry missing the table tbl_server. This entry should be created/updated every 2 minutes.

 

Do you get any other errors?

 

It could help to drop all tables and let the plugin create the tables again.

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

Originally Posted by BF3-FairPlay*:

 

The plugin tries to write the stats after every round. if it fails the stats for that round are lost.

 

Regarding the error you got:

The error means that there is an entry missing the table tbl_server. This entry should be created/updated every 2 minutes.

 

Do you get any other errors?

 

It could help to drop all tables and let the plugin create the tables again.

I did it few times, I mean deleting all tabels and I'm not getting any other errors.

 

Regarding loosing data, would it be possible to get your plugin to try to write data several times to reduce chances of loosing all data for past round?

 

Thanks.

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