PDA

View Full Version : quests and linux


skullitor
06-14-2002, 04:45 PM
does it matter that the server is running linux because my quest insent working. here is the coading for the quest

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}
}



what could be the problem with it.

and yes the npcid is 1.
and yes its in the quests folder
and yes it is name 1.qst

Lurker_005
06-15-2002, 10:46 AM
Try putting a space after the 1 and see if that helps.

Also have you tried to do a simple quest and find out if it works?

NPC_SCRIPT 1 {
TRIGGER_TEXT:Hail:{
SAY:HOWDY!
}
}

bot403
06-16-2002, 03:47 AM
my experience with trying to quest in linux...8-10 hours of experience, is that they JUST DONT WORK........ive tried everything, putting spaces in, using notepad, using VIM to make sure its not CR's and LF's messing it up, symlinking every form of quest, quests, Quests, Quest, just to make sure, even though its Quests/%i.qst in wesquests.cpp, ive tried even BASIC quests like i say hail and the NPC says hi, ive used EVERY single npc-id for POD just in case i was looking at the wrong one. I used showstats ingame to see the npc_id....the print functions in wequests.cpp dont even seem to be used...have you ever seen any sort of output in your logs that say ANYTHING about quests....my best gues sis wait for 3.4.0