remember to +Rep people that helped you out Spartansp RepackV4 How to setup Spartansp Repack
Usefull guide 1 MMOwned Morpher SFGAMES WEBSITE
My Portals don't seem to work anymore:
Code:function Dar_teleport (pUnit, Event, pMisc) pMisc:Teleport (1, 9951.641602, 2279.839355, 1341.394775) end RegisterGameObjectEvent (600004, 2, "Dar_teleport")Code:function Exodar_teleport (pUnit, Event, pMisc) pMisc:Teleport (530, -4014.080078, -11895.799805, -1.990720) end RegisterGameObjectEvent (600003, 2, "Exduor_teleport")Code:function Ironforge_teleport (pUnit, Event, pMisc) pMisc:Teleport (0, -4978.538086, -884.846619, 501.642029) end RegisterGameObjectEvent (600002, 2, "Ironforge_teleport")Code:function Shat_teleport (pUnit, Event, pMisc) pMisc:Teleport (530, -1852.568481, 5118.180664, -38.876865) end RegisterGameObjectEvent (600005, 2, "Shat_teleport")Code:function Mall_teleport (pUnit, Event, pMisc) pMisc:Teleport (1, -3654.569092, 4370.583984, 9.35520) end RegisterGameObjectEvent (600011, 2, "Mall_teleport")Code:function SW_teleport (pUnit, Event, pMisc) pMisc:Teleport (0, -8912.357422, 553.583618, 93.793091) end RegisterGameObjectEvent (600001, 2, "SW_teleport")
ok this one is wrong the syntax
Need to be ExodarCode:function Exodar_teleport (pUnit, Event, pMisc) pMisc:Teleport (530, -4014.080078, -11895.799805, -1.990720) end RegisterGameObjectEvent (600003, 2, "Exduor_teleport")
for the other ones check if the coords you placed are valid locations and check if your gameobjects type is set to 1
remember to +Rep people that helped you out Spartansp RepackV4 How to setup Spartansp Repack
Usefull guide 1 MMOwned Morpher SFGAMES WEBSITE
Nope, they are still not working.
P.S. If these don't work out could you guide me to a guide where I can edit one of those create/edit a WarpNPC. I already have the dll and the source files and Visual Studio C++, just need to find a guide that teaches me how to compile it.
Last edited by thegtz; 01-14-2008 at 05:46 PM.
This is one nice guide Gastric! Thanks for this.. It will teach many.. Like most of your guides do.. Hehe. /smile
Thanks for this mate![]()
Nice Guide Gastric, the Only thing I was Wondering about is if you could link it to a item somehow, or maybe a spell.
Maybe somthing like this?
Code:function Exodar_teleport (pUnit, Event, pMisc) pMisc:Teleport (530, -4014.080078, -11895.799805, -1.990720) end RegisterItemEvent (600003, 2, "Exodar_teleport")
But yeah, we all know the ArcEmu team is pretty much a farce... unfortunately, it's a farce with a gazillion users. - Hellgawd
Remember to +Rep People who have helped you!
nice thanks for the guide this makes things alot easier
thanks this helped me alot +reps
i have a big question, there are a way to create a lua portal with a key (if you dont have the key canot teleport)
i want it to create a pack with custom guild halls =P
Hey, I am having problems with making the portal:
function Teleporting_onUse (pUnit, Event, pMisc)
pMisc:Teleport (0, -5077.819824, -797.119873, -495.151947)
end
RegisterGameObjectEvent (123456789, 2, "Teleporting_onUse")After I wrote them I put them into my Scripts folder restart the server and go into the game and write ".gobject spawn 123456789" Im not sure what im doing wrong its probably something small but if you could help would be great,INSERT INTO gameobject_names
(entry, Type, DisplayID, Name, spellfocus, sound1, sound2, sound3, sound4, sound5, sound6, sound7, sound8, sound9, unknown1, unknown2, unknown3, unknown4, unknown5, unknown6, unknown7, unknown8, unknown9, unknown10, unknown11, unknown12, unknown13, unknown14)
VALUES
(123456789, 4, DISPLAYID, "Stairs Event (T6)", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Thanks.
I FOUND MY PROBLEM!! I maked the txt document and named it xxxxx.LUA but it didnt deformed to lua file !! but one day i saw that and copied already maked lua file and just tiped there
function Tele77 (pUnit, Event, pMisc)
pMisc:Teleport (1, -2933.441162, 3.264288, 188.894531, 1)
end
RegisterGameObjectEvent (700020, 2, "Tele77")
and In DB
INSERT INTO gameobject_names
(entry, Type, DisplayID, Name, spellfocus, sound1, sound2, sound3, sound4, sound5, sound6, sound7, sound8, sound9, unknown1, unknown2, unknown3, unknown4, unknown5, unknown6, unknown7, unknown8, unknown9, unknown10, unknown11, unknown12, unknown13, unknown14)
VALUES
(700020, 1, 4397, "Battle Arena", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Last edited by arturss; 04-15-2008 at 01:14 PM.
i <3 Gastric! If only I had some rep power. I would give you all of it ^^
Thanks so much mate, this is the best LUA portals guide I have ever seen!