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 12-21-2006, 10:55 AM
candlesaccount
Sarnak
 
Join Date: Nov 2006
Posts: 30
Default Is my #makepet command broken or is it just me?

everytime i try to make a pet for my character i get the same response...
no data found for pet ##
i target a creature and do #npcstats on it to get the bodytype number but i havent gotten anything to work. I've tried making pets that appear in the zone i'm in and still nothing. I've tried targetting my character and using the command, still nada. What am I doing wrong? every number i put in gives me the same result.
Reply With Quote
  #2  
Old 12-21-2006, 04:29 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

You can only #makepet out of anything that is already defined as a pet. Meaning, you cannot just say "Hey, I want a level 70 Orc Pawn as a mate". Look first at the table: pets (I think that's the ID it's looking for). See how it's laid out, and what it's asking for. Then insert a record into npc_types for the end-result you are looking for, and use that npcid in your pets table.

I had to do this for Monster Summoning for level 70, since there were no level 70 pets that I am aware of. Once I did this, I could #makepet [id] and get what I wanted, or cast a new Monster Summoning V spell (or something along those lines) and get a random mob of that higher level.

Honestly, I cannot remember all the details, but I hope this sets you on the right path. Sorry. If you still have trouble, I'll see if I can write a howto for the Wiki (right now, my MySQL server is down, so I cannot check immediately).
Reply With Quote
  #3  
Old 12-21-2006, 05:11 PM
candlesaccount
Sarnak
 
Join Date: Nov 2006
Posts: 30
Default no title

ok that gives me somewhere to start. i just gotta find what pets there are, but i'm pretty sure i tried making a skeleton once and it wouldnt work either. once a pet IS made can i not just change it into some other bodytype? Like turning it into a human and having a henchmen?

Last edited by candlesaccount; 12-22-2006 at 01:13 AM..
Reply With Quote
  #4  
Old 12-27-2006, 06:38 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Sorry for the delayed response. Just got back from my holiday. Let me try and demonstrate what I did to make a level 70 Monster Summoning pet (since I believe previously, they only went up to 60).

First, I created a new NPC with the stats I wanted (all test data, I didn't really tweak it properly):
Code:
INSERT INTO `npc_types` (`id`, `name`, `lastname`, `level`, `race`, `class`, `bodytype`, `hp`, `gender`, `texture`, `helmtexture`, `size`, `hp_regen_rate`, `mana_regen_rate`, `loottable_id`, `merchant_id`, `npc_spells_id`, `npc_faction_id`, `mindmg`, `maxdmg`, `npcspecialattks`, `aggroradius`, `face`, `luclin_hairstyle`, `luclin_haircolor`, `luclin_eyecolor`, `luclin_eyecolor2`, `luclin_beardcolor`, `luclin_beard`, `d_meele_texture1`, `d_meele_texture2`, `runspeed`, `MR`, `CR`, `DR`, `FR`, `PR`, `see_invis`, `qglobal`, `see_invis_undead`, `AC`, `npc_aggro`, `spawn_limit`, `attack_speed`, `findable`, `STR`, `STA`, `DEX`, `AGI`, `_INT`, `WIS`, `CHA`) VALUES (639, 'MonsterSum5', NULL, 70, 0, 1, 24, 4200, 2, 0, 0, 9, 90, 0, 0, 0, 163, 0, 200, 680, '', 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 2, 305, 305, 305, 305, 305, 0, 0, 1, 1200, 0, 0, 0, 0, 305, 305, 305, 305, 305, 305, 305);
Note: I forced 'id' 639 because in the stock database it appears pets are below 1000, and ended at 638.

Then I went to table: pets, and inserted this record at the end:
Code:
INSERT INTO `pets` (`type`, `npcID`, `temp`) VALUES ('MonsterSum5', 639, 0);
This gave me my path from Pets to NPC_types so when I used #makepet [type], the right NPC showed up.

Finally, in game I can now type #makepet MonsterSum5 and get Gebobtik to show up and give me my much needed support. Things to note, the body type of the NPC you are trying to spawn needs to be in the zone_chr.txt file, or in the global_chr.txt so the pet doesn't show up as a human model with bad hair. Also, you might need to mess with Gender once in a while. I am finding many inconsistencies with how things appear simply because they are not #gender 2 or something.

As for adding a pet-summoning spell or effect, that is not something I have tried yet. Messing with spells data scares me. Good luck, and I hope this helps a little.
Reply With Quote
  #5  
Old 12-28-2006, 07:00 AM
candlesaccount
Sarnak
 
Join Date: Nov 2006
Posts: 30
Default thanx for the info.

what if i wanted the summoned pet to be the same level of the person making him? would i need to go into the #makepet command and set something up like...
level=player level
Reply With Quote
  #6  
Old 12-28-2006, 08:51 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Not sure, really... because I do recall that at least at lower levels, sometimes you'd summon a pet that was white to you (same level), sometimes he'd be blue, other times yellow. So that implied some sort of randomness to it. My understanding of the Pets table vs npc_types table, you get what you get, that's it. I should investigate the actual code to see if there is any randomness added after fetching the base data.

But to answer you, I think you'd have to make 1 pet record for each level you wish to summon. I was hoping someone more knowledgable than me would step in by now.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:50 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3