|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days. |  
	
	
		
	
	
	| 
			
			 
			
				06-13-2003, 11:22 AM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Mar 2002 Location: //say $network 
						Posts: 138
					      |  |  
	| 
				 Quest command requests 
 I'll like to request some new commands for the system.
 
 1) Timers! something like every EVENT_TIME(# sec;s) {
 
 2) putting players IN guilds and reading what guild a player is in.
 
 3) Zsky. Changing the sky and checking what # it is now.
 
 4) Changing the time (#time)
 
 5) Random numbers
 
 
 7) Checking how many players are in a zone
 
 
 9) This ones a little weird, Maybe zoning a whole group (which only the groupleader can trigger)
 
 10) Zone servers having their own .qst's . Since NPC's can be killed etc.
 
 11) Binding a player in other zones.
 
 12) A NPCID spawn. Aka one thats already in the db.
 
 13) A NPCID depop
 
 14) Vars that act as Counters ( set(up,1) , ;up == counter )
 
 15) Sending people to loc's in the zone. ( send(ID,x,y,z) ?)
 
 The ones in bold, I need ASAP. Its for a new line of server's.
 |  
	
		
	
	
 
  |  |  |  |  
	| 
			
			 
			
				06-13-2003, 08:11 PM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: Feb 2003 
						Posts: 305
					      |  |  
	| 
				  
 
	Quote: 
	
		| 1) Timers! something like every EVENT_TIME(# sec;s) { |  Should be trivial enough to implement an EVENT_PROCESS 
where you can execute .qst functions. i'll look at it later
 
	Quote: 
	
		| 2) putting players IN guilds and reading what guild a player is in. |  adding setguild("guildid","rank"), the guild Name, ID and Rank are already available in the variables as guild_name, uguildid, and uguildrank
 
	Quote: 
	
		| 3) Zsky. Changing the sky and checking what # it is now. |  adding zonesky to variables, and setsky("0-255")
 
	Quote: 
	
		| 4) Changing the time (#time) |  adding settime("hour","minute")
 Not gonna happen
 
	Quote: 
	
		| 7) Checking how many players are in a zone |  adding c_count to variables, not totaly accurate includes ld and people not totaly loaded
 
	Quote: 
	
		| 9) This ones a little weird, Maybe zoning a whole group (which only the groupleader can trigger) |  adding movegrp("zoneid","x","y","z")
 
	Quote: 
	
		| 10) Zone servers having their own .qst's . Since NPC's can be killed etc. |  Add an invisible un targetable beheath the world npc to run "zone" quests
 
	Quote: 
	
		| 11) Binding a player in other zones. |  adding rebind("zone id","x","y","z")
 
	Quote: 
	
		| 12) A NPCID spawn. Aka one thats already in the db. |  spawn("npc id","grid num","0/1 guildwarset","x","y","z") 
is already there
 depop("npc id") should work now it always took a parameter just never did anything with it =)
 
	Quote: 
	
		| 14) Vars that act as Counters ( set(up,1) , ;up == counter ) |  User created vars should already be in place i thought?
 
	Quote: 
	
		| 15) Sending people to loc's in the zone. ( send(ID,x,y,z) ?) |  adding gmmove("x","y","z")
			
			
			
			
				  |  
 
  |  |  |  |  
	
		
	
	
	| 
			
			 
			
				06-14-2003, 08:16 AM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Mar 2002 Location: //say $network 
						Posts: 138
					      |  |  
	| 
 Wow. Thanks a million bigpull :P |  
	
		
	
	
	| 
			
			 
			
				06-14-2003, 05:55 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jun 2002 
						Posts: 776
					      |  |  
	| 
 
	Quote: 
	
		| Quote: 
 10) Zone servers having their own .qst's . Since NPC's can be killed etc.
 
 
 Add an invisible un targetable beheath the world npc to run "zone" quests
 |  The major problem with this, and this is something I've tried, is that there's really no way to do checks for npcstatus except when that untargetable mob spawns.
 
Perhaps you'll be able to do timed checks soon with the event process idea, but for now invis npcs don't really help in running quests with how limited things like event_attack and event_spawn are. |  
	
		
	
	
 
  |  |  |  |  
	| 
			
			 
			
				06-14-2003, 07:01 PM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: Feb 2003 
						Posts: 305
					      |  |  
	| 
				  
 Ok we have Npc's,Bloody_Mary
 Queen_Sheba1
 Queen_Sheba2
 
 and an npc just for zone scripting the encounter
 Cocktail
 
 We want Queen_Sheba2, to only respawn every 3 days after she's been killed, and to only be spawned for 90minutes, and to be available for retry in 3hours after despawning
 
 We want Queen_Sheba1, to Spawn after the 90minutes if 2 wasnt killed
 
 We want Bloody_mary's death to trigger Queen_Sheba2's spawning
 
 now for quests.
 Bloody_mary's slay event depop()'s 1, and writes to "blood_dead" a timestamp
 
 Cocktail spawns every 3 minutes,
 
 it's first spawn event checks "blood_dead" and "queen_dead"
 if the timestamp occurs in the last three minutes and the queen isn't dead .
 It spawns Queen_Sheba2, and write()'s a timestamp to "queen_spawn",
 and an alive indicator to "queen_dead"
 
 The next if checks "queen_spawn" if the timestamp is 90minutes ago it depop()'s Queen_Sheba2,  and writes to "queen_respawn" another timestamp
 
 The next if checks "queen_dead" and "queen_respawn" if the timestamp is 3 hours ago and the queen isn't  dead, or if the timestamp is 3days old and the queen is dead, it will spawn() Queen_Sheba1
 
 The final quest function would be a depop() on it's self so it all starts over in 3 minutes
 
			
			
			
			
				  |  
 
  |  |  |  |  
	
		
	
	
	| 
			
			 
			
				06-15-2003, 07:58 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: May 2003 
						Posts: 48
					      |  |  
	| 
 How about a command to spawn NPC's in a different zone as a trigger NPC. As im going to make a full permanent world it would be nice for Serverwide Quests, like Epic's |  
	
		
	
	
	| 
			
			 
			
				06-15-2003, 11:36 PM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: Feb 2003 
						Posts: 305
					      |  |  
	| 
 Would work the same as above, by changeing the read and writes to include ../zone_name/, we could put Bloody_mary in say qeynos,Queen_Sheba1 in freeport, and Queen_Sheba2 in north karana....
 |  
	
		
	
	
	| 
			
			 
			
				06-16-2003, 05:20 AM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 Location: Charlotte, NC 
						Posts: 2,614
					      |  |  
	| 
 Whats the problem with implementing a random # generator BP ? 
				__________________Quitters never win, and winners never quit, but those who never win and never quit are idiots.
 |  
	
		
	
	
	| 
			
			 
			
				06-16-2003, 06:05 AM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: Feb 2003 
						Posts: 305
					      |  |  
	| 
 I'm lazy?I'd need to go in as a variable, commands don't/can't return a value, and i didn't feel like reading anymore parser code =P
 |  
	
		
	
	
	| 
			
			 
			
				06-16-2003, 06:20 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: May 2003 
						Posts: 35
					      |  |  
	| 
				 Bigpull, are you revamping or cleaning up the quest code? 
 Bigpull, are you revamping or cleaning up the quest code?
 I have been thinking about cleaning it up a bit.  I will finally have a big enough block of time to do it.  I would like to get rid of some of the crazy quoting limitations, make it more memory efficient, and make it handle comments much better.
 |  
	
		
	
	
	| 
			
			 
			
				06-16-2003, 06:49 AM
			
			
			
		 |  
	| 
		
			
			| Discordant |  | 
					Join Date: Feb 2003 
						Posts: 305
					      |  |  
	| 
 You obviously missed the part about me being lazy ;)
 The quote requirments are there for Multi OS operability, don't make me dig out my stick. Other than that go for it
 |  
	
		
	
	
	| 
			
			 
			
				07-11-2003, 10:33 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Apr 2003 
						Posts: 67
					      |  |  
	| 
 Quote:  
12) A NPCID spawn. Aka one thats already in the db. 
 
 
spawn("npc id","grid num","0/1 guildwarset","x","y","z")  
is already there 
 
Hmm...whats grid number? More than likely a grid square in zone you want spawn in(i think     )...but where can you find a grid map  of zones to go by?  Or if its not what i think, then what is it?   :( Also...whats guildwarset? Thanks for the help.
				__________________~Chosen One~
 --------------------
 |  
	
		
	
	
	| 
			
			 
			
				07-11-2003, 12:10 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Jun 2002 
						Posts: 776
					      |  |  
	| 
 grid number is the pathing grid the npc follows. |  
	
		
	
	
	
	
	| 
	|  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 01:15 AM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |