CitizensDev/Citizens — Issue #886: Quest location doesn't seem to work...
Author: Flenix
Created: 2012-02-27 00:06:20+00:00
State: open

I've decided I CANNOT get my head around this. I have a quest at my spawn, real simple: Go to the top of the tower and come back. Location, one objective quest. Works fine.

However, I tried to make a more challenging quest, and the location objectives aren't triggering, at all. The first objective, as you can see, is a Location one - I tried running there (my coords are on screen at all times), and then tried using /tppos to get there. Both times I waited on the exact location for over a minute - it never triggered the message, and I couldn't do the delivery part.

Has anyone got ANY ideas? :(

A Quick Errand:
texts:
description: "&2[Julian]:&e Hey! Thanks for visiting my island!
&2[Julian]:&e Ah yeah, I said I needed a hand. Well, as you probably saw on your way over, that boat over there has been burnt
&edown! I was wandering if you can do a few things for me...
&2[Julian]:&e Well, I'll be honest. Without the boat, I can't get to Anhk and I'm running very low on supplies.
&2[Julian]:&e Any chance you can go grab some stuff for me?
&4[]:&e Uhh, I could maybe give it a try...
&2[Julian]:&e Great!! From Anhk I'll need the following:
&5- 10 Bread
&5- 10 Cooked Porkchops
&5- 10 Cooked Chickens
&5- 2 Cakes
&2[Julian]:&e Of course, I'll pay you for helping me out!"
completion: "&2[Julian]:&e Wow thanks so much for doing all that for me! Hey, I don't suppose you're a warrior are you?

&eIf you are, you'll now know how to use the Fireproof spell -

&eShould be helpful if you meet any more pyromaniacs!
&6Quest Complete! Rewards:
&6- 500 Silva
&6- The warrior spell 'Fireproof' (If applicable)
&6- Julias' Charm, Julias will help you out with future quests sometimes.
&6- You have new quests available!"
acceptance: "&2[Julian]:&e Thanks - You're a lifesaver!
&2[Julian]:&e Oh, take this too, it will let me speak directly into your mind, wherever you are!
&6You recieved Julian's Charm from Julian!
&3OK... is this thing on? There we go! The Charm will bind itself

&3within you, no need to put it into your pack. Now get going!"
repeats: 0
objectives:
'0':
'0':
type: location
location:
x: 438
y: 66
z: -1104
time: 10
leeway: 25
message: "&3Now, don't forget I needed:
&5- 10 Bread
&5- 10 Cooked Porkchops
&5- 10 Cooked Chickens
&5- 2 Cakes"
'1':
'0':
type: delivery
materialid: 297
amount: 10
npcdestination: 45
message: "&2[Julian]:&e 10 bread..."
'2':
'0':
type: delivery
materialid: 320
amount: 10
npcdestination: 45
message: "&2[Julian]:&e ...10 cooked porkchops..."
'3':
'0':
type: delivery
materialid: 366
amount: 10
npcdestination: 45
message: "&2[Julian]:&e ...10 cooked chickens..."
'4':
'0':
type: delivery
materialid: 354
amount: 2
npcdestination: 45
message: "&2[Julian]:&e ...and two cakes!! Woo!
&6You recieved 250 Silva from Julian!
&2[Julian]:&e Now... I have one more job to ask of you.
&2[Julian]:&e As I said earlier, the boat I used to take to Anhk was burnt down.
&2[Julian]:&e I wanna know who it was - can you find out for me?"
rewards:
'0':
type: money
money: 250
'5':
'0':
type: location
location:
x: -72
y: 66
z: -1216
time: 2
leeway: 2
message: "&4[]:&e What happened here?
&2[Guard]:&e That is on a need-to-know basis, and you don't need to know.
&4[]:&e I do need to know - because of this an old man can't run his own errands anymore!
&2[Julian]:&e Then go tell the old man thats his problem, not mine.
&3You should probably go and tell Julian the guard wont give any information."
'6':
'0':
type: location
location:
x: -269
y: 65
z: -1317
time: 2
leeway: 2
message: "&4[]:&e The guard refused to give me any information, sorry.
&2[Jualian]:&e I know him. Just needs a bit of persuasion... Go back, and
&eask him one last time. If he doesn't talk now, his wife lives in the house just nearby.
&eKill her.
&4[]:&e ...You're mad, right? That guard will kill me!
&2[Julian]:&e The guard wouldn't hurt a fly. He'll just blab everything he knows.
&eThe wife is pure evil anyway, her favourite meal is puppy stew!
&4[]:&e I'm trusting you on this."
'7':
'0':
type: location
location:
x: -72
y: 66
z: -1212
time: 2
leeway: 2
message: "&4[]:&e I'm not taking no for an answer, tell me what I need to know!
&2[Guard]:&e HAHAH! No.
&4[]:&e Have it your way.
&3Go and kill his wife... Just think of the puppies!"
'8':
'0':
type: location
location:
x: -84
y: 64
z: -1221
time: 3
leeway: 2
message: "&2[Guard]:&e Hey! Why are you going in my house?!
&2[Guard]:&e WHAT ARE YOU DOING?! GET AWAY FROM MY WIFE!"
'9':
'0':
type: killNPC
amount: 1
string: 49
'10':
'0':
type: location
location:
x: -72
y: 66
z: -1212
time: 2
leeway: 2
message: "&4[]:&e So. Wanna talk to me now?
&2[Guard]:&e It was burnt by someone called Sacrmeno. He lives in Loxley.
&4[]:&e There, wasn't so hard was it?
&2[Guard]:&e ...you just killed my wife...
&4[]:&e And she killed puppies. What of it?"
'11':
'0':
type: location
location:
x: -269
y: 65
z: -1317
time: 2
leeway: 2
message: "&2[]:&e Sacrmeno, of Loxley, is responsible.
&2[Jualian]:&e See! Wasn't that hard now, was it.
&4[]:&e I killed someone today. I feel terrible!
&2[Julian]:&e Suck it up... I have one last task and you'll need to clean that blade of yours.
&4[]:&e Let me guess... Kill Sacrmeno?
&2[Julian]:&e You learn fast! Bring me his head. I'll pay well."
'12':
'0':
type: location
location:
x: -269
y: 65
z: -1317
time: 1
leeway: 5
message: "&3Don't attack him just yet... lets see what he has to say first.
&4[]:&e Sacrmeno! You have committed a crime against Silvania.
&e The time has come to pay for your sins!
&4[Sacrmeno]:&e Haha! You think you can take me?! I've killed many in my time,
&e Seen much suffering and burnt many things. You are a mere fly... if you really wanna get
&e squished, BRING IT!
&4[]:&e You shall forever rot within the Nether!
&3Kill him!"
'13':
'0':
type: killNPC
amount: 1
string: 50
message: "&3 ...Well at least he put up a good fight. Head on back to me."
'14':
'0':
type: location
location:
x: -269
y: 65
z: -1317
time: 1
leeway: 5
rewards:
'0':
type: command
command: cast teach fireproof
server: true
'1':
type: money
money: 500