|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself. |  
	
	
		
	
	
	| 
			
			 
			
				10-29-2015, 02:49 PM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 Just as another thought, the pets.cpp list wolf, alligator, tiger, bear. Where is this referenced and could other NPC Types be used? I may not have looked too closely yet and that might be in that file.
 Celestial
 |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 02:53 PM
			
			
			
		 |  
	| 
		
			
			| Administrator |  | 
					Join Date: May 2013 Location: United States 
						Posts: 1,604
					      |  |  
	| 
 Referenced in races.h in common/races.h, line 25 to line 58:  
	Code: #define HUMAN            1
#define BARBARIAN        2
#define ERUDITE            3
#define WOOD_ELF        4
#define HIGH_ELF        5
#define DARK_ELF        6
#define HALF_ELF        7
#define DWARF            8
#define TROLL            9
#define OGRE            10
#define HALFLING        11
#define GNOME            12
#define WEREWOLF        14
#define WOLF            42
#define BEAR            43
#define SKELETON        60
#define TIGER            63
#define ELEMENTAL        75
#define ALLIGATOR        91
#define EYE_OF_ZOMM        108
#define WOLF_ELEMENTAL    120
#define INVISIBLE_MAN    127
#define IKSAR            128
#define VAHSHIR            130
#define CONTROLLED_BOAT 141
#define MINOR_ILL_OBJ    142
#define TREE            143
#define IKSAR_SKELETON    161
#define FROGLOK            330
#define FROGLOK2        74    // Not sure why /who all reports race as 74 for frogloks
#define DRAKKIN            522 // 32768
#define EMU_RACE_NPC    131069 // was 65533
#define EMU_RACE_PET    131070 // was 65534
#define EMU_RACE_UNKNOWN 131071 // was 65535 |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 02:58 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Apr 2009 Location: California 
						Posts: 814
					      |  |  
	| 
 The whole point is that beastlord pets use the same npc_type, but display a different race depending on the owner.
 The alternative would be to have a different npc_type for each race for each level of beastlord pets, which would be... extremely cumbersome.
 
 The current hard-coded values work, but a database table would make customization easier.
 |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 03:15 PM
			
			
			
		 |  
	| 
		
			
			| Administrator |  | 
					Join Date: May 2013 Location: United States 
						Posts: 1,604
					      |  |  
	| 
 You could also just do a rule-based pet system so like RuleI(Character, OgreBeastlordPet) or something like that with a race ID, as well as the texture, gender, and size as separate rules. |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 03:22 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Apr 2009 Location: California 
						Posts: 814
					      |  |  
	| 
 Hmm... true. Could have one for each player race, with defaults for any pet race, texture, gender, and size not specified. |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 03:30 PM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 Can the Chokidai 356 be used for Iksar beastlords? Or is it limited to that value range?
 Celestial
 
 EDIT: So I should be able to insert into races.h #define CHOKIDAI 356 since its referenced within the $races_table = Array(
 
 This would allow the IKSAR bst to have the correct pet. Can this list be added to in order to enable Underfoot models?
 |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 04:16 PM
			
			
			
		 |  
	| 
		
			
			| Administrator |  | 
					Join Date: May 2013 Location: United States 
						Posts: 1,604
					      |  |  
	| 
 Do you mean be added to the source by you yourself, or are you asking for someone to make an actual commit to the main branch? |  
	
		
	
	
	| 
			
			 
			
				10-29-2015, 04:23 PM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 For myself, although if its accurate would that qualify for addition as a commit to the source? I am referencing the Iksar pet model.
 
 Celestial
 |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 08:29 AM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 Update:
 Woodelf worked great, just need to increase the size of the pet.
 
 I also added the above to the races.h for Chokadai as the Iksar BST pet and recompiled. but on pet summon it defaulted to a human model. Will try to test again.
 
 Celestial
 |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 10:39 AM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Apr 2009 Location: California 
						Posts: 814
					      |  |  
	| 
 That means that either the model is not in your GlobalLoad, or it is not set to the correct gender. Most NPC races are gender 2, neuter. If a race has male and female versions, though, then it'll use those genders instead (0 male, 1 female). |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 12:00 PM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 To reference as I work on this, GlobalLoad is located where?
 
 Celestial
 |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 12:05 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Apr 2009 Location: California 
						Posts: 814
					      |  |  
	| 
 Resources\GlobalLoad.txt in your EverQuest directory. The latest clients also have a GlobalLoad_chr.txt for loading individual race models from zone package files. |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 01:29 PM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 Roger that, I am able to #race myself for that particular model. |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 01:39 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: Apr 2009 Location: California 
						Posts: 814
					      |  |  
	| 
 Cool. Sounds like the gender was off, then. |  
	
		
	
	
	| 
			
			 
			
				10-30-2015, 05:06 PM
			
			
			
		 |  
	| 
		
			|  | Discordant |  | 
					Join Date: Nov 2005 
						Posts: 270
					      |  |  
	| 
 That was it, I recompiled and now the Iksar BST has the correct race of pet. I want to look to see if there are different models of that race as I think the one that is spot on is orangish in color. Once I get it set, would this be a submission for commit to source?
 Is there a tool that I could use that will tell me if gender or other options are available for a particular race?
 
 
 Celestial
 |  
	
		
	
	
	
	
	| 
	|  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 09:24 AM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |