Citizens icon indicating copy to clipboard operation
Citizens copied to clipboard

killNPC quest not working

Open luigivampa opened this issue 13 years ago • 8 comments

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: Quest Completed.
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

luigivampa avatar Feb 28 '12 16:02 luigivampa

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.

luigivampa avatar Feb 28 '12 21:02 luigivampa

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?

Fureniku avatar Mar 01 '12 00:03 Fureniku

Sergeants Quest: texts: description: Complete the quest to become a Sergeant1. completion: Promotion Gained.&7[&bCommandant&7] &fWell done. You have done a great deed for this city and earnt the rank of sergeant. acceptance: Quest Accepted.&7[&bCommandant&7] &fThe mobsters are getting out of hand and must be stopped. Kill 5 as a reminder of the law. repeats: -1 requirements: '0': type: rank rank: 'warden' objectives: '0': '0': type: killNPC amount: 1 message: bob,

rewards:
    '0':
        type: rank
        rank: 'warden'
        replace: true
        with: 'sergeant'

luigivampa avatar Mar 01 '12 18:03 luigivampa

Could you do it in pastebin, the formatting is messed up here :P

  • Is anyone else having the issue?

Fureniku avatar Mar 03 '12 01:03 Fureniku

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.

:(

luigivampa avatar Mar 03 '12 14:03 luigivampa

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

charlie1990 avatar Mar 05 '12 12:03 charlie1990

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)

charlie1990 avatar Mar 06 '12 01:03 charlie1990

Can someone please solve this issue? #910

sammy123x avatar Mar 10 '12 17:03 sammy123x