LUA Script: Авто принятие фласки | WoW Circle Wrath of The Lich King 3.3.5 menu

User Tag List

Results 1 to 3 of 3
  1. #1
    tubikkupilnout's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    6
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA Script: Авто принятие фласки | WoW Circle Wrath of The Lich King 3.3.5



    pastebin

    Code:
    function trade()
    local flask = {"Настой бесконечной ярости", "Настой ледяного змея", "Настой каменной крови"}
    function AcceptTrade()
    TradeFrameTradeButton:Click()
    end
    if TradeFrame:IsShown() then
    for i = 1, 6 do
        for k, v in ipairs(flask) do
            if GetTradeTargetItemInfo(i) == v then
                print("Принял фласку!!!")
                AcceptTrade();
            end
        end
    end
    end end
    local f = CreateFrame("Frame")
    f:SetScript("OnUpdate", trade)

    LUA Script: Авто принятие фласки | WoW Circle Wrath of The Lich King 3.3.5
  2. #2
    dklfcheat's Avatar Member
    Reputation
    1
    Join Date
    Sep 2016
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    whats this about, we some english here

  3. #3
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by dklfcheat View Post
    whats this about, we some english here
    Code:
    function trade ()
    local flask = {"Infusion of Infinite Fury," "Infusion of the Ice Snake," "Infusion of Stone Blood"}
    function AcceptTrade ()
    TradeFrameTradeButton: Click ()
    end
    if TradeFrame: IsShown () then
    for i = 1, 6 do
    **** for k, v in ipairs (flask) do
    ******** if GetTradeTargetItemInfo (i) == v then
    ************ print ("Took a Flag !!!")
    ************ AcceptTrade ();
    ******** end
    **** end
    end
    end end
    local f = CreateFrame ("Frame")
    f: SetScript ("OnUpdate", trade)
    It looks like if any of the items in the flask variable are put into the trade window it immediately accepts the trade your end, without needing to put in any gold/items yourself.

  4. Thanks tubikkupilnout (1 members gave Thanks to stoneharry for this useful post)

Similar Threads

  1. [Lua] The Lich King - Blizzlike
    By stoneharry in forum WoW EMU General Releases
    Replies: 197
    Last Post: 03-10-2011, 12:27 PM
  2. [Lua] The Lich King (not blizzlike)
    By Ground Zero in forum WoW EMU General Releases
    Replies: 5
    Last Post: 02-23-2010, 05:46 AM
  3. [Guide] Lua Scripting Guide is here [Updating]
    By Illidan1 in forum WoW EMU Guides & Tutorials
    Replies: 93
    Last Post: 11-04-2008, 06:56 PM
  4. How To LUA Script
    By Skuxta in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 12-13-2007, 04:24 AM
  5. New LUA Scripts
    By 777devil777 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 11-26-2007, 05:58 PM
All times are GMT -5. The time now is 01:20 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