Jump to content

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


ImportBot

Recommended Posts

Originally Posted by BLAZE*:

 

Since the R20 update I'm not connecting to my DB anymore. My webstats page still is so I know its not my DB. But I get no errors. I'm also running a BC2 server with this Procon with the database on the same server with no problems. I have updated to 1.0.0.4 but it still things I'm new and says I have to play one round when I @stats in game. Any Ideas?

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

 

@EBastard

Good find

On my list.

I placed the duration at the wrong place

 

@Blaze

There are no changes made from Version 1.0.0.3 to 1.0.0.4 how the plugin uses the db.

 

Pls turn on trace and post the logs here.

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

Originally Posted by ty_ger07*:

 

I finally updated this plugin.

 

I was scared to do it before because of some minor issues in some earlier versions and I felt that I had found a perfectly good version. Well, I finally updated because I wanted to try out the newer faster version.

 

Now I have an error:

 

[22:59:42 33] Error: Error in UpdateRanking:

[22:59:42 35] Index #0

[22:59:42 35] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.0.92-log]Table 'bf3serverstats.tbl_playerrank' doesn't exist

[22:59:42 35] Native: 1146

[22:59:42 35] Source: myodbc5.dll

[22:59:42 35] SQL: 42S02

Now, I know you don't recommend using table suffixes, but I am. It appears that your rank query is not adding the table suffix to the table name. The table name should be tbl_playerrank_32 not tbl_playerrank.

 

I will try fixing the problem for myself in a bit.

 

 

EDIT: The fix.

 

Line 5825

Used to read: string sqlInsert = @"INSERT INTO tbl_playerrank (PlayerID, ServerGroup)

Now reads: string sqlInsert = @"INSERT INTO " + this.tbl_playerrank + @" (PlayerID, ServerGroup)

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

Originally Posted by ty_ger07*:

 

Here is another ugly error, but it seems to be completely harmless.

 

[23:56:20 35] Error: Error in Startstreaming: System.InvalidOperationException: ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized.

at System.Data.Odbc.OdbcConnection.SetStateExecuting( String method, OdbcTransaction transaction)

at System.Data.Odbc.OdbcCommand.ValidateConnectionAnd Transaction(String method)

at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader)

at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

at PRoConEvents.CChatGUIDStatsLoggerBF3.StartStreamin g()

This error appears when the server ends warm-up. When the warm-up time ends, the round sort of restarts (but not a real restart), and your plugin complains.

 

I think it is completely harmless.

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

Originally Posted by ty_ger07*:

 

My PRoCon layer was randomly hanging at least once a day. Disabling chat logging seems to have fixed that problem.

 

I assume that the server where my database is hosted wasn't liking so much constant activity. Either that, or too much activity from your plugin causes the layer to hang. I assume it is my web server though.

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

Originally Posted by XpKiller*:

 

@ty_ger07 thanks for those reports.

 

In general the lastest version is the most stable version, due i solved those layer crashed cause be odbc errors.

 

Those layer hangs you are talking about.

The layer is still up you cant connect to right?

This is a common error in PRoCon, which is not related to any plugin. Nobody knows what causes this so far i know.

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

Originally Posted by ty_ger07*:

 

Those layer hangs you are talking about.

The layer is still up you cant connect to right?

This is a common error in PRoCon, which is not related to any plugin. Nobody knows what causes this so far i know.

Yes, that was the behavior.

 

After I disabled chat logging, the layer didn't misbehave for over a day. But maybe it was just a coincidence.

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

Originally Posted by Flaxe*:

 

Tried this plugin some weeks ago but couldn't get it to work, probably me just failing with the settings :smile:

 

I would need to know where to find a good database to connect the plugin to. Is there any way to use any free host database or do the database itself need ODBC installed, from what I can see with most hosts, ODBC is not installed.

Our Procon Layer is hosted together with our BF3 Servers by Fragnet, so it's nothing we're hosting by ourselves.

 

Would appreciate any help! :smile:

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

Originally Posted by Panther*:

 

If i start Procon normal, i have no problems. I tried it as windows service and i get these Errors. Any idea?

 

Error: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei PRoConEvents.CChatGUIDStatsLoggerBF3.tablebuilder( )

[11:07:42] Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [iM002] [Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben

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

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

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

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

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

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

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

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

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

 

@Panther

Do you have created a UserDSN or SystemDSN.

 

To solve this Problem create a SystemDSN or change the user with which the service is running.

In my howto the the Service is running under the Systemuser.

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

Originally Posted by Panther*:

 

Thanks,

service is running as Systemuser. I am not sure yet what UserDSN/SystemDSN is and where to change it. I guess this is something i have to do in the ODBC driver settings? At this moment System and User DSN is completely empty. There is nothing written in this fields.

 

I tried to enter the database into SystemDSN and i was able to press test and it wrote "Connected".

 

 

But still, i get the errors.

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

Originally Posted by Panther*:

 

hm, good queation, i used the one undet start-admin tools. i ll have to check it later. The name of the databaseconecter is not inportant or is it? i just entered anything

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

Originally Posted by Panther*:

 

Hey, i have found the 32bit Version under sysWOW64. I have edited this one too.

Strange thing, if i open the SystemDSN it tells me i have no Adminrights and that i cant modify SystemDNS.

But i still can add one. This happend to me also when i tried to edit the 64bit version.

 

But at the 32bit version, there are alot more drivers i can use to connect to a database. Which is the correct one?

 

EDIT:

I have allways till now only udpated the 64bit version, because my server is a 64bit. After you telling me, that i should edit the odbc32bit i realized, that there is only the odbc driver 3.1

 

I installed the 5.1 odbc 32bit driver and was able to choose this driver in SystemDSN and UserDSN of the 32bit admintool.

 

Long story short, it is working now :ohmy:.

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

Originally Posted by Panther*:

 

Just in case if ppl get the same error as i did. Tell em that they need to update the 32bit version of ODBC to 5.1 and use this configurator:

%systemdrive%\Windows\SysWoW64\Odbcad32.exe

Not the one used under Start -> Admintools -> Data..(ODBC)

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

Originally Posted by Kinsman*:

 

Just thought people might like a good laugh.

 

So I setup this plugin, got lots of errors about having no INNODB, reconfigured mysql server to include INNODB, started over and it all just seemed to work, bit surprising for me really.

 

So imagine my consternation when I log into phpmyadmin, and I can't see any tables, what the_?

 

So I start over fresh, join the server, fiddle about abit, still no tables. Mmm, ok turn TRACE on, thats odd, it says all the tables are fine?

 

recheck myphpadmin, hey, wait a minute, theres a PAGE 2!!!!, and there are all the tables!!!!

 

In my defence I did ask for a prefix of "bf3", but they are all called table? so were on the second page.

 

Is it odd the prefix bit didnt work, or wont it matter?

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

Originally Posted by ammoniak007*:

 

Congratulations to all around for this plugin

 

This plugin interests me greatly but I understand nothing has are installation and configuration ...

I have though managed to install it on Procon, but I block level configuration and MySQL plugin

 

I have a MySQL database with a maximum size of 50MB.

Server version: 5.1.49-3

 

with the InnoDB Plugin

 

Can you help me to complete the installation?

 

Thank you for your help

 

PS: I work with Google traductor, thank you for forgiving

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

Originally Posted by Flo670*:

 

Hi

since a few days i get this error but i don't know how to fix it.

 

Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver][mysqld-5.6.4-m7-log]Lock wait timeout exceeded; try restarting transaction

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

bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader)

bei System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

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

 

@Flo670

Known Problem hopefully fixed in next release.

Reason for this error is one long transaction which block other transactions.

This transaction will be split up in next release.

 

The reason why the error appears is that the DB gets slower when is populated.

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

Originally Posted by XpKiller*:

 

Innodb is the new default engine since MySQL 5.5.

Myisam don't support transactions and foreign key constains.

Table joins are faster on innodb.

Myisam is not good for workloads with many update.

Myisam locks the whole table, innodb do rowlocking which allows a better performance with multiply server in the same DB.

 

The only real disadvantage of innodb in my opinion is that it needs more space on the HDD that myisam. But can compress the tablespace.

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

Originally Posted by Kinsman*:

 

thanks for the explanation, I'm a bit behind the times, but INNODB seems to be working well since I activated it.

 

btw could I grab a copy of your improved files for the webscript at all?

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

Originally Posted by Flaxe*:

 

thank you for your plugin I just started developing a nice stats and assignment page for my large server

http://bf3.ngz-server.de/

people love it. I already made 5 assignments, more to come!

That site looks truly awesome. I suppose you won't release that one for the public? :ohmy:
* 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.