Core 2.0.0 Milestone 7.3 Released!

Discussion in 'News and Announcements' started by robxu9, Oct 18, 2012.

  • by robxu9, Oct 18, 2012 at 6:08 AM
  • robxu9 Head Developer

    Internationalization fixes! Support for detecting encodings!
    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.
    Bugfixes:
    • Fixed the reading of .quest files when the encoding was different from the system.
    • Uses Mozilla's UniversalChardet system to do this.
    Download: From our DEV build server.
    Gottor likes this.
  • Categories: Uncategorized

Comments

Discussion in 'News and Announcements' started by robxu9, Oct 18, 2012.

  1. Gottor
    I have a problem !
    Now, when a player completes this quest, he was not given the reward. That is what is written in consol:
    Code:
    2012-10-19 12:05:09 [SEVERE] [MineQuest] [Event] In retrieving event RewardItemEvent from Quest ID {mq.file=C:\Users\Admin\Desktop\Quest's and scipt's\RPG\plugins\MineQuest\quests\creeper.quest, mq.name=creeper, mq.displayname=РЁ-шеРүРµРҢРёРµ РёР· РғСѓСЃС‚РңРІ.., mq.description=ФерРәер РһСѓСҚРҢ,РөавРҢРң жалуется РҢР° РүРңрчу егРң РёРәущества.Рљ СҚС‚РңРәСѓ РүричастРҢС‹ РғСЂРёРүеры.Рти жалРғРёРµ, зелеРҢые существа таРғ Р»РңРІРғРң РәасРғеруСҺтся,чтРң РёС… РңчеРҢСЊ СЃР»РңР¶РҢРң Р·Р°Рәетить,РңСЃРңР±РµРҢРҢРң РІ РҢаших Рғраях.РһСѓСҚРҢ РүСЂРңСЃРёС‚ РҢаёРәРҢРёРғРңРІ СѓРәРµРҢьшить числеРҢРҢРңсть РғСЂРёРүерРңРІ РІ лесах,РІРңзле РіРңСЂРңРөР°.Р—Р° СҚту рабРңту РңРҢ Рңбещает Р·Р°Рүлатить Р•РөРңР№ Рё СЃРµРәРµРҢР°РәРё!, 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@b28576, mq.editmessage=В§7Dont do that, mq.world=world, mq.loadworld=false, mq.tasks={0=[Ljava.lang.String;@1a6a8d8, 1=[Ljava.lang.String;@56a5f5}, mq.events={1=MessageEvent:1000:РџРңРәРңРіРё ферРәеру РһСѓСҚРҢСѓ избавиться РңС‚ РҢР°РөРңРµРөлевых СЃРңСЃРµРөей..., 2=EntitySpawnerEvent:1500:47:87:11:Creeper, 3=KillEvent:1:Creeper:1, 5=MessageEvent:1:Квест завершеРҢ!Р’С‹ РүРңлучили СЃРІРңСҺ РҢаграРөСѓ!, 6=RewardItemEvent:295:1, 7=RewardItemEvent:361:1, 8=RewardItemEvent:362:1, 9=RewardItemEvent:297:1, 10=CompleteQuestEvent:1000}, mq.targets={}, mq.edits={}, mq.netherworld=false, mq.requirementdetails={-1=com.theminequest.MQCoreRequirements.NotRepeatableRequirement@1e863a3}, mq.getrequirements=[-1], mq.startrequirements=[]}:Gottor:-1:
    2012-10-19 12:05:09 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 1
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MQCoreEvents.RewardItemEvent.parseDetails(RewardItemEvent.java:53)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.API.Events.QuestEvent.setupProperties(QuestEvent.java:77)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.Events.MQEventManager.constructEvent(MQEventManager.java:115)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.Tasks.Task.start(Task.java:94)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.Quest.Quest.startTask(Quest.java:149)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.API.Events.QuestEvent.complete(QuestEvent.java:181)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.API.Events.QuestEvent$1.run(QuestEvent.java:99)
    2012-10-19 12:05:09 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-10-19 12:05:09 [WARNING] [MineQuest] [Task] Missing event RewardItemEvent; Ignoring.
  2. Gottor
    I have a problem !
    Now, when a player completes this quest, he was not given the reward. That is what is written in console:
    Code:
    2012-10-19 12:05:09 [SEVERE] [MineQuest] [Event] In retrieving event RewardItemEvent from Quest ID {mq.file=C:\Users\Admin\Desktop\Quest's and scipt's\RPG\plugins\MineQuest\quests\creeper.quest, mq.name=creeper, mq.displayname=РЁ-шеРүРµРҢРёРµ РёР· РғСѓСЃС‚РңРІ.., mq.description=ФерРәер РһСѓСҚРҢ,РөавРҢРң жалуется РҢР° РүРңрчу егРң РёРәущества.Рљ СҚС‚РңРәСѓ РүричастРҢС‹ РғСЂРёРүеры.Рти жалРғРёРµ, зелеРҢые существа таРғ Р»РңРІРғРң РәасРғеруСҺтся,чтРң РёС… РңчеРҢСЊ СЃР»РңР¶РҢРң Р·Р°Рәетить,РңСЃРңР±РµРҢРҢРң РІ РҢаших Рғраях.РһСѓСҚРҢ РүСЂРңСЃРёС‚ РҢаёРәРҢРёРғРңРІ СѓРәРµРҢьшить числеРҢРҢРңсть РғСЂРёРүерРңРІ РІ лесах,РІРңзле РіРңСЂРңРөР°.Р—Р° СҚту рабРңту РңРҢ Рңбещает Р·Р°Рүлатить Р•РөРңР№ Рё СЃРµРәРµРҢР°РәРё!, 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@b28576, mq.editmessage=В§7Dont do that, mq.world=world, mq.loadworld=false, mq.tasks={0=[Ljava.lang.String;@1a6a8d8, 1=[Ljava.lang.String;@56a5f5}, mq.events={1=MessageEvent:1000:РџРңРәРңРіРё ферРәеру РһСѓСҚРҢСѓ избавиться РңС‚ РҢР°РөРңРµРөлевых СЃРңСЃРµРөей..., 2=EntitySpawnerEvent:1500:47:87:11:Creeper, 3=KillEvent:1:Creeper:1, 5=MessageEvent:1:Квест завершеРҢ!Р’С‹ РүРңлучили СЃРІРңСҺ РҢаграРөСѓ!, 6=RewardItemEvent:295:1, 7=RewardItemEvent:361:1, 8=RewardItemEvent:362:1, 9=RewardItemEvent:297:1, 10=CompleteQuestEvent:1000}, mq.targets={}, mq.edits={}, mq.netherworld=false, mq.requirementdetails={-1=com.theminequest.MQCoreRequirements.NotRepeatableRequirement@1e863a3}, mq.getrequirements=[-1], mq.startrequirements=[]}:Gottor:-1:
    2012-10-19 12:05:09 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 1
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MQCoreEvents.RewardItemEvent.parseDetails(RewardItemEvent.java:53)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.API.Events.QuestEvent.setupProperties(QuestEvent.java:77)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.Events.MQEventManager.constructEvent(MQEventManager.java:115)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.Tasks.Task.start(Task.java:94)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.Quest.Quest.startTask(Quest.java:149)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.API.Events.QuestEvent.complete(QuestEvent.java:181)
    2012-10-19 12:05:09 [SEVERE]    at com.theminequest.MineQuest.API.Events.QuestEvent$1.run(QuestEvent.java:99)
    2012-10-19 12:05:09 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    2012-10-19 12:05:09 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-10-19 12:05:09 [WARNING] [MineQuest] [Task] Missing event RewardItemEvent; Ignoring.
    P.S:In Milestone 6 quest working good =\
  3. squeezer
    just finished german translation. hope it is not that rough. suggestions are welcome.
    robxu9 likes this.
  4. robxu9
    Like it was stated above:

    You need to fix this in your quest by specifying a task id before the reward content. E.g.

    Code:
    Event:10:RewardItemEvent:<TASKID>:2,1
    Gottor likes this.
  5. drAke
    I dont understand
    could put a simple example?
    for this quest plz

    Code:
    Event:1:MessageEvent:300:Hi traveler
    Event:2:AreaEvent:500:2:60:60:60:5
    Event:3:RewardMoneyEvent:500
    Event:4:RewardPermEvent:essentials.*
    Task:1:1,2
    Task:2:3,4
  6. makraiz
    Code:
    Event:1:MessageEvent:300:Hi traveler
    Event:2:AreaEvent:500:2:60:60:60:5
    Event:3:RewardMoneyEvent:3:500
    Event:4:RewardPermEvent:-1:essentials.*
    Task:1:1,2
    Task:2:3
    Task:3:4
  7. makraiz
    In this example, the RewardMoney event leads to the reward permissions event, and then designated a task of -1 ends the quest.
  8. Gottor
    Why the quest does not work?
    Code:
    Name:Путь Воина
    Description:Приветствую тебя,странник!Я наставник воинов,я занимаюсь обучением таких странников как ты, и делаю из них прекрасных воинов!Если ты желаешь начать обучение,то я помогу тебе!
    Repeatable:true
    Reset:false
    World:world
    Event:1:MessageEvent:1000:Garius:Итак,давай начнем обучение.Но для этого ты должен доказать свою доблесть и храбрость!Я поставлю тебе не сложную цель:У нас в городе где-то обитает секта некромантов, по слухам они занимаются воскрешением мертвецов,создавая армию!Найди логово некромантов, и убей там 30 зомби
    Event:2:EntitySpawnerEvent:906:74:354:5:Zombie
    Event:3:KillEvent:1:zombie:1
    Event:4:MessageEvent:2000:Garius:Ты хорошо справился с этим заданием, я думаю ты станешь не плохим воином!
    Event:5:MessageEvent:1000:Garius:Каждый воин должен иметь хороший клинок,но при этом он должен выковать его сам!Вот держи все нужные ресурсы и создай себе Железный мечь!
    Event:6:RewardItemEvent:2:15,2
    Event:7:RewardItemEvent:2:263,4
    Event:8:RewardItemEvent:2:5,2
    Event:9:CollectEvent:5:276:1
    Event:10:MessageEvent:1000:Garius:Теперь ты не только познаешь боевые способности,да ещё и кузнечное дело :)Молодец Воин!
    Event:11:RewardItemEvent:4:267
    Event:12:MessageEvent:100:Garius:Теперь тебя ждёт последнее задание:Тебе нужно спуститься в нижний мир, и раздобыть для меня 10 самородков!Их можно найти у свинозомби.Ступай Воин!
    Event:13:CollectEvent:7:371:10
    Event:14:MessageEvent:1000:Ты собрал достаточно самородков! Возвращайся к Гариусу!
    Event:15:MessageEvent:15000:Garius:Оу самородочки...Кхм..Молодец странник,ты доказал что ты способен держать в руке меч, и можешь проявить храбрость, и отвагу,и отныне ты будешь носить звание Warrior\'a!Я открою тебе тайное заклинание, сказав которое, ты сможешь получить силу настоящего воина! Это заклинание /nclass warrior
    Event:16:MessageEvent:5000:Инфо:Для полного ознакомления с классовой системой, зайдите на форум сайта gamepunkway.ru !
    Event:17:RewardItemEvent:5:341,10
    Event:18:RewardPermEvent:-1:add.class.warrior
    Event:19:CompleteQuestEvent:3000
    Task:1:1,2,3
    Task:2:4,5,6,7,8
    Task:3:9,10,11
    Task:4:12,13,14
    Task:5:15,16,17,18,19
    In console write it:
    MineQuest Starting task1 for warrior Gottor failed !
    P.S: i am Russian and use Russian text on this quest )
  9. makraiz
    Reward events need to be on their own task, like in the example I posted earlier. Event 17 tells task 5 to launch again, which might set up an infinite loop. If these suggestions do not fix it, please open a thread in the "Quest Help" section of the forums.
  10. Gottor
    That is, for each event, you must create a new TASK?
  11. Gottor
    And the mistake occurred in the quest after the event:
    Code:
    Event:3:KillEvent:1:zombie:1
  12. makraiz
    For each RewardEvent, yes. If you want to end a quest w/ a reward, you can tell it to go to task -1 and it will end the quest.

    The problem w/ this line is that loops back to the task that launches it. I believe you want to change this to:

    Code:
    Event:3:KillEvent:2:Zombie:1
    If this doesn't get you going please open a thread in the "Quest Help" section of the forums.