LUA Wishing Stone? menu

User Tag List

Results 1 to 1 of 1
  1. #1
    EmuX's Avatar Active Member
    Reputation
    29
    Join Date
    Feb 2008
    Posts
    172
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA Wishing Stone?

    I have added this script to my Arcemu server and it is not working anyone have any ideas why it's not?

    Code:
    local itemid = 24066
    function Item_Trigger(item, event, player)
        Item_menu(item, player)
    end
    
    function Item_menu(item, player)
     
        if (player:IsInCombat() == true) then
        player:SendAreaTriggerMessage("You are in combat!")
        else
        item:GossipCreateMenu(3543, player, 0)
        item:GossipMenuAddItem(4, "Leveling road start", 1, 0)
        item:GossipMenuAddItem(4, "Remove Resurrection Sickness", 2, 0)
        item:GossipMenuAddItem(4, "Mall", 3, 0)
        item:GossipMenuAddItem(4, "Stair event", 4, 0)
        item:GossipMenuAddItem(4, "Ring of Anahiliation PvP", 5, 0)
        item:GossipSendMenu(player)
        end
    end
    
    function OnSelect(item, event, player, id, intid, code)
    
        if (intid == 1) then
        player:Teleport(1, 4615.451172, -3863.259521, 944.180542)
        player:GossipComplete()
        end
    
        if (intid == 2) then
        player:LearnSpell(15007)
        player:UnlearnSpell(15007)
        player:GossipComplete()
        end
        
        if (intid == 3) then
        player:Teleport(1, -8510.530273, 2016.457642, 104.749130)
        player:GossipComplete()
        end
    
        if (intid == 4) then
        player:Teleport(1, -7756.266602, -4964.673340, 6.632889)
        player:GossipComplete()
        end
        
        if (intid == 5) then
        player:Teleport(1, -3639.852051, 1093.125610, 154.786072)
        player:GossipComplete()
        end
    end
    RegisterItemGossipEvent(24066,1,"Item_Trigger")
    RegisterItemGossipEvent(24066,2,"OnSelect")
    I am using LuaHypArc.

    LUA Wishing Stone?

Similar Threads

  1. [Release] Uber Morpher, GlobalNPC, Wishing Stone, FriendPorter for 4541 Compiles
    By LordJedi in forum World of Warcraft Emulator Servers
    Replies: 78
    Last Post: 06-29-2008, 01:41 PM
  2. [Release] Simple Wishing Stone
    By NineOneOne in forum World of Warcraft Emulator Servers
    Replies: 46
    Last Post: 03-30-2008, 09:36 PM
  3. Wishing stone or Teleporter?
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 03-23-2008, 08:13 PM
  4. [Request] Wishing Stone (working with 2d repack)
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 02-29-2008, 08:09 PM
  5. Wishing Stone
    By Pedregon in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 02-29-2008, 07:43 PM
All times are GMT -5. The time now is 10:54 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search