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.




×
×
  • 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.