This is not my PHP file, this is something i got from the TrinityCore forum.
From this thread: Link
So its LunixKing that have made this.
But i liked this file so much, so its a shame its outdated.
I don't even know how to code PHP.
But as i explored the code, i could understand it really easy.
So i have modified this file, so it now works with the Pryds newest server build 8074
So why did i like it so much?
Because in the creature_template right now, its so much scrolling.
This is so much better, since you see it all on 1 site.
When you are done with npc variable's press submit.
Then copy the SQL code below, then run it in your Query Table in navicat.
Now enjoy.
Download
Update
I'm now done with the Item version of this file, took some time to write, but is much worth it.
Its so many Variable's in the item_template, that it got even a bit scroll on the PHP site, but i guess it
depends to how big PC screen you use or high resolution.
Anyway Here is the link: TC2Item Creator
Now enjoy.