Jump to content

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


ImportBot

Recommended Posts

Originally Posted by EBassie*:

 

Jep the the statsrecord is created later.

OK, so I've been doing work for nothing. :ohmy:

 

With a small db you dont get such errors :-)

Always the same:

Runs great on dev, sucks on Prod^^

Well, you don't DEV with 128.000 records :ohmy:
* 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 EBassie*:

 

Here are some outputs from the plugin.

As you can see: sometimes it takes alot of seconds :biggrin:

 

Code:

[19:43:27] Info: OnLevelLoaded: MP_011 Gamemode: TeamDeathMatch0 Round: 0/1
[19:43:27] Info: update sql server
[19:43:27] Info: Started streaming to the DB-Server
[19:43:27] Info: OdbcConn was close, Reopen it, Current State is open
[19:43:33] Info: Status ID-Cache: 23 ID's in cache
[19:43:33] Info: Connection OdbcConn closed
[19:43:58] Info: Streamingprocess duration: 30,625 seconds
Code:
[19:29:46] Info: OnLevelLoaded: MP_001 Gamemode: TeamDeathMatch0 Round: 0/1
[19:29:46] Info: update sql server
[19:29:46] Info: Started streaming to the DB-Server
[19:29:46] Info: OdbcConn was close, Reopen it, Current State is open
[19:29:47] Info: Status ID-Cache: 22 ID's in cache
[19:29:47] Info: Connection OdbcConn closed
[19:30:04] Info: Streamingprocess duration: 17,8281 seconds
Code:
[19:17:32] Info: OnLevelLoaded: MP_018 Gamemode: TeamDeathMatch0 Round: 0/1
[19:17:32] Info: update sql server
[19:17:32] Info: Started streaming to the DB-Server
[19:17:32] Info: OdbcConn was close, Reopen it, Current State is open
[19:17:32] Info: Status ID-Cache: 23 ID's in cache
[19:17:32] Info: Connection OdbcConn closed
[19:17:48] Info: Streamingprocess duration: 16,7344 seconds
[19:19:41] Warning: Weapon: SoldierCollision is missing in the bf3.def file!!!
Code:
[19:42:40] Info: OnLevelLoaded: MP_018 Gamemode: RushLarge0 Round: 1/2
[19:42:40] Info: update sql server
[19:42:40] Info: Started streaming to the DB-Server
[19:42:40] Info: OdbcConn was close, Reopen it, Current State is open
[19:42:41] Info: Status ID-Cache: 33 ID's in cache
[19:42:41] Info: Connection OdbcConn closed
[19:43:32] Info: Streamingprocess duration: 52,4688 seconds
Code:
[19:30:02] Info: OnLevelLoaded: MP_018 Gamemode: RushLarge0 Round: 0/2
[19:30:02] Info: update sql server
[19:30:02] Info: Started streaming to the DB-Server
[19:30:02] Info: OdbcConn was close, Reopen it, Current State is open
[19:30:05] Info: Status ID-Cache: 31 ID's in cache
[19:30:05] Info: Connection OdbcConn closed
[19:31:15] Info: Streamingprocess duration: 72,9062 seconds
Code:
[19:54:15] Info: OnLevelLoaded: MP_007 Gamemode: ConquestLarge0 Round: 1/2
[19:54:15] Info: update sql server
[19:54:15] Info: Started streaming to the DB-Server
[19:54:15] Info: OdbcConn was close, Reopen it, Current State is open
[19:54:17] Info: Status ID-Cache: 58 ID's in cache
[19:54:17] Info: Connection OdbcConn closed
[19:55:49] Info: Streamingprocess duration: 93,5625 seconds
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CptChaos*:

 

@CptChaos

You shouldn't add manually columns to any tables.

If a weapon is missing you bf3.def files is faulty.

Is the bf3.def borked again? I recently updated it, a day before I updated to 1.0.0.3 of this plugin.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Waterboyeee*:

 

I looked, but could someone explain this servergroup to me? I've got two servers that are going to merge to one and just wondering if I should mess with it or not.

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

Originally Posted by TheSweetiePie*:

 

Our 10.000 Ticket-Server Conquest Large with 32 slots produces 5.000 Chat-Entries during two days.

Is it possible to implement DB-pruning for logged serverchat dependent on a defined time-range (i. e. 30 days).

 

Me myself isn't able to code this, sorry. :smile:

Thx for answer!

 

Greets

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

Originally Posted by XpKiller*:

 

@Waterboyeee

Server groups could be used if you for example 4 Server ( 2 normal CQ and to 2 hardcore CQ)

Then you can assign Servergroup 0 for the normal Server and Servergroup 1 for the hardcoreserver.

 

The result would be that the plugin creates a merged ranking of the normal server and a merged ranking form the hardcore ones.

 

@TheSweetiePie

i will give you the needed query for that job.

But now i need to sleep now. :-)

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

Originally Posted by TheSweetiePie*:

 

Wow! Very smart of your! :ohmy:

I expect your solution really excitedly, because since tomorrow this server will be upgraded to 64 slots. Chat logging could get very excessive for our SQL-DB-Host. :ohmy:

 

Sleep well and nice dreams.

 

Kind regards!

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

Originally Posted by CptChaos*:

 

Keep in mind to run the query from console for the first time. Especially when you didn't purge the chatlogs it might take long to delete those records.

 

For future mantenance and to make it easier for you is to make it as a cronjob (Linux) or task (Windows) when the server isn't having high loads.

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

Originally Posted by XpKiller*:

 

@TheSweetiePie

 

Here is the Query:

Code:

DELETE
FROM tbl_chatlog
WHERE logDate < DATE_SUB(CURRENT_DATE(),INTERVAL '30' DAY);
This will delete all chat entries older than 30 Days.

 

Than you should run this statement:

Code:

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

Originally Posted by XpKiller*:

 

New Version 1.0.0.4

 

Changelog:

 

1.0.0.4

Increased stability --> ODBC errors shouldn't crash procon anymore.

Splited long transactions to avoid lock timeouts

fixed timeissue

implemented admin.yell, can be used in every message just add the yelltag in the beginning of the message

Usage: [yell,duration] --> [yell,3]Welcome on our server!

 

How to yell messages:

Every ingame messages can be yelled to the Player.

Just add the yelltag in front of every line of you message which should be yelled.

Usage:[yell,duration in seconds]Your messages

Like:[yell,3]Welcome on our server!

This would be yell for 3 seconds

Hint: You can mixed normal say and yell with out any problems.

 

Expect errors not tested well due my server is empty all the time :-(

 

 

Known Bugs:

Send stats to all player not working atm(bugged in plugin), will be fixed in next release.

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

Originally Posted by Athlon*:

 

I'm testing it now.

 

Code:

[yell,10]%playerName% - Good to see you back with us!
Yells "[playername] - Good to see you back with us!" as expected for 10 seconds.

 

However,

 

Code:

[yell,10]%playerName% - Good to see you back with us!  Your Server rank here is %playerRank% of %allRanks%
Yells "[playername] - Good to see you back with us! Your Server rank here is %playerRank% of %allRanks%". The playerrank & allranks code shows instead of the actual numbers.

 

I tried this in the 'WelcomeStats' section.

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

Originally Posted by Athlon*:

 

@Athlon

just

Code:

[yell,10]%playerName% - Good to see you back with us!
After that the plugin display the regular playerstats messages.
Right, but I would like to include their rank in the greeting (Yell) if possible.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mandizzy*:

 

XpKiller, I just came to ask you to add yell options and I see you're already several steps ahead - Thanks :smile:

 

BTW, I'm still running 1.0.0.3 and also recieved this error today only:

 

[17:27:06 08] Error: Error in Startstreaming:

[17:27:06 09] Index #0

[17:27:06 09] Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.17]Out of range value for column 'Playtime' at row 38

[17:27:06 10] Native: 1264

[17:27:06 10] Source: myodbc5.dll

[17:27:06 10] SQL: HY000

 

Was there ever a solution or cause found for this? My offset is not set - whatever default is.

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

Originally Posted by TimSad*:

 

Does anyone have the full list of weapons yet? I still only have this in my "Keywords" plugin settings variable (I think I ended up adding the Magnum at the end)...

 

RPG-7{RPG}

Weapons/SCAR-H/SCAR-H{SCAR,SCAR-H}

USAS-12{USAS12}

M27IAR{M27}

AEK-971{AEK971,AEK}

Weapons/A91/A91{A91}

Weapons/AK74M/AK74{AK74,AK74M}

Weapons/G36C/G36C{G36C}

Weapons/G3A3/G3A3{G3A3,G3}

Weapons/Gadgets/C4/C4{C4}

Weapons/Gadgets/Claymore/Claymore{CLAYMORE,CLAY,LANDMINE}

Weapons/KH2002/KH2002{KH2002}

Weapons/Knife/Melee{KNIFE}

Weapons/M416/M416{M416}

Weapons/MagpulPDR/MagpulPDR{MagpulPDR}

Weapons/MP412Rex/MP412REX{MP412REX,REX,MP412}

Weapons/MP443/MP443{MP443}

Weapons/P90/P90{P90}

Weapons/Sa18IGLA/Sa18IGLA{Sa18IGLA,Sa18,IGLA}

Weapons/UMP45/UMP45{UMP,UMP-45,UMP45}

Weapons/XP1_L85A2/L85A2{L85A,L85}

Taurus .44{MAGNUM, 44 MAGNUM, 44}

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

Originally Posted by TimSad*:

 

The plugin reads the weapons from the bf3.def file. Those keyword are just human friendly names for some weapons for the ingame commands.

Well, all my players constantly try finding their ranking for their favorite weapons with no success. Most every time they just get that pesky message "Specific Weapon not found!" Are all the BF3 weapons even found in the bf3.def file?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bananaSkill*:

 

@EBastard

 

you need to increase the innodb_lock_wait_timeout to a high value

The transaction get a timeout from the server.

Default is 50 i put it on 150, did not know what you meant with 'high' :smile: is that ok or does it need to be allot higher ?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

@Timsad could you post examples ?

Not all weapons are reported by the gameserver.

Also you can set alternative names for every weapon in the keyword list.

 

@bananaskill

Normally the default value is ok. This value only needs to be changed if you have problems.

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

Originally Posted by Narf!*:

 

Yell working fine for me. But do you think it would be possible to add pyell? That would be rly awesome. Asking for that because of sometimes there are some guys asking for their rank at the same time. I think pyell would be nice in this situations.

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

Originally Posted by krov7*:

 

I can't get any yell commands working.

EBastard, how the heck did you get that stuff to work?

 

Tried these, no variant or tweaking seems to work:

[yell,3]%playerName% is rank %playerRank% of %allRanks%. Best killstreak: %killstreak%

[yell,3] Hey %playerName%!

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

Originally Posted by XpKiller*:

 

@Narf!

i couldnt test much but try to set "send stats to all Player" to No (pyell is already implemented but not useable in this way yet but properly in the next release)

But i also planned to do this (pyell)

 

Its on the list for next release.

 

@krov7

Just put the yelltag in the beginning of your message like: [yell,3]Welcome to our server!

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

Originally Posted by EBassie*:

 

Hey XpKiller,

 

think I found a bug in the YELLing..

As you may know the player sets the scope of his message with:

 

@ = Private scope (only player sees the incoming response)

! = Public scope (all players see the incoming response)

 

So when a player uses @rank, only the player sees the YELL.

But when a player uses !rank it should be shown to all players.

 

It seems there is a mix-up with the "Send stats to all Players" Setting.

 

The public scope should probably only work when "Send stats to all Players = Yes"

 

But when using !rank with "Send stats to all Players = Yes" Procon returns this error message:

Code:

admin.yell 6 Your Score: 1611863  4182 Kills 1139 HS  2630 Deaths K/D: 1,59 all
InvalidArguments
admin.yell 4 Your Serverrank is: 2 of 69483 all
InvalidArguments
I think the code should be (yell time on end of the line):

Code:

admin.yell "Your Score: 1611863  4182 Kills 1139 HS  2630 Deaths K/D: 1,59" 4 all
OK
Without the quotes it is not working.

 

 

 

When "Send stats to all Players = No" !rank will be YELLed to only the player and works like below.

When using @rank it works as intended and is shown only to the player:

Code:

admin.yell Your Score: 1611863  4182 Kills 1139 HS  2630 Deaths K/D: 1,59 6 player EBassie
admin.yell Your Serverrank is: 2 of 69483 4 player EBassie
OK
I hope I did not make a mess of this post. It was hard enough to figure it out and write it down :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.