| 
   | 
   | 
  
 
    | 
    | 
    | 
  
 
    | 
   | 
    | 
  
 
    | 
   | 
    | 
  
 
    | 
   | 
    | 
  
 
   | 
  
	
		
   
   
      | Spell Support Broken Spells? Want them Fixed? Request it here. | 
    
    
   
   
   
   
   
   
   
   
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				01-22-2009, 03:48 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Fire Beetle 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2008 
					Location: I live in the place 
					
					
						Posts: 2
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
				 
				Monster Summoning line
			 
			 
			
		
		
		
		The spell is implemented. It is purchasable/droppable/research-able...in short, it's in the game and it's in the DB; the problem is that it's in there incorrectly. The pet can be summoned, it can be equipped with weapons and armor, it can fight and be buffed, but it always looks like a male human. If advanced models are turned on, it looks like a male human with a beard floating above his left shoulder, rotated 90 degrees CCW, and his hair is floating about 6" (estimated in-game, not on screen) from his head. It is supposed to take the form of a random mob in the zone, and it clearly isn't. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				01-22-2009, 06:33 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Sarnak 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2006 
					
					
					
						Posts: 89
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		never looked at the spell but it sounds like it is ether not using a random npc list or its spawning random npc graphics in an uncompatable zone? 
curious with the beard thing, sounds "coldain" ish. is velious era spell line if its mebbe pulling those graphics in specificly.
 
ahh well, just a wanabe-hack guessing here, surely one of the masters  will swing by an lay out the code in source before long.    
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				01-24-2009, 03:31 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Fire Beetle 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2008 
					Location: I live in the place 
					
					
						Posts: 2
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				05-05-2009, 10:15 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 Demi-God 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2007 
					
					
					
						Posts: 2,175
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		I am bringing this thread back, is there a fix for this yet ? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-18-2009, 02:33 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Fire Beetle 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2009 
					Location: US 
					
					
						Posts: 1
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
				 
				Yup same here
			 
			 
			
		
		
		
		I loved the Monster Summoning line of spells, i hope it can be fix'd 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-18-2009, 10:59 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Developer 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2007 
					
					
					
						Posts: 122
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		I think I have the Monster Summoning line working properly as of revision 691.  Try it out and let me know if there are any other issues or anything not working as it should. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-18-2009, 11:04 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					
					
					
						Posts: 305
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  realityincarnate
					 
				 
				I think I have the Monster Summoning line working properly as of revision 691.  Try it out and let me know if there are any other issues or anything not working as it should. 
			
		 | 
	 
	 
 How did you set the models that it uses? The reason it was discontinued on Live was because each zone needed to be gone through manually for each expansion, selecting a handful of models from that zone for it to work. It got too tedious to maintain, so was phased out.
 
Are you just having it randomly choose from a global model?  
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-18-2009, 11:14 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 The PEQ Dude 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2003 
					Location: - 
					
					
						Posts: 1,988
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		No, it's even more brilliant! He's getting the model from a NPC in the same zone. Very clever. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-19-2009, 10:33 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					
					
					
						Posts: 305
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  cavedude
					 
				 
				No, it's even more brilliant! He's getting the model from a NPC in the same zone. Very clever. 
			
		 | 
	 
	 
 Eh? How does the server know what models are loaded? Is it checking the database to look for models loading and compiling a list for each zone at the time the server is started?
 
Sorry, I don't know enough about SVN to go look myself    
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-19-2009, 10:45 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
			
				
				
				 The PEQ Dude 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2003 
					Location: - 
					
					
						Posts: 1,988
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		It determines what NPCs spawn in the pet's current zone using spawn2, picks one at random, and uses its appearance. We'd probably want to exclude NPCs with a base race, or certain bodytypes (triggers and the like) but those are simple tweaks. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-19-2009, 10:46 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2004 
					Location: 127.0.0.1 
					
					
						Posts: 402
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  steve
					 
				 
				Eh? How does the server know what models are loaded? Is it checking the database to look for models loading and compiling a list for each zone at the time the server is started? 
			
		 | 
	 
	 
 The database doesn't directly include which models your client has loaded. However, there is the general sense that if there is an NPC spawned in the zone with model #5, then model #5 must be loaded.
 
So it is getting the list of spawns for the zone and picking from said list.  
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-19-2009, 10:49 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Discordant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2002 
					
					
					
						Posts: 305
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		Lol, nice. 
 
That makes a heck of a lot more sense than the way they did it on Live. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				06-19-2009, 08:49 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
			
				
				
				 Developer 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2007 
					
					
					
						Posts: 122
					 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
	
	
	
		
		
		
			
			
			 
			
		
		
		
		I knew the people I got in cities were probably inappropriate, but I hadn't even thought about the trigger npcs, traps, or objects... and then I went to Qeynos and got SeaKing as a pet.... 
 
So I changed the database query to ignore playable races, town citizens, guards, invisible men, objects, and boats, plus body types of 11, 33, 66, and 67, which seemed to cover all the traps and "mystic voice" type npcs.  I'm sure there are other things that shouldn't be there that I missed, but it seems to work well for now. 
 
Oh, and in homage to the broken form of the spell that was all I ever saw on Live, if the query fails or there are no monster npcs, it looks like an earth pet. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
		
	
		 
		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 06:40 AM. 
 
		 
	 
 
 
     | 
     | 
    
   
      | 
     | 
      | 
    
   
     | 
      | 
     | 
    
   
       | 
      | 
       | 
     
    
    
  | 
   |