[Task] Missing event RewardItemEvent; Ignoring. #25


  • New
  • Defect
Open
Assigned to _ForgeUser444661
  • _ForgeUser8766872 created this issue Oct 22, 2012

    What is the expected output? What do you see instead?
    This quest was copied from these forums and all ive changed is the world name. this error comes with whichever reward i chose.

    What version of the product are you using?
    2.0.0Milestone7.3

    Do you have an error log of what happened?

    2012-10-22 22:56:03 [SEVERE] [MineQuest] [Event] In retrieving event RewardItemEvent from Quest ID {mq.file=C:\Users\Daveyc\Desktop\Minecraft Servers\RPG\plugins\MineQuest\quests\gotwood.quest, mq.name=gotwood, mq.displayname=Get that wood, mq.description=No description is available for this quest!, mq.accept=Accepted the quest!, mq.abort=Quest Aborted!, mq.complete=Completed the Quest!, mq.fail=Failed the Quest!, mq.spawnreset=false, mq.spawnpoint=[D@3d1a1f9b, mq.editmessage=ยง7Only get that piece of wood!, mq.world=world, mq.loadworld=false, mq.tasks={1=[Ljava.lang.String;@5465df5, 2=[Ljava.lang.String;@d9a47d4}, mq.events={1=MessageEvent:500:Do you see that wood there, it is your job to remove it!, 2=MessageEvent:500:So go on, and destroy it!, 3=DestroyEvent:2:17:1, 4=MessageEvent:500:Good job!, 5=RewardItemEvent:1,10}, mq.targets={}, mq.edits={4=com.theminequest.MineQuest.API.Edit.CertainBlockEdit@181bc972}, mq.netherworld=false, mq.requirementdetails={-1=com.theminequest.MQCoreRequirements.NotRepeatableRequirement@5d8b8d9e}, mq.getrequirements=[-1], mq.startrequirements=[]}:mealstealer:-1:
    2012-10-22 22:56:03 [SEVERE] java.lang.NumberFormatException: For input string: "1,10"
    2012-10-22 22:56:03 [SEVERE]     at java.lang.NumberFormatException.forInputString(Unknown Source)
    2012-10-22 22:56:03 [SEVERE]     at java.lang.Integer.parseInt(Unknown Source)
    2012-10-22 22:56:03 [SEVERE]     at java.lang.Integer.parseInt(Unknown Source)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MQCoreEvents.RewardItemEvent.parseDetails(RewardItemEvent.java:50)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.API.Events.QuestEvent.setupProperties(QuestEvent.java:77)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.Events.MQEventManager.constructEvent(MQEventManager.java:115)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.Tasks.Task.start(Task.java:94)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.Quest.Quest.startTask(Quest.java:149)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.API.Events.QuestEvent.complete(QuestEvent.java:181)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.API.Events.QuestEvent.onBlockBreak(QuestEvent.java:262)
    2012-10-22 22:56:03 [SEVERE]     at com.theminequest.MineQuest.Events.MQEventManager.onBlockBreak(MQEventManager.java:192)
    2012-10-22 22:56:03 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-10-22 22:56:03 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-10-22 22:56:03 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-10-22 22:56:03 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2012-10-22 22:56:03 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
    2012-10-22 22:56:03 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-10-22 22:56:03 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    2012-10-22 22:56:03 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:278)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:205)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:552)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:282)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.ServerConnection.b(SourceFile:35)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:561)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    2012-10-22 22:56:03 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-10-22 22:56:03 [WARNING] [MineQuest] [Task] Missing event RewardItemEvent; Ignoring.

  • _ForgeUser8766872 added the tags New Defect Oct 22, 2012
  • _ForgeUser8766872 posted a comment Oct 25, 2012

    Sorry,

    problem solved: "Yet again: Reward events need to have the task ID defining the command/permission/itemid/money amount. This has NOT been implemented yet in the Quest Helper."

    would be great if the questhelper was up to date

  • BlueWood posted a comment Jan 18, 2013

    @ftfc: Go

    Can you give an example of what the correct quest code should look like? I am getting the same problem.


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