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: Thanks in advance! - Scrubbs |
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. |
As you said, you can define it in the header file or you can just directly use the NPC race ID.
|
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 |
All times are GMT -4. The time now is 10:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.