Jump to content

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


ImportBot

Recommended Posts

Originally Posted by Fynn13*:

 

Hi, I already found the table creation scripts but I'm getting confused with some of the variables used, could you pls provide a "create table" scripts for web hosting install?

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

 

@Fynn13

The plugin create the tables by itself so no need for a table script.

 

@dyfuzor

so far i know gameserver.com dont install this ODBC Driver so you not able to use this plugin.

 

@Matt-One

 

I have an idea what could cause such an error atm im trying to reproduce it.

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

Originally Posted by Vetula*:

 

hey

 

Hab mal eine frage , und zwar auf deiner ToDo Liste steht :

 

new features (LiveView)

 

Was meinst du denn damit genau ? welche Spieler gerade on sind wieviele Points ?

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

Originally Posted by gabipaci*:

 

XpKiller, have u any idea, log to database the players, who try start our server?

Log players, and play time, whos join to server until start the logger plugin (we have set player request 4 atm)

 

Regards

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

Originally Posted by Athlon*:

 

Is it possible to merge 2 databases from the same month? (I have direct access to the Mysql).

 

I didn't realize the plugin kept them apart automatically, so I created two databases, one for each of our servers.

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

Originally Posted by Athlon*:

 

I'm seeing an error:

 

Code:

[13:01:55 98] BF3 Chat, GUID and Stats Logger Disabled
[13:02:04 55] BF3 Chat, GUID and Stats Logger Enabled
[13:02:04 55] BF3 Chat, GUID and Stats Logger:  Floodprotection set to 10 Request per Round for each Player
[13:02:06 64] Error in Tablebuilder: 
[13:02:06 64] Index #0
[13:02:06 65] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.20]ALTER command denied to user 'xxx'@'localhost' for table 'tbl_playerstats'
[13:02:06 65] Native: 1142
[13:02:06 65] Source: myodbc5.dll
[13:02:06 65] SQL: HY000
Other than this error the plugin seems to be working fine. Should I be concerned? (I replaced the actual user name with 'xxx'.)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Matt-One*:

 

I'm seeing an error:

 

Code:

[13:01:55 98] BF3 Chat, GUID and Stats Logger Disabled
[13:02:04 55] BF3 Chat, GUID and Stats Logger Enabled
[13:02:04 55] BF3 Chat, GUID and Stats Logger:  Floodprotection set to 10 Request per Round for each Player
[13:02:06 64] Error in Tablebuilder: 
[13:02:06 64] Index #0
[13:02:06 65] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.20]ALTER command denied to user 'xxx'@'localhost' for table 'tbl_playerstats'
[13:02:06 65] Native: 1142
[13:02:06 65] Source: myodbc5.dll
[13:02:06 65] SQL: HY000
Other than this error the plugin seems to be working fine. Should I be concerned? (I replaced the actual user name with 'xxx'.)
it seems the user xxx doesn't have all the permission...is he admin?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

it seems the user xxx doesn't have all the permission...is he admin?

Yes, and the plugin is working fine otherwise. This error shows one time when I first activate the plugin.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by krov7*:

 

Hi, I would like for my PlayerMessage line for when someone types !stats to read this: John is rank 4 of 9001 and taken 5 dogtags. This is the code I have right now, but it obviously doesn't work because that's not the right code.

%playerName% is rank %playerRank% of %allRanks% and taken %Weapon% dogtags

 

in game, if I type !stats melee , then I can get a separate line for melee to show up but I can't get it to work in the PlayerMessage because I don't know (if it exists) the command that would show melee stats, something like %WeaponMelee%

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

Originally Posted by XpKiller*:

 

@gabipaci

"--" is the code for unknown.

This means procon could not find the country related to the ip address in the geoip.dat file.

So this is no error ofd the plugin.

 

@krov7

atm this is not possible but its a good point for the to do list theoretical it is possible.

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

Originally Posted by Matt-One*:

 

ehy XpKiller any news about this : My Problem :P* ? Could this problem be associed to a crash of the server or a mass kick of PB to all the players? Or it's a bug? Thank u..

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

Originally Posted by gabipaci*:

 

@gabipaci

"--" is the code for unknown.

This means procon could not find the country related to the ip address in the geoip.dat file.

So this is no error ofd the plugin.

If i change the original GeoIp.dat for newer, will be ok?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Matt-One*:

 

@Matt-One

Basically your problem can occure if the endofround event is fired twice by procon.

I will change a few thing which properly avoid such problems.

THank u so much, i will wait for a new version, i use ultimate map manager so if other people that doesn't use UMM don't have the crash problem so i think my problem is UMM :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Neliscornelis*:

 

sometimes i have this in my procon log:

 

[04:00:54 99] Error: SQLQuery:

[04:00:55 01] Index #0

[04:00:55 02] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'localhost' (10048)

[04:00:55 02] Native: 2003

[04:00:55 02] Source:

[04:00:55 02] SQL: HY000

[04:00:55 04] Index #1

[04:00:55 04] Message: [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'localhost' (10048)

[04:00:55 04] Native: 2003

[04:00:55 04] Source:

[04:00:55 06] SQL: HY000

 

 

Found some info on this:

 

Code:

When connecting to a MySQL database through ODBC the following error is generated:

    ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10048)

The precise presentation of this error may vary according to the software used, this wording was generated from an ASP.NET application.

Other symptoms:

    The application has previously been able to successfully connect to the database.
    Waiting a minute or so, and the application can connect again without the error.
    The error seems to manifest itself under "stress" conditions, when lots of connections are being made opened and closed in a short space of time (minutes).

These notes only apply to the error above when the "other symptoms" are present.
Cause

The error is caused not by MySQL or the MySQL ODBC driver, but by the behaviour of Windows. For performance reasons Windows maintains a connection on a TCP port after it is closed for (by default) 4 minutes. The advantage of this is that if the connection needs to be reopened it can be done at a lower cost. The trouble is that under heavy load when lots of connections are opened and closed to the database, the system can hit a limit on the maximum number of connections allowed (even though as far as the application is concerned these connections have been closed).
Resolution

    To decrease the delay before Windows releases an open TCP connection, use regedit to edit the following registry value of:

    HKLM\
      SYSTEM\
        CurrentControLSet\
          Services\
           Tcpip\
            Parameters\
              TcpTimedWaitDelay

    This value does not exist by default and will need to be created. It should be a DWORD. The valid range is 0x1E - 0x12C (30seconds to 300 seconds), the default is 0xF0 (240 seconds).

    Decreasing the value of TcpTimedWaitDelay should help, but is unlikely to permanently solve the problem for a busy system (because if the system is busy the limits will still be hit).
    Consider whether it is possible to modify the application to re-use database connections instead of closing and reopening them.

    In theory enabling connection pooling would address this problem. For more information about connection pooling see http://support.microsoft.com/default.aspx_scid=kb;EN-US;q169470. To enable connection pooling for the MySQL driver:
        Start > Control Panel > Administrative Tools > Data Sources (ODBC).
        This will open up the "ODBC Data Source Administrator".
        On the "Connection Pooling" tab, double click the ODBC Driver you are using to connect to MySQL.
        This will open up the "Set Connection Pooling Attributes" dialog.
        To enable pooling select "Pool Connections to this driver"

 

 

EDIT: I did above and will wait for the results.. I let you know.

 

All is hosted on (procon and mysql) localhost. Also, when i join i see my welcome stats.. but if other ppl join that were before on server i dont see there welcome stats.. Sometimes i see them but most of the time not.. Is it just showing the first 10 players or something?

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

Originally Posted by XpKiller*:

 

@Neliscornelis

 

i cant believe that you hit some kind of connection limit because than all those PRoCon hoster would have Trouble too.

 

I think it is much more realistic that you mysql server just was not running/or too busy ( You got erorrcode 2003)

http://dev.mysql.com/doc/refman/5.5/...to-server.html

 

Enable the Connection Pool should solve the Windows connection handling.

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

Originally Posted by greybl00d*:

 

@XpKiller

 

i set up database etc and when i turn on plugin i get the following error

 

Error: System.Security.SecurityException: Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b7[-----]089' failed.

at System.Security.CodeAccessSecurityEngine.Check(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet)

at System.Security.PermissionSet.Demand()

at System.Data.Common.DbConnectionOptions.DemandPermi ssion()

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

at System.Data.Odbc.OdbcConnectionFactory.PermissionD emand(DbConnection outerConnection)

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

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

at PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder( )

The action that failed was:

Demand

The type of the first permission that failed was:

System.Data.Odbc.OdbcPermission

The Zone of the assembly that failed was:

MyComputer

 

is this a firewall issue at the procon hoster side ? I allready raised ticket ot make sure ODBCDriver is installed

 

 

thx in advance

 

grey

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

Originally Posted by Matt-One*:

 

Hello all,

 

It is possible to install and get this working on a procon layer that is hosted on gameservers.com?

 

Thanks,

Alex.

No u can't because they doesn't got ODBC Driver installed on their layer
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Quax*:

 

Since the last version I have this error:

 

[00:30:46 82] Error: Error in Startstreaming:

[00:30:46 84] Index #0

[00:30:46 85] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.18]Out of range value for column 'Playtime' at row 1

[00:30:46 85] Native: 1264

[00:30:46 86] Source: myodbc5.dll

[00:30:46 86] SQL: HY000

 

 

I'll set the plugin on TRACE mode just to give you more info. Maybe tomorrow....

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

Originally Posted by XpKiller*:

 

No trace needed the error clear enough.

Is sessions on ? And the option to save them to DB.

Also please check which datatype this column has in your DB.(tbl_playerstats)

Do have a player account on your server which just idle on it .

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

Originally Posted by Quax*:

 

No trace needed the error clear enough.

Is sessions on ? And the option to save them to DB.

Also please check which datatype this column has in your DB.(tbl_playerstats)

Do have a player account on your server which just idle on it .

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

Originally Posted by Quax*:

 

So I have testet some settings (within the plugin & the DB) but nothing changed.

After I have found the Versio 1.0.0.1 and reinstalled it on our layer, anything ist working correctly.

Unfortunatly it is definetiv a bug of the current version (1.0.0.3).

 

Regards Quax

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

Originally Posted by XpKiller*:

 

If there would be a bug in Version 1.0.0.3 it would be 1.0.0.1 too because the streaming hasnt changed.

The only thing could be the the plugin try to insert a negative value.

Also you are the only one who has such an error yet.

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