/buy not working #72


  • Defect
  • Waiting
Open
Assigned to _ForgeUser6956315
  • xboxhacks created this issue Jul 7, 2012

    What steps will reproduce the problem?
    1. /buy
    2. /sell
    3.

    What is the expected output? What do you see instead?
    Internal Error has occurred

    What version of the product are you using?
    Latest.

    Do you have an error log of what happened?(Read Bottom up Stupid Multicraft)
    07.07 14:36:45 [Server] INFO ... 12 more
    07.07 14:36:45 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    07.07 14:36:45 [Server] INFO at me.ksafin.DynamicEconomy.DynamicEconomyCommandExecutor.onCommand(DynamicEconomyCommandExecutor.java:251)
    07.07 14:36:45 [Server] INFO at me.ksafin.DynamicEconomy.Transaction.buy(Transaction.java:73)
    07.07 14:36:45 [Server] INFO at java.lang.Double.parseDouble(Double.java:540)
    07.07 14:36:45 [Server] INFO at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
    07.07 14:36:45 [Server] INFO Caused by: java.lang.NumberFormatException: For input string: "?"
    07.07 14:36:45 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    07.07 14:36:45 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
    07.07 14:36:45 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    07.07 14:36:45 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    07.07 14:36:45 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    07.07 14:36:45 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'buy' in plugin DynamicEconomy v.9.1
    07.07 14:36:45 [Server] SEVERE null

    Please provide any additional information below.

  • xboxhacks added the tags New Defect Jul 7, 2012
  • _ForgeUser6956315 posted a comment Jul 7, 2012

    You need to give me more info.

    The exact command call, the item info for the item bought/sold, your config.yml.

  • xboxhacks posted a comment Jul 7, 2012

    This is my config file http://pastebin.com/TZA83Qvd Banned items are actually next to the word but pastebin put it under.

  • xboxhacks posted a comment Jul 7, 2012

    also here, dynecon-world: world how do you add the nether and end?

  • _ForgeUser7847399 posted a comment Jul 8, 2012

    The errors looks pretty identical to the ones in ticket 57 (one of mine): http://dev.bukkit.org/server-mods/dynamiceconomy-v-01/tickets/57-price-item-buy-creates-null-error-when-is-higher-than/

    I think you tried to /sell a higher amount than you have in your inventory and tried to /buy a higher amount than there is in stock, but that's just a guess based on why I get the error for /price in ticket 57.

    @xboxhacks: Go

    I think you just split them with commas, so if you use default names it ends up looking like this:

    dynecon-world: world,world_nether,world_the_end
    

    Edited Jul 8, 2012
  • xboxhacks posted a comment Jul 10, 2012

    @DuckOfDuckness: Go

    no.. you can't even sell one block when you have 64 of that block in a stack.

  • _ForgeUser6956315 posted a comment Jul 11, 2012

    @xboxhacks: Go

    What you gave me wasn't enough.

    I want you to provide the exact command call that gave you the error, and Items.yml

  • _ForgeUser6956315 removed a tag New Jul 11, 2012
  • _ForgeUser6956315 added a tag Waiting Jul 11, 2012
  • xboxhacks posted a comment Jul 12, 2012

    @ksafin im confused on what you mean by exact command call that gave you the error but heres my items yml http://pastebin.com/LujAKeeG

  • _ForgeUser7847399 posted a comment Jul 13, 2012

    @xboxhacks: Go

    I think ksafin means what item and what amount. Like '/buy melon 10' or '/sell cobble 300' and then the two yml files you provided, but not sure.

  • _ForgeUser6956315 posted a comment Jul 13, 2012

    @xboxhacks: Go

    Command call. What command you types in, and the arguments.

    "/buy melon 5" "/price porkchop buy 10"

    those are command calls.

  • xboxhacks posted a comment Jul 15, 2012

    ohh I was testing it using /buy diamond 1

  • xboxhacks posted a comment Jul 20, 2012

    @ksafin


To post a comment, please login or register a new account.