Results 1 to 3 of 3

Thread: Little script request Fast plese

  1. #1
    iBot User
    Join Date
    Sep 2013
    Posts
    38
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    24
    Rep Power
    4

    Little script request Fast plese

    Maybe its not a full help about script..


    I just want to someone better than me to help me find the solution.

    i got action wpt and this write in it
    Code:
    local Dropcap = 180
    
    if windowcount(MainBP) == 0 then
                openitem(MainBP, "back")
                wait(1000,1300)
                resizewindows()
                wait(500,1300)
            end
            
    while cap > Dropcap do 
    pickupitems()
    wait(300,400)
    end
    i know can use rezisewindow instead of windows. but the problem seems to looks like problem with while ... My point is to pickupitems as many as possible (untill cap) then go to next wpt. but the bot stuck at pickupitems and dont react on while conditions... just stay and got tibia error that i`m full (not more items)...

    #EDIT
    i found the problem but still cannot found the solution. Just cap variable do not refresh in while and gives everytime same amount like at first time (even if he pickups 100 items and his cap jumps from 4k to 100..)
    Last edited by buluss; 06-08-2014 at 11:36 AM.

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Add updateworld() beetwen wait and 'end'

  3. #3
    iBot User
    Join Date
    Sep 2013
    Posts
    38
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    24
    Rep Power
    4
    Thanks alot. I quess is cuz of missing this but i put updateworld in action section and i notice same problem so wtf but ur way works ofc :>?XD

Posting Permissions

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