Jump to content

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


ImportBot

Recommended Posts

Originally Posted by Flyswamper*:

 

Each customer has their own database. If that customer has more than one server, all of their servers go into one database. It sounds like you think that every customer's server is in one database, which isn't how it works (in case that's what you were thinking). :smile:

Yeah...despite my poor choice of wording in the above posts...I had no idea whether or not each customers table resides in a separate database or not. With passwords/accounts and such...I can see why you have setup each customer with a database. All I knew (from what you previously told me) was that customers had their own unique *SINGLE* table.

 

At any rate.... my goal here is to make life easier for everybody...... and I've now become convinced that changing the database structure would probably create you guys a lot more headaches than it would help.

 

I do think an additional field in the table *probably* would have been a better design choice...but it looks like one of those design choices that needs to be made early in the process....not now, after so many are up and running with populated data and php scripts that all integrate into the original design.

 

And then again....I probably don't know what the heck I'm talking about.... and just like to speculate on this kinda stuff. :smile:

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

 

Just adding a new field will not work only think about what would happen if the player plays on both servers.

Right you will get redundant rows or mixed ranking.

This is almost surely a case of me not understanding (not taking the time to understand) what the records in the database (even now) really look like but.....

 

I guess I was imagining that with a server-id field, that if you want to retrieve stats for players/ranks on a particular server you would just need to make sure your SQL coding retrieved only records generated from the desired server. Maybe it is more complicated than that, but that is what I was imagining...

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

Originally Posted by XpKiller*:

 

Just adding a new field will not work only think about what would happen if the player plays on both servers.

Right you will get redundant rows or mixed ranking.

This is almost surely a case of me not understanding (not taking the time to understand) what the records in the database (even now) really look like but.....

 

I guess I was imagining that with a server-id field, that if you want to retrieve stats for players/ranks on a particular server you would just need to make sure your SQL coding retrieved only records generated from the desired server. Maybe it is more complicated than that, but that is what I was imagining...

That is not possible, that has nothing to do with coding skills it wont work that way or the database get f***ing slow.

Each Server gets his own table no problem will work without any problems.

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

Originally Posted by FoxTech*:

 

I created a new database and changed the database name field in the plugin. I recieved an error when I did this. So I udpated the plugin to the lastest 2.03 version, with no success. I get error after error, no matter what I do I get errors.

 

dCode:

Error: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.47-community]Field 'AEK971_kills' doesn't have a default value
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
   at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()
[19:53:59 44] Error in SQLQuery: System.Data.Odbc.OdbcException: ERROR [42S02] [MySQL][ODBC 5.1 Driver][mysqld-5.1.47-community]Table 'bc2pleasework.tbl_playerstats' doesn't exist
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Odbc.OdbcCommand.ExecuteReader()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[19:54:38 13] Error in LogChat: System.Data.Odbc.OdbcException: ERROR [42S02] [MySQL][ODBC 5.1 Driver][mysqld-5.1.47-community]Table 'bc2pleasework.tbl_chatlog' doesn't exist
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
   at PRoConEvents.CChatGUIDStatsLogger.LogChat(String strSpeaker, String strMessage, String strType)
[19:54:59 19] Error in SQLQuery: System.Data.Odbc.OdbcException: ERROR [42S02] [MySQL][ODBC 5.1 Driver][mysqld-5.1.47-community]Table 'bc2pleasework.tbl_playerstats' doesn't exist
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Odbc.OdbcCommand.ExecuteReader()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[19:54:59 98] Error in LogChat: System.Data.Odbc.OdbcException: ERROR [42S02] [MySQL][ODBC 5.1 Driver][mysqld-5.1.47-community]Table 'bc2pleasework.tbl_chatlog' doesn't exist
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
   at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
   at PRoConEvents.CChatGUIDStatsLogger.LogChat(String strSpeaker, String strMessage, String strType)
I even tried using my old database and I downgraded the plugin. I was able to get the plugin to work the @top10, but it doesn't record any further stats nor does the @stats or welcome message work.

 

That above error is after I upgraded again and created yet another blank database. It creates the tables in the database with nothing but null fields. I have no idea what is going on.

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

Originally Posted by XpKiller*:

 

*BUMP* :biggrin:

 

New Version 2.04 8-)

 

Changlog:

 

2.03 --> 2.04

MapStats Feature

Fixed broken Welcomestats

improved some SQL Querys for better Performance

added tableprefix feature(use this if you only got one database but more Server)

possible fix for the have no default value error some people got

 

 

Give Feedback

 

webscript for the Mapstats feaure will follow

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

Originally Posted by Panther*:

 

good job with the new version.

 

but i still can't get the welcome message for new players to work. no message at all apears.

message for players who rejoin the server get the normal welcome message.

 

regards

Panda

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

Originally Posted by Panther*:

 

just an idea, nothing big, because your script includes allready everything.

 

sometimes it appears, that ppl under the top100 start cheating and then i alway delete them from the stats.

for this i have to go in the mysql database.

It would be great if we would have an ingame comand to delete a player.

like:

@deletestats "Player"

Are you sure?

@yes

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

Originally Posted by XpKiller*:

 

Whenever I request the top10, it seems to publish everybody as "1." now.

 

Posted Image

The ranking is correct I did a typing mistake I wrote rank =+1 instead of rank += 1

I will upload a fixed version this evening.

 

About this deleting player thing I will take look if this I really useful.

Because to get the autocompleter working you need a list of nicknames ( in my case I got 30000 unique playernames)

I don't delete them I just reset them get there guid and ban them.

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

Originally Posted by Panther*:

 

oh ok i got it.

 

i thought you coud use a sql command to delete the whole database entry of this user.

 

i search in phpmyadmin for the player and then click on remove this entry to remove the player completely out of the database.

 

but as i said, it is something realy not at all important. was just thinking the other day about it =).

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

Originally Posted by XpKiller*:

 

I found a bug:

 

sometimes the 'LastSeenOnServer' field gets updated with this strange timestamp: 0001-01-01 00:00:00

Hi

Thank for your report I will investigate this issue.

I also found a bug too, the average Playercount is wrong in the table tbl _mapstats

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

Originally Posted by OzumSage*:

 

we have upgraded from version 1.52 to this version. all went well with the tables and stats seem to be working, but now when certain people join the server (ie. me) it says the ingame message is longer than 100 characters. this only happens to a few people and the people it happens to only get the welcome back message. i have tried to change the length in your code to >150 but message about the max length goes away, but no stats show. i only have 8 characters in my ingame name but would like to know how to get the stats to show for these players.

 

where does the strmessage get it's info? what ingame message is too long so that i can shorten it. with version 1.52 we did not get this message and all player stats showed correctly.

 

help would be appreciated.

 

great plugin, btw.

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

Originally Posted by XpKiller*:

 

I'm planning to change the database design again for the future Version 3 of my Plugin because i found some bottlenecks in my design. Also i can buildin new feature like GUID Tracking.

 

From these changes mainly users with multiply Gameservers or Layerhoster would benefit.

The datebase will store less redundant data and would be fast too.

 

if there is interest or need for this changes pls let me know and also let me know if you dont want such changes!!

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

Originally Posted by SinBad-OTF*:

 

I have taken Draco's 'Simple View' php files and modified them slightly. Primarily wanted to see the chat log and filter out all the server posts, just to see user chat. Secondly, wanted to provide some user data that admins might need. Now I have a question.... The GUID that is recorded is the PB Guid and when I ban a player using the PB Guid, it never shows up in the banlist in Procon, only bans by name and EA Guid show up. Am I missing something somewhere? How can I see users that have been banned using the PBGuid? Also, I heard that the EA Guid changes when the users' IP changes. True or False?

 

//SinBad

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