Custom Pet Egg

KingIris

New member
Messages
19
Points
0
Github
LordIris
Hello All,

I didnt know where to post this on the forums, So i decided to post it on database.

Correct me if im wrong ~

Alright well im having a problem with Custom Pet Eggs at the moment!

Every Time i use a pet egg with the incubator. The pet does not spawn

& the Custom Pet Egg breaks.

Not sure how to fix this, Idk why it started happening all of sudden.

Does anyone has the solution for me, Its very much appreciated 

 
you need to create the egg by using the @makeegg command and not @item

 
Last edited by a moderator:
yep, use @makeegg is the way to go

 
Umm... actually, item command has this useful plug that cheks for pet egg, and if it's egg it creates egg as an egg (sorry for ... that).

if (!pet->create_egg(sd, item_id)) {...}
So that's not the actual problem, I think? I'd say check that your egg ID in pet DB and in item DB are the same, so the monster is assosiated right.

 
If the solution of the other user's doesn't work, increase the MAX_PET_DB in pet.h to like 3000.
default_smile.png


Of course, don't forget to recompile.

 
Back
Top