Inactive [ECON] DynaMark v0.2.0.0 - A Simple Dynamic Market / Shop [1.2.5-R1.3]

Discussion in 'Inactive/Unsupported Plugins' started by smickles, Sep 26, 2011.

  1. Offline

    smickles

    (We've made the move to BukkitDev, come here)
    Some info is outdated on this thread, please go to the BukkitDev page for the most up to date info.

    DynaMark - A Simple Dynamic Market / shop


    Donations
    • [​IMG] 1M8i6TWmnTfWCuTQJMQUkX8xJbCEctaXkF
    [​IMG] Or http://btc.to/1qq for short​
     
    diannetea and aMannus like this.
  2. Offline

    jazzman170

    Ok i have some "good news maybe?" for you. i found another plugin i want but it crashes out like dynamark does for me from when i had those 3 plugins on my server. But this is a bit different, it doesnt crash YOUR plugin, it crashes like your plugin from those 3 plugins. Right now i am not using those 3 plugins that break dynamark, im using dynamark for good. So thats how i stumbled acrost this one :3

    So maybe if you figure out whats so similar about your plugin and this new plugin i added "CashFlow" then it may provide more intel on the 3 that break yours vs. this one that doesnt break yours, but breaks itself? haha. Also it uses register.jar so right now i have 2 register.jars. 1 in my lib folder and 1 in my plugins folder.

    http://forums.bukkit.org/threads/ec...onal-pex-bperms-1185.36118/page-2#post-728140
     
    smickles likes this.
  3. Offline

    smickles

    The problem is that 'those 3' use either an outdated version of Register or use Register in a depreciated way. CashFlow also uses Register in the depreciated way.
    From what I can tell, it's chance that determines which plugin will crash or be crashed (and varies from install to install).

    I'm trying to come up with a way that I can use Register the way that it is intended to be used and still work with plugins that use Register in another way. Even if I use Register in the same way as one of 'those 3', something or another still breaks.

    Basically, unless I'm mistaken, those 3 are written in such a way that breaks other plugins.
     
  4. Offline

    ParadoXz

    GREAT PLUGIN 1 down fact could you change the default prices 10 dollars for wood and 20 for diamond? would be ALLOT easier if you could make them autogen more accuratly (not compulsive its just me being lazy)
     
    smickles likes this.
  5. Offline

    smickles

    I will put 'revamp the default config' in the issue queue. Thanks for the suggestion.
     
  6. Offline

    TOGuy

    I have a spreadsheet full of percentages and prices based on difficulty to mine, proximity to surface and renewability if you want that.
     
  7. Offline

    smickles

    That could be very useful. Please, send it to me.
     
  8. Offline

    G1R Productions

    So was my issue fixed?
     
  9. Offline

    smickles

    Not quite yet. I know what's wrong, and I know what I have to do, I just haven't had the opportunity to get it done yet. I'll give it a tentative completion time of 7 hours. That is assuming that i have the discretionary time for it tonight.
     
  10. Offline

    G1R Productions

    Sounds good, hopefully you will fix it tonight -- Really want to get all iconomy stuff setup on my server.
     
  11. Offline

    smickles

    Working on it (and other minor fixes) right now actually. ;)
     
  12. Offline

    diannetea

    This just bugs me whenever I start up my server:

    2011-10-11 06:18:10 [INFO] [DynaMark] Found config, making sure it's up to date.
    2011-10-11 06:18:10 [SEVERE] [DynaMark] Could not find Register. DynaMark will be retry.
    2011-10-11 06:18:10 [INFO] [Register] Payment method found (BOSEconomy version: 0.7.0)
    2011-10-11 06:18:10 [INFO] DynaMark disabled
    2011-10-11 06:18:10 [INFO] [DynaMark] Found config, making sure it's up to date.
    2011-10-11 06:18:10 [INFO] [DynaMark] Economy plugin found.
    2011-10-11 06:18:10 [INFO] DynaMark version 0.0.2.11 enabled
     
  13. Offline

    smickles

    I take it that you'd like DynaMark to be less noisy at startup, even when it encounters the dependency issue?

    I've got a fix coming in the next release, only, I'm not 100% sure that it'll work for you. If this is the case, please let me know, give me the error output and tell me exactly how what you did to make the error occur, a list of your current plugins could be useful too.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  14. Offline

    G1R Productions

    Alright when will next release be out? And I sure will tell you all that info if its not fixed.
     
  15. Offline

    smickles

    I've got 2 more bugs to fix, given no catastrophic events... I guarantee I'll get it out tonight. (I'm on the east coast USA, btw)

    New version, yo!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  16. Offline

    ParadoXz

    i still get this error with /sell

    2011-10-12 17:23:51 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sell' in plugin DynaMark v0.0.2.13
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    at me.smickles.DynamicMarket.DynamicMarket.sellAll(DynamicMarket.java:311)
    at me.smickles.DynamicMarket.DynamicMarket.readCommand(DynamicMarket.java:476)
    at me.smickles.DynamicMarket.DynamicMarket.onCommand(DynamicMarket.java:129)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 12 more
     
  17. Offline

    smickles

    Well, that is interesting.
    You are getting a nullpointerexception from this line of code:
    Code:
                }
    I'll have to look into this further

    Can you just reassure me that you do have Register.jar in you plugins/ folder?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  18. Offline

    ParadoXz

    yes just re-checked i have this register.jar

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 12, 2016
  19. Offline

    Chri808qa

    Does this work for essensials?
     
  20. Offline

    smickles

     
    Last edited by a moderator: Nov 12, 2016
  21. Offline

    ParadoXz

    okay well i updated from the link you sent me and i still get this

    Code:
    2011-10-12 23:49:16 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sell' in plugin DynaMark v0.0.2.13
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at me.smickles.DynamicMarket.DynamicMarket.sellAll(DynamicMarket.java:311)
        at me.smickles.DynamicMarket.DynamicMarket.readCommand(DynamicMarket.java:476)
        at me.smickles.DynamicMarket.DynamicMarket.onCommand(DynamicMarket.java:129)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 12 more
    2011-10-12 23:49:16 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-10-12 23:49:22 [INFO] [GiveTo] ->phollas00 Placing 'Dirt' in your inventory.
    2011-10-12 23:49:27 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sell' in plugin DynaMark v0.0.2.13
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at me.smickles.DynamicMarket.DynamicMarket.getAmountInInventory(DynamicMarket.java:442)
        at me.smickles.DynamicMarket.DynamicMarket.sell(DynamicMarket.java:230)
        at me.smickles.DynamicMarket.DynamicMarket.readCommand(DynamicMarket.java:488)
        at me.smickles.DynamicMarket.DynamicMarket.onCommand(DynamicMarket.java:129)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 12 more
     
  22. Offline

    smickles

    Try this:
    https://github.com/downloads/smickles/DynamicMarket/DynaMark.jar

    If that doesn't work, what's in your inventory?

    Oh, also, did you modify the default config?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  23. Offline

    ParadoXz

    i updated and i still get this error
    Code:
    2011-10-13 00:23:51 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sell' in plugin DynaMark v0.0.2.13
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at me.smickles.DynamicMarket.DynamicMarket.getAmountInInventory(DynamicMarket.java:448)
        at me.smickles.DynamicMarket.DynamicMarket.sell(DynamicMarket.java:230)
        at me.smickles.DynamicMarket.DynamicMarket.readCommand(DynamicMarket.java:494)
        at me.smickles.DynamicMarket.DynamicMarket.onCommand(DynamicMarket.java:129)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 12 more
    and i had nothing in my inventory apart from 64 dirt (what i was testing to see if i could sell anything)
     
  24. Offline

    smickles

    Ok, thanks for working with me on this. Let's see if I can't fix it this time. BBL

    Ok, this should fix it:
    https://github.com/downloads/smickles/DynamicMarket/DynaMark.jar
    try it, let me know, then, if it works for you, I'll make a proper release.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  25. Offline

    Chri808qa

    Cool Thanks
     
  26. Offline

    enilsss

    Curious, what does the new 'spread' do exactly?


    And I have a suggestion, how about an alias option for each item, where we can add more than one name for items. I would personally like to make this plugin 100x more foolproof on my server, buy adding stuff like 'cstone', 'rock', and 'cobble' for cobblestone and so on for other items. Not that big of a deal really, but ahh, it would be amazing. :)
     
  27. Offline

    smickles

    Yeah, I need to get on some documenting.
    You can think of spread as a fee that you pay once per transaction to sell something. It functions like the difference between the 'ask' and 'bid' prices (if you understand that kind of terminology).

    I've put the multiple names on my issues list (https://github.com/smickles/DynamicMarket/issues?milestone=&labels=&state=open) so I will get to it in turn based on (priority/ease of implementation)

    Thanks for the suggestion. :D

    New version ya'll
    http://dev.bukkit.org/server-mods/dynamicmarket/files/19-0-0-3-1/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  28. Offline

    ParadoXX

    Great plugin... ;)
     
  29. Offline

    smickles

    Thanks! (I trying to make it even better too :D)
     
  30. Offline

    TOGuy

    Block prices based on percentages, proximity to the surface and renewablity http://goo.gl/GQ8Vh
    If anyone wants to do their own MCEdit analyses I'll take that data and add it to the calculations.


    (Sorry that took so long)
     
    diannetea likes this.
  31. Offline

    smickles

    Oh wow!
    This is excellent. Thank you for doing this, I will certainly use this for the default config revamp.
     

Share This Page