In the latest versions of MaNGOS you can't create portals using areatrigger_template anymore.
So the new way to do it is to make the gameobject use a spell that will teleport the player.
So this is how to do it:
1. Find a teleport spell
Go to [Only registered and activated users can see links. ], search for teleport.
Go to the category: Uncategorized spells
Look around for spells there with Effect: Teleport units (screenshot)
Some example spells you can use:
29216
20618
20682
34673
There are alot more you can use, just look around.
2. Make the spell teleport you where you want
Go to the table: spell_target_position
Create a new row with ID the same as the spell ID
Do .gps ingame where you want it to teleport and copy the positions and put in the table.
The selected things in the screenshot is the only thing you need to put in the table. Ignore the rest.
3. Create the gameobject
Go to gameobject_template
Create a new gameobject
The only thing you need to edit in the gameobject_template is: entry, type, displayID, name, data0
entry Use an ID like 333333, 666666 to make sure it doesn't exist already. type: must be 22 otherwise it wont work. displayID: It is how the portal should look like. 7146 is a good ID for that.
Name: Name for the portal (will display when you mouseover the object) Example: Portal to GM Island data0: The SPELL ID that you put in the spell_target_position table
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
Posts: 1
Join Date: May 2008
05-20-2008
is there any tools needed here?
i`m a newb with mangos, so i cant even find *Spell_teleport table*
where is it? if that files need some tool to confert so i can read, edit and save ..please give the link to D/L the tool also
cause what i can open, read, edit and save with notepad is only mangosd.conf and realmd.conf.
thank you, this guide interested but i dont know what to do, where to go to edit the files, and with what i can edit the files.
is there any tools needed here?
i`m a newb with mangos, so i cant even find *Spell_teleport table*
where is it? if that files need some tool to confert so i can read, edit and save ..please give the link to D/L the tool also
cause what i can open, read, edit and save with notepad is only mangosd.conf and realmd.conf.
thank you, this guide interested but i dont know what to do, where to go to edit the files, and with what i can edit the files.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
Posts: 2
Join Date: Jun 2008
06-10-2008
When I've filled in all settings in spell_teleport it says 1062 - Duplicate entry '2618' for key 1.
and then i cant do anything, whats the problem? maybe when i did a new row i used the same ID that already existed should I do that?:S
When I've filled in all settings in spell_teleport it says 1062 - Duplicate entry '2618' for key 1.
and then i cant do anything, whats the problem? maybe when i did a new row i used the same ID that already existed should I do that?:S