PlaneShift

Development => Development Deliberation => Topic started by: ctlmo5 on August 02, 2007, 02:02:45 pm

Title: create new quest!?
Post by: ctlmo5 on August 02, 2007, 02:02:45 pm
Hello, i am able to create  new quest.
just set the new row in database -> table -> quests
and set the new row in database -> table -> quest_scripts

and i create a quest for npc "Merchant"
i just need to say "questtest" and answer "done", then the quest is done.
And this quest is work perfectly on the npc "Merchant"

So, i change the quest to the npc "testerone" (testerone is the npc i created)
the way i change the quest is replay the name "Merchant" to "testerone".

and i test in PS, i say "questtest", the quest question is come out, and i say "done", it cannot finish the quest!!!
what is going on!?  ??? ??? ??? ???

and i can see " ErrorResponse: Trying to find trigger 'done' " in the server

What should i do to make the quest work (the quest is work on the cvs npc but it is not work on the npc i made, and the quest is created not modified from cvs quest)

Title: Re: create new quest!?
Post by: steuben on August 02, 2007, 06:04:19 pm
direct sql injection or via the server console?
Title: Re: create new quest!?
Post by: ctlmo5 on August 03, 2007, 11:49:43 am
direct sql injection or via the server console?
sorry i do not understand :(
Title: Re: create new quest!?
Post by: Ralleyon on August 13, 2007, 12:07:50 pm
Direct SQL injection means by operating in MySQL directly, via an INSERT command. If you choose this path I also recommend that you install phpmyadmin (http://www.phpmyadmin.net/).

ServerConsole is the web-based application used by the PS devs to update/maintain the database. If you have a working test-server, then you can also install that and create quests from there. Try the www directory.
Title: Re: create new quest!?
Post by: steuben on September 01, 2007, 09:18:23 pm
yeah i've tried it both ways. npcs that i create don't seem to listen to their quest triggers but the preexsisting ones do.
Title: Re: create new quest!?
Post by: Caarrie on September 01, 2007, 09:31:01 pm
yeah i've tried it both ways. npcs that i create don't seem to listen to their quest triggers but the preexsisting ones do.

did you restart the server after adding them?
Title: Re: create new quest!?
Post by: steuben on September 01, 2007, 09:31:39 pm
naturally.
Title: Re: create new quest!?
Post by: Caarrie on September 01, 2007, 10:23:13 pm
then i have no other ideas [might help if my server would work but that is another issue :P ]
Title: Re: create new quest!?
Post by: Ralleyon on September 03, 2007, 01:01:52 am
Hmmm, I've tested this too. It's pretty strange.

There are two ways to specify triggers though, one from the ps database itself, otherway from the quest script. Both work.

The strange thing is that I didn't get a quest for an NPC I created unless I used a single name for her. Jirosh Mikana for example would not give any response to a quest trigger, but renamed Jirosh would.