Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Lever cleaner

  1. #1
    iBot User jcs1990's Avatar
    Join Date
    Jun 2012
    Location
    RS - Brasil
    Posts
    403
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    17 Post(s)
    Reputation
    2
    Rep Power
    0

    Exclamation Lever cleaner

    -- Pick Spot/DP Cleaner --

    Clean all trash on the Pick spot (very useful on entrance of Lich hell in goroma, for example), or before depositing on DP, both made by me

    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    Pick spot cleaner: just put the ids of the SQM opened and closed, on respective places of setup

    PHP Code:
    -- by jcs1990 --
    local X,Y,1,2,-- put them without space
    local idclosed 
    = ?
    local idopen = ?

    while 
    toptileitem(X,Y,Z) ~= idclosed and toptileitem(X,Y,Z) ~= idopen do 
    reachlocation(X,Y,Z
    wait(500
    moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100
    end 
    ps: it just cleans and go ahead on waypoints, it not use the pick, next you will have to add an PICK with wpt add tool to open it


    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    DP cleaner: just put the ID of the dp to be opened and his coordinates

    PHP Code:
    -- by jcs1990 --
    local X,Y,1,2,-- DP coordinatesput them without space
    local iddp 
    = ?

    while 
    toptileitem(X,Y,Z) ~= iddp do 
    reachlocation(X,Y,Z
    wait(500
    moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100
    end 

    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    HUD to you discover the IDs you need:

    PHP Code:
    setsize(100,100)
    setfontcolor("white")

    local TOP toptileitem(posx,posy,posz)
    local TOPN toptileitem(posx,posy-1,posz)
    local TOPS toptileitem(posx,posy+1,posz)
    local TOPE toptileitem(posx+1,posy,posz)
    local TOPW toptileitem(posx-1,posy,posz)
    local TOPNW toptileitem(posx-1,posy-1,posz)
    local TOPSW toptileitem(posx-1,posy+1,posz)
    local TOPNE toptileitem(posx+1,posy-1,posz)
    local TOPSE toptileitem(posx+1,posy+1,posz)


    addtext("C :"..TOP,80,100)
    addtext("N :"..TOPN,80,80)
    addtext("S :"..TOPS,80,120)
    addtext("E  : "..TOPE,140,100)
    addtext("W:  "..TOPW,20,100)
    addtext("NE :"..TOPNE,140,80)
    addtext("NW :"..TOPNW,20,80)
    addtext("SW :"..TOPSW,20,120)
    addtext("SE :"..TOPSE,140,120)

    addtext("__________________________",15,125)
    addtext("__________________________",15,65)
    addtext("__________________________",15,85)
    addtext("__________________________",15,105)
    addtext("|"13,125addtext("|"13,115)
    addtext("|"13,105addtext("|"13,95)
    addtext("|"13,85addtext("|"13,75)

    addtext("|"73,125addtext("|"73,115)
    addtext("|"73,105addtext("|"73,95)
    addtext("|"73,85addtext("|"73,75)

    addtext("|"133,125addtext("|"133,115)
    addtext("|"133,105addtext("|"133,95)
    addtext("|"133,85addtext("|"133,75)

    addtext("|"193,125addtext("|"193,115)
    addtext("|"193,105addtext("|"193,95)
    addtext("|"193,85addtext("|"193,75

    all tested and working
    Last edited by jcs1990; 09-08-2012 at 09:20 PM. Reason: more
    ex-NG user, ex-Elf user, ex-Neo user
    Blesses keep 110k, losses of death keep high, cipsoft keep with trash servers, then i keep botting
    Tibian since 2004, thanks for all histories and friends

    I helped? Rep + plz;
    Ajudei? Rep + plz

  2. #2
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    what that do?
    clean every sqm?
    isnt lost of time?
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  3. #3
    iBot User jcs1990's Avatar
    Join Date
    Jun 2012
    Location
    RS - Brasil
    Posts
    403
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    17 Post(s)
    Reputation
    2
    Rep Power
    0
    Quote Originally Posted by Vigilante Alert View Post
    what that do?
    clean every sqm?
    isnt lost of time?
    why lost of time man?
    its very useful, it checks if its the lever on the sqm of coordinates or its trash, if its trash then it removes them all and go ahead, and next to use the lever you will have to add an USE of wpts add or one action uselever(x,y,z)

    very useful for depositer on Farmine for example, cuz on there are many of those levers, and people throw trash on it to stop us :S
    Last edited by jcs1990; 08-24-2012 at 02:30 PM.
    ex-NG user, ex-Elf user, ex-Neo user
    Blesses keep 110k, losses of death keep high, cipsoft keep with trash servers, then i keep botting
    Tibian since 2004, thanks for all histories and friends

    I helped? Rep + plz;
    Ajudei? Rep + plz

  4. #4
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Quote Originally Posted by jcs1990 View Post
    why lost of time man?
    its very useful, it checks if its the lever on the sqm of coordinates or its trash, if its trash then it removes them all and go ahead, and next to use the lever you will have to add an USE of wpts add or one action uselever(x,y,z)

    very useful for depositer on Farmine for example, cuz on there are many of those levers, and people throw trash on it to stop us :S
    i said lost of time if this just remove every sqm, for exemple: if u are going to muggy plains and have alot of rubish on floor and this start remove all around the char will lose time of hunt.
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  5. #5
    Focus Group bofing's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    664
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    52 Post(s)
    Reputation
    95
    Rep Power
    6
    Quote Originally Posted by jcs1990 View Post
    why lost of time man?
    its very useful, it checks if its the lever on the sqm of coordinates or its trash, if its trash then it removes them all and go ahead, and next to use the lever you will have to add an USE of wpts add or one action uselever(x,y,z)

    very useful for depositer on Farmine for example, cuz on there are many of those levers, and people throw trash on it to stop us :S
    it's lost of time cuz it's not possible to trash farmine's levers

  6. #6
    Normal User
    Join Date
    Aug 2012
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    /\ read about it on tibia.com

  7. #7
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by Vigilante Alert View Post
    what that do?
    clean every sqm?
    isnt lost of time?
    You don't understand. You set the pos x,y,z of the lever and put this in your script.

    So when it tries to use a lever, or shovel a hole, the script will check to see if someone has tossed trash on top of the lever or loose stone pile before trying to use it.


    It's very helpful, thanks jcs

    Might I suggest this template:

    PHP Code:
    -- by jcs1990 --
    local X 32123 -- Pos X of Wpt
    local Y 
    32789 -- Pos Y of Wpt
    local State1 
    2772 -- ID of Wpt in first state (LeversHolesEct have 2 StatesOpen and Closedthus we need to add 2 ID's)
    local State2 = 2773 -- ID of Wpt in second state (Levers, Holes, Ect have 2 States: Open and Closed, thus we need to add 2 ID'
    s)

    while 
    toptileitem(X,Y,posz) ~= State1 and toptileitem(X,Y,posz) ~= State2 do 
    reachlocation(X,Y,posz
    wait(500
    moveitems(toptileitem(X,Y,posz), ground(X,Y,posz), ground(posx,posy,posz), 100
    end 
    Note that Pos Z never has to change, it will always be the same.

    You may also want to run a furniture smasher script in case someone trashes it with a non-walkable item.
    Last edited by pink_panther; 08-26-2012 at 12:49 AM.

  8. #8
    iBot User jcs1990's Avatar
    Join Date
    Jun 2012
    Location
    RS - Brasil
    Posts
    403
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    17 Post(s)
    Reputation
    2
    Rep Power
    0
    Quote Originally Posted by bofing View Post
    it's lost of time cuz it's not possible to trash farmine's levers
    ahahahaha, well, what can i say?

    i think u are crazy then!!

    go there and check it, u can throw anything up there ;D



    edit: true, since few days it changed, not possible to trash it anymore, but the lever cleaner was very useful alot of time ;p
    and now i made from it a pick spot cleaner ^^
    Last edited by jcs1990; 08-27-2012 at 03:51 AM. Reason: edit
    ex-NG user, ex-Elf user, ex-Neo user
    Blesses keep 110k, losses of death keep high, cipsoft keep with trash servers, then i keep botting
    Tibian since 2004, thanks for all histories and friends

    I helped? Rep + plz;
    Ajudei? Rep + plz

  9. #9
    iBot User jcs1990's Avatar
    Join Date
    Jun 2012
    Location
    RS - Brasil
    Posts
    403
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    17 Post(s)
    Reputation
    2
    Rep Power
    0
    Quote Originally Posted by Vigilante Alert View Post
    i said lost of time if this just remove every sqm, for exemple: if u are going to muggy plains and have alot of rubish on floor and this start remove all around the char will lose time of hunt.
    no man, its an action waypoint, not persistent, and also there is coordinates, it means its for an specific sqm!!
    ex-NG user, ex-Elf user, ex-Neo user
    Blesses keep 110k, losses of death keep high, cipsoft keep with trash servers, then i keep botting
    Tibian since 2004, thanks for all histories and friends

    I helped? Rep + plz;
    Ajudei? Rep + plz

  10. #10
    Banned
    Join Date
    May 2012
    Location
    Rio de Janero - RJ / Canada
    Posts
    870
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    0
    Quote Originally Posted by jcs1990 View Post
    ahahahaha, well, what can i say?

    i think u are crazy then!!

    go there and check it, u can throw anything up there ;D
    not anymore

Posting Permissions

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