XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 4 of 4

Thread: Auto tree wall

  1. #1

    Join Date
    Aug 2013
    Posts
    142
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)

    Auto tree wall

    I am looking for a auto tree wall lua that will shoot a tree wall 1 and 2 sqm in front of my char. I am willing to pay for it. Need two auto refresh the tree wall when it disappears

  2. #2

    Join Date
    Jan 2014
    Posts
    183
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Orming View Post
    I am looking for a auto tree wall lua that will shoot a tree wall 1 and 2 sqm in front of my char. I am willing to pay for it. Need two auto refresh the tree wall when it disappears
    Hello i think thats the thing what you looking for.
    Usage: say in channel: 2 5 - > it will set position to x + 2 ( right ) and y + 5 ( up ). Not that hard.
    Heres the code, theres nothing to edit.
    It's ugly because i were writing it asap cause going sleep.
    Hope you will find it useful.
    PHP Code:
    -- growth 2130mw 2129
    local wGrowthID 
    2130
    -- growth 3156 mw 3180
    local wGrowthRune 
    3156






    -- You shoudnt edit.
    local xDiff 0
    local yDiff 
    0
    local shooterState 
    false
    local entryMessage 
    = {"To start shooter you have to set coordinates:""type: '2 4' to start shooter at xPosition + 2 (right) and yPosition +4 (up)," "type: 'stop' to pause bot, 'start' to start bot."}




    local function shootWildGrowth()
        
    local id Map.GetTopTargetObject(xySelf.Position().z).id
        
    if id == wGrowthID then
            
    return
        else
            
    Self.UseItemWithGround(wGrowthRunexySelf.Position().z)
        
    end
    end

    local 
    function sendChannelMessage(colormsg)
        if 
    color:lower() == 'yellow' then
            channel
    :SendYellowMessage('Wildgrowth Assistant'msg)
        elseif 
    color:lower() == 'orange' then
            channel
    :SendOrangeMessage('Wildgrowth Assistant'msg)
        
    end
    end
    local 
    function onSpeak(channeltext)
        
    local xDiff,  yDiff string.match(text"%s?([+-]?%d+)%s([+-]?%d+)")
                
    xtonumber(x), tonumber(y)
        if 
    text:lower() == 'stop' then
            shooterState 
    false
        
    elseif text:lower() == 'start' then
            shooterState 
    true
        
    elseif xDiff and yDiff then
            x
    Self.Position().xDiffSelf.Position().yDiff
            shooterState 
    true
        end
    end
    local 
    function onClose(channeltext)
        print(
    'You left channel')
    end



    local 
    function init()
        
    channel Channel.New("Management Channel"onSpeakonClose)
        for 
    1#entryMessage do
            
    sendChannelMessage('yellow'entryMessage[i])
        
    end
    end
    init
    ()

    Module.New('wildGrowthShooter', function()
        if 
    shooterState then
            shootWildGrowth
    ()
        
    end
    end

    Last edited by kamilqq; 03-29-2016 at 01:20 AM.

  3. #3

    Join Date
    Jan 2014
    Posts
    183
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Orming View Post
    I am looking for a auto tree wall lua that will shoot a tree wall 1 and 2 sqm in front of my char. I am willing to pay for it. Need two auto refresh the tree wall when it disappears
    You should let me know if it fits your needs.

  4. #4

    Join Date
    Aug 2013
    Posts
    142
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Awesome will let you know tomorrow when I test ot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •