killNPC quest not working
I can't get the killNPC quest to work. I'm on week 3 with this!!! The rest of the quest file is fine except when this
'0':
type: move distance
amount: 400
message:
Go back to see the quester in the Parthenon.
gets substituted for this
'0': type: killNPC amount: 1 string: 'bob,'
the quest.yml seems to hang on the last good configuration. I've tried every alternative I can think of commas, no commas, quotes, no quotes, npc id's, npc names, etc and it's just not happening. Parsed the yml in dozens of places too. I'm using CB 1.1 R4 and Citizens 1.1.6 (even though it says it's 1.1.5).
Any ideas would be greatly appreciated. Thanks
Thanks for the reply Diabloste. Girgensplat on dev.bukkit I think has isolated the problem the console log reads:
2012-02-28 20:36:55 [INFO] [Citizens] Invalid quest objective - incorrect type specified. Quest 'Sergeants Quest' not loaded.
Which since killNPC is a 1.1.6 update suggests I'm on 1.1.5 still. I see in another thread you have had success with the killNPC quest so you have the updated 1.1.6 file. Did you download it from the dev.bukkit 1.1.6 link as I did or somewhere else? If so would you be good enough to let me know where.
Thanks.
The devbukkit page has 1.1.6 - if you do /citizens in game it does still say 1.1.5 though its a known bug (Known by me and another guy anyway XD)
Anyway, killNPC isn't working for me either... but I don't get that error. Can you post the entire quest?
Sergeants Quest:
texts:
description:
rewards:
'0':
type: rank
rank: 'warden'
replace: true
with: 'sergeant'
Could you do it in pastebin, the formatting is messed up here :P
- Is anyone else having the issue?
Flenix, here you are: http://pastebin.com/Z519Een0
Diabloste, I've tried lowercase, uppercase, camelCase, etc and still no joy. It's what leads me to believe I've still got 1.1.5 as killNPC was in the 1.1.6 update. I've tried a link to a file on jenkins that fulwall posted but it still says it's 1.1.5. Have you created a killNPC succesfully? Have you got the .jar still? Getting to the point now that I'm just going to remove citizens altogether which would be a shame but added to the trader duping flaw it's just not good. We'll be on Citizens2 soon anyway so I might try again then.
:(
killNPC works on my server, I use it in several quests where they have to kill castle guards however i did run into one problem. In "string" don't put the npc names put their npc ID separated by a comma and be sure to place a comma AFTER the last name/ID or the quest won't read it so string: 'bob, frank,' or '68, 69,' that comma AFTER the name is REQUIRED
If it doesn't work then technically a kill player quest still works for npc NAMES last I checked(last time I checked was 1.1.5)
Can someone please solve this issue? #910