CitizensDev / Citizens

NPCs for Bukkit
citizensnpcs.co
Other
107 stars 53 forks source link

Trader Transaction Issue #929

Open CovertHoax opened 12 years ago

CovertHoax commented 12 years ago

Had a strange error happen when trying to use traders.. Used to work fine but had other issues like the NPC not actually looking at you or equipping anything. Anyway I updated to your latest build of Citizens (1) and now they look at you and equip stuff, I can also use the /trader buy/sell command however i cant actually open the window to stock items.. I get this long error..

03:30:10 [SEVERE] Could not pass event NPCTargetEvent to Citizens org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441) at net.citizensnpcs.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1064) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NoSuchMethodError: net.citizensnpcs.utils.InventoryUtils.showInventory(Lnet/citizensnpcs/resources/npclib/HumanNPC;Lorg/bukkit/entity/Player;)V at net.citizensnpcs.traders.Trader.onRightClick(Trader.java:162) at net.citizensnpcs.resources.npclib.HumanNPC.callRightClick(HumanNPC.java:73) at net.citizensnpcs.listeners.EntityListen.onEntityTarget(EntityListen.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 18 more 03:30:10 [INFO] [Citizens] An error has occurred, please wait while it is sent to the developers... 03:30:10 [WARNING] Task of 'Citizens' generated an exception java.lang.NoSuchMethodError: net.minecraft.server.PlayerInventory.l()Lnet/minecraft/server/ItemStack; at net.citizensnpcs.traders.TraderTask.run(TraderTask.java:69) at net.citizensnpcs.traders.TraderTask.kill(TraderTask.java:124) at net.citizensnpcs.traders.TraderTask.run(TraderTask.java:59) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] <meta name=ÔÇ?keywordsÔÇ? content=ÔÇ?Citizens,CitizensNPCs,NPCs for bukkit,bukkit,npcsÔÇ?> 03:30:11 [INFO] [Citizens] <meta name=ÔÇ?descriptionÔÇ? content=ÔÇ?CitizensNPCs| Citizens - NPCs for BukkitÔÇ?> 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] Citizens | CitizensNPCs - NPCs for Bukkit 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

NOW BETA TESTING

03:30:11 [INFO] [Citizens]

ItÔÇÖs finally here! Citizens2 is the exciting new rewrite of the Citizens plugin you know and love,

03:30:11 [INFO] [Citizens]
with more features and extendability than ever before! 03:30:11 [INFO] [Citizens] The new Citizens2 API enables developers to easily utilize all types of NPC traits and abilities to help create more Characters 03:30:11 [INFO] [Citizens] than ever before. 03:30:11 [INFO] [Citizens] Users will love the ability to create NPC mobs, all with the same control you would expect from Citizens . 03:30:11 [INFO] [Citizens]
WeÔÇÖre excited tosee how you will use Citizens2!

03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

CITIZENS COMMUNITY

03:30:11 [INFO] [Citizens]

You can always find the latest information about Citizens and its Characters on our wiki.

03:30:11 [INFO] [Citizens] http://wiki.citizensnpcs.net 03:30:11 [INFO] [Citizens]

Please report any issues at http://issues.citizensnpcs.net

03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

TESTING THE WATERS

03:30:11 [INFO] [Citizens]

Looking for bleedingedge? Download our latest developmental builds.

03:30:11 [INFO] [Citizens]

Latest Developmental: 03:30:11 [INFO] [Citizens] #54

03:30:11 [INFO] [Citizens]

Latest Developmental API: 03:30:11 [INFO] [Citizens] #36

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

DOWNLOAD CITIZENS
FOR BUKKIT

03:30:11 [INFO] [Citizens]

Latest Release: 03:30:11 [INFO] [Citizens] #

03:30:11 [INFO] [Citizens]

Latest API Release: 03:30:11 [INFO] [Citizens] #

03:30:11 [INFO] [Citizens]

BukkitDev Page: Citizens

03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

THE UNDERGROUND

03:30:11 [INFO] [Citizens]

Visit us on irc.esper.net in the #citizens channel to watch development in real-time or to ask questions to dedicated users and developers.

03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

03:30:11 [INFO] [Citizens]

Sponsored by CreeperHost

03:30:11 [INFO] [Citizens]

Copyright 2012 ┬® CitizensNPCs.net

03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens]
03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] 03:30:11 [INFO] [Citizens] Below is the stacktrace that has been transmitted tothe developers, no other information has been included other than Citizens version information.

Not sure how helpful that is but its the most information i could get for you guys.. If its as simple as downloading a update for the trader then thats fine I can do that but if its a huge bug then how come its just me getting it? Havent seen this error anywhere.. :/

PhoenyxCZ commented 12 years ago

Same to me.. its sad that nobodey can answer us.

CovertHoax commented 12 years ago

Found a fix...

there is a traders jar file from the 9th that works..

http://ci.citizensnpcs.net/job/Citizens/45/artifact/bin/types/Trader.jar That one... test it and let me know if it fix's it for you too..