Results 1 to 9 of 9

Thread: Picking up Soft Boots from the floor

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5

    Picking up Soft Boots from the floor

    As the title says can somebody help me with an action to picking up soft boots if the bot see them on the floor? i'll appreciate it very much, my bot dropped like 3 pairs of boots till now.

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    So why you use Soft Boots? In my opinion its just waste of time ;o!

  3. #3
    iBot User
    Join Date
    Aug 2012
    Posts
    249
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    41
    Rep Power
    5
    and where do you bot again? i would like to follow you

  4. #4
    iBot User
    Join Date
    Jul 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    I dont know why i use Soft Boots, i guess because the script say so.. thats why i want the action so any help is grateful.

  5. #5
    iBot User
    Join Date
    Oct 2012
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    13
    Rep Power
    5
    probably u got shit pc or u move mouse and thats why bot drop softs. Never happen to me for 2 years..

  6. #6
    iBot User
    Join Date
    Jul 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Nah its a good PC it have like 8gb of ram and i5 processor, im just asking for the action, thanks in advance.

  7. #7
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    The best way is just to stop use Soft Boots. Its useless for botting, believe me.

  8. #8
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    try this
    Lua Code:
    function DistanceFromSelf(POS_X, POS_Y)
        updateworld()
        return math.max(math.abs(POS_X - posx), math.abs(POS_Y - posy))
    end
     
    function GroundItemPos(ITEMS, RANGE)
        updateworld()
        local X_RANGE = RANGE or 7
        local Y_RANGE = RANGE or 5
     
        for i = -X_RANGE, X_RANGE do
            for j = -Y_RANGE, Y_RANGE do
                if table.find(ITEMS, toptileitem(posx+i, posy+j, posz)) then
                    return {X = posx + i, Y = posy + j, ID = toptileitem(posx+i, posy+j, posz)}
                end
            end
        end
    end
     
    local SOFT_IDS = {itemid("soft boots"), itemid("worn soft boots")}
     
    while GroundItemPos(SOFT_IDS, 7) do
    	pausewalking(20000)
    	local ITEM = GroundItemPos(SOFT_IDS, 7)
    	while DistanceFromSelf(ITEM.X, ITEM.Y) > 1 do
    		reachlocation(ITEM.X, ITEM.Y, posz) wait(100, 150)
    	end
    	moveitems(ITEM.ID, ground(ITEM.X, ITEM.Y, posz), "all", 100) wait(200, 250)
    	pausewalking(0)
    end

  9. #9
    iBot User
    Join Date
    Jul 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by walukasz View Post
    try this
    Lua Code:
    function DistanceFromSelf(POS_X, POS_Y)
        updateworld()
        return math.max(math.abs(POS_X - posx), math.abs(POS_Y - posy))
    end
     
    function GroundItemPos(ITEMS, RANGE)
        updateworld()
        local X_RANGE = RANGE or 7
        local Y_RANGE = RANGE or 5
     
        for i = -X_RANGE, X_RANGE do
            for j = -Y_RANGE, Y_RANGE do
                if table.find(ITEMS, toptileitem(posx+i, posy+j, posz)) then
                    return {X = posx + i, Y = posy + j, ID = toptileitem(posx+i, posy+j, posz)}
                end
            end
        end
    end
     
    local SOFT_IDS = {itemid("soft boots"), itemid("worn soft boots")}
     
    while GroundItemPos(SOFT_IDS, 7) do
    	pausewalking(20000)
    	local ITEM = GroundItemPos(SOFT_IDS, 7)
    	while DistanceFromSelf(ITEM.X, ITEM.Y) > 1 do
    		reachlocation(ITEM.X, ITEM.Y, posz) wait(100, 150)
    	end
    	moveitems(ITEM.ID, ground(ITEM.X, ITEM.Y, posz), "all", 100) wait(200, 250)
    	pausewalking(0)
    end
    It worked! Thank You walukasz.
    Last edited by CexaR; 03-11-2014 at 08:55 PM.

Posting Permissions

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