Custom Portal it works but....
Code:
INSERT INTO gameobject_template
(entry, type, displayId, name, faction, flags, size, sound0, sound1, sound2, sound3, sound4, sound5, sound6, sound7, sound8, sound9, sound10, sound11, sound12, sound13, sound14, sound15, sound16, sound17, sound18, sound19, sound20, sound21, sound22, sound23, ScriptName)
VALUES
(999000, 22, 4396, "PVP ARENA", 0, 0, 1, 4801, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "");
Code:
INSERT INTO areatrigger_template
(id, name, required_level, trigger_map, trigger_position_x, trigger_position_y, trigger_position_z, target_map, target_position_x, target_position_y, target_position_z, target_orientation)
VALUES
(4801, "PVP ARENA", 0, 0, "-13152,9", "342,729", "52,1328", 0, "-13152,9", "342,729", "52,1328", 0);
I have used type: 22 spellcaster and at sound 0 i put an unused spell 4801 so WHEN the portal is visible after I .addgo 999000 then this works. The only problem is after awhile the portal become invinsible for me, in the game I look for them with .targetobject and it shows and they are also still in sql. Does anyone have an idea why this happens?
Re: Custom Portal it works but....
This has been a core related issue since 3700+
Simply spawn your creature/gameobject and reboot your server, it will now appear.
I've made a ticket to mangos a while back about this issue, for which they have not responded to.
Re: Custom Portal it works but....