[LUA] Flying Mount menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    colincancer's Avatar Active Member
    Reputation
    63
    Join Date
    Dec 2007
    Posts
    509
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA] Flying Mount

    Like the title says this is an LUA Flying Mount...

    The LUA
    Code:
    local itemid = Item Id
    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, "Mount me on a Dragon", 2, 0)
        item:GossipMenuAddItem(4, "Dismount", 3, 0)
        item:GossipSendMenu(player)
        end
    end
    function OnSelect(item, event, player, id, intid, code)
    
        if (intid == 2) then
        Player:SetFlying()
        Player:ModifyRunSpeed(21)
        player:SetModel(22841)
        end
        if (intid == 3) then
        player:SetMovementType(256)
        player:ModifyRunSpeed(7.5)
        player:SetModel(0)
        end
    end
     
    RegisterItemGossipEvent(Item Id,1,"Item_Trigger")
    RegisterItemGossipEvent(Item Id,2,"OnSelect")
    The Item
    Code:
    INSERT INTO `items` (`class`, `subclass`, `name1`, `name2`, `name3`, `name4`, `displayid`, `quality`, `buyprice`, `sellprice`, `itemlevel`, `ContainerSlots`, `unique`, `maxcount`, `bonding`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `dmg_min3`, `dmg_max3`, `dmg_type3`, `dmg_min4`, `dmg_max4`, `dmg_type4`, `dmg_min5`, `dmg_max5`, `dmg_type5`, `delay`, `range`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `armor`, `block`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `allowableclass`, `allowablerace`, `RequiredSkill`, `RequiredSkillRank`, `RequiredSkillSubRank`, `RequiredFaction`, `RequiredFactionStanding`, `requiredlevel`, `inventorytype`, `quest_id`, `sheathID`, `itemset`, `MaxDurability`, `Description`, `socket_color_1`, `socket_color_2`, `socket_color_3`, `socket_bonus`, `entry`) VALUES ('8', '-1', 'Custom Mount', 'Custom Mount', 'Custom Mount', 'Custom Mount', '2324', '1', '0', '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '33208', '0', '579', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1503', '1791', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', 'Item Id');
    Make sure to modify the red bold things...enjoy!
    #JODYS'WATCHiN

    [LUA] Flying Mount
  2. #2
    EmiloZ's Avatar Flying Piggy Back
    CoreCoins Purchaser
    Reputation
    538
    Join Date
    Jun 2007
    Posts
    1,393
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    omfg thx, +Rep x4
    Why fill up a signature?

  3. #3
    RoRo9300's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How is it different from normal mounts, besides being a lua?

  4. #4
    EmiloZ's Avatar Flying Piggy Back
    CoreCoins Purchaser
    Reputation
    538
    Join Date
    Jun 2007
    Posts
    1,393
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With this one you can make it give you another speed and model to ride on.
    Why fill up a signature?

  5. #5
    forces's Avatar Member
    Reputation
    16
    Join Date
    Jan 2008
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can turn any item into a mount. That's how.
    C++ SKILL[||||||||||||]

  6. #6
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is actually pretty hawt +9
    If you need me you have my skype, if you don't have my skype then you don't need me.

  7. #7
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good stuff, I don't currently use LUA (I'm on Mangos) but, +Rep


  8. #8
    colincancer's Avatar Active Member
    Reputation
    63
    Join Date
    Dec 2007
    Posts
    509
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha thanks
    #JODYS'WATCHiN

  9. #9
    rm60kid's Avatar Member
    Reputation
    6
    Join Date
    Apr 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sick.....+Rep

  10. #10
    marcojoao's Avatar Master Sergeant
    Reputation
    8
    Join Date
    Aug 2007
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i cant use... :/ i usimg whydb and rebornemu...
    need help! i give +rep! for helper

  11. #11
    Twisted7's Avatar Active Member
    Reputation
    63
    Join Date
    Aug 2008
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is awesome, nice job dude!

  12. #12
    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)
    Code:
    local itemid = 88765
    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, "Mount", 2, 0)
        item:GossipMenuAddItem(4, "Dismount", 3, 0)
        item:GossipSendMenu(player)
        end
    end
    function OnSelect(item, event, player, id, intid, code)
    
        if (intid == 2) then
        Player:SetFlying()
        Player:ModifyRunSpeed(15)
        player:SetModel(6376)
        end
        if (intid == 3) then
        player:SetMovementType(256)
        player:ModifyRunSpeed(7.5)
        player:SetModel(0)
        end
    end
     
    RegisterItemGossipEvent(88765,1,"Item_Trigger")
    RegisterItemGossipEvent(88765,2,"OnSelect")
    Loads fine in Worldserver.exe.

    But when i click item i get the menu.
    I click mount Nothing happens.

    In window i get
    Value expected near player got nil.

    Any suggestions?

  13. #13
    Anthraxx's Avatar Contributor
    Reputation
    111
    Join Date
    Nov 2006
    Posts
    374
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice +rep x2 to you


  14. #14
    EmiloZ's Avatar Flying Piggy Back
    CoreCoins Purchaser
    Reputation
    538
    Join Date
    Jun 2007
    Posts
    1,393
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kreegoth View Post
    Code:
    local itemid = 88765
    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, "Mount", 2, 0)
        item:GossipMenuAddItem(4, "Dismount", 3, 0)
        item:GossipSendMenu(player)
        end
    end
    function OnSelect(item, event, player, id, intid, code)
    
        if (intid == 2) then
        Player:SetFlying()
        Player:ModifyRunSpeed(15)
        player:SetModel(6376)
        end
        if (intid == 3) then
        player:SetMovementType(256)
        player:ModifyRunSpeed(7.5)
        player:SetModel(0)
        end
    end
     
    RegisterItemGossipEvent(88765,1,"Item_Trigger")
    RegisterItemGossipEvent(88765,2,"OnSelect")
    Loads fine in Worldserver.exe.

    But when i click item i get the menu.
    I click mount Nothing happens.

    In window i get
    Value expected near player got nil.

    Any suggestions?

    Me too :S It loads fine but the items i clicks just dosnt do anything. Dosnt bring up the menu,
    If you know what i mean
    Why fill up a signature?

  15. #15
    Mr.Jebus Christ's Avatar Banned
    Reputation
    117
    Join Date
    Mar 2007
    Posts
    351
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no offense but it looks like this was stolen from [Leet RELEASE] Lua Flying Mount - AC Web

Page 1 of 2 12 LastLast

Similar Threads

  1. Flying Mount Glitch Question
    By slothahoy in forum World of Warcraft General
    Replies: 7
    Last Post: 12-07-2006, 10:13 AM
  2. Burning crusade flying mount video
    By Neeroy in forum World of Warcraft General
    Replies: 1
    Last Post: 11-20-2006, 12:36 PM
  3. Get to know Flying mounts!
    By Elites360 in forum World of Warcraft General
    Replies: 4
    Last Post: 11-05-2006, 12:47 AM
  4. Alliance flying mount to Riding Phoenix
    By foose in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 09-23-2006, 01:51 PM
  5. A 9 minute video showing FLYING MOUNTS + Outlands and Xpack
    By Matt in forum World of Warcraft General
    Replies: 10
    Last Post: 08-05-2006, 10:32 AM
All times are GMT -5. The time now is 07:09 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