Messing around with my own petinfo.lua, I came upon some pretty odd behavior. (or is this expected? 0.o)
Well, taking it from the top:
npcidentity.lua, make sure that the monster you want to pet is between "JT_MON_BEGIN" and "JT_MONSTER_LAST".
Also, the stuff between the quotes is important. You don't have to use that name exactly, but when you choose something, make sure to stick to your choice.
jobtbl = {
-- other monsters here
["JT_4_M_CUSTOM00"] = 3000, -- //or whatever MonsterID you'd like.
-- other stuff
}
jobname.lua
Notice what's inside the square brackets, it's important that you stay consistent with this.
JobNameTable = {
-- stuff nuff said
[jobtbl.JT_4_M_CUSTOM00] = "mymob",
}
petinfo.lua
Again, we're using the same name in the square brackets.
PetIllustNameTable = {
-- stuff here
[jobtbl.JT_4_M_CUSTOM00] = "유저인터페이스\\illust\\펫_SUCCUBUS.bmp",
}
From all this, what I'd expected to see was my pet having Succubus' pet illustration, but instead I got this.
So it seems like my client (2011-01-11aRagexeRE) uses the first frame from the sprite as the illust. (I've tried making it try using some nonexistent file, but it seems that as long as the monster is defined in petinfo.lua then it will do this.)
Whether that's what is expected, or if it's because my client is heavily hexed I'm not sure. You might want to try a later client perhaps?
If all fails, you might as well fire up Olly, and try to figure out how to hex it into the client.
Just thought I'd at least give ya what I got.
Hope it works out for ya.