Jump to content

Currency v3.0.1.1: Bounties & Mugging! (Updated: 06/06/2012)


ImportBot

Recommended Posts

Originally Posted by Cornholio*:

 

Sorry - misunderstood you.

 

Currency is working for you except for that message?

 

I'm baffled if that is so. I must say I'm not an MySQL expert, so I don't know why you would be getting that message.

 

Having said that, '3D000' is a bad catalog error. It's as though the database is not there, not created or Procon doesn't have permissions to use it if it is there.

Strange :smile:

I'm connecting to the DB by using the root account,

Anyways, its working fine.... just one errormessage at startup :smile:

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

Top Posters In This Topic

Originally Posted by dyn*:

 

download works fine for me. however everything seems to be bugging out.

 

I'm particularly interested in getting reserved slots to work. Upon setting it up, the user's name is not added to the list.

 

Using:

 

@reserve

ReserveAdd, Buyer, 1, Months

 

Output is: Bucks: USER just purchased a Item 1 for 5000 $. She has 21020 $ left.

 

So it's seeing the command is being issued, just noting is being done.

 

 

I was able to make it do an ADMIN say one time. Now it's just not even returning anything.

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

Originally Posted by Athlon*:

 

download works fine for me. however everything seems to be bugging out.

 

I'm particularly interested in getting reserved slots to work. Upon setting it up, the user's name is not added to the list.

 

Using:

 

@reserve

ReserveAdd, Buyer, 1, Months

 

Output is: Bucks: USER just purchased a Item 1 for 5000 $. She has 21020 $ left.

 

So it's seeing the command is being issued, just noting is being done.

 

 

I was able to make it do an ADMIN say one time. Now it's just not even returning anything.

Unfortunately reserved slots are not working with the latest version. They will be fixed in the next release. Everything else in the Shop should be working for you however.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

Invalid Attachment, Anyone else getting this?

I had no idea what you meant. I thought you were referring to an error message from the plugin.

 

Fixed it

 

Click on the 'Currency-3-0-1-1.zip (18.5 KB, 106 views)' link NOT the attachment

Thank you for clarifying. I'll see if I can remove that confusing wordage from my first post.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by usbigoil*:

 

I am also having this error , I also double checked the dbase connection info - however there are no tables created in the database. It is remoteley hosted at godaddy:

error is-

 

Currency error: System.Data.Odbc.OdbcException: ERROR [iM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

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

 

Thanks for your help here.

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

Originally Posted by Athlon*:

 

^^

I think you missed a step here (MySQL Connector/ODBC Installation and Configuration - Creating a DSN connection):

 

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

 

To create a DSN for your connection, go to "Start->Control Panel->Administrative Tools->Data Sources(ODBC)".

 

There's a System DSN tab there for DSN's that any user that logs on can access.

 

Click Create New... the rest is quite self explanatory........

 

At the end of creating the connection there's a "Test" button somewhere that opens and closes the connection for you to see whether it's valid configuration.

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

Originally Posted by GSMACK*:

 

Can anyone help with the following error I am getting installing Currency?

 

I have

- Currency v3.0.1.1

- Procon 1.3.0.0

- A remote MySQL 5.1 Database setup and configured for Remote Access

- System DNS ODBC Connection setup and test successful (see screenshot below)

- In Currency I have the MySQL IP, Database name, UserName, & Password filled out appropiately

 

Yet I receive the following error on start-up or enabling of the plugin:

Code:

[16:35:15 73] Currency error: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'localhost' (10061)
ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on 'localhost' (10061)
   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.Currency.OnPluginEnable()
[16:35:15 73] Currency Enabled!
Notice in the error message it looks like it's trying to connect to localhost instead of my server IP - "Can't connect to MySQL server on 'localhost' (10061)....". I've tried this on two separate machines now with the same result.

 

Here's a screenshot of the error in action.

 

No database tables are created and it doesn't appear to be working at all.

 

Anythoughts?

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

Originally Posted by Athlon*:

 

The 'HY000' error is a permissions issue. Check in your 'My Remote MySQL' to make sure your IP is allowed.

 

By 'your IP' I mean the IP your ISP is giving you. And that raises another issue - if you don't have a static IP provided by your ISP you may continue to have issues connecting to your MySQL on your MySQL provider's machine.

 

I'm assuming you are hosting your database off of your machine, because I can see the beginning if an IP address in your screenshot. If you have the database on your computer, you should be using 'localhost', likely eliminating this problem.

 

Hosting the database on your computer may not be a bad idea anyway. That's how we do it........

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

Originally Posted by GSMACK*:

 

The 'HY000' error is a permissions issue. Check in your 'My Remote MySQL' to make sure your IP is allowed.

 

By 'your IP' I mean the IP your ISP is giving you. And that raises another issue - if you don't have a static IP provided by your ISP you may continue to have issues connecting to your MySQL on your MySQL provider's machine.

 

I'm assuming you are hosting your database off of your machine, because I can see the beginning if an IP address in your screenshot. If you have the database on your computer, you should be using 'localhost', likely eliminating this problem.

 

Hosting the database on your computer may not be a bad idea anyway. That's how we do it........

All valid points. The IP you see is a static IP pointed at a domain online hosting the MySQL Database. A separate database was created with a % wildcard allowing all domains to remotely connect. I am able to connect to this database and run queries from my desktop remotely (off premises). I know that the connection is valid and working.

 

I do not have static IP from my ISP, however I am not sure that matters as the database IP is static.

 

In the meantime I have setup MySQL locally and have connected to it via localhost from Currency, however I want the data made available to a web presence online (which is where the MySQL is located). Storing the data locally isn't ideal for me as I would then have to jimmy-rig a situation where I am constantly pushing data up to the web-presence to keep it updated.

 

I really think the underlying issue is that Currency isn't picking up the Hostname/IP config setting and defaulting to 'localhost', which works in many situations where its hosted online or ran on local machines.

 

Thanks for any help.

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

Originally Posted by Petrovpoo*:

 

Quick question. is it possible to add negative values to certain conditions.

 

eg. Each kill with a RPG earns you negative money to discourage their use in game? Also would it be possible to add a condition that will kick a player when they fall below a certain amount of money or when they enter negative money?

 

Great work by the way, the boys in my squad have been having a great giggle when playing with this plugin!

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

Originally Posted by Athlon*:

 

All valid points. The IP you see is a static IP pointed at a domain online hosting the MySQL Database. A separate database was created with a % wildcard allowing all domains to remotely connect. I am able to connect to this database and run queries from my desktop remotely (off premises). I know that the connection is valid and working.

 

I do not have static IP from my ISP, however I am not sure that matters as the database IP is static.

 

In the meantime I have setup MySQL locally and have connected to it via localhost from Currency, however I want the data made available to a web presence online (which is where the MySQL is located). Storing the data locally isn't ideal for me as I would then have to jimmy-rig a situation where I am constantly pushing data up to the web-presence to keep it updated.

 

I really think the underlying issue is that Currency isn't picking up the Hostname/IP config setting and defaulting to 'localhost', which works in many situations where its hosted online or ran on local machines.

 

Thanks for any help.

I'm a bit stumped. I will say however that Currency does not 'default' to 'localhost'. I'm not a MySQL expert by any means, but I can say that the error you are getting is a permissions error. Somewhere in your chain there is something missing. When I say static IP I'm referring to your computer (the one running Procon), by the way.

 

Did Currency create the tables on your database? If so you had at least a momentary connection. If not triple check your user name and password.

 

Check with your database hosting provider to see if they are blocking your Procon's machine. Sometimes they don't like the constant activity.

 

Is your Procon Sandbox off? Try turning it off if it is not off.

 

 

Quick question. is it possible to add negative values to certain conditions.

 

eg. Each kill with a RPG earns you negative money to discourage there use in game? Also would it be possible to add a condition that will kick a player when they fall below a certain amount of money or when they enter negative money?

 

Great work by the way, the boys in my squad have been having a great giggle when playing with this plugin!

Glad you like it.

 

I like the negative number idea for using certain weapons. I may put that into a future release. Kicking for running out of money is another interesting idea, but could be very annoying for 'public' players on your server (IMHO). I'll put that on my 'to-do' list as well.

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

Originally Posted by Petrovpoo*:

 

I think if using kick for negative was used sensibly ie. a large negative then it could work. It's not as if they aren't warned when using a weapon that will accrue negative dollars.

 

As long as admins lay out the rules to players before hand then players will know they have the risk of being kicked.

It's part of the game, the same as players being able to spend money on kicking or even banning a player.

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

Originally Posted by Athlon*:

 

^^^

No, I had no plans to do that. The color scheme and stuff go with my clan's web site, so I'd have to publish it with variables and instructions, and I didn't plan the code that way.

 

I suppose I could put some of the code here if there is a demand............

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

Originally Posted by mtnkodiak*:

 

^^^

No, I had no plans to do that. The color scheme and stuff go with my clan's web site, so I'd have to publish it with variables and instructions, and I didn't plan the code that way.

 

I suppose I could put some of the code here if there is a demand............

I would sure like to see it, if only for educational purposes. Does this mean that your currency plugin streams http/php code into a web-accessible file? Or sends it to a remote server somehow?

 

I have been wondering how I could do that-- having the current currency totals available (for like the top-10 players) on our web site would be awesome. As it is, I just cut and paste from MySQL Workbench into a forum post. Very low-tech. :ohmy:

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

Originally Posted by Athlon*:

 

^^

The plugin does not 'stream'. The web pages are PHP, and they call the MySQL database for the data and display it. See the links in my sig for some examples of the end result. Look at our home page, as well as the pages showing complete records.

 

I'll post some stuff with examples about how it works in the next day or so when I get some time. I'm crazy busy here atm.

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

Originally Posted by Quicksplice*:

 

Here's my issue:

 

My Procon Layer is hosted by gameservers.com

 

My mySQL is setup and hosted via www.hostgator.com which host my site http://www.quicksplice.net

I entered in the IP address in the Procon Layer with the correct database name, user, and password.

 

I also authorized remote access to mySQL from the Procon Layer IP address.

 

I rebooted the Procon Layer and Enabled the plugin and got:

 

Currency error: System.Data.Odbc.OdbcException: ERROR [iM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

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.Currency.SetCurrency(Int32 strCC, String strSoldierName)

Is there a way to remove ODBC from your Currency Script? Or what am I doing wrong? Running this via direct or on my own computer is out of the question.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Quicksplice*:

 

^^

No - won't remove the ODBC Driver requirement.

 

Unfortunately Gameservers is the one Procon host that will not allow any database type plugins, Currency included. :mad:

So should I just put procon on my hostgator.com server?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

A few of you have asked for the PHP web pages I use to display the stats & =WH= Bucks (currency) we accumulate from our servers.  (See the links in my sig for our web site & pages I just referenced.)

I'm going to show you the code for our =WH= Bucks page.

This is the link to the actual page: =WH= Bucks
 

Edited by maxdralle
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by Hutchew*:

 

Show plugin console spam?

Change this to No if you want to disable plugin console spam. Currency spams the plugin console when people mug each other, buy items, get paid from payroll, etc. Note: This option is currently disabled and set to Yes. You cannot change it to No. The console shows only important Currency activity. The text in the console is not the same as what appears in-game.

Love the plugin, having a lot of fun with it on two servers now. Thanks for all your efforts!

 

BUT........ Is there not any way to kill this console spam? It's really getting in the way of much more important stuff, especially on a very busy server.

 

Thanks!

 

Hutchew

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