Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2017, 04:31 PM
Jaksh
Fire Beetle
 
Join Date: Sep 2017
Location: At home
Posts: 3
Default

I know this is little dated post, but I found this post very valuable with adding the higher level pets into my server and I did not find this information anywhere else, so just to help the next person looking. I used the copy line on prevous pet and then tweaking the stats to the higher level pet and add the info into the pets table.

Now the trick I discovered is there is a column in the pets table labeled "petpower". If you set "petpower" to '45' you will cause the server to reply with the "can not find the pet <petname> ". The fix for this is to just simply change the "petpower" to 40 or lower and now you can summon the pet with the appropriate spells. I am not completely sure why this is setup this way but I am thinking it is probably a way to test and experiment with different pet settings and allowing the admin to keep the pets in the table to save the data but having a simple switch to disable them and prevent accidental use by the players.

Once I changed this field 'petpower' to 40 or lower the pet was able to be summoned in game.
Reply With Quote
  #2  
Old 10-02-2017, 04:55 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

petpower is how we look up pet focus versions of the pet. We actually do this kind of wrong. The client function actually returns the spell ID (implying to me this is the data they use to distinguish NPCs) They also return a CachedFocusItem which lets them get item info, which might also indicate they can use that data. The older pet spells do have focus item set in them by item ID too.
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 12:44 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3