Quester

Quester

47.7k Downloads

Bug with ''Condition quest''

Alenor opened this issue · 30 comments

commented

I add the plugin Quester to my server and when I create a mission with a condition ex: You need complete X mission to do other... my problem is ''You need complete done the quest: 2'' I complete the quest 2 many times but i can't do the mission.

commented

Could you please paste formatted version ? I'd like to just copy it into my quest config. Thank you.

commented

I meant formatted version of your those quests, with proper indentation and everything.

commented

?

commented

I did the missions in the version of the plugin :0.6.3.6

commented
example:
    of:
        formatted: yaml
        file: here

Exactly as it appears in the your quest config. The paste you have given me before is not formatted.

commented

Not that I have to do

commented

Is my config

commented

I am sorry, I will try to be clear this time. I would like you to paste 2 quests required to reproduce reported behavior, exactly as they would appear in quests.yml file. (including proper indentation)

commented

The mission 2: http://pastebin.com/PWZbtGY4
Is required to do the mission 11: http://pastebin.com/1BduMCiC

commented

Thanks ! I will take a look.

commented

Thanks! and... good plugin!!

commented

0.6 or 0.7 ?

commented

Plugin: B: Quester 0.6.3.6 for 1.6.2 Jul 29, 2013
Server: 1.7.4

commented

Please provide me with the 2 quests required to reproduce this behavior. Make them as small as possible, Use pastebin or similar site please.

commented

malditos zombis:
name: Malditos zombis
flags: ACTIVE;
objectives:
'0':
type: MOBKILL
amount: 30
entity: '54'
events:
'0':
type: MSG
occasion: -1
message: Hola aventurero, ¿me podrias ayudar? me tengo que quedar protegiendo la ciudad
'1':
type: MSG
occasion: -1
message: ¿Podrias matar unos zombis por mi? te recompensare.
'2':
type: MSG
occasion: -3
message: Gracias aventurero, lo prometido es deuda
'3':
type: ITEM
occasion: -3
item: '267:0'
'4':
type: ITEM
occasion: -3
item: '262:0'
amount: 15
ID: 2
plaga de esqueletos:
name: Plaga de esqueletos
flags: ACTIVE;
objectives:
'0':
type: MOBKILL
amount: 30
entity: '51'
conditions:
'0':
type: QUEST
quest: '2'
events:
'0':
type: MSG
occasion: -1
message: ¡Aventurero! ¡qué bien que te encuentre! te necesito
'1':
type: MSG
occasion: -1
message: los esqueletos atacan a los ciudadanos y yo no me puedo mover de aqui. ¡Ayúdame!
'2':
type: ITEM
occasion: -3
item: '267:0'
enchants: 17:2,16:3
'3':
type: MSG
occasion: -3
message: ¡Gracias de nuevo! Toma, es para ti.
ID: 11

commented

The text and title is in Spanish but I believe don't import

commented

The version of craftbukkit is the last: 1.7.2-R0.3
Development Build

commented

I wasn't joking with the pastebin.

commented

Then?...

commented

If you want I have many quest with this problem

commented

Hey, I believe the issues is you are using the quest number (in your case '2') instead of the quest name. The QUEST condition requires you to use the quest name not number.

So you need to change it to the following;

conditions:
'0':
type: QUEST
quest: 'malditos zombis'

commented

That's true. For some reason, I thought that 0.6 should work with ID, which is wrong. I means that this particular issue should be fixed by using quest name instead. Could you confirm that Alenor ?

commented

I try to write the name the quest and this says: ''The id must be a number''

commented

Sorry, it's been quite a while since I last worked with 0.6.

Command requires valid quest ID. It will then look the quest up and create quest condition with its current name. Is there any chance you renamed the the quest after you created the condition ? It needs to be recreated each time quest name changes. Or simply modify quests.yml (server needs to be down while you are doing that) and change that condition to match the name of the quest.

commented

Masterofjumping solution has worked for me. But now I am too lazy to change all the quest condition ...

commented

And sorry for late reply