keepcalm / BukkitForge

The world's first __opensource__ coremod. Also a port of the Bukkit server API to MinecraftForge.
http://www.minecraftforge.net/forum/index.php/topic,3254.0.html
103 stars 60 forks source link

[Essential Buy/Sell/Trade] Signs not working #541

Open Maximuscr31 opened 11 years ago

Maximuscr31 commented 11 years ago

All signs seem to be working but Buy signs in version 246. They show up in blue text like valid, but nothing happens when you right click them. Console also spews forth all this

25.02 01:26:48 [Server] INFO at com.earth2me.essentials.signs.SignPlayerListener.onPlayerInteract(SignPlayerListener.java:74) 25.02 01:26:48 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.onSignInteract(EssentialsSign.java:86) 25.02 01:26:48 [Server] INFO at com.earth2me.essentials.signs.SignBuy.onSignInteract(SignBuy.java:30) 25.02 01:26:48 [Server] INFO at com.earth2me.essentials.Trade.pay(Trade.java:140) 25.02 01:26:48 [Server] INFO at com.earth2me.essentials.craftbukkit.InventoryWorkaround.addAllItems(InventoryWorkaround.java:40) 25.02 01:26:48 [Server] INFO at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:64) 25.02 01:26:48 [Server] INFO Caused by: java.lang.IllegalArgumentException: Invalid inventory size; expected 27 or less 25.02 01:26:48 [Server] INFO at fy.run(SourceFile:849) 25.02 01:26:48 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) 25.02 01:26:48 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) 25.02 01:26:48 [Server] INFO at ho.r(DedicatedServer.java:269) 25.02 01:26:48 [Server] INFO at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703) 25.02 01:26:48 [Server] INFO at ht.b(SourceFile:30) 25.02 01:26:48 [Server] INFO at iw.b(NetworkListenThread.java:57) 25.02 01:26:48 [Server] INFO at iv.d(NetServerHandler.java:136) 25.02 01:26:48 [Server] INFO at cg.b(TcpConnection.java:458) 25.02 01:26:48 [Server] INFO at fk.a(SourceFile:58) 25.02 01:26:48 [Server] INFO at iv.a(NetServerHandler.java:578) 25.02 01:26:48 [Server] INFO at ir.a(ItemInWorldManager.java:389) 25.02 01:26:48 [Server] INFO at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:34) 25.02 01:26:48 [Server] INFO at net.minecraftforge.event.EventBus.post(EventBus.java:103) 25.02 01:26:48 [Server] INFO at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) 25.02 01:26:48 [Server] INFO at net.minecraftforge.event.ASMEventHandler_116_ForgeEventHandler_interactEvent_PlayerInteractEvent.invoke(.dynamic) 25.02 01:26:48 [Server] INFO at keepcalm.mods.bukkit.forgeHandler.ForgeEventHandler.interactEvent(ForgeEventHandler.java:421) 25.02 01:26:48 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 25.02 01:26:48 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 25.02 01:26:48 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) 25.02 01:26:48 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:393) 25.02 01:26:48 [Server] INFO org.bukkit.event.EventException 25.02 01:26:48 [Server] SEVERE Could not pass event PlayerInteractEvent to Essentials v2.10.1 25.02 01:26:48 [Multicraft] Skipped 40 lines due to rate limit (30/s) 25.02 01:26:46 [Server] INFO at com.earth2me.essentials.signs.SignPlayerListener.onPlayerInteract(SignPlayerListener.java:74) 25.02 01:26:46 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.onSignInteract(EssentialsSign.java:86) 25.02 01:26:46 [Server] INFO at com.earth2me.essentials.signs.SignBuy.onSignInteract(SignBuy.java:30) 25.02 01:26:46 [Server] INFO at com.earth2me.essentials.Trade.pay(Trade.java:140) 25.02 01:26:46 [Server] INFO at com.earth2me.essentials.craftbukkit.InventoryWorkaround.addAllItems(InventoryWorkaround.java:40) 25.02 01:26:46 [Server] INFO at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:64) 25.02 01:26:46 [Server] INFO Caused by: java.lang.IllegalArgumentException: Invalid inventory size; expected 27 or less 25.02 01:26:46 [Server] INFO at fy.run(SourceFile:849) 25.02 01:26:46 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) 25.02 01:26:46 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) 25.02 01:26:46 [Server] INFO at ho.r(DedicatedServer.java:269) 25.02 01:26:46 [Server] INFO at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703) 25.02 01:26:46 [Server] INFO at ht.b(SourceFile:30) 25.02 01:26:46 [Server] INFO at iw.b(NetworkListenThread.java:57) 25.02 01:26:46 [Server] INFO at iv.d(NetServerHandler.java:136) 25.02 01:26:46 [Server] INFO at cg.b(TcpConnection.java:458) 25.02 01:26:46 [Server] INFO at fk.a(SourceFile:58) 25.02 01:26:46 [Server] INFO at iv.a(NetServerHandler.java:578) 25.02 01:26:46 [Server] INFO at ir.a(ItemInWorldManager.java:389) 25.02 01:26:46 [Server] INFO at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:34) 25.02 01:26:46 [Server] INFO at net.minecraftforge.event.EventBus.post(EventBus.java:103) 25.02 01:26:46 [Server] INFO at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) 25.02 01:26:46 [Server] INFO at net.minecraftforge.event.ASMEventHandler_116_ForgeEventHandler_interactEvent_PlayerInteractEvent.invoke(.dynamic) 25.02 01:26:46 [Server] INFO at keepcalm.mods.bukkit.forgeHandler.ForgeEventHandler.interactEvent(ForgeEventHandler.java:421) 25.02 01:26:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 25.02 01:26:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 25.02 01:26:46 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) 25.02 01:26:46 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:393) 25.02 01:26:46 [Server] INFO org.bukkit.event.EventException 25.02 01:26:46 [Server] SEVERE Could not pass event PlayerInteractEvent to Essentials v2.10.1 25.02 01:26:46 [Multicraft] Skipped 40 lines due to rate limit (30/s) 25.02 01:26:45 [Server] INFO at com.earth2me.essentials.signs.SignPlayerListener.onPlayerInteract(SignPlayerListener.java:74) 25.02 01:26:45 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.onSignInteract(EssentialsSign.java:86) 25.02 01:26:45 [Server] INFO at com.earth2me.essentials.signs.SignBuy.onSignInteract(SignBuy.java:30) 25.02 01:26:45 [Server] INFO at com.earth2me.essentials.Trade.pay(Trade.java:140) 25.02 01:26:45 [Server] INFO at com.earth2me.essentials.craftbukkit.InventoryWorkaround.addAllItems(InventoryWorkaround.java:40) 25.02 01:26:45 [Server] INFO at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:64) 25.02 01:26:45 [Server] INFO Caused by: java.lang.IllegalArgumentException: Invalid inventory size; expected 27 or less 25.02 01:26:45 [Server] INFO at fy.run(SourceFile:849) 25.02 01:26:45 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) 25.02 01:26:45 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) 25.02 01:26:45 [Server] INFO at ho.r(DedicatedServer.java:269) 25.02 01:26:45 [Server] INFO at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703) 25.02 01:26:45 [Server] INFO at ht.b(SourceFile:30) 25.02 01:26:45 [Server] INFO at iw.b(NetworkListenThread.java:57) 25.02 01:26:45 [Server] INFO at iv.d(NetServerHandler.java:136) 25.02 01:26:45 [Server] INFO at cg.b(TcpConnection.java:458) 25.02 01:26:45 [Server] INFO at fk.a(SourceFile:58) 25.02 01:26:45 [Server] INFO at iv.a(NetServerHandler.java:578) 25.02 01:26:45 [Server] INFO at ir.a(ItemInWorldManager.java:389) 25.02 01:26:45 [Server] INFO at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:34) 25.02 01:26:45 [Server] INFO at net.minecraftforge.event.EventBus.post(EventBus.java:103) 25.02 01:26:45 [Server] INFO at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) 25.02 01:26:45 [Server] INFO at net.minecraftforge.event.ASMEventHandler_116_ForgeEventHandler_interactEvent_PlayerInteractEvent.invoke(.dynamic) 25.02 01:26:45 [Server] INFO at keepcalm.mods.bukkit.forgeHandler.ForgeEventHandler.interactEvent(ForgeEventHandler.java:421) 25.02 01:26:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 25.02 01:26:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 25.02 01:26:45 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) 25.02 01:26:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:393) 25.02 01:26:45 [Server] INFO org.bukkit.event.EventException 25.02 01:26:45 [Server] SEVERE Could not pass event PlayerInteractEvent to Essentials v2.10.1 25.02 01:26:45 [Multicraft] Skipped 40 lines due to rate limit (30/s) 25.02 01:26:44 [Server] INFO at com.earth2me.essentials.signs.SignPlayerListener.onPlayerInteract(SignPlayerListener.java:74) 25.02 01:26:44 [Server] INFO at com.earth2me.essentials.signs.EssentialsSign.onSignInteract(EssentialsSign.java:86) 25.02 01:26:44 [Server] INFO at com.earth2me.essentials.signs.SignBuy.onSignInteract(SignBuy.java:30) 25.02 01:26:44 [Server] INFO at com.earth2me.essentials.Trade.pay(Trade.java:140) 25.02 01:26:44 [Server] INFO at com.earth2me.essentials.craftbukkit.InventoryWorkaround.addAllItems(InventoryWorkaround.java:40) 25.02 01:26:44 [Server] INFO at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:64) 25.02 01:26:44 [Server] INFO Caused by: java.lang.IllegalArgumentException: Invalid inventory size; expected 27 or less 25.02 01:26:44 [Server] INFO at fy.run(SourceFile:849) 25.02 01:26:44 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) 25.02 01:26:44 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) 25.02 01:26:44 [Server] INFO at ho.r(DedicatedServer.java:269) 25.02 01:26:44 [Server] INFO at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703) 25.02 01:26:44 [Server] INFO at ht.b(SourceFile:30) 25.02 01:26:44 [Server] INFO at iw.b(NetworkListenThread.java:57) 25.02 01:26:44 [Server] INFO at iv.d(NetServerHandler.java:136) 25.02 01:26:44 [Server] INFO at cg.b(TcpConnection.java:458) 25.02 01:26:44 [Server] INFO at fk.a(SourceFile:58) 25.02 01:26:44 [Server] INFO at iv.a(NetServerHandler.java:578) 25.02 01:26:44 [Server] INFO at ir.a(ItemInWorldManager.java:389) 25.02 01:26:44 [Server] INFO at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:34) 25.02 01:26:44 [Server] INFO at net.minecraftforge.event.EventBus.post(EventBus.java:103)

Maximuscr31 commented 11 years ago

I made a edit. This was as of version 246.

AlexMason commented 11 years ago

Unfortunatly this is still happening in 251

Sageavatar commented 11 years ago

Worse, in my mind, is that [TRADE] Signs don't work. As all of the other shop plugins don't currently work, (Oh god please correct me if I'm wrong -- I'm pretty desperate to stop using Trade - O - Mats). Not sure if the console errors are the same or not. I'm not on my server ATM.

eagl3s1ght commented 11 years ago

@Sageavatar, that (and this reply) is not really relevant to this issue forum. Maybe use http://www.bukkitforge.com if you need to find a good, working chestshop plugin. For example, chestshop works great (except maybe for mod items)

SpoonsJTD commented 11 years ago

Updated to include Sell and Trade.

tonnic commented 11 years ago

It works now ?. I'll test when I'm home

Maximuscr31 commented 11 years ago

It hasn't been updated in 3 days. He might have gotten it fixed, we just got to wait on the upload. Probably will be version 253

SpoonsJTD commented 11 years ago

I didn't say I fixed it, I updated this issue to include sell and trade as well, although it looks like someone removed my title change.

Dreadcor commented 11 years ago

Buy/sell works with the latest build. Trade still being looked at though..

Maximuscr31 commented 11 years ago

It takes money out of the balance but gives no item when using a buy sign as of version 255

Ev3rM0r3 commented 11 years ago

Confirmed, latest version doesn't give items on purchase, but does sell.