Page 1 of 1

Necro pet bug

PostPosted: Thu Dec 12, 2013 5:53 am
by vyruis
Hey guys, having a little problem here. When I try to summon a necro pet, I get can not find npc template #... I looked at the table in the DB and it was empty. I imported a table from a different DB I have that had a lot of the npc templates, including all necro pets. all went good with no errors. I reset the server and it is still doing the same thing. The Abom is number 206 in the DB, yet game is saying it can' find npc template 206... Is the table supposed to remain empty, and did I screw myself by importing or is there a way to fix this lol. kind of frustrating me.

Re: Necro pet bug

PostPosted: Thu Dec 12, 2013 8:09 am
by HunabKu
They are all the necro pets npctemplate :
necro-pets-npctemplate.sql.txt
(6.1 KiB) Downloaded 18 times
Rename the file from necro-pets-npctemplate.sql.txt to necro-pets-npctemplate.sql and import it, this will add missing and replace existing

Re: Necro pet bug

PostPosted: Thu Dec 12, 2013 10:27 pm
by vyruis
It doesn't just apply to Nerco pets. Ami turrets, SM pets all say no template found. :(

Re: Necro pet bug

PostPosted: Fri Dec 13, 2013 5:08 am
by HunabKu
I've maked this zip, i think they are all in
Pets.zip
(13.63 KiB) Downloaded 14 times

Re: Necro pet bug

PostPosted: Fri Dec 13, 2013 6:19 am
by vyruis
I appreciate the help a lot. I entered those files into database, built solution, started server up logged on a cabalist and it is still telling me: NPC template 9 not found! Spell: Name=Emerald Simlacrum, ID=804, SpellType=SummonSimulacrum. It tells me that it found the spell handler for SummonSimulacrum. Also states in game to player that NPC template 9 not found..

This is getting very frustrating, I have not messed with any of the pet scripts or handlers, other than look them over. It seems like a database problem.. :oops: :oops: :oops:

Re: Necro pet bug

PostPosted: Fri Dec 13, 2013 4:22 pm
by HunabKu
It's sure you have a db problem, this npctemplate normaly included on dol base db.
And the npctemplate 9 is on the zip, so you have a pb

Re: Necro pet bug

PostPosted: Sat Dec 14, 2013 1:32 am
by vyruis
Yeah, I have no idea. Every pet spell comes back with the same thing.. npc template not found, yet I go into npc template in navicat and bam there it is, template id matches with the lifedrainreturn on the spell... wth

Re: Necro pet bug

PostPosted: Sat Dec 14, 2013 4:54 am
by HunabKu
Do you have modded any on your database ?
if not, donwload the last DoLPubDB and import it on your db.
WARNING : this will replace all data, (but not remove)

Re: Necro pet bug

PostPosted: Mon Dec 16, 2013 5:46 am
by vyruis
Yes, I have modded certain aspects to the database, slam fixes, style lines, ect. If I export my current database, minus the NPC Template table... Load the new DOL database, and then Import my old database(without the npc template table). Would that work? All the pets are housed in the NPC Template table correct?

Re: Necro pet bug

PostPosted: Mon Dec 16, 2013 4:21 pm
by HunabKu
All the pets are housed in the NPC Template table correct?
Sure
Or ou can import my file, tou have all pets npctemplate on it

Re: Necro pet bug

PostPosted: Wed Dec 18, 2013 4:46 pm
by dargon
Are you positive you are importing the new npctemplates to the right database? i know every once in a while i would think it go to the one i ment, but would go to one of my others instead (very annoying)