[ECON/WEB] VirtualShop v3.0 - Fight Communism with Free Market. #1 Shop Plugin now with WebUI [1185]

Discussion in 'Inactive/Unsupported Plugins' started by SwearWord, May 28, 2011.

  1. Offline

    SwearWord

  2. When I try to sell blue wool, (using /vs sell 1 hand 1) it says 'You do not have 1 whitecloth'.
     
  3. Offline

    SwearWord

    Hmm I may have a bug with the hand command. Just do /vs sell 1 bluewool 1
     
  4. Offline

    RG_PankO

    @SwearWord people on my server sell cobble stone, sand, dirt with really low price.
    So someone can buy 1 000 cobble stones. And... yes - the server crushes. The player can't get all the items in his inventory and they get spilled on the graund.

    Can you please fix this? To get some check if the player has space in the inventory or to buy maximum of 100 items every minute, not more.
     
  5. Offline

    SwearWord

    Really the server crashes from tha? I could do a quick fix and set a cap for the quantity purchasable at once. I would set it at 1000 but is that already too high?

    @RG_PankO
     
  6. Offline

    RG_PankO

    Yeah dude. on 1000 the server starts alggin and in 10 minutes unplayable time the server starts "Time out, Connection lost" :/
    Well I am on dual core 2.6, 4gb ram, but still.. it's not a bad PC for 20 people server ;/

    A 64 or 64x2 quantity - 128 I think will be ok. If someone wants more just retype the /vs buy command in 60 seconds.
     
  7. Offline

    SwearWord

    @RG_PankO
    I'm having an internet crisis so I can't get to it now. I'll make a config option.
     
    RG_PankO likes this.
  8. Offline

    Pythros

    Can there be some kind of echo when a player does /vs list? Simply doing nothing makes if feel it isn't working. For example, when doing /vs list when there isn't anything that is being sold, it simply does nothing. No error in the log and no echo to the player. Also, if exchange and invest are temporarily removed, then why are they still listed in the return of /vs?
     
  9. Offline

    blackalegator

    add exchange and invest please! or at least give a link to the old version. All the economics was on your plugin. Now there are no ways for money income any more. Prices are jumping down!! Economics is falling!
     
  10. Offline

    SwearWord

    Version 2.3
    • Fixed yet another dupe bug.
    • Added "each."
    • Some Ico6 tweaks.
    • Added config option to disable dynamic pricing.
    • Re-enabled exchange and invest.
     
  11. Offline

    Attarhsase2

    Is there a video clip?
     
  12. Offline

    SwearWord

    @Attarhsase2
    I wish there was. I do not have the time to make one.
     
  13. Offline

    RG_PankO

    Exacly what I thought several hours ago.
    To add to the config.yml a setting max buyed quantity = 100, 1000, 10 000 whatever everyone to set.
     
  14. Offline

    Pythros

    Is it possible to list items people are selling for their price and not just those with the lowest price?
     
  15. Offline

    SwearWord

  16. Offline

    RGadelha

    @SwearWord
    Sorry to bother you here but can you take care of us just a little bit here?
     
  17. Offline

    PureAdrenallen

    Thanks for coming on our server, exploiting a bug in your plugin to ruin our server's economy, then putting a line into your plugin to ban a player that you got into an argument with from using the plugin.
     
  18. Offline

    SwearWord

    I was trying to show you the bug so you'd be convinced to update....and then I got banned before I could say anything. Better I showed it to you before your players did it without anyone knowing.

    Yes I don't allow certain disrespectful, unappreciative people from using my plugin. There is no reason anyone should have a problem with that.

    I'm not your bitch so don't treat me as such. Remember the success of your server is built upon the kindness of people like me. You owe the developers on this site just the same as I do.

    @Astusvis
    Because I freely provide the source. Technically modifying it and using it is against license but it's not like I can stop you.

    Follow progress on web interface here:
    http://blockface.org/economy/

    Introducting the Web Interface

    Web Interface
    Demo: http://blockface.org/economy/
    Download
    For MySQL users only. Let your players easily browse stock and transactions and even see stats on the top sellers and buyers. Easy install, create a new folder and unzip the file to it. Browse to scripts and open up sql.php with a text editor. Setup your sql info there and everything is ready to go!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
    ShaDooM and Pythros like this.
  19. Offline

    Fob_Upset

    @SwearWord
    Please could you add a limit to how much items could be sold for or make a notification like "You are buying 64 dirt for 50,000,000 gold.

    As some troll's on my server sell dirt for instance for really high prices so when someone with alot of money buy's dirt they lose alot of money without any notice.
     
  20. Offline

    SwearWord

    @Fob_Upset
    I don't want to hook into questioner and have people issue /yes to are you sure questions. Frankly, they really should be using /vs price. If you read the title of this plugin it says free market, that troll is taking advantage of consumer ignorance and laziness, which in my opinion should be allowed.

    @Astusvis
    I pulled your item stacking code, good work on it. You're sure there are no bugs right?

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

    jkeller4000

    ok can u add this
    /vs buy amount item maxprice

    so that people can put the max price they are willing to pay for an item, so they will buy all the amount until either the curent price is above the maxprice or until the amount they buy is equal to the amount they want to buy, this wouls really make me much happier with this plugin!


    and maybe make people sell items for cheaper than the current market value, so that no one can sell it higher until someone buys all the available stock in the virtual, or maybe only allow them to sell for 10% higher than the lowest market value, though i guess u already say u like people being able to sell for any price, however i do not like people being able to use it as a storage system, can u give a seperate permission for vs remove, so once people put an item on the maket they themselves cannot take it out unless they are given permission to,

    do u have a paypal account, i would like to doante if you will add the /vs buy item maxprice ,

    i will donate 10 dollars if you have it working in the next 10 hours,

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

    SwearWord

    @jkeller4000
    I'll see what I can do. The way the code is written, it's not going to be easy to do that.
    [email protected]

    Edit: I can make maxprice the most they'd pay for EACH item as opposed to total. So /vs buy 10 dirt 0.5, they won't spend more than 0.5 for each dirt.

    Yeah the buy function is left over from the iPad build, I think it need a rewrite.

    @jkeller4000
    I have /vs buy 1 diamond <max-price-for-each-done> if this is okay let me know.

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

    Spinner0205

    VS is hooked up to a MySQL database for my server and whenever I try selling something I receive the following in the console;

    I know it is connecting to the database because it added the stock and transaction tables when I first ran it. But it is not inserting anything.

    Code:
    2011-08-05 18:21:14 [WARNING] §2[Virtual Shop] §fError at SQL INSERT Query: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet successfully received from the server was 108,885 milliseconds ago.  The last packet sent successfully to the server was 3 milliseconds ago.
    2011-08-05 18:21:21 [WARNING] §2[Virtual Shop] §fError at SQL Query: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    2011-08-05 18:21:21 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'vs' in plugin VirtualShop v2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.SwearWord.VirtualShop.Shop.ListItems(Shop.java:304)
        at com.SwearWord.VirtualShop.VirtualShop.onCommand(VirtualShop.java:92)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  24. Offline

    SwearWord

    @Spinner0205
    Is this the only plugin you have using MySQL?
     
  25. Offline

    jkeller4000

    yeah that is perfect, post when it is implemented and explain how i can donate to you

    oh i upgraded today, it no longer allows people to sell for 0.01? well i guess this doesn't matter too much, i will just need to inflate my currency a little :)
     
  26. Offline

    Spinner0205

    @SwearWord

    No, I use iConomy and LWC with MySQL at the moment.
     
  27. Offline

    SwearWord

  28. Offline

    jkeller4000


    I downloaded it and in stalled and it works, however it seems to only accept whole dollar amounts for the max price per item when buying, would it be possible to make it accept fractions
     
  29. Offline

    Wiernusz

    This is awesome. Thanks so much for releasing this. The webUI is a seller.

    However, I have a suggestion; A feature that shows the current sell/buy value of gold. The ability to keep track of the amount of gold in the market would be nice also, as it would give more of a "backed currency" feel.

    What do you think?
     
  30. Offline

    SwearWord

    @jkeller4000
    I fixed that redownload.

    @Wiernusz
    That whole gold system deserves a good rewriting. I used some crazy math in there that I have to take a second look at, if you look at the source you can see how complex it gets. I'll get around to it this week probably.
     

Share This Page