[INACTIVE][ECON] DynamicMarket v.0.4.8.1 - Versatile Shop Plugin [440-480+?]

Discussion in 'Inactive/Unsupported Plugins' started by HaloInverse, Feb 2, 2011.

  1. Offline

    HaloInverse

    DynamicMarket - Dynamic Global Shop Plugin

    Version: 0.4.8
    Built against: Bukkit 0.0.1 build #412
    Works with: CraftBukkit 0.0.1 builds #440-480 or thereabouts.

    Requires:
    • Permissions 2.5
      • Very recommended, but now optional! See "DynamicMarket.settings" below.
    • iConomy 4.1
    • Either of:
      • SQLite (easiest to set up, reccomended)
      • MySQL (more troublesome, more powerful)
    Buy items, sell items, admins set prices, et cetera. However, there's a lot going on under the hood...

    READ THIS BEFORE PROCEEDING.
    Seriously. (open)

    This plugin has a great deal of flexibility, but the price of more flexibility is more command options to control that flexibility. Computers just aren't very psychic.

    While in-game help exists for commands, the output from /shop help (<topic>) is intended to be a quick reference, not exhaustive documentation. Full instructions simply won't fit on the MineCraft client's tiny text display.

    You should read and understand the following sections before installing this plugin and setting up your shop. If not, you should at least read and understand the following sections while you are setting up your shop items.


    The big feature: Dynamic pricing. Items can be set to increase in price as they are purchased from the shop, and decrease in price as they are sold back, simulating open market conditions. The initial prices of items are just considered a starting point - user transactions will eventually adjust an item's price to a near-ideal level, based on actual value vs. rarity.

    However, as of 0.4.5, the configuration fields are now flexible enough to allow a range of behaviours, from fixed pricing with no stock limits, to fully-dynamic pricing with finite stock levels.

    This is by no means "complete" in the sense of "finished adding features", but it is complete enough to be functional and usable.

    Current Features (open)

    New & Current Features:
    • Buying and selling of items:
      • Item prices can be set to dynamically adjust according to supply and demand. This is highly adjustable, including the rate of price increase/decrease per transaction, optional hard overstock/understock limits, price ceilings/floors, etc. Leaving all the extra features turned off makes an item's price fixed and always-in-stock, like a basic "flat rate" shop.
      • Subtypes of items are fully supported.
      • List of items in the shop is broken into pages, accessible by number.
        • Partial-name searching! "/shop list wood" shows everything with "wood" in the name.
      • Item names for buy/sell/info also use partial substring matches.
      • A dynamically-priced item might cost more for 10 items than the cost of 1 item multiplied by 10, due to stock depletion. So, the "/shop <id>" command now takes an optional ":<count>" parameter, so you can get a quote for the actual buy/sell price of larger numbers of items.
    • Administration:
      • Shop items are edited via a "tag" system, so you don't have to re-enter every field for each small change. Plus there's a few utility tags which do other things to an item's record...
      • Item names are now editable, and will persist (independent of items.db) until the item's record is deleted.
        • This also makes items.db a convenience instead of a necessity, since items can be added by ID and then immediately renamed.
      • A "Default" item exists in the shop, which cannot be bought or sold, but serves as the base data for any new items you add to the shop. Any tags not supplied when you add an item will be copied from whatever you put into "Default".
      • Basic sanity-checking on input data has been added. Also, adjusting an item's bundle-size will rescale its price automatically.
      • Items can be set to be purchasable but not sellable, or vice versa. (Set either price to -1 to disable that transaction type for that item.)
        • Tags like "canbuy:n" and "nosell" can now be used.
      • An extended in-game help system. "/shop help" lists available commands and help topics. "/shop help <topic>" gives help on a shop command or other shop-related topic listed in the main help.
      • The list of commands displayed is filtered by the user's current permission level.
      • Shortcuts for all commands (except for database reset).
      • All commands except for "/shop buy" and "/shop sell" can be accessed through the Bukkit console. No need to log in to add or update items!
      • Access to the entire shop is now restrictable by permission.
      • Highly informative error messages, to help reveal why your database exploded. (Which really shouldn't happen, but you never know...)
      • The shop DB can now be exported to a .csv file, edited in your favorite spreadsheet, and re-imported back into the database, making large-scale changes easier.
      • NEW: The revenue/cost of transactions can now be transferred to another account. With the basic plugin, this can be an admin's iConomy account, or a dummy "GovernmentBank" account. (Don't use that name, or some bright spark will register that username and exploit you.) With a wrapper plugin, this can be set to link a shop's funds directly to an owning player's iConomy balance.
      • NEW: Transaction logging to a comma-delimited file, ready to import into a spreadsheet for nefarious financial analysis!

    Market Mechanics (open)

    Quick Market Mechanics Description:
    • Instead of a "buy price" and a "sell price", items now have a "base price" and a "sales tax". The "buy price" is based on the base price (adjusted by stock, if set to do so), and the "sell price" is based on (<buy price> - <sales tax%>). So if the sales tax is set to 25, then an item's selling price will be 75% of its purchase price. (The sales tax is entered as a number from 0 to 100, representing 0% to 100% tax.)
      • Using the old "/shop add <id> <buyprice> <sellprice>" format still works - the plugin just calculates the base price and sales tax, so that the buying and selling prices come out right.
    • Shop items have a "stock level", which is not necessarily a literal count of items in stock. By default, the stock level is considered an offset from baseline, rather than an absolute count.
      • Items with stock near zero are considered to be in "average" supply, and will be priced at their base price.
      • Items with a positive stock are considered "in surplus", and will be priced below their base price.
      • Items with a negative stock are considered "understocked", and will be priced above their base price.
      • This interpretation of stock levels can be made to behave like literal counted stock, by setting an item's StockFloor to zero, which prohibits negative stock.
    • Items have a "volatility", which indicates how quickly the price changes based on changes in stock level. It represents the percent increase in an item's price per item purchased, multiplied by 10000. V=1 (the lowest level) means that 100 items would have to be purchased to raise the price by 1%. V=10000 (the highest level) means that 1 item purchased would raise the price by 100% (doubling the price). (More examples in tags.txt)
      • There is also "inverse volatility", which represents the number of items needed to be bought in order to double the buying price (or halve it, if selling). This is more convenient for some people's mindsets, and is converted into volatility when entered.
    • The "sell price" is actually calculated from the buy price at the current stock level + 1, rather than the current stock level. This is to prevent gaining endless money by buying an item (driving the price up) then immediately selling it back (dropping the price) - if <sales tax> = 0, then buying-then-selling like this produces zero net gain/loss (as it should).
    • The tag presets "fixed", "float", "finite", and "flat" allow you to quickly set up common options. If used with the "Default" item before adding items to your shop, this will allow you to set the overall behaviour of the shop easily. See Tag Reference for further details.

    Commands (open)

    Commands:

    <Angle Brackets> denote parameters.
    (Round Brackets) denote optional sections.
    The brackets themselves are not part of the command; they are just used to describe syntax. Brackets should not be typed.
    If executing shop commands through the Bukkit console, leave off the initial slash.

    /shop - Shows the main help page. Lists commands and shortcuts.
    /shop help - Ditto.
    /shop help <topic> - Shows help on the given command or subject.
    /shop help tag <tagName> - Shows help on the given item tag.
    /shop <id>( :<count>) - Shows current buy/sell information on the given item.
    <id> can be an item name or a type number with an optional subtype:
    <id> = <itemName> | <itemID> | <itemID>,<subtypeID> | Default
    If <count> is used, shows the total price for the given number of items/bundles.
    /shop list (<partname>) (<pageNum>) - Lists a page of items in the shop. Default page = 1.
    If <partname> is used, lists only items with <partname> as part of their name.
    /shop buy <id>( :<quantity>) - Purchases an item. Default quantity is 1 bundle.
    /shop sell <id>( :<quantity>) - Sells an item. Default quantity is 1 bundle.
    /shop add <id>( :<bundleSize>) (<buyPrice> (<sellPrice>)) <tagList> - Adds an item to the shop list.
    <buyPrice> and <sellPrice> are accepted for convenience, and are internally converted to BasePrice and SalesTax.
    Unused tags will have their data copied from the Default item.
    Transactions will be in multiples of <bundleSize>. Default quantity is 1 item per bundle (unless overriden with the Default record)
    /shop info <id> - Shows much more detailed information about an item in the shop, such as stock level, volatility, etc.
    /shop update <id>( :<bundleSize>) (<buyPrice> (<sellPrice>)) <tagList> - Edits an item's shop data record.
    Data is first copied from the old record, then tags are applied in order of entry.
    NEW! <id> can be "all", applying changes to all items in the shop list.
    /shop remove <id>- Removes an item from the shop list.
    /shop reload - Reboots the plugin, reloading the configuration file and items.db.
    /shop reset - Deletes and recreates the shop database from scratch. Asks for an extra confirmation before doing so.
    /shop exportdb - Exports the shop database to a .csv file. The name and location are configured in SimpleMarket.settings. (Default: Plugins/DynamicMarket/shopDB.csv)
    /shop importdb - Imports a .csv file into the shop database. Same file location as used by the exportdb command. Note that the previous contents of the database are NOT cleared out before importing, so you may want to do a "/shop reset" before importing. The file's format MUST match the format of the exported file (except for quote marks, which are stripped out on import).

    Tag Reference
    Tag Usage Examples
    Permissions (open)

    Permissions:

    'dynamicmarket.access' : Grants basic access to the root /shop command.
    'dynamicmarket.buy' : Grants purchase rights.
    'dynamicmarket.sell' : Grants selling rights.
    'dynamicmarket.items.add' : Grants the ability to add new items to the shop.
    'dynamicmarket.items.update' : Grants the ability to edit items in the shop.
    'dynamicmarket.items.remove' : Grants the ability to remove items from the shop.
    'dynamicmarket.admin' : Grants the ability to delete-and-rebuild the shop database, and to reboot the plugin.

    Installation/Setup (open)

    Installation/Setup:
    • If you haven't already done so, install Permissions and iConomy, and ensure they work.
    • Copy DynamicMarket.jar into your Plugins/ folder.
    • NEW: Copy items.db into Plugins/DynamicMarket/ (or whichever directory you specify in DynamicMarket.settings) (DynamicMarket will work with other plugins' items.db files, but not all plugins will handle the extra subtype data in the items.db linked below.)
    • NEW: Copy either the SQLite connector or the MySQL connector into your main MineServer/Bukkit folder.
      • Or, if you have a MySQL server running, edit DynamicMarket.settings to specify the MySQL server, login, and password.
    • Edit plugins/Permissions/config.yml, and give everybody the appropriate permissions.
      • Most users would get 'dynamicmarket.access', 'dynamicmarket.buy', and 'dynamicmarket.sell', unless you want to restrict such commands to registered/VIP users.
      • Mods would probably get 'dynamicmarket.items.*'
      • Admins should get 'dynamicmarket.admin', if they don't already have '*'.
    • (Re)Start your MineCraft server. Errors may be thrown to the console, but the file Plugins/DynamicMarket/DynamicMarket.settings should be created.
    • Edit DynamicMarket.settings. Particularly, the setting "database-type".
      • "database-type=sqlite" : Use the SQLite connector. This is the simpler option. No further database access configuration should be needed.
      • "database-type=mysql" : Use the MySQL connector. You will need to set the options "mysql-user", "mysql-pass", and "mysql-db", as well as having a working MySQL server installation set up already.
    • NEW: Log in to MineCraft as someone with 'simpleMarket.admin' permission, or use the Bukkit console. Use "/shop reload" to load the edited config file.
    • Use /shop add to fill the market with tasty blocks at scandalous prices.
      • You WILL want to use "/shop update default" to set up some sensible default values for the items you will be adding, so you don't have to do so much typing for every item. (Or at least inspect the Default entry, to be sure you agree with it.)
      • If you want to make all of the items in the shop use dynamic pricing, set up the parameters in the Default item FIRST, so you don't have to go back and modify 100+ items to support variable pricing.

    DynamicMarket.settings Reference

    Downloads:
    • DynamicMarket 0.4.8.1 (.jar) (.7z) (iConomy 4.1, Permissions 2.5)
    • DynamicMarket 0.4.8 (.jar) (.7z) (iConomy 3.0, Permissions 2.1)
    • DynamicMarket 0.4.6.1 (.jar) (.7z) (iConomy 2.1 / Cookies+iConomy Wrapper)
    • DynamicMarket Source on GitHub
    • items.db <-- Contains subtypes. Put this in /Plugins/DynamicMarket/.
    • SQLite Connector (reccomended) Put this in your MineCraft server/Bukkit root.
    • MySQL Installation Guide (not so easy, probably not recommended for SQL server beginners)
    • Sample shopDB.csv Many (but not all) items, set up for floating-stock+floating-prices. Edit it if you like, then put this in your Plugins/DynamicMarket folder and use /shop importdb to load the items into your shop.
    DynamicMarket Wrapper Plugins:
    • DMWrapper: Restricts shop access to specific regions. Outdated.
    Want to integrate DynamicMarket's shop functions into your own plugin? Read this!
    To Do List(s) (open)


    To Do for v.0.5:
    • Logging of transactions. Done.
      • Global messages to alert to price changes.
    • Item classes: Use Permissions to control access to certain types of items, i.e. make safe items (gravel, stone, iron) available to anyone, but limit traffic in dangerous items (TNT, lava buckets, monster spawners) to VIPs. (For example.)
    • Customizable interface/highlight colours. Done.
    • Clean up the d*** out-of-date comments in the code. (Working on it.)
    To Do before 1.0:
    • Optional auto-transactions triggered by price disparities in raw/processed materials.
    • Possible migration of the new help system to a separate plugin, unless the expanded features needed become available in MCDocs or Bukkit.
    • Migrate config file handler to Yaml.
    • Random fluctuations of stock levels (would make the market more lively on a low-population server)
    • Stock levels drift back to rolling averages (smoothes out short-term price spikes, allows for long-term price drifting)

    Recent Changes:

    0.4.8.1:
    • Migrated to Permissions 2.5, iConomy 4.1.
    0.4.8:
    • shopLabel moved from a table name suffix to a table field.
    • Using "all" as the item name now applies the given tags to all items with the current shopLabel.
    • Altering an item's bundleSize now changes its stock level, as well as its basePrice.
      • New stock level is rounded down, to stave off future item duplication issues.
    • Sanity-check behaviour changed to make database queries more efficient and fend off future exploits:
      • stockHighest/stockLowest set to stock if lower/higher than stock.
      • stockCeil/stockFloor is set to stockFloor if lower/higher than stock.
      • priceCeil is raised to priceFloor if priceCeil<priceFloor.
        • Previous behaviours: Swap if order wrong, range-crop stock if outside highest/lowest/floor/ceil.
    • Fixed bug: Adding items without specifying count did not import count from default record.
    0.4.7:
    • Upgraded to iConomy 3.0.
    0.4.6.1:
    • Rolled back iConomy calls to 2.x style, to be compatible with Cookies' iConomy wrapper.
    0.4.6:
    • Support for transaction funds to be backed by an iConomy account.
      • Account link parameters added to wrapper-call messages.
    • Wrapper calls streamlined.
    • Added basic transaction logging.
    0.4.5:
    • Volatility can now go as low as 0.
      • In this way, stock can still be counted without affecting price.
    • CSV import/export now uses +INF / -INF as shorthand for min/max values in applicable fields.
    • Message colours now customizable in DynamicMarket.settings.
    • Expanded help on tags/presets.
    • Changed "fixed" tag, splitting its function with "flat".
    • Added tag presets "flat" and "finite".
    • Updated tag "renorm" to accept an optional new stock level other than 0.
    Full Changelog

    Credits:
    • Nijikokun: SimpleShop v.1.1, on which this was based. (And for Permissions and iConomy, on which this relies.)
    • AtomicAcidBath: Assistance with tracking down a hard-to-see MySQL syntax error.
     
    SoapFlakes and Mahngiel like this.
  2. Offline

    jwideman

    iConomy 4 is not yet supported.
     
  3. Offline

    T.E.

    thanks, went back to iConomy 3 and its working again
     
  4. Offline

    unya

    Thanks for a great plugin! iConomy4 support will be awesome :)
     
  5. Offline

    Andreas Brisner

    Why does it seem like DynamicMarket has its own currency system? I'm using Cookies, iConomy wrapper, and latest DMarket, and alot of our users get "Not enough money" even though they have enough money in cookies..

    Anyone got a fix to this problem?
     
  6. Offline

    croxis

    If you are using iConomy 4, the plugin is broken.
     
  7. Offline

    ShadowDrakken

    no it's not, 4.0 works fine on the recommended build (440) with the exception of flatfiles, and 4.1 works fine on most of the non-recommended builds (flatfile has been removed until it's fixed)
     
  8. Offline

    jwideman

    Be that as it may, iConomy 3 and 4 have different protocols. This won't work with iConomy 4. (And it needs to, since iConomy 3 was kinda fail.)
     
  9. Offline

    Oscarius

    I agree, this plugin really needs an update. I'm running CB #440 with iConomy4 and it's not working.
     
  10. Offline

    croxis

    Yes, 4.0 works fine. This plugin does not work with 4.0
     
  11. Offline

    Andreas Brisner

    UPDATE: http://forums.bukkit.org/threads/ec...-shop-plugin-440-480.3266/page-13#post-104286 <-- Latest

    Im working on making this work for me with iConomy 4.1, and I seem to have it going.. I can put it out here when I'm done if anyone would like to try it.. (There MAY be bugs I havent seen)

    EDIT:

    I am now running Craftbukkit build 448, iConomy 4.1 and DynamicMarket 0.4.8 codename "arensirb" on our server. I modded DynamicMarket to work with 4.1, and upped the versionnumber / codename.

    It seems to work fine with Permissions 2.5.

    Changes:
    mysql.jar / sqlite.jar now goes in lib directory in bukkit main dir. (same as bigbrother).

    If anyone wants to test it out you can get it from http://80.64.207.220/DynamicMarket.jar[OUTDATED!!]

    Please get 0.4.8.4 here -> http://80.64.207.220/0.4.8.4/DynamicMarket.jar

    Please tell me if you find any bugs :)
    edit2:
    you can get iConomy 4.1 from http://www.iscoelho.com/bukkit/iConomy4.1.zip [OUTDATED]
    You can get iConomy 4.2 from https://github.com/downloads/iConomy/Core/iConomy-4.2.jar :)

    edit3:

    Please report back to me what CB versions you are running and I will add them to the list here over what builds it has been tested with :3
     
  12. Offline

    Oscarius

    I'd love that, thank you.
     
  13. Offline

    dfdgsdfg

    Craftbukkit build 448, iConomy 4.1 and DynamicMarket 0.4.8
    During loading below like this.

     
  14. Offline

    Andreas Brisner

    Try redownloading/reunzipping iConomy :3 I think I got that error aswell :)

    Btw, what did you do when you got that? Bad phrasing.. Was it on load, or while in use?
     
  15. Offline

    dfdgsdfg

    Redownloading/reunzipping iConomy.

    I have still same error. [​IMG]
     
  16. Offline

    Oscarius

    Thank you very much for updating it!

    I have it all set up according to the installation instructions, imported the sample csv, it connects successfully to MySQL, but if I try to buy something, I am told that I have 0 money, but when I do /money, it says I have 100 Coins.

    If I do /shop sell 5 to sell 10x Wooden Planks, it outputs:
    /money returns 100 Coins as always.

    I guess this is a matter of iConomy and DynamicMarket not communicating correctly?

    I'm running CB #440, GroupManager with FakePermissions and iConomy 4.1

    DynamicMarket.settings:
    Code:
    #Minecraft Properties File
    #Tue Mar 01 00:52:11 CET 2011
    default-shop-account-free=true
    text-colour-bracket=d
    text-colour-param=b
    default-shop-account=
    mysql-db=jdbc\:mysql\://localhost\:3306/ubercraft
    mysql-dbengine=MyISAM
    economy-plugin=iconomy3
    wrapper-mode=false
    text-colour-command=f
    csv-file-path=plugins/DynamicMarket/
    simple-permissions=false
    text-colour-error=c
    shop-tag={BKT}[{}Shop{BKT}]{}
    csv-file=shopDB.csv
    text-colour-normal=e
    transaction-log-autoflush=true
    items-db-path=plugins/DynamicMarket/
    wrapper-permissions=false
    database-type=mysql
    transaction-log-file=transactions.log
    max-items-per-sale=64
    mysql-user=oscar
    max-items-per-purchase=64
    mysql-pass=*****
    iConomy.yml:
    Code:
    ##
    # iConomy Settings
    ##
    
    System:
        # The name of your currency
        Currency: Coin
        # The initial balance a player logs on with
        Initial_Balance: 100.0
        # Should we log transactions?
        Logging:
            Enabled: false
        Database:
            # Can be MySQL, or SQLite
            Type: MySQL
            # Name of the database
            Name: ubercraft
            # Table, Flatfile uses this as the file name.
            Table: iConomy
            MySQL:
                # MySQL Login Username
                Username: oscar
                # MySQL Login Password
                Password: *****
                # MySQL Connection Hostname (IP)
                Hostname: localhost
                # MySQL Connection Port Number
                Port: 3306
    Thanks in advance!
     
  17. Offline

    Andreas Brisner

    I talked to Coelho, and we agreed that it was a faulty jar problem. Did you redownload, or just reunpack?
    --- merged: Mar 1, 2011 4:47 AM ---
    To be honest I dont know what causes this. I tried running CB440 (jenkins), Permissions 2.5, iConomy 4.1, and everything works ok. I could sell, I could buy, iConomy changed correctly :-/

    Are you sure you set the price right? :3

    And you DID download the one in my post, not the official one?
     
  18. Offline

    Oscarius

    The price seems to be alright. Everything is working, except that DynamicMarket isn't getting the players' money from iConomy.

    Yes, I downloaded the jar from your post, of course :)

    What do you mean by this? I have a file called "mysql-connector-java-bin.jar" in server root dir, the same dir as server.properties and such.
     
  19. Offline

    Andreas Brisner

    It means that if server.properties is in / the mysql connector bin, renamed to mysql.jar goes in /lib/, same place as bigbrother puts it. If you load it by using -cp mysql...jar:craft.. .etc you do not have to worry about that.. :)

    Seems weird, same setup here (Except im using permissions) and it works like a charm here.. I will install groupmanager etc and see what happens :)
     
  20. Offline

    ShadowDrakken

    why? most plugins are using the original filename in Bukkit root... why are you renaming it and moving it to lib?
     
  21. Offline

    Andreas Brisner

    Because its opposite of what ive seen before. In my experience plugins used lib dir, which btw would be the correct dir since its an additional lib. Ive updated the manifest in eclipse now (Not live yet) to support a shitload of locations..
    Class-Path: ../lib/mysql.jar ../lib/sqlite.jar ../sqlite-v056.jar ../lib/sqlite-v056.jar ../lib/mysql-connector-java-5.1.15-bin.jar ../mysql-connector-java-5.1.15-bin.jar ../mysql-connector-java-bin.jar
     
  22. Offline

    Oscarius

    I wanted to try a reinstall, so I removed everything related to iConomy and DynamicMarket:
    • plugins/iConomy.jar
    • plugins/iConomy/
    • plugins/DynamicMarket.jar
    • plugins/DynamicMarket
    • and both 'iConomy' and 'Market' tables from MySQL database.
    After carefully reinstalling iConomy and DynamicMarket, I get the following error in console: (read from bottom to top)

    Code:
    01.03 06:24:57 [Server] INFO Column name: shoplabelcolumn def: CHAR(20) NOT NULL DEFAULT ''
    01.03 06:24:57 [Server] SEVERE [DynamicMarket] Database creation *failed*.
    01.03 06:24:57 [Server] INFO SQL---->: com.mysql.jdbc.JDBC4PreparedStatement@55d91364: SELECT * FROM Market WHERE (item = -1 AND subtype = -1 AND shoplabel = '') LIMIT 1
    01.03 06:24:57 [Server] INFO SQL---->: com.mysql.jdbc.JDBC4PreparedStatement@47ed081: INSERT INTO Market (item, subtype, count, name, baseprice, stock, canbuy, cansell, volatility, salestax, stocklowest, stockhighest, stockfloor, stockceil, pricefloor, priceceil, class, jitterperc, driftin, driftout, avgstock, shoplabel) VALUES (-1,-1,1,'Default',0,0,1,1,1,0,-2147483648,2147483647,0,0,0,2147483647,0,0,0,0,0,'')
    01.03 06:24:57 [Server] INFO SQL---->: com.mysql.jdbc.JDBC4PreparedStatement@219b6225: SELECT * FROM Market WHERE (item = -1 AND subtype = -1 AND shoplabel = '') LIMIT 1
    01.03 06:24:56 [Server] INFO [DynamicMarket] Creating database.

    EDIT: The problem was solved by changing economy-plugin=iconomy3 to economy-plugin=iconomy4. Thanks a lot for helping out, Andreas! <3
     
  23. Offline

    Andreas Brisner

    Fix-update (Thus no new version number)

    The problem Oscarius had was the config defaulted to iconomy3, this is now changed to iconomy4.
    The new jar also includes the Class-Path changes mentioned before.

    Just to say it again.. It can be downloaded at http://80.64.207.220/DynamicMarket.jar
     
  24. Offline

    Color42

    CB 478aka(482) trows errors

    2011-03-01 11:27:11 [INFO] Starting Minecraft server on *:25565
    2011-03-01 11:27:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-482-gecc50ad-b478jnks (MC: 1.3)
    2011-03-01 11:27:11 [INFO] Preparing level "world"
    2011-03-01 11:27:11 [INFO] Preparing start region
    2011-03-01 11:27:12 [INFO] LWC [v1,57] Loading shared objects
    2011-03-01 11:27:12 [INFO] Config [v1,57] Loaded 12 config entries
    2011-03-01 11:27:12 [INFO] LWC [v1,57] Native library: lib/native/Windows/x86/sqlitejdbc.dll
    2011-03-01 11:27:12 [INFO] Starting Minequery server on *:25566
    2011-03-01 11:27:12 [INFO] WorldGuard loaded.
    2011-03-01 11:27:12 [INFO] AccessBook version 0.0.1 is enabled!
    2011-03-01 11:27:12 [INFO] GroupManager - Scheduled Data Saving is set for every 10 minutes!
    2011-03-01 11:27:12 [INFO] GroupManager version 0.99d is enabled!
    2011-03-01 11:27:12 [INFO] Fake Permissions version 2.0 is enabled!
    2011-03-01 11:27:12 [INFO] [AccessBook]: Trying to load AccessBook and settings...
    2011-03-01 11:27:12 [INFO] AccessBook version 0.0.1 is enabled!
    2011-03-01 11:27:12 [INFO] BorderGuard Lite (Round) version 2.1 is enabled!
    2011-03-01 11:27:12 [SEVERE] com/nijiko/coelho/iConomy/system/Bank loading DynamicMarket v0.4.8.1 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/system/Bank
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.connectToiConomy(DynamicMarket.java:264)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.connectEconomy(DynamicMarket.java:255)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.setupEconomy(DynamicMarket.java:240)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.onEnable(DynamicMarket.java:106)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.system.Bank
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more
    2011-03-01 11:27:12 [INFO] Created Zone [statuewoods]
    2011-03-01 11:27:12 [INFO] EpicZones version 0.14 is enabled.
    2011-03-01 11:27:13 [INFO] Loaded Essentials build 236 maintained by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-01 11:27:13 [INFO] Loaded EssentialsGod build 236 by Zenexer, ementalo, Eris, and EggRoll
    2011-03-01 11:27:13 [INFO] Loaded EssentialsHelp build 237 by Zenexer, ementalo, Eris, and EggRoll
    2011-03-01 11:27:13 [INFO] Loaded EssentialsHome build 225 by Zenexer, ementalo, Eris, and Brettflan
    2011-03-01 11:27:13 [INFO] Loaded EssentialsSpawn build 236 maintained by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-01 11:27:13 [INFO] Loaded EssentialsTele build 225 by Zenexer, ementalo, Eris, and Brettflan
    2011-03-01 11:27:13 [INFO] Loaded EssentialsWarp build 236 by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-01 11:27:13 [INFO] [iChat] Using Permissions 2.0 for permissions
    2011-03-01 11:27:13 [INFO] iChat (v2.05) enabled
    2011-03-01 11:27:13 [INFO] [iConomy] Logging is currently disabled.
    2011-03-01 11:27:13 [INFO] [iConomy] v4.1 (Kristen) loaded.
    2011-03-01 11:27:13 [INFO] [iConomy] Developed by: [Nijikokun, Coelho] (Coelho is Smexier)
    2011-03-01 11:27:13 [INFO] Config [v1,57] Loaded 12 config entries
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -admin
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -create
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -free
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -info
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -p
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -modify
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -unlock
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loaded command: /lwc -owners
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> PLAYER_QUIT
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> ENTITY_EXPLODE
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> BLOCK_INTERACT
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> BLOCK_DAMAGED
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> BLOCK_BREAK
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> BLOCK_PLACED
    2011-03-01 11:27:13 [INFO] LWC [v1,57] -> REDSTONE_CHANGE
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Using Nijikokun's permissions plugin for permissions
    2011-03-01 11:27:13 [INFO] LWC [v1,57] Loading SQLite
    2011-03-01 11:27:13 [INFO] PhysDB [v1,57] Creating physical tables if needed
    2011-03-01 11:27:13 [INFO] MemDB [v1,57] Creating memory tables
    2011-03-01 11:27:13 [INFO] SQLite [v1,57] Using: Native
    2011-03-01 11:27:13 [INFO] Take yourself wonder by wonder, using /magiccarpet or /mc. MagicCarpet version 1.4.3 is enabled!
    2011-03-01 11:27:13 [INFO] MCBans: Permissions plugin found, switching to its permissions!
    2011-03-01 11:27:13 [INFO] MCBans: MCBans version 2.6.8 is enabled!
    2011-03-01 11:27:13 [INFO] MCBans: Voting enabled!
    2011-03-01 11:27:13 [INFO] MCBans: Starting backup thread...
    2011-03-01 11:27:13 [INFO] MCBans: Checking mcbans server....
    2011-03-01 11:27:13 [INFO] MeasuringTape v0.7d by DiddiZ enabled
    2011-03-01 11:27:13 [WARNING] The Spells plugin depends on Persistence
    2011-03-01 11:27:13 [INFO] WorldEdit 4.0-beta6 enabled.
    2011-03-01 11:27:13 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-01 11:27:13 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-01 11:27:13 [INFO] WorldGuard: Single session is enforced.
    2011-03-01 11:27:13 [INFO] WorldGuard: TNT ignition is blocked.
    2011-03-01 11:27:13 [INFO] WorldGuard: Lighters are blocked.
    2011-03-01 11:27:13 [INFO] WorldGuard: Lava fire is blocked.
    2011-03-01 11:27:13 [INFO] WorldGuard: All fire spread is disabled.
    2011-03-01 11:27:13 [INFO] WorldGuard 4.0-alpha1 enabled.
    2011-03-01 11:27:13 [INFO] Done (0,216s)! For help, type "help" or "?"
    2011-03-01 11:27:13 [INFO] MCBans: Mcbans is online!
     
  25. Offline

    Andreas Brisner

    New update! Version 0.4.8.1 :)

    Changelog:
    - Added check to see if item actually exists in db before attempting selling/buying.
    Fixes problem with internal error when item isnt added.

    Download -> http://80.64.207.220/DynamicMarket.jar (yes, same link :3)
    --- merged: Mar 1, 2011 10:56 AM ---
    Try redownloading it, I fixed some stuff after you tried.

    Another guy I talked to had that same problem, but I never figured out what it was since he logged off.
    So please just try to redownload, and tell me what happens. :)
     
  26. Offline

    suna950907

    CB480,Permissions 2.5.1,IC4.1 Error... (It's up to date?)<
     
  27. Offline

    Andreas Brisner

    Well, I test against 448, reminding you that 440 is still recommended.
    Do you get the same error as this guy before you here? :3
     
  28. Offline

    suna950907

    run permissions 2.5.1?
     
  29. Offline

    Color42

    2011-03-01 11:29:45 [SEVERE] com/nijiko/coelho/iConomy/system/Bank loading DynamicMarket v0.4.8.1 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/system/Bank
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.connectToiConomy(DynamicMarket.java:264)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.connectEconomy(DynamicMarket.java:255)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.setupEconomy(DynamicMarket.java:240)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.onEnable(DynamicMarket.java:106)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.system.Bank
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more

    Same I guess and yes I know 440 is recommend still very fubar build do lol
     
  30. Offline

    Andreas Brisner

    Would you please try once more, I may have fixed it, (If that was it its a very noob error xD)
     
  31. Offline

    Color42

    Redownloaded and still the same but its looks to me its a shorter error.

    2011-03-01 12:16:46 [SEVERE] null loading DynamicMarket v0.4.8.1 (Is it up to date?)
    java.lang.NullPointerException
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.connectToiConomy(DynamicMarket.java:264)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.connectEconomy(DynamicMarket.java:255)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.setupEconomy(DynamicMarket.java:240)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.onEnable(DynamicMarket.java:106)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    If you wish to talk to me Im on the bukkit irc.
    Thx for the help.
     

Share This Page