Jump to content

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


ImportBot

Recommended Posts

Originally Posted by Dragon2203*:

 

I get this error:

[18:17:23 76] Error: getUpdateServerID1: System.Data.Odbc.OdbcException: ERROR [08S01] [MySQL][ODBC 5.1 Driver]Lost connection to MySQL server at 'waiting for initial communication packet', system error: 2

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
  • Replies 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    1934

Originally Posted by XpKiller*:

 

I am running the newest version 1.0.0.1 and I have enabled "close connection after each request" and also " High performance mode"

Your error is not caused by plugin itself. So changes in plugin wont solve this problem.

To fix this: If you got this error instant check your firewall setting properly something is wrong. It seems that the answer of the mysql server dont reach the plugin.

If the firewall is fine try to raise the timeout in the odbc driver.

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

Originally Posted by Frakkas*:

 

@RMG-Dr4k3

This was a bug in previous version now the plugin should store data in Taurus_44_kills only.

 

@Gitsum and CptChaos

im aware of the problem in not sure yet what causes this because it is not every time.

Maybe a serverbug.

 

Edit:

If a round never started due less player this clomun stays empty too.

I put in a piece of code (hope you don't mind) that, if you have mapstats enabled and started a round, will continually update the round end time on an OnServerInfo event. This seems to have fixed my default RoundEndTime issue. This event seems to happen every 15 seconds or so, which is close enough for me. If you manually kick to next map, or do other such things, you can still get default start/end times, but I just cull those out periodically.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Frakkas*:

 

@Frakkas

im aware of this bug. But lost much time in find those bug which causing odbc errors.

Oh, no worries. My little time problem is secondary to what you've been doing.

 

Does my solution sound reasonable? I always feel dirty hacking around a problem this way, without fully understanding why the MapEnd() wasn't being called from OnRoundOverPlayers, or why we might not get that event in the first place, but this stuff is painful to debug - especially when running on a layer server - so hack in a workaround it is! ;-)

 

This is all I did:

 

Code:

public override void OnServerInfo(CServerInfo csiServerInfo)
        {

            ...

            //Mapstats
            if (csiServerInfo.PlayerCount >= intRoundStartCount && this.Mapstats.TimeMapStarted == DateTime.MinValue)
            {
                this.Mapstats.MapStarted();
                //Frakkas
                this.continuousEndTime = true;
                //Frakkas
            }

            //Frakkas
            if (this.continuousEndTime == true)
            {
                this.Mapstats.MapEnd();
            }
            //Frakkas

            ...

        }
I also set the flag wherever else you call MapStarted() - which I should have just put in MapStarted(), but oh well....
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sp37zn4z*:

 

found a bug where when you type !TOP10 AFASLDKFJLASDFJLASKDJ (or any keyword that doesn't exist in the database) causes the procon client to crash to desktop. I use procon client not procon layer. Tried to rollback previous version and the bug disappears at version 0.1.2bet downwards. 0.1.3beta to latest version have this bug. Please check.

is it just me getting this bug? :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dragon2203*:

 

When I change the MySQL-database and enter a new one. How long does it last until the plugin creates new tables ?

Do I have to make some kills or anything else to build the tables ?

 

Edit: I just read that the plugins updates the stats at the end of a round ... so I think it will place the tables too at that moment or am I wrong?

 

Is it possible to copy existing tables from my old MySQL to the new one in order not to lose the existing ranks ?

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

Originally Posted by Dragon2203*:

 

I just changed the MySQL-Database and enabled the plugin. Then I started a new map and joined the server. When I typed "!rank" it showed me the existing rank I had with the old database.

So if I am right I don't need to copy the tables ? So I can change the MySQL-database as often as I want but the ranking is also saved otherwhere ?

 

Now I diasbled the plugin to change some settings and the name of my database. I enabled again, changed the map but when somebody writes "rank" nothing happens.

 

Edit: and I get several warnings:

[18:50:17 83] Warning: Weapon: RoadKill is missing in the bf3.def file!!!

[18:57:41 92] Warning: Weapon: SoldierCollision is missing in the bf3.def file!!!

[18:58:31 62] Warning: Weapon: DamageArea is missing in the bf3.def file!!!

[19:01:35 14] Warning: Weapon: RoadKill is missing in the bf3.def file!!!

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

Originally Posted by XpKiller*:

 

i dont understand what you want to do?

If the new database is empty the plugin cant display a ranking. Because the ranking is saved in the Database.

 

Those warnings can be ignored.

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

Originally Posted by gabipaci*:

 

i dont understand what you want to do?

If the new database is empty the plugin cant display a ranking. Because the ranking is saved in the Database.

 

Those warnings can be ignored.

I wolud like to use the logger for the webtat.

We will manage 12 months championship, and we need reset the stat every months.

And, i would like to other logger, will working with other webstat, and that will never resteted.

The question is, i need just rename and upload the second logger (eg: CChatGUIDStatsLoggerBF3for_permanent_webstat.cs) or have more things, what i need do?

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

Originally Posted by XpKiller*:

 

Rename the CChatGUIDStatsLoggerBF3.cs to CChatGUIDStatsLoggerBF3for_permanent_webstat.cs

 

And find this line:

public class CChatGUIDStatsLoggerBF3 : PRoConPluginAPI, IPRoConPluginInterface

And change it to

public class CChatGUIDStatsLoggerBF3for_permanent_webstat : PRoConPluginAPI, IPRoConPluginInterface

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

Originally Posted by gabipaci*:

 

Otherwise you could make a second Procon install in a different folder on your disk.

No way, i have procon by our game server provider, i have ftp access, and i join with procon layer.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sp37zn4z*:

 

hi guys,

 

is there any tutorial on how to incorporate the stats gathered by this plugin into a webstat? I see there is this thing called bf3conn webstat, but i haven't find any tutorial on how to setup this along with this plugin.

 

thanks

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

Originally Posted by lupri*:

 

hi, finally i installed mysql on my pc, which is running procon too. the plugin activates without crashing procon, so i think is well configured with everything.

 

sql server is set with the default configuration. where can i find now the logs?

 

sorry for the question, it's the first time i use mysql

 

thanks!!

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

Originally Posted by Dragon2203*:

 

@sp37zn4z:

Ther is no real tutorial for that. You have to check the forum for BC2Conn and manage the system used in scripts with the BF3Conn, because some functions changed or aren't logged in BF3 in procon (ex: Clantags not supported)

 

For the rest you have to know php and write a script by yourself. In what way the Tables of this plugin are used I don't know. Perhaps XPkiller can tell you if there is a tutorial just for that communication or which points are captured in which table.

 

 

@lupri:

 

There is no real Log. The MySQL-server saves the stats in Tables which can be read by the plugin.

This tables are "installed" automatically by the plugin when it starts running.

You can check if the tables are managed correctly by logging in to your MySQL-account and open the Database-url. There you will find a database whith the name you gave to it and in that, there are the tables.

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

Originally Posted by lupri*:

 

@ Dragon2203

 

thanks dragon. what you mean when you say "logging in to your MySQL-account and open the Database-url"? my server is on this machine with procon too. i think the database should be in any folder...

 

when i've found this database folder, how can i use these tables?

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

Originally Posted by Dragon2203*:

 

Oh ok you used as host "localhost"... for Localhost I don't know... i think you have to launch the phpMyAdmin or another tool which you used to create the database.

But you have to use the Username and password used in the plugin to log in your MySQL-Server.

 

Why do you want to "use" the tables? The tables stay on the same place and the plugin gets acces to them for the stats. You can write "!rank" on your gameserver to see the stats. Another use of the tables would be to use a Statspage or Gameserverviewer which gets the data of the tables and the plugin...

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

Originally Posted by GitSum*:

 

=BB=Insomnia is developing his Private Server Stats - which will be able to display the stats on a web page (worked great in BC2)

www.phogue.net/forumvb/showth...ease-BF3/page4*

 

Until then you will have to wing it or develop something on you own

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

Originally Posted by gabipaci*:

 

=BB=Insomnia is developing his Private Server Stats - which will be able to display the stats on a web page (worked great in BC2)

www.phogue.net/forumvb/showth...ease-BF3/page4*

 

Until then you will have to wing it or develop something on you own

Our webstat are 99% finished, U see here:

http://multistat.netgamezone.de/index.php

 

XpKiller: Can u check the played time please?

That is a last things, what we need to 100%

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

Originally Posted by XpKiller*:

 

@gabipaci

i have time to check this tomorrow

Also i'm working on a much faster ranking system.

Some query will run 3x faster. This is good for Webstats usage. and also reduce the stress on the db.

 

btw:

Your webstats look sweet nice work.

I like it!

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