Where can i get a working Teleporter NPC ? +REP for helpers menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Where can i get a working Teleporter NPC ? +REP for helpers

    OK my server really needs a teleporter NPC that works with 2.4.3 revs.
    I've tried 2 .ddl ones and 1 .lua ones.

    All of them didn't work.

    I cannot compile my self because i can't get my self Microsoft C++.

    I've searched and searched.

    Where can i get a working Teleporter NPC ? +REP for helpers
  2. #2
    zlo's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2006
    Posts
    92
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just get a Databases based teleporter
    RapidShare: Easy Filehosting
    just execute the sql file into world database
    Last edited by zlo; 08-14-2008 at 11:12 AM.


  3. #3
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wrote a Telenpc using the quest system in the end due to the fact that try as i might i couldnt for the life of me get this DLL to compile in C++ 2008/9.. I r NOT lurned in C++..

  4. #4
    Yamajee's Avatar Banned
    Reputation
    10
    Join Date
    Feb 2007
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zlo View Post
    just get a Databases based teleporter
    RapidShare: Easy Filehosting
    just execute the sql file into world database
    Does this work for mangos and how to execute the file in world?

  5. #5
    FinnZor's Avatar Member
    Reputation
    50
    Join Date
    May 2008
    Posts
    119
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to compile the trunk by your self .. Then compile the Teleport NPC by your self.

  6. #6
    Yamajee's Avatar Banned
    Reputation
    10
    Join Date
    Feb 2007
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still didn't get to learn C++ but nvm.. Can't I just make one with Quice ?

  7. #7
    zlo's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2006
    Posts
    92
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The one i posted was for ascent


  8. #8
    damon160's Avatar Member
    Reputation
    8
    Join Date
    Oct 2007
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try using gastrics compiled dll teleporter use search that one worked for me XD

  9. #9
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I couldn't find it. Care to link it ?

    Tell me what rev you are using ? and what sort of emulator.

  10. #10
    zlo's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2006
    Posts
    92
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I couldn't find it. Care to link it ?

    Tell me what rev you are using ? and what sort of emulator.
    Just use mine that i linked >_<
    and its for ArCemu/ascent


  11. #11
    jdannels's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Working LUA Teleport NPC

    Here is one I found... you will have to put in the sql entries... the lua is as follows (thanks to universalwow for this)

    Code:
    --*****************************************
    --*UniversalTeleNPC script by Oxin v1.2			*
    --*        AspireDev.org						*
    --*Made for UniversalWoW(www.universal-wow.com)	*
    --*Everyone is free to distribute and modify to their	*
    --*needs but please leave the original credits			*
    --*****************************************
    local npcid = 200000
    local menunum = 33310
    local menuicon = 4
    local teleicon = 2
    local menu =
    {
    	{"Alliance Cities",
    		{
    			{"Azshara Crater", 37, 1155.63, 190.085, 362.316},
    			{"Darnassus", 1, 9943.809570, 2275.350098, 1341.390015},
    			{"Exodar", 530, -3792.557861, -11691.3, -105.241},
    			{"Ironforge", 0, -4977.095215, -888.452942, 501.621216},
    			{"Stormwind", 0, -8967.320313, 566.548889, 93.855125},
    			{"Shattrath ", 530, -1852.87, 5428.84, -10.4639},
    		}
    	},
    	{"Places of Interest",
    		{
    			{"Southshore", 0, -940.062, -574.630, 0.262463},
    			{"Hyjal", 0, 4618.64, -3847.98, 943.955},
    			{"The Crypt", 0, -11034.2, -1528.67, 33.2137},
    		}
    	},
    	{"New Entry",
    		{
    			{"another area", map, x, y, z},
    			{"another area", map, x, y, z},
    			{"another area", map, x, y, z},
    		}
    	},
    
    }
    				
    function TeleNPC_MainMenu(Unit, Player)
    	local i = 0
    	Unit:GossipCreateMenu(menunum, Player, 0)
    	for k,v in pairs(menu) do
    		i = i + 1
    		if type(v[2]) == "table" then
    			Unit:GossipMenuAddItem(menuicon, v[1], i, 0)
    			i = i + #(v[2])
    		else
    			Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
    		end
    	end
    	Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_SubMenu(Unit, Player, i, Submenu)
    	Unit:GossipCreateMenu(menunum-i, Player, 0)
    	Unit:GossipMenuAddItem(7, "<--Back", 0, 0)
    	for k,v in pairs(Submenu) do
    		i = i + 1
    		Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
    	end
    	Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_OnGossipTalk(Unit, Event, Player)
    	TeleNPC_MainMenu(Unit, Player)
    end
    
    function TeleNPC_OnGossipSelect(Unit, Event, Player, MenuId, Id, Code)
    	local i = 0
    	if(Id == 0) then
    		TeleNPC_MainMenu(Unit,Player)
    	else
    		for k,v in pairs(menu) do
    			i = i + 1
    			if (Id == i) then
    				if type(v[2]) == "table" then
    					TeleNPC_SubMenu(Unit, Player, i, v[2])
    				else
    					if Player:IsInCombat() then
    						Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
    					else
    						Player:Teleport(v[2], v[3], v[4], v[5])
    					end
    					Unit:GossipComplete(Player)
    				end
    				return
    			elseif (type(v[2]) == "table") then
    				for j,w in pairs(v[2]) do
    					i = i + 1
    					if (Id == i) then
    						if Player:IsInCombat() then
    							Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
    						else
    							Player:Teleport(w[2], w[3], w[4], w[5])
    						end
    						Unit:GossipComplete(Player)
    						return
    					end
    				end
    			end
    		end
    	end
    end
    
    RegisterUnitGossipEvent(55557, 1, "TeleNPC_OnGossipTalk")
    RegisterUnitGossipEvent(55557, 2, "TeleNPC_OnGossipSelect")
    This is my altered version, first one I've found to work as an lua on the latest repack with 2.4.3 patch.

    Also very easy to add and subtract menu items.

  12. #12
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jdannels View Post
    Here is one I found... you will have to put in the sql entries... the lua is as follows (thanks to universalwow for this)

    Code:
    --*****************************************
    --*UniversalTeleNPC script by Oxin v1.2            *
    --*        AspireDev.org                        *
    --*Made for UniversalWoW(www.universal-wow.com)    *
    --*Everyone is free to distribute and modify to their    *
    --*needs but please leave the original credits            *
    --*****************************************
    local npcid = 200000
    local menunum = 33310
    local menuicon = 4
    local teleicon = 2
    local menu =
    {
        {"Alliance Cities",
            {
                {"Azshara Crater", 37, 1155.63, 190.085, 362.316},
                {"Darnassus", 1, 9943.809570, 2275.350098, 1341.390015},
                {"Exodar", 530, -3792.557861, -11691.3, -105.241},
                {"Ironforge", 0, -4977.095215, -888.452942, 501.621216},
                {"Stormwind", 0, -8967.320313, 566.548889, 93.855125},
                {"Shattrath ", 530, -1852.87, 5428.84, -10.4639},
            }
        },
        {"Places of Interest",
            {
                {"Southshore", 0, -940.062, -574.630, 0.262463},
                {"Hyjal", 0, 4618.64, -3847.98, 943.955},
                {"The Crypt", 0, -11034.2, -1528.67, 33.2137},
            }
        },
        {"New Entry",
            {
                {"another area", map, x, y, z},
                {"another area", map, x, y, z},
                {"another area", map, x, y, z},
            }
        },
    
    }
                    
    function TeleNPC_MainMenu(Unit, Player)
        local i = 0
        Unit:GossipCreateMenu(menunum, Player, 0)
        for k,v in pairs(menu) do
            i = i + 1
            if type(v[2]) == "table" then
                Unit:GossipMenuAddItem(menuicon, v[1], i, 0)
                i = i + #(v[2])
            else
                Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
            end
        end
        Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_SubMenu(Unit, Player, i, Submenu)
        Unit:GossipCreateMenu(menunum-i, Player, 0)
        Unit:GossipMenuAddItem(7, "<--Back", 0, 0)
        for k,v in pairs(Submenu) do
            i = i + 1
            Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
        end
        Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_OnGossipTalk(Unit, Event, Player)
        TeleNPC_MainMenu(Unit, Player)
    end
    
    function TeleNPC_OnGossipSelect(Unit, Event, Player, MenuId, Id, Code)
        local i = 0
        if(Id == 0) then
            TeleNPC_MainMenu(Unit,Player)
        else
            for k,v in pairs(menu) do
                i = i + 1
                if (Id == i) then
                    if type(v[2]) == "table" then
                        TeleNPC_SubMenu(Unit, Player, i, v[2])
                    else
                        if Player:IsInCombat() then
                            Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
                        else
                            Player:Teleport(v[2], v[3], v[4], v[5])
                        end
                        Unit:GossipComplete(Player)
                    end
                    return
                elseif (type(v[2]) == "table") then
                    for j,w in pairs(v[2]) do
                        i = i + 1
                        if (Id == i) then
                            if Player:IsInCombat() then
                                Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
                            else
                                Player:Teleport(w[2], w[3], w[4], w[5])
                            end
                            Unit:GossipComplete(Player)
                            return
                        end
                    end
                end
            end
        end
    end
    
    RegisterUnitGossipEvent(55557, 1, "TeleNPC_OnGossipTalk")
    RegisterUnitGossipEvent(55557, 2, "TeleNPC_OnGossipSelect")
    This is my altered version, first one I've found to work as an lua on the latest repack with 2.4.3 patch.

    Also very easy to add and subtract menu items.
    Ok, i'm guessing this is LUA, I'll save it as LUA. Change the "local npcid = 200000" To a desired ID and it should work ? ( LUA file places in Scripts folder in my Emu folder )

    Originally Posted by zlo View Post
    Just use mine that i linked >_<
    and its for ArCemu/ascent
    That one didn't work one bit, it crashed my server.
    Last edited by Wheeze201; 08-15-2008 at 08:12 AM.

  13. #13
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK.. I thought the ID was 200000 but i was wrong, it was 55557.

    and it WORKED !
    Finally !

  14. #14
    jdannels's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm glad it worked... it seems as though with the new core... alot of these scripts are needing to be rewritten.

  15. #15
    krelleh's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem

    Originally Posted by jdannels View Post
    Here is one I found... you will have to put in the sql entries... the lua is as follows (thanks to universalwow for this)

    Code:
    --*****************************************
    --*UniversalTeleNPC script by Oxin v1.2			*
    --*        AspireDev.org						*
    --*Made for UniversalWoW(www.universal-wow.com)	*
    --*Everyone is free to distribute and modify to their	*
    --*needs but please leave the original credits			*
    --*****************************************
    local npcid = 200000
    local menunum = 33310
    local menuicon = 4
    local teleicon = 2
    local menu =
    {
    	{"Alliance Cities",
    		{
    			{"Azshara Crater", 37, 1155.63, 190.085, 362.316},
    			{"Darnassus", 1, 9943.809570, 2275.350098, 1341.390015},
    			{"Exodar", 530, -3792.557861, -11691.3, -105.241},
    			{"Ironforge", 0, -4977.095215, -888.452942, 501.621216},
    			{"Stormwind", 0, -8967.320313, 566.548889, 93.855125},
    			{"Shattrath ", 530, -1852.87, 5428.84, -10.4639},
    		}
    	},
    	{"Places of Interest",
    		{
    			{"Southshore", 0, -940.062, -574.630, 0.262463},
    			{"Hyjal", 0, 4618.64, -3847.98, 943.955},
    			{"The Crypt", 0, -11034.2, -1528.67, 33.2137},
    		}
    	},
    	{"New Entry",
    		{
    			{"another area", map, x, y, z},
    			{"another area", map, x, y, z},
    			{"another area", map, x, y, z},
    		}
    	},
    
    }
    				
    function TeleNPC_MainMenu(Unit, Player)
    	local i = 0
    	Unit:GossipCreateMenu(menunum, Player, 0)
    	for k,v in pairs(menu) do
    		i = i + 1
    		if type(v[2]) == "table" then
    			Unit:GossipMenuAddItem(menuicon, v[1], i, 0)
    			i = i + #(v[2])
    		else
    			Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
    		end
    	end
    	Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_SubMenu(Unit, Player, i, Submenu)
    	Unit:GossipCreateMenu(menunum-i, Player, 0)
    	Unit:GossipMenuAddItem(7, "<--Back", 0, 0)
    	for k,v in pairs(Submenu) do
    		i = i + 1
    		Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
    	end
    	Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_OnGossipTalk(Unit, Event, Player)
    	TeleNPC_MainMenu(Unit, Player)
    end
    
    function TeleNPC_OnGossipSelect(Unit, Event, Player, MenuId, Id, Code)
    	local i = 0
    	if(Id == 0) then
    		TeleNPC_MainMenu(Unit,Player)
    	else
    		for k,v in pairs(menu) do
    			i = i + 1
    			if (Id == i) then
    				if type(v[2]) == "table" then
    					TeleNPC_SubMenu(Unit, Player, i, v[2])
    				else
    					if Player:IsInCombat() then
    						Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
    					else
    						Player:Teleport(v[2], v[3], v[4], v[5])
    					end
    					Unit:GossipComplete(Player)
    				end
    				return
    			elseif (type(v[2]) == "table") then
    				for j,w in pairs(v[2]) do
    					i = i + 1
    					if (Id == i) then
    						if Player:IsInCombat() then
    							Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
    						else
    							Player:Teleport(w[2], w[3], w[4], w[5])
    						end
    						Unit:GossipComplete(Player)
    						return
    					end
    				end
    			end
    		end
    	end
    end
    
    RegisterUnitGossipEvent(55557, 1, "TeleNPC_OnGossipTalk")
    RegisterUnitGossipEvent(55557, 2, "TeleNPC_OnGossipSelect")
    This is my altered version, first one I've found to work as an lua on the latest repack with 2.4.3 patch.

    Also very easy to add and subtract menu items.

    Hmm, ill put it into scrips under the name ; Teleporter.lua & all that you know ..
    but when i log on and writes .npc spawn 55557 it says ( Invaild entry id ) s: can you tell me why please?

Page 1 of 2 12 LastLast

Similar Threads

  1. Where can I get a working AOWOW offline database site?
    By Knuxyl in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 10-05-2016, 11:10 PM
  2. where can i get a working woltk alpha client download
    By rappelz15 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 07-13-2008, 07:42 PM
  3. Where can i get this (link inside)
    By frozenlake in forum World of Warcraft General
    Replies: 3
    Last Post: 04-16-2007, 01:36 PM
  4. Where can i get a Cord mod/plugin?
    By Mike3667 in forum World of Warcraft General
    Replies: 1
    Last Post: 09-09-2006, 07:20 PM
  5. Where can i get GALB
    By qinoa in forum World of Warcraft General
    Replies: 2
    Last Post: 04-17-2006, 05:05 AM
All times are GMT -5. The time now is 03:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search