Jump to content

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


ImportBot

Recommended Posts

Originally Posted by GitSum*:

 

.

in the server details section do i put the webhosting details for the data base the already installed web admin is

 

ie host - website ip or name

database name : webadmin database name

password : webadmin password

 

etc ?

 

thanks in advance

yes

 

The info that gets entered into this plugin is for the database. IP address where the database is located, username and password are also for the database

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

 

Hi XpKiller!

 

Can u make one more things here pls?

I will manage championship in our server, and i would like to see, how many player are registered.

Just logging the player name, who type the !reg (optional) to chat.

 

Can u do this, please?

 

Many Thanks

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

Originally Posted by ty_ger07*:

 

Wouldn't you get a bunch of false registrations? I think it would be better If you made a registration form on your website so you could also get their email address from them so you know how to contact the registered players.

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

Originally Posted by 0mni*:

 

What were the database SQL changes. It does not appear that the database was updated when 1.0.2 was installed, and I do not see any queries to run.

 

[19:22:18 02] Error: Error in UpdateRanking:

[19:22:18 02] Index #0

[19:22:18 02] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.1.60-rel13.1-log]'nonamegamers.ts.ServerGroup' isn't in GROUP BY

[19:22:18 02] Native: 1055

[19:22:18 02] Source: myodbc5.dll

[19:22:18 02] SQL: HY000

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

Originally Posted by 0mni*:

 

@0mni

Stop and start the plugin.

The tablebuilder will fix the table.

I have done this several times since I first upgraded to 1.0.2

I thought the error had gone away but it appears to still persist.

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

Originally Posted by terwax*:

 

So if i say yes to include all servers, it'll start new player count?

 

Also what's player stats ID, playerdata andplayerstats. i have different number for them.

 

Which is the one that tells me how many players have visited my server?

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

Originally Posted by JOKEREMPIRE*:

 

Hi and first of all thank you for this great plugin!

 

I have one question / request that I would love to see implemented, or at least I'd like to implement it for myself.

 

Would it be possible to filter chat-messages in Cyrillic / Russian so they don't even get inserted into the database - as we all know RCON does not transfer / support Cyrillic thus the messages in Russian are empty and for example make my chat-logs on the site look rather broken, since well it adds entries, but the content is empty.

 

Also - is there any way to differentiate between All, Team and Squad chat entries or does RCON not send the data along in which "channel" the message was posted in?

 

If you decide not to implement this in a global version, would you be so kind as to give me some pointers how I could at least add a filter for this behavior (Russian empty chat msgs) for myself?

 

Thanks for your time and effort,

JOKER

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

Originally Posted by XpKiller*:

 

@0mni

I misread you error message. I investigate what causes this it properly has to do with the sql mode the server is running, because you are the first one with this problem.

 

@terwax

I dont understand the first part of your question.

 

You can find the Playercount in the table tbl_server_stats

Code:

SELECT ts.ServerID, ts.IP_Address, ts.ServerName, tss.CountPlayers
FROM tbl_server ts
INNER JOIN tbl_server_stats tss ON ts.ServerID = tss.ServerID;
@JOKEREMPIRE

I will add a filter which filter empty chat messages.

 

"Also - is there any way to differentiate between All, Team and Squad chat entries or does RCON not send the data along in which "channel" the message was posted in? "

- Unfortunately this behaviour is caused by the Rcon Protocol / ProCon.

I cannot fix this.

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

Originally Posted by XpKiller*:

 

@0mni

Found the problem it will fixed it the next version.

 

The error only occurs rarely and under so specific settings set.

 

 

In the meantime you can fix the broken query.

Search for the Methode: UpdateRanking (around line 5534)

 

Then search for this code part:

Code:

string sqlupdate3 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankKills, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) x 
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID 
                                                           ORDER BY SUM(tps.Kills) DESC, SUM(tps.Deaths) ASC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID
                                    SET tpr.rankKills = sub.rankKills
                                    WHERE tpr.rankKills != sub.rankKills AND sub.ServerGroup = tpr.ServerGroup";


            string sqlupdate4 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankScore, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID 
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) y
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID 
                                                           ORDER BY SUM(tps.Score) DESC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID AND sub.ServerGroup = tpr.ServerGroup
                                    SET tpr.rankScore = sub.rankScore
                                    WHERE tpr.rankScore != sub.rankScore";
And replace it with this:

Code:

string sqlupdate3 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankKills, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) x 
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID, ts.ServerGroup 
                                                           ORDER BY SUM(tps.Kills) DESC, SUM(tps.Deaths) ASC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID
                                    SET tpr.rankKills = sub.rankKills
                                    WHERE tpr.rankKills != sub.rankKills AND sub.ServerGroup = tpr.ServerGroup";


            string sqlupdate4 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankScore, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID 
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) y
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID, ts.ServerGroup 
                                                           ORDER BY SUM(tps.Score) DESC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID AND sub.ServerGroup = tpr.ServerGroup
                                    SET tpr.rankScore = sub.rankScore
                                    WHERE tpr.rankScore != sub.rankScore";
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by JOKEREMPIRE*:

 

@JOKEREMPIRE

I will add a filter which filter empty chat messages.

 

"Also - is there any way to differentiate between All, Team and Squad chat entries or does RCON not send the data along in which "channel" the message was posted in? "

- Unfortunately this behaviour is caused by the Rcon Protocol / ProCon.

I cannot fix this.

Thanks, much appreciated! :cool:

 

One more idea: maybe an option to filter messages intended for the ingame-admin interface that start with either /@ or /# or /! that are not supposed to be displayed in the chat, but are meant to control the ingame-admin plugin...

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

Originally Posted by ty_ger07*:

 

One more idea: maybe an option to filter messages intended for the ingame-admin interface that start with either /@ or /# or /! that are not supposed to be displayed in the chat, but are meant to control the ingame-admin plugin...

Umm.... Do you think PRoCon has the ability to make the game stop displaying messages in the chat box? PRoCon reads the events from the game (including chat messages) and reacts to them, not the other way around.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by JOKEREMPIRE*:

 

Umm.... Do you think PRoCon has the ability to make the game stop displaying messages in the chat box? PRoCon reads the events from the game (including chat messages) and reacts to them, not the other way around.

O.o Where did I mention that I want ProCon to stop displaying anything?

I simply don't want these messages getting into my database...

They don't serve any purpose there, do they?

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

Originally Posted by JOKEREMPIRE*:

 

You said that you wanted them to not be displayed in chat and didn't say that you wanted them to not be saved to the database.

Please read in context with my previous message, which was all about filtering chat-messages from getting into the database.

 

Anyways, you know now what I meant.

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

Originally Posted by Azubiene*:

 

Thank you for uploading 1.0.0.1 .

 

My request was infront of trouble to get this plugin started.

 

I was talking to my provider support ngz and they told me to use the next older version of this plugin.

 

But nothing changed. Still the same problem.

 

My problem is when i enter the information for login and actived it my ProCon Client crash (client run on a Win7 64x) and this Error come:

Plugin logging started: Sonntag, 12 Februar 2012 19:37:48

[19:38:28] BF3 Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player

[19:38:30] Error in Tablebuilder:

[19:38:30] Index #0

[19:38:30] Message: [Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben

[19:38:30] Native: 0

[19:38:30] Source:

[19:38:30] SQL: IM002

 

The support told me that the requested things are running and working for all users they have. They checked it out.

 

Im really at the end of my know how.

 

It whould be very nice if someone can tell me how to fix this.

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

Originally Posted by XpKiller*:

 

ngz needs to install and configure the Mysql odbc driver on their PRoCon layer host.

 

Anyway if need help you could meet me in the german wildcards teamspeak atm

Server-IP: 212.227.20.116:9987

Online: 5 / 50

Passwort: joker

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

Originally Posted by 0mni*:

 

@0mni

Found the problem it will fixed it the next version.

 

The error only occurs rarely and under so specific settings set.

 

 

In the meantime you can fix the broken query.

Search for the Methode: UpdateRanking (around line 5534)

 

Then search for this code part:

Code:

string sqlupdate3 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankKills, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) x 
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID 
                                                           ORDER BY SUM(tps.Kills) DESC, SUM(tps.Deaths) ASC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID
                                    SET tpr.rankKills = sub.rankKills
                                    WHERE tpr.rankKills != sub.rankKills AND sub.ServerGroup = tpr.ServerGroup";


            string sqlupdate4 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankScore, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID 
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) y
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID 
                                                           ORDER BY SUM(tps.Score) DESC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID AND sub.ServerGroup = tpr.ServerGroup
                                    SET tpr.rankScore = sub.rankScore
                                    WHERE tpr.rankScore != sub.rankScore";
And replace it with this:

Code:

string sqlupdate3 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankKills, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) x 
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID, ts.ServerGroup 
                                                           ORDER BY SUM(tps.Kills) DESC, SUM(tps.Deaths) ASC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID
                                    SET tpr.rankKills = sub.rankKills
                                    WHERE tpr.rankKills != sub.rankKills AND sub.ServerGroup = tpr.ServerGroup";


            string sqlupdate4 = @"  UPDATE " + this.tbl_playerrank + @" tpr
                                    INNER JOIN (SELECT (@num := @num + 1) AS rankScore, sub1.PlayerID ,sub1.ServerGroup
                                                      FROM(SELECT tsp.PlayerID, ts.ServerGroup
                                                           FROM " + this.tbl_server_player + @" tsp
                                                           INNER JOIN " + this.tbl_server + @" ts ON tsp.ServerID = ts.ServerID 
                                                           INNER JOIN " + this.tbl_playerstats + @" tps  ON  tsp.StatsID = tps.StatsID ,(SELECT @num := 0) y
                                                           WHERE ts.ServerGroup = _
                                                           GROUP BY tsp.PlayerID, ts.ServerGroup 
                                                           ORDER BY SUM(tps.Score) DESC, tsp.PlayerID ASC  
                                                     ) sub1 
                                                ) sub
                                    ON sub.PlayerID = tpr.PlayerID AND sub.ServerGroup = tpr.ServerGroup
                                    SET tpr.rankScore = sub.rankScore
                                    WHERE tpr.rankScore != sub.rankScore";
I'll let you know how it goes :smile:

 

Also noticed two issues. Maybe related to the mysql I am running as well. When players type !rank it says "Your rank 0 of XXX".

 

Also I thought it was an admin turning off the plugin, it appears as if the stats plugin is shuting down on its own.

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

Originally Posted by Waterboyeee*:

 

Strange error just showed up today... I recently turned off sandbox mode. Not sure if that was it.

 

 

] 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: 0

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

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

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

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

Originally Posted by XpKiller*:

 

@0nmi

The ranking issue will be gone after one round. I changed the way how the rank is calculated the new methode is much faster.

 

I'm aware of this shutdown issue it is caused by an attempt to prevent a procon crash.

It will be removed or fixed in the comming version.

 

@waterboyeee

Your MySQL server closed the connection unexpectedly. Maybe network problems or server was to busy.

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

Originally Posted by Large_Pudding*:

 

Apologies in advance should a similar post have been made. The topic is rather big now and it's rather overwhelming :ohmy:

 

Is it possible to track [repair tool] kills? This weapon is logged by procon, however I have no idea as to what needs amending. A nudge in the right direction would be greatly appreciated

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