PlaneShift
Development => Development Deliberation => Topic started 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)
-
direct sql injection or via the server console?
-
direct sql injection or via the server console?
sorry i do not understand :(
-
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.
-
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.
-
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?
-
naturally.
-
then i have no other ideas [might help if my server would work but that is another issue :P ]
-
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.