Jump to content

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


ImportBot

Recommended Posts

Originally Posted by fantasybattlefield*:

 

ODBC MYSQL Driver 5.1.11 is buggy and will cause faulty date entires.

 

The workaround is to use ODBC MYSQL Driver 5.1.9 or 5.1.10 with Mysql Server before 5.6

or

ODBC MYSQL Driver 5.1.11 with MySQL Server 5.6 or later

Hi,

 

Currently I'm using OCBC 5.1.10 with remote mysql server being 5.1.62 - seems to be working fine.

 

I'm going to update windows. Am I able to use latest ODBC driver 5.2.2 with Server version: 5.1.62 (remote webhost)

 

Thank you for the great plugin & your time.

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

 

You shouldnt update the driver.

 

5.2 is not tested with his plugin. I think it wont work with the 5.2 driver.

Confermed!

5.2 doesn't work with this plugin, cause in the source code is required the 5.1 ODBC driver.

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

Originally Posted by XpKiller*:

 

This Version introduces no new feature or Ingame commands.

The only change is the support for the new MySQL ODBC Driver 5.2. The older one 5.1 is still supported and recommend.

 

The new Version has Support for the new MySQL ODBC Driver 5.2.

Note: there is no need to update to the Driver to 5.2 if Version 5.1 is running fine. The new ODBC Driver is pretty new and may contain bug which causes unexpected behavior. For that reason Plugin Version 1.0.1.0 + MySQL ODBC Driver 5.2 is rated as BETA.

 

Changelog:

1.0.1.0

Added support for the new MySQL ODBC Driver 5.2. (not tested so its beta)

You can switch between both versions in the pluginsetup (Server Detail Version; 5.1 is default)

 

Please give feedback especially if you are using the new MySQL ODBC Driver 5.2!

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

Originally Posted by KaiserZer0*:

 

I am sure this may have been asked before and I missed it, but can the stats be logged into the database to where you can see them round by round (kills, kdr, score, etc, squad) and total?

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

Originally Posted by Prophet731*:

 

I am sure this may have been asked before and I missed it, but can the stats be logged into the database to where you can see them round by round (kills, kdr, score, etc, squad) and total?

Are you referring to a players stat or the server stats?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CptChaos*:

 

I am sure this may have been asked before and I missed it, but can the stats be logged into the database to where you can see them round by round (kills, kdr, score, etc, squad) and total?

You mean you want to see the stats on a session basis? Like a player joins more than 1 time on a server, that you can see the 'session' stats? :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pederlk*:

 

Can't get it to work, getting a [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified error

 

Driver is installed and the connection testet ok(see the attached picture)Procon.jpg

 

Anyone got a solution to my problem? :cool:

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

Originally Posted by XpKiller*:

 

Can't get it to work, getting a [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified error

 

Driver is installed and the connection testet ok(see the attached picture)Attachment 2017

 

Anyone got a solution to my problem? :cool:

You need to setup the 32 bit driver.

 

http://support.microsoft.com/kb/942976

 

Cause:

Code:

A 64-bit version of the Microsoft Windows operating system includes the following versions of the Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):

    The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
    The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.

The Odbcad32.exe file displays the following types of data source names (DSNs):

    System DSNs
    User DSNs

Symptom 1
The 32-bit version of the ODBC Administrator tool displays 32-bit system DSNs, 32-bit user DSNs, and 64-bit user DSNs. The 64-bit version of the ODBC Administrator tool displays 64-bit system DSNs, 32-bit user DSNs, and 64-bit user DSNs.
Symptom 2
The SQLDataSources function returns all versions of user DSNs, regardless of the architecture of the application.
The SQLDataSources function that is called in a 32-bit application returns only system DSNs for 32-bit drivers but returns user DSNs for both 32-bit drivers and 64-bit drivers. 
Similarly, the SQLDataSources function that is called in a 64-bit application returns only system DSNs for 64-bit drivers but returns user DSNs for both 32-bit drivers and 64-bit drivers. 
Therefore, if the application makes a connection by using a user DSN that is returned from the SQLDataSources function, you may receive the following error message:
Data source name not found and no default driver specified
For example, consider the following scenario. You create a user DSN for the 32-bit driver "Microsoft Access Driver (*.mdb)." 
This driver does not have a corresponding 64-bit version. The SQLDataSources function that is called in a 64-bit application returns this 32-bit user DSN. 
However, if you make a connection through this 32-bit user DSN, you receive the error message that is mentioned earlier in this section.
Workaround:

Code:

To work around this problem, use the appropriate version of the ODBC Administrator tool. 
If you build and then run an application as a 32-bit application on a 64-bit operating system, you must create the ODBC data source by using the ODBC Administrator tool in %windir%\SysWOW64\odbcad32.exe. 
To indicate the type of DSN, you can add "_32" to the 32-bit user DSNs and "_64" to the 64-bit user DSNs.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pederlk*:

 

You need to setup the 32 bit driver.

 

http://support.microsoft.com/kb/942976

 

Cause:

Code:

A 64-bit version of the Microsoft Windows operating system includes the following versions of the Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):

    The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
    The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.

The Odbcad32.exe file displays the following types of data source names (DSNs):

    System DSNs
    User DSNs

Symptom 1
The 32-bit version of the ODBC Administrator tool displays 32-bit system DSNs, 32-bit user DSNs, and 64-bit user DSNs. The 64-bit version of the ODBC Administrator tool displays 64-bit system DSNs, 32-bit user DSNs, and 64-bit user DSNs.
Symptom 2
The SQLDataSources function returns all versions of user DSNs, regardless of the architecture of the application.
The SQLDataSources function that is called in a 32-bit application returns only system DSNs for 32-bit drivers but returns user DSNs for both 32-bit drivers and 64-bit drivers. 
Similarly, the SQLDataSources function that is called in a 64-bit application returns only system DSNs for 64-bit drivers but returns user DSNs for both 32-bit drivers and 64-bit drivers. 
Therefore, if the application makes a connection by using a user DSN that is returned from the SQLDataSources function, you may receive the following error message:
Data source name not found and no default driver specified
For example, consider the following scenario. You create a user DSN for the 32-bit driver "Microsoft Access Driver (*.mdb)." 
This driver does not have a corresponding 64-bit version. The SQLDataSources function that is called in a 64-bit application returns this 32-bit user DSN. 
However, if you make a connection through this 32-bit user DSN, you receive the error message that is mentioned earlier in this section.
Workaround:

Code:

To work around this problem, use the appropriate version of the ODBC Administrator tool. 
If you build and then run an application as a 32-bit application on a 64-bit operating system, you must create the ODBC data source by using the ODBC Administrator tool in %windir%\SysWOW64\odbcad32.exe. 
To indicate the type of DSN, you can add "_32" to the 32-bit user DSNs and "_64" to the 64-bit user DSNs.
KK will try that, thx for the assist :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

5.1.10 Driver

 

Anyone who recommend an other free mysql server than sql2.freesqldatabase.com?

So you have setup the dsn in both odbc tools and entered the right credetials into the plugin setup?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pederlk*:

 

So you have setup the dsn in both odbc tools and entered the right credetials into the plugin setup?

If you mean the ODBC Data Sources (32-bit) and the MySQL Workbench tools is the answer yes

 

And i have entered the same cretentials i used in my dsn, into the plugin setup

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

Originally Posted by XpKiller*:

 

If you mean the ODBC Data Sources (32-bit) and the MySQL Workbench tools is the answer yes

 

And i have entered the same cretentials i used in my dsn, into the plugin setup

Then it should be working Strange. did you restart procon`?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pederlk*:

 

Then it should be working Strange. did you restart procon`?

Yup did that

 

Funny thing is, it worked under windows 7, but not under windows 8

 

I'm almost giving up, so for far it have taken me four days to find a solution :sad:

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

Originally Posted by XpKiller*:

 

Yup did that

 

Funny thing is, it worked under windows 7, but not under windows 8

 

I'm almost giving up, so for far it have taken me four days to find a solution :sad:

come on why didnt you said that you are using windows 8... :-(

 

So its problem with windows 8 and procon.

 

Sry i cant help you with that.

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

Originally Posted by pederlk*:

 

come on why didnt you said that you are using windows 8... :-(

 

So its problem with windows 8 and procon.

 

Sry i cant help you with that.

Arhh damn sorry for that, dunno why i didn't mention that :sad:

 

Please forgive me

 

Hopefully someone will come with a solution to windows 8 someday

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

Originally Posted by pederlk*:

 

come on why didnt you said that you are using windows 8... :-(

 

So its problem with windows 8 and procon.

 

Sry i cant help you with that.

Procon and all the plugins i got installed works fine under windows 8, except for yours

 

Fingers crossed that their will fix it :smile:

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

Originally Posted by KaiserZer0*:

 

Are you referring to a players stat or the server stats?

Player stats, this is for a tournament and we want to break it down round by round by kills, deaths, score, squads they are in. Will be used for battle reports.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by gabipaci*:

 

[21:01:49 65] Error: Error in Startstreaming:

[21:01:49 65] Index #0

[21:01:49 65] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.61-0+squeeze1]Cannot add or update a child row: a foreign key constraint fails (`sid76361_1`.`tbl_playerstats`, CONSTRAINT `fk_tbl_playerstats_tbl_server_player1` FOREIGN KEY (`StatsID`) REFERENCES `tbl_server_player` (`StatsID`) ON DELETE CASCADE ON UPDATE NO ACTION)

[21:01:49 65] Native: 1452

[21:01:49 65] Source: myodbc5.dll

[21:01:49 65] SQL: HY000

Can u help please?

Thanks

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

Originally Posted by XpKiller*:

 

[21:01:49 65] Error: Error in Startstreaming:

[21:01:49 65] Index #0

[21:01:49 65] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.61-0+squeeze1]Cannot add or update a child row: a foreign key constraint fails (`sid76361_1`.`tbl_playerstats`, CONSTRAINT `fk_tbl_playerstats_tbl_server_player1` FOREIGN KEY (`StatsID`) REFERENCES `tbl_server_player` (`StatsID`) ON DELETE CASCADE ON UPDATE NO ACTION)

[21:01:49 65] Native: 1452

[21:01:49 65] Source: myodbc5.dll

[21:01:49 65] SQL: HY000

Can u help please?

Thanks

do you using a table suffix?

 

table suffix will cause such problems it not tested very well since it is not needed anymore.

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

Originally Posted by theburninglink*:

 

Hello,

 

I'm hoping someone can help me with my problem, I've recently set up a mysql database at the provider which also hosts my website. I've created a seperate database and username in order to properly use the logger, but i'm having trouble connecting to the database.

For some reason it keeps denying my user, even though i've given acceshosts permission to enter the database. I can connect to the database when i use the odbc from my computer, but i cant get it to work out of procon.

What's the IP i have to give remote acces in order for it to work? Is it the BF3 server ip?

Thank you in advance

 

[02:26:13 78] Error in Tablebuilder:

[02:26:13 79] Index #0

[02:26:13 79] Message: [MySQL][ODBC 5.1 Driver]Access denied for user 'u5136_stats'@'%' to database 'db5136_stats'

[02:26:13 79] Native: 1044

[02:26:13 79] Source:

[02:26:13 79] SQL: HY000

[02:26:13 79] Index #1

[02:26:13 79] Message: [MySQL][ODBC 5.1 Driver]Access denied for user 'u5136_UEFstats'@'%' to database 'db5136_UEFstats'

[02:26:13 80] Native: 1044

[02:26:13 80] Source:

[02:26:13 80] SQL: HY000

[02:26:13 83] Error: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder( )

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

Originally Posted by KaiserZer0*:

 

Player stats, this is for a tournament and we want to break it down round by round by kills, deaths, score, squads they are in. Will be used for battle reports.

I am thinking there is probably some Boolean code (that determines when the round is over) that can be used in contrast with a loop or something to either put them all in a new row...or would I need to make it to where each round was a separate table?
* 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.