These ads disappear when you log in.

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

    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)

    These ads disappear when you log in.

  2. #2
    Member CoreCoins User dklfcheat's Avatar
    Reputation
    1
    Join Date
    Sep 2016
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    whats this about, we some english here

  3. #3
    Moderator Harry

    CoreCoins User Authenticator enabled stoneharry's Avatar
    Reputation
    1492
    Join Date
    Sep 2007
    Posts
    4,309
    Thanks G/R
    73/70
    Trade Feedback
    0 (0%)
    Quote 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.

 

 

Similar Threads

  1. [Lua] The Lich King - Blizzlike
    By stoneharry in forum WoW EMU General Releases
    Replies: 197
    Last Post: 03-10-2011, 11:27 AM
  2. [Lua] The Lich King (not blizzlike)
    By Ground Zero in forum WoW EMU General Releases
    Replies: 5
    Last Post: 02-23-2010, 04: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, 05:56 PM
  4. How To LUA Script
    By Skuxta in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 12-13-2007, 03:24 AM
  5. New LUA Scripts
    By 777devil777 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 11-26-2007, 04:58 PM
All times are GMT -5. The time now is 01:01 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search