Jump to content

Chat, GUID, Stats and Mapstats Logger [1.0.0.3]


ColColonCleaner

Recommended Posts

Originally Posted by leibhold*:

 

If you have control over your database, add a user decojobs@localhost

 

You should be able to specify the user name and host name in creating user.

 

The SQL is being too helpful and appending the hostname to the end of the user - with is localhost.

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

Originally Posted by ty_ger07*:

 

i did that , same thing

Apparently, there is more at play than what is obvious on the surface. I don't have enough information to make any further recommendations since I don't know how you have your procon set up, whether you are using a layer server, whether you or one of your admins are connecting directly to the game server, which plugins you are using, etc.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi, I'm new to plugin developing and this logger and db connections :biggrin:.

 

What should I do to get the GUID from an offline player (so from database)?

I hope you will help :smile:

You have phpMyAdmin access to the database? If so, log into the database in phpMyAdmin (or any other database access manager you may be using), and run this query:

 

SELECT `PBGUID`, `EAGUID`, `SoldierName`

FROM `tbl_playerdata`

WHERE `SoldierName` LIKE '%soldier%'

 

Substitue "%soldier%" for actual name. Leave the "%" before and after the name ('%example%' for example) to do a partial name match ignoring different starting and ending characters.

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

Originally Posted by unconvincible*:

 

ah thx :smile:

But I need it for my plugin. So I have to connect to the database and execute your script?

Lets say I want to get my guid, what I have to execute to get it (btw, I only need the EA_GUID)?

Is this correct:

 

SELECT `EAGUID`

FROM `tbl_playerdata`

WHERE `SoldierName` LIKE '%uncon%'

 

I don't remember, but is "LIKE" case sensitive?

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

Originally Posted by ty_ger07*:

 

I don't know the C# code to use when creating a plugin to connect to a database. You can look at this plugin's source code and get ideas from it.

 

As far as the SQL query goes, = looks for an exact match. LIKE is used instead of = when looking for a fuzzy match and is not case sensitive.

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

Originally Posted by HARDCOREBF*:

 

Suddenly started having this error comming up, any ideas?

 

[15:56:55 21] [statslogger]Error: getUpdateServerID1: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

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

Originally Posted by HARDCOREBF*:

 

showing this as well , plz help

 

[20:43:28 67] [statslogger]Error: Error in Startstreaming:

[20:43:28 67] Message: Cannot add or update a child row: a foreign key constraint fails (`dgns`.`tbl_playerstats`, CONSTRAINT `fk_tbl_playerstats_tbl_server_player1` FOREIGN KEY (`StatsID`) REFERENCES `tbl_server_player` (`StatsID`) ON DELETE CASCADE ON UPDATE NO ACTION)

[20:43:28 67] Native: -2147467259

[20:43:28 67] Source: MySql.Data

[20:43:28 67] StackTrace: at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

[20:43:36 60] [AdKats] SerHofi changed their IP from 67.249.142.161 to 67.246.73.224. Updating the database.

[20:43:38 40] [AdKats] Archigos8 changed their IP from 71.225.253.175 to 73.188.252.200. Updating the database.

[20:43:44 03] [AdKats] IxXHammerXxI changed their IP from 99.120.74.22 to 98.248.157.207. Updating the database.

[20:43:52 68] [AdKats] Fetching plugin links...

[20:43:53 20] [AdKats] Plugin links fetched.

[20:43:53 20] [AdKats] Fetching plugin readme...

[20:43:53 68] [AdKats] Plugin description fetched.

[20:43:53 68] [AdKats] Fetching plugin changelog...

[20:43:53 96] [AdKats] Plugin changelog fetched.

[20:43:53 96] [AdKats] Setting desc fetch handle.

[20:43:55 06] [statslogger]Error: Error in Startstreaming OuterException: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

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

Originally Posted by ColColonCleaner*:

 

ah thx :smile:

But I need it for my plugin. So I have to connect to the database and execute your script?

Lets say I want to get my guid, what I have to execute to get it (btw, I only need the EA_GUID)?

Is this correct:

 

SELECT `EAGUID`

FROM `tbl_playerdata`

WHERE `SoldierName` LIKE '%uncon%'

 

I don't remember, but is "LIKE" case sensitive?

You can get your GUID like that, yes, but i would suggest using your full name, and not using LIKE, use =

 

Case sensitivity depends on the collation of the column being queried.

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

Originally Posted by ty_ger07*:

 

You can get your GUID like that, yes, but i would suggest using your full name, and not using LIKE, use =

Certainly I would recommend the same. But we have no idea what the application is. I assumed that if the application includes human input, he would find LIKE to be much more useful than equals ( = ) simply because the most memorable parts of soldier's names are usually not the same as the full soldier's name.

 

For example, unconvincible, if you start entering a player name (just start entering any random word) in the top left of this page:

http://open-web-community.com/bf4sta...player&player=

... you will see how LIKE can be used.

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

Originally Posted by ty_ger07*:

 

Hi XpKiller :smile:,

 

can you add support for Cyrillic symbols please?

Here is the way how to do that (maybe you don't know that :ohmy:) -> http://stackoverflow.com/questions/1...y-after-insert

 

Would be very nice if you can do that.

Cyrillic symbols are not transferred from the game server to Procon (DICE rcon limitation), therefore it is not possible for XpKiller to implememt Cyrillic symbols into the database (since there are no Cyrillic symbols to his plugin).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by unconvincible*:

 

I got an error

... original message (german):

Code:

[Statslogger]Error: getUpdateServerID1: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo)
Translated message:

Code:

[Statslogger] Error: getUpdateServerID1: System.NullReferenceException: Object reference not set to an object instance.
*** at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID (CServerInfo csiServerInfo)]
Maybe you want to know that :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDown*:

 

I need some help and I have spent several hours searching, but haven't found an answer.

 

Due to hardware issues, my server provider had to move my server box. I now have a new server, but my problem is that I want to transfer the old servers database (players stats and rankings for that server) to the new server. The server provider was able to move my server so the it would stay in players favorites list so I want the same database for the new server.

 

If this is possible, what file should be moved. I am not sure which file should be moved. I am also currently using AdKats.

 

Can someone tell me which file(s) to move and where to move them too. Adkats had my old server ID number to be 1 and now its assigned the new server an id number of 7. (I included this info in case you need it.)

 

Is this possible and if so, How do I do it?

 

Thank you in advance for your help.

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

Originally Posted by iraqiboy90*:

 

Hello

 

I moved the database to another server.

When starting the logger is says this:

Code:

[03:08:05 28] [Statslogger]Warning: PrepareKeywordDic: Mainkey Weapons/M416/M416 not found!
[03:08:08 31] [Statslogger]Warning: PrepareKeywordDic: Mainkey Weapons/M416/M416 not found!
I tried to search for "Weapons/M416/M416" on both databases, the one on the old server and the one on the new server using phpmyadmin and I couldnt find this keyword. I even searched a 2 days old .sql file, it doesnt have it there
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PHX_Big_Deal*:

 

I got an error

... original message (german):

Code:

[Statslogger]Error: getUpdateServerID1: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo)
Translated message:

Code:

[Statslogger] Error: getUpdateServerID1: System.NullReferenceException: Object reference not set to an object instance.
*** at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID (CServerInfo csiServerInfo)]
Maybe you want to know that :smile:
I have the same.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Why does the plugin continue to add players to the tbl_playerdata table with the GAMEID of 0 instead of 1 for BF4.

Restart the logger. It's a bug and it starts inserting 0s when it loses DB connection a lot.
* 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.