Jump to content

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


ImportBot

Recommended Posts

  • Replies 837
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    838

Originally Posted by LumpyNtZ*:

 

Any advice what should i do with this:

 

Code:

Error in SQLQuery: System.Security.SecurityException: Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   at System.Security.PermissionSet.Demand()
   at System.Data.Common.DbConnectionOptions.DemandPermission()
   at System.Data.Odbc.OdbcConnection.PermissionDemand()
   at System.Data.Odbc.OdbcConnectionFactory.PermissionDemand(DbConnection outerConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.Odbc.OdbcConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Data.Odbc.OdbcPermission
The Zone of the assembly that failed was:
MyComputer
Have been trying and trying to fix this, but cant do nothing...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Phogue*:

 

So, im not a techhead, so if u just could explain me a little of that ODBC. Where to add that ODBC thingy :_: I have added IP´s in my remotesql list and things- :?

In procon go to Tools -> Options -> Plugins. Enable outgoing ODBC connections
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PaprTargt*:

 

How do you get access to the logs? does the plugin have a viewer to look at them? I think it would be great to store the logs, and I'm looking at renting a mysql database hosting so I can do this. But I need to know how to access them so I can view the logs and read them easily.

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

Originally Posted by LumpyNtZ*:

 

So, im not a techhead, so if u just could explain me a little of that ODBC. Where to add that ODBC thingy :_: I have added IP´s in my remotesql list and things- :?

In procon go to Tools -> Options -> Plugins. Enable outgoing ODBC connections
Ok now i got all of these done, and still getting exactly same error. After getting this error 2times in a row it crashes my whole Procon Layer. More advices? :lol:

 

And it doesnt create any tables in my database :_:

 

Edit: So, primarytarget.com is hosting my layer, and im not sure if they have ODBC allowed so maybe im gonna confirm that before we continue this :mad:ops:

Any guys there who knows that do they allow it or not?

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

Originally Posted by XpKiller*:

 

How do you get access to the logs? does the plugin have a viewer to look at them? I think it would be great to store the logs, and I'm looking at renting a mysql database hosting so I can do this. But I need to know how to access them so I can view the logs and read them easily.

you could use phpmyadmin or mysqlworkbench
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Garak*:

 

So, im not a techhead, so if u just could explain me a little of that ODBC. Where to add that ODBC thingy :_: I have added IP´s in my remotesql list and things- :?

In procon go to Tools -> Options -> Plugins. Enable outgoing ODBC connections
Ok now i got all of these done, and still getting exactly same error. After getting this error 2times in a row it crashes my whole Procon Layer. More advices? :lol:

 

And it doesnt create any tables in my database :_:

 

Edit: So, primarytarget.com is hosting my layer, and im not sure if they have ODBC allowed so maybe im gonna confirm that before we continue this :mad:ops:

Any guys there who knows that do they allow it or not?

I am wondering the same thing, we were moved from PHS (where we had a database) to Primary Target who do not provide this service, so I got our web server setup via our GSP Hypernia using phpMyadmin to carry out this function.

 

I setup the MySQL database and followed the steps but I have run into the same error as LumpyNtZ, kinda miffed tbh if it is Primary Target preventing the connection... let me know if you find out.

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

Originally Posted by cruz777*:

 

I am running mySql at freesqldatabase.com

Host: freesqldatabase.com

Port: 3306

I installed the 5.1 connector on my remote computer where Procon is

 

I get the following error

Error in SQLQuery: System.Data.Odbc.OdbcException

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

at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcCo nnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)

at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConn ection outerConnection, OdbcConnectionString connectionOptions)

at System.Data.Odbc.OdbcConnectionFactory.CreateConne ction(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.Odbc.OdbcConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)

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

Originally Posted by PaprTargt*:

 

I'm getting a weird problem/bug. when I run the plugin and the map changes, it crashes sorta. My procon on MY computer logs out of all the servers we run and won't come back up for at least 30 seconds. If i turn off the plugin it works fine. When I turn it off I get this

 

CChatGUIDStatsLogger.DisablePlugin(): Object reference not set to an instance of an object.

 

So what do ya'll think is going on?

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

Originally Posted by XpKiller*:

 

Hello

I think I know this bug but I can't fix it because all my critical code parts are in try and catch blocks like all database operations.

when the round end the write back to the database starts.

I guess this is a problem caused by procon. I noticed this since version 4. 1. 8.

The only thing you can do is check your database connection and user.

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

Originally Posted by micovery*:

 

This is all just guessing.

 

Maybe it is that when the Plugin crashes, the object instance (actual memory allocated for the object with "new") is lost instead of going through the normal garbage collection process. After this happens, PRoCon probably still holds an object reference pointing to that now invalid memory location . When you click on disable, PRoCon still thinks the plugin is running just normally, and calls the "DisablePlugin" method of the object (through the invalid reference). However, the object is not actually there anymore. (looks similar to a SEGV in C).

 

If there is an exception thrown, it would be easy to safeguard that section of the code with try-catch, and avoid PRoCon crash.

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

Originally Posted by XpKiller*:

 

CChatGUIDStatsLogger.DisablePlugin(): Object reference not set to an instance of an object.

 

This Error is fixed in next Version BUT it does not cause the crash of procon.

 

All critical Sections are in try-catch-finally( like the DB Actions)

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

Originally Posted by Feltz*:

 

We enable the ODBC on request. It is not activated by default. If we can find a template way of making this plugin work we will be able to put it into our knowledgebase to assist other customers on trying to get this plugin working.

 

I do know we have installed the Connector and to this point thats it.

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

Originally Posted by PaprTargt*:

 

With Feltz help and some judicious switching of things. I have finally gotten one of my servers on this plugin. I'll have to as Primary Target tomorrow if they have to setup each layer or if they are all run from one. Because the other two won't load up the database.

 

And the way I finally got it to work was to add the hostname and the IP address to the list.

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

Originally Posted by Garak*:

 

We enable the ODBC on request. It is not activated by default. If we can find a template way of making this plugin work we will be able to put it into our knowledgebase to assist other customers on trying to get this plugin working.

 

I do know we have installed the Connector and to this point thats it.

Thanks for the info :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PaprTargt*:

 

Okay, It had been working fine for some time. We had someone leave the clan and I had to change the database user password. Ever since then I'm getting this error and its not storing stuff in the database all the time.

 

 

Error in SQLQuery: System.Security.SecurityException: Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

at System.Security.CodeAccessSecurityEngine.Check(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet)

at System.Security.PermissionSet.Demand()

at System.Data.Common.DbConnectionOptions.DemandPermi ssion()

at System.Data.Odbc.OdbcConnection.PermissionDemand()

at System.Data.Odbc.OdbcConnectionFactory.PermissionD emand(DbConnection outerConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.Odbc.OdbcConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)

The action that failed was:

Demand

The type of the first permission that failed was:

System.Data.Odbc.OdbcPermission

The Zone of the assembly that failed was:

MyComputer

 

 

Any ideas_?

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

Originally Posted by Repoman1*:

 

Started getting this error after the Ver. 0.6.0.6

 

Code:

[20:17:30 04] Error in SQLQuery: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver]User ragining_21st already has more than 'max_user_connections' active connections
ERROR [HY000] [MySQL][ODBC 5.1 Driver]User ragining_21st already has more than 'max_user_connections' active connections
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
   at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
   at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.Odbc.OdbcConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.SQLquery(String str_selectSQL, Int32 sort)
[20:17:30 07] Error GetID: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PRoConEvents.CChatGUIDStatsLogger.GetID(String strSoldierName)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by EBassie*:

 

As phogue said plugins will break from a update to 6.0.6.0.

I'm currently on the way to work so I will be back home in about 9 hours.

I think your plugin still works without a problem... at least I got no troubles... :smile:

 

I think there lies you problem:

User ragining_21st already has more than 'max_user_connections' active connections

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

Originally Posted by Phogue*:

 

No changes have been made to the way procon handles plugins from 0.5 to 0.6.0.6, aside from backing up settings if a plugin fails to compile. The expected plugin changes will occur in 0.6.1.

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

Originally Posted by XpKiller*:

 

Hi

I know this issue it is already fix in my beta version.

At the moment i improve the useage the dbconnect to need lesser connections to the db server.

Also a new feature will added called dogtag tracking which allows the player to see from which players and how many dogtags he collected on the server.

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