| 
   | 
   | 
  
 
    | 
    | 
    | 
  
 
    | 
   | 
    | 
  
 
    | 
   | 
    | 
  
 
    | 
   | 
    | 
  
 
   | 
  
	
		
   
   
      | Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days. | 
    
    
   
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 03:04 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Fire Beetle 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					
					
					
						Posts: 5
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
				 
				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 
} 
} 
} 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 03:10 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2002 
					
					
					
						Posts: 419
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		first there is one last } to cut and are you sure that your npcid is 1 ? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 03:49 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Fire Beetle 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					
					
					
						Posts: 5
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		yup his id is 1. what do you have to setup in the db to get him to work? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 04:13 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Demi-God 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					Location: Tourist town USA 
					
					
						Posts: 1,671
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		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. 
		
	
		
		
		
		
		
		
			
				__________________ 
				Please read the forum rules and look at reacent messages before posting.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 04:21 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 Dragon 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2002 
					Location: GI, NE 
					
					
						Posts: 924
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		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. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 04:28 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2002 
					
					
					
						Posts: 419
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		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 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 10:12 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Demi-God 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					Location: Tourist town USA 
					
					
						Posts: 1,671
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Hmm will the : in 7:30 cause any problems? 
 
skullitor, is anything happening?  Or is it not working as you intend? 
		
	
		
		
		
		
		
		
			
				__________________ 
				Please read the forum rules and look at reacent messages before posting.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 12:10 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Fire Beetle 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					
					
					
						Posts: 5
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		no nothing is happening at all the guy dosent reply in any way 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-08-2002, 08:18 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 Dragon 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2002 
					Location: GI, NE 
					
					
						Posts: 924
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		kewl, thanks stormgod    
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-09-2002, 07:38 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Hill Giant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2002 
					
					
					
						Posts: 163
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
				 
				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. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-09-2002, 08:17 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Hill Giant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					
					
					
						Posts: 185
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		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 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-09-2002, 09:16 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					Location: Manteca, CA 
					
					
						Posts: 352
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Could it be broke in LInux again.  I am having problems with it not working in Linux 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-09-2002, 01:21 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Hill Giant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2002 
					
					
					
						Posts: 163
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
				 
				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. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-09-2002, 11:06 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Sarnak 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Mar 2002 
					
					
					
						Posts: 52
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		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) 
		
	
		
		
		
		
		
		
			
				__________________ 
				-h37 | Kron the Horrible
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-09-2002, 11:28 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2002 
					
					
					
						Posts: 419
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		notice the capital S but put a s hehe ie quests will work when questS may not 
but dont forget it    
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		  Linear Mode 
		
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is Off 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
All times are GMT -4. The time now is 04:38 AM. 
 
		 
	 
 
 
     | 
     | 
    
   
      | 
     | 
      | 
    
   
     | 
      | 
     | 
    
   
       | 
      | 
       | 
     
    
    
  | 
   |