Whats wrong with my quest
here is what it is
NPC_SCRIPT 1{ TRIGGER_TEXT:Hail:{ SAY:HOWDY! SAY:You want a gift(yes or no) } TRIGGER_TEXT:yes:{ SAY:Here you go SPAWN_ITEM 5004 SAY:Genis is the coolest guy ever!!!! SAY:This sword will be all powerful, next time the server is reset. SAY:It will be reset at 7:30 central US Time SAY:Adios! } TRIGGER_TEXT:no:{ SAY: SCREW YOU CAST_SPELL 982 SAY:SORRY! SAY:lol } } } |
first there is one last } to cut and are you sure that your npcid is 1 ?
|
yup his id is 1. what do you have to setup in the db to get him to work?
|
nothing needs to be done in the db. Just save that without the last } as 1.qst and place it in the quests directory.
And just to be sure, in game target the npc and type #showstats that will list the npcID. Don't forget to target the npc when trying to use the quest. |
Might as well post here instead of starting a new thread:
How do you get the NPC to say your name? Can you just type in %T? Haven't tried the quests yet, was just seeing if that worked. |
to say your name use %CHARNAME
you can use too %CHARRACE and %CHARCLASS also for skullitor , add a space at the end of everyline of your quests it may help particularly if last character of the line is a number |
Hmm will the : in 7:30 cause any problems?
skullitor, is anything happening? Or is it not working as you intend? |
no nothing is happening at all the guy dosent reply in any way
|
kewl, thanks stormgod :)
|
wow
wow nice it doesn't look that hard to write a quest.
could someone show me a good script to get priest of discord to give levels and skills to anyone that hails him? thanks would help people very much on my server Quote: --------------------------------------------------------------------------- nothing needs to be done in the db. Just save that without the last } as 1.qst and place it in the quests directory ---------------------------------------------------------------------------- how do i get the priest of discord to do 1.qst? i mean assign it to him? also i dont see a quests dir, are you talking about FQAdmin? I am a bit concerned about using it as it seems it corrupts my db. Thanks, M. |
The npcid determines the file name. So if your npcid is 99 then the file will be 99.qst. The npcid can be located in the database
under the npc_types table. The column name is 'id'. The directory does not exist in the default install, you will have to make it. Title it 'quests'. for eg. if your emu directory is c:\eqemu, then the quest directory will be c:\eqemu\quests Your sample Priest script would look like this: NPC_SCRIPT 1 { TRIGGER_TEXT:Hail:{ RAIN 0 EMOTE:Grins at %CHARNAME% FACE_TARGET SAY:Hello %CHARNAME%, I shall give you a skill or a level SAY:Which one * skill * or * level * } TRIGGER_TEXT:skill:{ SAY:Here's some skill SETSKILL 0 1 SETSKILL 1 1 SETSKILL 2 1 SETSKILL 3 1 } TRIGGER_TEXT:level:{ say:Here's some level LEVEL 60 } * note * you must put a space after everyline or you will get a parse error. There are many more commands available but you gotta search through wesquests.cpp for them |
Could it be broke in LInux again. I am having problems with it not working in Linux
|
great
thanks much Baltar,
I tried this for shady , i did #showstat it said shady is character ID 292 so i made a dir in eqemu called Quest and put in a file made with notepad called 282.qst contents NPC_SCRIPT 1 { TRIGGER_TEXT:Hail:{ RAIN 0 EMOTE:Grins at %CHARNAME% FACE_TARGET SAY:Hello %CHARNAME%, I shall give you a skill or a level SAY:Which one * skill * or * level * } TRIGGER_TEXT:skill:{ SAY:Here's some skill SETSKILL 0 1 SETSKILL 1 1 SETSKILL 2 1 SETSKILL 3 1 } TRIGGER_TEXT:level:{ say:Here's some level LEVEL 60 } after that re ran the server but shady wont use the script any idea of my error ? Thanks much M. |
Im not sure, but I believe it has something to do with the name of the folder :Quest:
try renaming it to "questS" (notice the capital S) |
notice the capital S but put a s hehe ie quests will work when questS may not
but dont forget it ;) |
All times are GMT -4. The time now is 08:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.