PDA

View Full Version : Bug with quests.


killspree
03-02-2003, 11:33 PM
I'm not sure if anyone else has had this problem, but it's come up for me.

Quests are only working for NPCs that are shopkeeper class(yeah I know it sounds weird, but I've tested it).

The same exact quest(new format) on a shopkeeper works, but when I make the NPC a warrior or any other class, it does not.

EDIT: After further testing, this doesn't appear to be the cause, but there is something wrong. The same exact quest works for some NPCs while it doesn't work for others. I know for sure I'm using the right NPC id's too, because it's a custom database I'm creating.

Here's what I get when hailing an ogre by the name of Gulrak Dorfmuncher:
Message:Gulrak_Dorfmuncher00 says, 'Hey der! Yuse look like you could use some new armur an weapuns. Take a look at what me have fer sale!'
Unrecognized command:

Now, the quest text works fine with him, but when I change the npc id's and give it to a guard, this is what I get:
Unrecognized command: say
Unrecognized command:

Again, I'm 100% sure the NPC id's are correct, so I have no clue what's causing this. The only similarity between the two is that both have a 2nd line that says "Unrecognized command:".

killspree
03-03-2003, 12:11 AM
I figured it out. Looks like due to the if() statement code, you cannot put if in your quest text. Makes it really hard to word some things. :/

TheOne
03-05-2003, 10:15 AM
Aye I get the exact same thing. I made a quest script for the Translocator in Oasis, it works fine but when I put it on a Guard in the nexus it works partialy, on another NPC it doesn't .. .etc...