Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

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.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-18-2014, 02:49 PM
Wiqd
Fire Beetle
 
Join Date: Jun 2010
Posts: 5
Default Getting pet type for beastlord

Hey guys,

Quick question: I've been trying to enable the race / class combo of Dark Elf / Beastlord on my server. I've edited the database to include the char_create_combo and the allocation stuff, but I'm a bit stuck on the pets.cpp edit. I've added a case for them as such:

Code:
case DARK_ELF:
npc_type->race = SPIDER;
npc_type->texture = 0;
npc_type->size *= 2.0f;
break;
But when I try to compile it, it tells me there's no identifier for "SPIDER." So, my question is, where are these identifers stored / interpreted AND / OR what is the correct identifier for a spider? I'd like to understand what I'm missing

Thanks in advance!

- Scrubbs
Reply With Quote
  #2  
Old 07-18-2014, 03:05 PM
Wiqd
Fire Beetle
 
Join Date: Jun 2010
Posts: 5
Default

Nevermind, figured it out. Man, I really need to learn that once I reach the point I feel I've exhausted what I can try and it's time to ask for help on the forums, the very next thing I try usually works. 2nd time I've done that. Sorry for cluttering up the forums, so for anyone interested:

You have to edit the races.h file to #define whatever npc_type you want to use in the pets.cpp CASE switch for the race you're specifying.
Reply With Quote
  #3  
Old 07-18-2014, 03:21 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,595
Default

As you said, you can define it in the header file or you can just directly use the NPC race ID.
Reply With Quote
  #4  
Old 07-18-2014, 04:19 PM
Wiqd
Fire Beetle
 
Join Date: Jun 2010
Posts: 5
Default

Hmm well that didn't work. I edited the .cpp, rebuilt zone, replaced the zone.exe and edited the DB to allow the race / class combo but A: Dark Elves still don't have the option to be BSTs and when I make the change via #permaclass and summon a pet, it comes out as a human!

Do I have to use the ALL_BUILD after making any changes? Figured I could get away with just building common and zone.

Scrubbs
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:47 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3