Jump to content

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


ImportBot

Recommended Posts

Originally Posted by XpKiller*:

 

Check if any kind of limits are set on your MySQL server . Also try to increase the time out for connection on both side odbc driver and MySQL server. You could also try what happens if you turn on connection pooling in odbc driver. Which is off by default.

I just can say that I don't thing there is a general error in communication. My layer runs without any crashes but the MySQL server is install on the same root server.

 

And other solution would if the procon team would include the native MySQL connector for c#.

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

 

With 0.0.0.7beta I get following error everytime the map changes:

 

Error: Error in Startstreaming: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei System.Data.Odbc.OdbcDataReader.FieldCountNoThrow( Int16& cColsAffected)

bei System.Data.Odbc.OdbcDataReader.FirstResult()

bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader)

bei System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

bei PRoConEvents.CChatGUIDStatsLoggerBF3.StartStreamin g()

 

Error: Error in Startstreaming: System.InvalidOperationException: ExecuteNonQuery erfordert, dass der Befehl über eine Transaktion verfügt, wenn die dem Befehl zugewiesene Verbindung eine ausstehende lokale Verbindung ist. Die Transaction-Eigenschaft des Befehls wurde nicht initialisiert.

bei System.Data.Odbc.OdbcConnection.SetStateExecuting( String method, OdbcTransaction transaction)

bei System.Data.Odbc.OdbcCommand.ValidateConnectionAnd Transaction(String method)

bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader)

bei System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

bei PRoConEvents.CChatGUIDStatsLoggerBF3.StartStreamin g()

 

I even did a fresh install of the DB but the error was still there.

After going back to 0.0.0.6beta the error was gone.

Then I updated again to 0.0.0.7beta and the error came back too.

Now I'm running again with 0.0.0.6beta without this error.

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

Originally Posted by Clay52*:

 

Got this just earlier:

 

[10:39:52 95] Error: SQLQuery:System.NullReferenceException: Object reference not set to an instance of an object.

at System.Data.Odbc.OdbcDataReader.GetRowCount()

at System.Data.Odbc.OdbcDataReader.FirstResult()

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.ExecuteReader(Command Behavior behavior)

at System.Data.Odbc.OdbcCommand.ExecuteDbDataReader(C ommandBehavior behavior)

at System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

at PRoConEvents.CChatGUIDStatsLoggerBF3.SQLquery(Odbc Command selectQuery)

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

Originally Posted by EBassie*:

 

Check if any kind of limits are set on your MySQL server . Also try to increase the time out for connection on both side odbc driver and MySQL server. You could also try what happens if you turn on connection pooling in odbc driver. Which is off by default.

I just can say that I don't thing there is a general error in communication. My layer runs without any crashes but the MySQL server is install on the same root server.

 

And other solution would if the procon team would include the native MySQL connector for c#.

Ok, thanks. Will try this :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by feeblemedic*:

 

Are there any publicly available methods to incorporate a viewer for this type of database onto a website?

I used one put out by EoT-Clan.net for bc2...but can't find anything comparable right now.

 

More than this; i'd like to find a player search that would search the database for ip, guid information.

 

If anyone can point me in the direction of something that does one or both of the above functions I would appreciate it. I'm don't know mysql or php well enough to do my own :sad:

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

Originally Posted by CptChaos*:

 

I reinstalled the database because we had new servers coming up and we wanted to clean the stats because we had some other changes as well. I'm on beta 0.0.7 and I now get an error message, saying the Type 88 sniper fields are missing, which is odd, the Type 88 is a confirmed sniperrifle for BF3: http://bf3blog.com/battlefield-3-sniper-rifles/

 

EDIT:

 

I just got message that the type 88 sniper is coming with Back to Karkand, so I added the three columns manually.

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

Originally Posted by Clay52*:

 

Curious, when you say delete the "Keyword list" line is it this one? The whole line? It keeps popping back in the file after I've deleted it.

 

procon.protected.plugins.setVariable "CChatGUIDStatsLoggerBF3" "Keywordlist" "RPG-7{RPG}|Weapons/SCAR-H/SCAR-H{SCAR,SCAR-H}|USAS-12{USAS12}|M27IAR{M27}|AEK-971{AEK971,AEK}|Weapons/A91/A91{A91,A-91}|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/Knife{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}|Repair Tool{repairtool}|AS Val{asval,val}|SG 553 LB{SG553}|Taurus .44{Taurus.44,Taurus}|Pecheneg{PKP}|Medkit{Medikit }|Model98B{M98B,M98}|M15 AT Mine{M15ATMine,ATMine,AT Mine,M15}|PP-2000{PP2000}"

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

Originally Posted by GitSum*:

 

Are there any publicly available methods to incorporate a viewer for this type of database onto a website?

I used one put out by EoT-Clan.net for bc2...but can't find anything comparable right now.

 

More than this; i'd like to find a player search that would search the database for ip, guid information.

 

If anyone can point me in the direction of something that does one or both of the above functions I would appreciate it. I'm don't know mysql or php well enough to do my own :sad:

There is actually an addon - they are working on it to update it to BF3

www.phogue.net/forumvb/showth...re-Release-BF3*

 

Or you could try the free version of PHP Generator for MySQL. Pretty easy to use and will do what you are asking for right now

 

http://www.sqlmaestro.com/products/mysql/phpgenerator/

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

Originally Posted by Waterboyeee*:

 

Quick request. Would it be possible to set the welcome message toggles separate so that we can keep the private welcome with stats without announcing to the entire server? I hate having that spam nonsense continuously. I removed the line so it is blank but the server is still pushing blank messages every time someone joins and it messes with the chat window.

 

Thanks

 

edit- I think I got it. Just deleted all instances of "welcome message for new player" in the cs file.

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

Originally Posted by Jenne*:

 

Hallo, kann mir hier bitte einer helfen ich weiss nicht wo die liegt die Datei :

 

Important:

 

delete this line (procon.protected.plugins.setVariable "CChatGUIDStatsLoggerBF3" "Keywordlist" "") in Config yourserverip_port.cfg. Otherwise the ingame weaponstats wont work correctly

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

Originally Posted by Ghostryder81*:

 

Hallo, kann mir hier bitte einer helfen ich weiss nicht wo die liegt die Datei :

 

Important:

 

delete this line (procon.protected.plugins.setVariable "CChatGUIDStatsLoggerBF3" "Keywordlist" "") in Config yourserverip_port.cfg. Otherwise the ingame weaponstats wont work correctly

Die Datei liegt in dem Config Verzeichnis von Procon. Wenn du einen Procon Layer hast, musst du die Datei natürlich dort editieren.

Die sieht dann z.B. so aus: 10.100.100.100_12345.cfg

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

Originally Posted by CptChaos*:

 

I am trying to build a query in which I relate the dogtags with the playernames and such, but my lack of MySQL knowledge keeps me from finding the right query. I tried to build it with a SQL builder, but I only can find the soldiername then. Do I really have to use 2 queries to make that work? What I have now is Code:

SELECT tdt.KillerID AS KillerID, tdt.VictimID AS VictimID, tdt.Count AS Count, tpd.SoldierName AS Killer
FROM tbl_dogtags tdt
INNER JOIN tbl_playerdata tpd ON tdt.KillerID = tpd.PlayerID
I know I should add something like tpd.SoldierName AS Victim, but that's not going to work I'd guess, or it'll return the same value as Killer does.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Layenne*:

 

i have this. what can i do ?

 

[16:17:27 73] BF3 Chat, GUID and Stats Logger Enabled

[16:17:27 73] BF3 Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player

[16:17:45 22] Error in Tablebuilder:

[16:17:45 22] Index #0

[16:17:45 22] Message: [Microsoft][Gestionnaire de pilotes ODBC] Source de données introuvable et nom de pilote non spécifié

[16:17:45 22] Native: 0

[16:17:45 22] Source:

[16:17:45 22] SQL: IM002

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

Originally Posted by CptChaos*:

 

i have this. what can i do ?

 

[16:17:27 73] BF3 Chat, GUID and Stats Logger Enabled

[16:17:27 73] BF3 Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player

[16:17:45 22] Error in Tablebuilder:

[16:17:45 22] Index #0

[16:17:45 22] Message: [Microsoft][Gestionnaire de pilotes ODBC] Source de données introuvable et nom de pilote non spécifié

[16:17:45 22] Native: 0

[16:17:45 22] Source:

[16:17:45 22] SQL: IM002

If you'd post a translation of the error message you get we can help you further.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Clay52*:

 

Your ODBC Driver is not configured right.

www.phogue.net/forumvb/showth...-Configuration*.

 

@CptChaos

i will build a query for soon.

I don't get any ODBC Data source administrator app at all. As per the instructions, if I type in 'data sources' all I get is led to my Windows/system32 directory, no "Data Sources (ODBC)" at the top as it states, wtf gives? I've uninstalled and reinstalled so many times I can't count, same crap over n over...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

@CptChaos

The first query is for one Server

The second query is for overall(multiply Server)

 

Code:

SELECT pd.SoldierName AS Killer ,pd2.SoldierName AS Victim, dt.Count 
FROM tbl_dogtags dt
INNER JOIN tbl_server_player sp ON sp.StatsID = dt.VictimID 
INNER JOIN tbl_server_player sp2 ON sp2.StatsID = dt.KillerID 
INNER JOIN tbl_playerdata pd ON sp.PlayerID = pd.PlayerID
INNER JOIN tbl_playerdata pd2 ON sp2.PlayerID = pd2.PlayerID
WHERE sp.ServerID = 1 AND sp2.ServerID = 1
ORDER BY Count DESC

SELECT pd.SoldierName AS Killer ,pd2.SoldierName AS Victim, SUM(dt.Count) AS Count
FROM tbl_dogtags dt
INNER JOIN tbl_server_player sp ON sp.StatsID = dt.VictimID 
INNER JOIN tbl_server_player sp2 ON sp2.StatsID = dt.KillerID 
INNER JOIN tbl_playerdata pd ON sp.PlayerID = pd.PlayerID
INNER JOIN tbl_playerdata pd2 ON sp2.PlayerID = pd2.PlayerID
GROUP BY dt.KillerID
ORDER BY Count DESC
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CptChaos*:

 

@CptChaos

The first query is for one Server

The second query is for overall(multiply Server)

 

Code:

SELECT pd.SoldierName AS Killer ,pd2.SoldierName AS Victim, dt.Count 
FROM tbl_dogtags dt
INNER JOIN tbl_server_player sp ON sp.StatsID = dt.VictimID 
INNER JOIN tbl_server_player sp2 ON sp2.StatsID = dt.KillerID 
INNER JOIN tbl_playerdata pd ON sp.PlayerID = pd.PlayerID
INNER JOIN tbl_playerdata pd2 ON sp2.PlayerID = pd2.PlayerID
WHERE sp.ServerID = 1 AND sp2.ServerID = 1
ORDER BY Count DESC

SELECT pd.SoldierName AS Killer ,pd2.SoldierName AS Victim, SUM(dt.Count) AS Count
FROM tbl_dogtags dt
INNER JOIN tbl_server_player sp ON sp.StatsID = dt.VictimID 
INNER JOIN tbl_server_player sp2 ON sp2.StatsID = dt.KillerID 
INNER JOIN tbl_playerdata pd ON sp.PlayerID = pd.PlayerID
INNER JOIN tbl_playerdata pd2 ON sp2.PlayerID = pd2.PlayerID
GROUP BY dt.KillerID
ORDER BY Count DESC
You, my friend, just made yourself godlike!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

There is nothing wrong with the way the plugin communicate with the

MySQL server. The Problem is caused by the SQL Server which kills connections or don't answer queries c orectly. Those behaviors often found by freesql services because their server limit query count and query execution time. They do this because they want prenvent commercial use.

What about for us people who are paying good money for their hosting service but are also getting the same errors?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

No answer...

 

I'll ask again in a different way.

 

Is there a way for you to make the plugin more persistent so that it will try to connect to the database more than once before giving up?

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

Originally Posted by XpKiller*:

 

@ty_ger07

The problem is not the phase of connection to the database. The problem is that the connection is terminated during the query. This interrupt the Transaction which is used for the query. If a transaction is interrupted the server perform a rollback of previous querys.

Transactions are need if you use InnoDB otherwise you would get a serious performance issues.

 

@sourtimer

i dont expect problems with b2k. Only if Procon has some ;-)

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

Originally Posted by Clay52*:

 

What about for us people who are paying good money for their hosting service but are also getting the same errors?

ty and others, why not just build a small HTPC box and have procon on that 24/7, why all the fuss about hosting?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GitSum*:

 

ty and others, why not just build a small HTPC box and have procon on that 24/7, why all the fuss about hosting?

You can a hosted Procon Layer from a respectable GSP for about $2 per layer per month. It will also come with some sort of web based interface where you can set up privileges for other clan members so they can restart Procon if it went down. Also, you can probably find a location for the layer server in the same area as your game server. Sometimes - it's just easier that way (think of it this way - by paying for a host, your actually contributing to Phogue - because of the new license fee)
* 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.