Jump to content

Chat, GUID, Stats and Mapstats Logger[3.0.2.2] 01.02.


ImportBot

Recommended Posts

Originally Posted by VAM*:

 

The plugin reads the keywords out of the tableconfig.cfg also the the tablebuilder reads the names of the tablecolumns out of this file. If the sandbox restrictions are not disabled the plugin cant do this and wont work.

mhhh... bad answer :roll:

say: only for installation

or

every times! 8-)

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 837
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    838

Originally Posted by Panther*:

 

hi everybody i am new to procon. i used wolfcon before.

 

i tested this stats logger and it seems not to work for me.

i installed everything as it is supposed to be. the tables are also made by procon.

but no stats are saved by procon.

 

i tested the chat log and it was saving all the chat entries. but it doesn't save any stats at all.

am i doing anyhting wrong?

 

Edit: Tested the 1.52 and that one was working.

but this one doesn't. No errors at all. tbl_chatlog is updating but tbl_playerstats is not.

i recognized that 1.52 was writing something at the end of every round like Playerinfo. I dont see this with the new version.

 

2nd Question. I would like to import the database from wolfcon. it is no problem made it with 1.52 and everything worked. The only thing which is a problem is the GUID which will stay NULL all the time. Is it possible for you to have a look at GUID and if it is NULL to update it?

 

another thing: you use unsigned for the score. there is a funny thing, that there are ppl with a tiny minus score ain my list. maybe the playerScore shouldn't be unsigned.

 

my os: win 2003 server

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

Originally Posted by XpKiller*:

 

hi everybody i am new to procon. i used wolfcon before.

 

i tested this stats logger and it seems not to work for me.

i installed everything as it is supposed to be. the tables are also made by procon.

but no stats are saved by procon.

 

 

i tested the chat log and it was saving all the chat entries. but it doesn't save any stats at all.

am i doing anyhting wrong?

 

Edit: Tested the 1.52 and that one was working.

but this one doesn't. No errors at all. tbl_chatlog is updating but tbl_playerstats is not.

i recognized that 1.52 was writing something at the end of every round like Playerinfo. I dont see this with the new version.

 

2nd Question. I would like to import the database from wolfcon. it is no problem made it with 1.52 and everything worked. The only thing which is a problem is the GUID which will stay NULL all the time. Is it possible for you to have a look at GUID and if it is NULL to update it?

 

another thing: you use unsigned for the score. there is a funny thing, that there are ppl with a tiny minus score ain my list. maybe the playerScore shouldn't be unsigned.

 

my os: win 2003 server

Version 1.52 and 2.02 are not direct compatible due different tablenames and colums you need to use the table modifier

 

I dont know how wolfcon managed the tables so i cannot say if this is possible without problems

Also i need to send additional querys to the db Server.

Guid cannot be update late because it is part of the unique index key

 

i use unsigned Score because in early Version of Bf bc2 your Score didnt go below 0 i will change that in future

 

These playerinfo were just debuginfos for I removed them because I don't need them anymore

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

Originally Posted by Panther*:

 

it was like this.

i installed 2.01 tested it and it didnt work. then i complete removed it and installed 1.52 with a fresh database and it worked. then i removed 1.52 completele and installed 2.01 again with a fresh database, but i can't get it work.

 

i was able to get insert wolfcon-table files into 1.52 after getting it to work

the only thing was, that the guid stayed NULL. It didn't got filled with the real guid for those players.

 

wolfcon table looks like this:

-playername

-score

-kill

-death

-rounds

 

i did rename them to

-SolderName

-playerScore

-playerKill

-playerDeath

-playerRounds

and inserted it into the 1.52 databse and it worked great.

But as i said, guid stade empty all the time.

 

But i wouldn't realy care about those tables, the major probem is, that i can't get 2.01 to work but 1.52 did work.

 

This is what i get from the debugger from beginn to the end of a round (v 2.01):

Code:

[17:39:03 32] BF BC2 Chat, GUID and Stats Logger Enabled
[17:39:08 34] OLP: roundstarted
[17:39:12 87] EoPl: 32
[17:39:13 09] EoPl: 32
[17:39:22 84] EoPl: 31
[17:40:38 72] EoPl: 32
[17:40:45 25] EoPl: 31
[17:41:03 89] EoPl: 31
[17:42:09 36] EoPl: 32
[17:42:21 07] EoPl: 31
[17:43:39 90] EoPl: 32
[17:43:45 67] Start tablebuilder
[17:43:48 17] OnLevelStarted
[17:44:12 01] EoPl: 31
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

Did you have enabled statslogging in plugin setup ?

Is the tableconfig.cfg in place

Is sandbox off

Did your database support innodb?

If there are problems with the plugin you would get at least errors because the major errors are catched

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

Originally Posted by Panther*:

 

Did you have enabled statslogging in plugin setup ?

Is the tableconfig.cfg in place

Is sandbox off

Did your database support innodb?

If there are problems with the plugin you would get at least errors because the major errors are catched

statsloggin - yes

tableconfig.cfg - yes

sondboy off - yes

innodb - yes

 

but i recognized that the table using innodb is not being updated while chatlog is being update every end of the round.

 

wolfcon itself used also an innodb and it worked.

Version 1.52 i think used also innodb and it worked too.

 

here you can see the databse with its collums but it is not filling with data. not when player are leaving nor at the end of a round:

Code:

`ID` int(10) unsigned NOT NULL auto_increment,
  `SoldierName` varchar(16) default NULL,
  `GUID` varchar(32) default NULL,
  `CountryCode` varchar(4) default NULL,
  `playerScore` int(10) unsigned NOT NULL,
  `playerKills` int(10) unsigned NOT NULL,
  `playerHeadshots` int(10) unsigned NOT NULL,
  `playerDeaths` int(10) unsigned NOT NULL,
  `playerSuicide` int(10) unsigned NOT NULL,
  `playerTKs` int(10) unsigned NOT NULL,
  `playerPlaytime` int(10) unsigned NOT NULL,
  `playerRounds` int(10) unsigned NOT NULL,
  `FirstSeenOnServer` datetime default NULL,
  `LastSeenOnServer` datetime default NULL,
  `AEK971_kills` int(10) unsigned NOT NULL,
  `AEK971_hs` int(10) unsigned NOT NULL,
  `AEK971_deaths` int(10) unsigned NOT NULL,
  `XM8_kills` int(10) unsigned NOT NULL,
  `XM8_hs` int(10) unsigned NOT NULL,
  `XM8_deaths` int(10) unsigned NOT NULL,
[.................. and alot more.............................]
  `COAXMG_deaths` int(10) unsigned NOT NULL,
  PRIMARY KEY  (`ID`),
  UNIQUE KEY `SoldierName` (`SoldierName`,`GUID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

This really strange

 

other User didnt have this issue i will upload 2.02 today it contains only small improvements the core isnt changed

 

Could you also post a screenshot of your Plugin Settings?

 

Do you use the latest Version of Procon too?

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

Originally Posted by Panther*:

 

yes it is the newest procon. here is the screenshot of my settings:

Posted Image

 

i reinstalled also the ODBC connector 5.1, bu no help.

I tried also running procon and stats 2.01 without ODBC connector 5.1 and i got the same result on the debuger. no errors at all.

 

i realy like your plugin and procon, sorry for being such a :? .

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

Originally Posted by Panther*:

 

ah ok thx, i used the root user on my server which doesnt need a password.

thanks alot for your help. i'll try this out and report back.

 

danke nochmals!

Lg

Panda

 

 

EDIT: How long would i need to wait for the first entries in the database? Now still after 1 round no entry in the players database

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

Originally Posted by XpKiller*:

 

The stats are written to Database after each Round.

 

You must fill out the password field

by the way you shouldnt use root for that

 

Creat a new user

 

GRANT ALL ON yourdatabasename.* TO 'user2'@'localhost' IDENTIFIED BY 'pass1';

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

Originally Posted by BB-Insomnia*:

 

ah ok thx, i used the root user on my server which doesnt need a password.

one of the worst ideas you can have!

 

root should only be used to adminstrate your database, and it should have a very strong password!

I create for each application a own database with an extra user.

 

imagine your front door without a lock, not really secure, is it?

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

Originally Posted by Zirconium*:

 

Hi m8,

i just updated from V 1.4 to 2.02, created a new empty database, gave rights to it to the user, copied the "tableconfig.cfg" file in Procon directory, started Procon, activated the plugin and now i got this message :

Code:

[12:05:13 27] Start tablebuilder
[12:05:13 29] Error: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   at System.Security.CodeAccessPermission.Demand()
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path)
   at PRoConEvents.CChatGUIDStatsLogger.TextFileReader(String textfile)
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The Zone of the assembly that failed was:
MyComputer
In the new database i have only one file tbl_chatlog, i don't know what's happening, do you have an idea?

 

The chatlog is working, but no tbl_playerguid or tbl_playerstats has been created :-(

 

Thanks in advance for your help,

Zirco.

 

P.S. : i replaced the token given in the original message by xxxxxxx.

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

Originally Posted by Panther*:

 

Thanks to XP Killer and a very long last night on TS3 we made it also possible for me.

 

After using another user with a password (yes root with pw is a very bad idea) it still didn't want to work.

After searching for a problem for a very long time we found two possible problems:

- Old MySQL - Database do not work with this stats-logger (or at least not properly)

Youre MySQL - Database should at least be something with 5.1.xx.

5.0.xx Database to not work properly

 

- Having anohter Rcon Tool using any kind of mysql-connectors will also make some problems.

(eg: Wolfcon 2.0 and Procon will not be able use the stats-databases at the same time)

 

After shuting down wolfcon and reinstalling a newer version of the mysql-database everything is working fine now.

 

PS: XPKIller i made it with the Wolfcon Data and the GUID. I just entered GUID at the Update query in the code and now is everything fine. Good look and have fun on your festival.

 

Verry nice Plugin. Keep up the good work and thanks for last night baby :ohmy:

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

Originally Posted by Zirconium*:

 

Sorry guys but it only seems to work, no stats appearing in game :-(

When i use @stats or other commands it don't work , Welcome stats not working nothing at all .

 

Data are stored to the tbl_playerstats file, but i see no stats message in game when joining or leaving.

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

Originally Posted by NummerEins*:

 

Hi!

 

When i aktivate the Plugin, Procon crashed at the end of the round!

 

Sandbox is disabled!

 

Ip: localhost

Port: 3306

Name and PW entered

Database name the same as the name in the mysql file

 

What now?

 

Following debug txt occured:

 

 

Exception caught at:

D:\procon\src\PRoCon.Core\BFBC2RconClient.cs

Line 161

Method RaiseEvent

DateTime: Tuesday, August 03, 2010 3:24:53 PM

Version: 0.5.4.8

Packet:

PRoCon.Core.Layer.PRoConLayer ::: Void client_LayerClientShutdown(PRoCon.Core.Layer.CPRoC onLayerClient) ::: ---PRoCon.Core.Layer.CPRoConLayerClient

Additional:

 

 

Exception has been thrown by the target of an invocation.

 

at System.RuntimeMethodHandle._InvokeMethodFast(Objec t target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

at System.Delegate.DynamicInvokeImpl(Object[] args)

at PRoCon.Core.BFBC2RconClient.RaiseEvent(Delegate[] a_delInvokes, Object[] a_objArguments) in D:\procon\src\PRoCon.Core\BFBC2RconClient.cs:line 161

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

Originally Posted by Panther*:

 

Reinstalled version 1.52, works good for me but not version 2.02 !

what version is your MySQL-Server/Database?

 

 

 

XPKiller - Can you use the new function

public void OnPlayerSpawned(string soldierName, Inventory spawnedInventory) {

to show the Welcome Stats directly on PlayerSpawn and not delayed?

 

Greetings and thanks alot for your work!

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

Originally Posted by Repoman1*:

 

Ip: localhost

Port: 3306

You can not use localhost in the plugin. You need to use the IP of your hoster. Can you submit a screan shot of the plugin information except your MYSQL DB password.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by NummerEins*:

 

Screenshot ist not Possible on my Root, sry!

 

Host: localhost

Port: 3306

Database: MYSQL InnoDB Database

USer: root

Passwaod: admin

 

The MySQL is on the same Mashine installed as Procon is! I have nor experience with MySQL!

 

Thx for help!

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

Originally Posted by Brazin*:

 

On top of the stats command not working, the table builder is also not functioning properly, or it may be some other issue related to the data entry into the SQL server. Upon creating a new database, the table tbl_playerstats is created with what appear to be all the appropriate columns, but after several rounds there is no data being published to the table.

 

I've followed all the appropriate instructions for setting up the database and the plugin. The plugin was working fine up until version 2.0, and I've been having several errors since then. They've either been resolved by my tinkering or your releases since then, but the plugin does not appear to be publishing data to new tables properly.

 

At the end of some rounds, it throws the following error:

 

Error: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.49-community]Field 'AEK971_kills' doesn't have a default value

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

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.CChatGUIDStatsLogger.StartStreaming()

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