Forum > Serverside Modding

[Solved] Npcs not spawn!

(1/3) > >>

Zorgo:
Hi Guys

Ich create some Display IDs for my Server.

The soldier that I create are very nice and I can morph me in all of this. (The Npcs I can moprh, too.)
My problem is. If I create a new Npc in the DB and give them the Display Id from my soldier, the dont spawn in the world.

The Core said:

Syntax: .npc add #creatureid

Spawn a creature by the given template id of #creatureid


What is here the problem....pleas help me....  :?

Laniax:
Assuming you use Trinitycore:

You add creatures in the database by adding them in the 'creature_template' table. If you do not know how to do this i advice to use a database editor such as Truice.

in this creature_template table, you give your npc an unique number called an 'EntryID'. this is the number which you need to spawn your npc with ingame.

So if i create an npc in the database with EntryID: 12345
I would need to type this ingame to spawn him: .npc add 12345

I hope that answers your question.

Blackplayer27:
If we create NPC with a custom displayid we cant spawn this npc. But if we create npc with a normal blizzard displayid we can spawn the NPC.

We test the DisplayID's mith morph and all display id's work.

doresain:
you need to add your displayid to creature_model_info
i've the same problem with spells

Blackplayer27:
Thx it Work's :D

Navigation

[0] Message Index

[#] Next page

Go to full version