Hi guys,
this is an DB based Teleport NPC. With this thing you can easily make tons of npcs wich will port you to every location you want!
DB Structure:
case: An unique ID for your location or menue
Icon: The Icon ID. Use values between 1 - 10
EntryID: The Entry of your NPC
Map: The Map ID where your users get teleported
TeleportName: The displayed Name for your location or menue
x, y, z: The coordinates where your users get teleported
ItemID: If an item is required fill in the ID if not just keep it empty
ItemAmt: The amount of required items
GMOnly: Can only gms use this?
MainMenu: Is this an menu? 0 - false; 1 - true
MenuCase: Fill in the case of the menu
DB.sql include 2 samples(batch this into your world db):
SQL pastebin - collaborative debugging tool
Tele.cpp:
C++ pastebin - collaborative debugging tool
I wrote this an half year ago but I guess this still works.
Have fun with this!
Night