Page 1 of 10 123 ... LastLast
Results 1 to 10 of 96

Thread: Tutorial for knight afk scripts

  1. #1
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8

    Tutorial for knight afk scripts

    BASIC SETUP FOR KNIGHT
    -- Setup
    -----------BPS-----------
    mainBP = "red backpack"
    lootBP = "green backpack"
    goldBP = "golden backpack"
    ----------DEPOT----------
    dpbp = "grey backpack" -- Will deposit loots (you need to put for example 1 grey backpack filled with 19 grey backpacks inside depot)
    ----------Checks----------
    mpbuy = 190 -- Quantity of mana to buy
    mpleave = 30 -- Quantity of mana to go deposit
    hpbuy = 50 -- Quantity of health potion to buy
    hpleave = 20 -- Quantity of health potion to go deposit
    capleave = 75 -- Cap to go deposit
    Click image for larger version. 

Name:	bp.jpg 
Views:	1077 
Size:	58.3 KB 
ID:	4908

    BASIC MANA AND HEALTH POTION AND CAP CHECK
    wait(500)
    if (itemcount("mana potion") <= mpleave) or (itemcount("strong health potion") <= hpleave) or (cap < capleave) then
    gotolabel('DEPOT')else
    dropflask()
    gotolabel('POINT2')
    end
    Click image for larger version. 

Name:	mp checker.jpg 
Views:	571 
Size:	63.7 KB 
ID:	4909

    BASIC DEPOSITOR
    reachgrounditem("depot")
    wait(1000)
    openitem("depot")
    wait(1000)
    openitem(3502, "locker")
    wait(1500)
    openitem(dpbp, "depot chest")
    wait(1000)
    depotdeposit(dpbp, "iron ore", "small stone", "club ring", "shiny stone", "dwarven ring", "small sapphire", "ancient stone", "sulphurous stone", "coal", "red gem", "stone wing", "piece of marble rock")
    wait(200,300)
    NEEDS TO BE 1 BP WITH 19 INSIDE IT
    Click image for larger version. 

Name:	depositor.jpg 
Views:	955 
Size:	81.5 KB 
ID:	4910
    Click image for larger version. 

Name:	deposit item.jpg 
Views:	969 
Size:	93.6 KB 
ID:	4918
    Click image for larger version. 

Name:	depot.jpg 
Views:	1125 
Size:	97.5 KB 
ID:	4921
    Click image for larger version. 

Name:	depot chest.jpg 
Views:	902 
Size:	97.7 KB 
ID:	4922
    Click image for larger version. 

Name:	depot bps.jpg 
Views:	789 
Size:	97.3 KB 
ID:	4923

    to the south to use open a door
    Click image for larger version. 

Name:	door.jpg 
Views:	716 
Size:	83.7 KB 
ID:	4911
    a stand inside outside the range
    Click image for larger version. 

Name:	door1.jpg 
Views:	562 
Size:	88.4 KB 
ID:	4912

    check given to by heardy for ships and unreachable postions like behind a door out of sight and drop after a hole if not on a certain level
    if not islocation(4) then
    gotolabel("DOOR")
    return
    end
    BASIC BANK CHECKER
    local mps = positive(mpbuy - itemcount("mana potion")) * 50
    local hps = positive(hpbuy - itemcount("strong health potion")) * 100
    local Total = mps + hps

    wait(500,1000)
    say("hi")
    wait(1500,2000)
    npcsay("deposit all")
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)
    npcsay("balance")
    wait(2000)
    npcsay("withdraw "..Total)
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)
    Click image for larger version. 

Name:	bank.jpg 
Views:	355 
Size:	95.1 KB 
ID:	4913

    BASIC POTION BUYER
    wait(1000)
    say("hi")
    wait(1000,2000)
    npcsay("vial")
    wait(500,800)
    npcsay("yes")
    wait(100,300)
    npcsay("trade")
    wait(1000,1500)
    buyitemsupto("strong health potion",hpbuy, itemcount(236))
    wait(1500)
    buyitemsupto("strong health potion",hpbuy, itemcount(236))
    wait(1500)
    buyitemsupto("mana potion",mpbuy, itemcount(268))
    wait(1500)
    buyitemsupto("mana potion",mpbuy, itemcount(268))
    wait(2000)
    npcsay("bye")
    wait(1000)
    Click image for larger version. 

Name:	potions.jpg 
Views:	262 
Size:	96.7 KB 
ID:	4914

    BASIC BP OPENER
    closewindows()
    wait(500,1000)
    openitem(mainBP, "back")
    wait(500,1000)
    resizewindows()
    wait(500,1000)
    openitem(lootBP, mainBP, true)
    wait(500,1000)
    resizewindows()
    wait(500,1000)
    openitem(goldBP, mainBP, true)
    wait(500,1000)
    resizewindows()
    Click image for larger version. 

Name:	bp op.jpg 
Views:	218 
Size:	93.8 KB 
ID:	4919
    Click image for larger version. 

Name:	bp opened.jpg 
Views:	207 
Size:	94.0 KB 
ID:	4920

    BASIC BP CHECKER
    if windowcount() < 3 then
    gotolabel("bps")
    end
    BASIC HUR UP
    turn('w') wait(500,600) cast('exani hur up')
    Click image for larger version. 

Name:	hur up.jpg 
Views:	168 
Size:	92.3 KB 
ID:	4935
    Click image for larger version. 

Name:	hur down.jpg 
Views:	108 
Size:	92.2 KB 
ID:	4936

    BASIC NPC SAILOR
    reachcreature('Buddel')
    wait(500,1000)
    say("hi")
    wait(1500,2000)
    npcsay("go")
    wait(1000,1300)
    npcsay("camp")
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)
    Click image for larger version. 

Name:	ship buddle.jpg 
Views:	176 
Size:	94.3 KB 
ID:	4924

    Another way to levitate
    levitate("n","up")
    BRINGS CONTRIBUTION

    switch user
    Click image for larger version. 

Name:	switch use.jpg 
Views:	321 
Size:	91.9 KB 
ID:	4930Click image for larger version. 

Name:	switch check.jpg 
Views:	251 
Size:	92.5 KB 
ID:	4931Click image for larger version. 

Name:	label change.jpg 
Views:	199 
Size:	94.3 KB 
ID:	4932
    how to change label to a name for checker waypoint back to
    stair down Click image for larger version. 

Name:	stair down.jpg 
Views:	265 
Size:	91.7 KB 
ID:	4933
    a stand in front of and to the direction of the stairs
    Last edited by dragonicevo; 07-31-2012 at 08:16 PM.
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

  2. #2
    Normal User
    Join Date
    Apr 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    good JOB! hope some ppl will start make some free scripts with this info:P:P
    Check My Project!

    Joopov123's Knight Project!

  3. #3
    Normal User MAUROX's Avatar
    Join Date
    May 2012
    Location
    Chile
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    goood job meen

  4. #4
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    hehe i quess new people need this but dont know where to look up up look here. lolz
    yes i hope it helps new people learn how easy it can be to make a script.
    Last edited by dragonicevo; 07-17-2012 at 01:04 AM.
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

  5. #5
    Normal User
    Join Date
    Jul 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    The depositer doesnt work for me, I might be me. (first script ever made)

    Code:
    reachgrounditem("depot")
    wait(1000)
    openitem("depot")
    wait(1000)
    openitem(3502, "locker")
    wait(1500)
    openitem(dpbp, "depot chest")
    wait(1000)
    depotdeposit(dpbp, "piece of crocodile leather", "crocodile boots", "turtle shell")
    wait(200,300)
    I have the right bp setup, it just walk up to dp, open locker and deposit bp, but doesnt drop anything in the dpbp.

    Thanks in advance,
    Ove

  6. #6
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    Quote Originally Posted by Sniperove View Post
    The depositer doesnt work for me, I might be me. (first script ever made)

    Code:
    reachgrounditem("depot")
    wait(1000)
    openitem("depot")
    wait(1000)
    openitem(3502, "locker")
    wait(1500)
    openitem(dpbp, "depot chest")
    wait(1000)
    depotdeposit(dpbp, "piece of crocodile leather", "crocodile boots", "turtle shell")
    wait(200,300)
    I have the right bp setup, it just walk up to dp, open locker and deposit bp, but doesnt drop anything in the dpbp.

    Thanks in advance,
    Ove
    o for this kind of dpbp it requires 19 inside the other the same kind cheers
    im sorry i didnt quite explain it but what this one does is opens the bp in depot so that it can deposit into the many backpacks inside.
    Last edited by dragonicevo; 07-17-2012 at 02:48 AM.
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

  7. #7
    Banned
    Join Date
    Mar 2012
    Location
    Poland !
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    2
    Rep Power
    0
    Nice list man But you can change this :

    turn('w') wait(500,600) cast('exani hur up')
    levitate("n","up")

  8. #8
    Normal User
    Join Date
    Jul 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Thanks dragonicevo. Very helpful guide bro! +rep

  9. #9
    Normal User
    Join Date
    Jul 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Thanks dragonicevo. Very helpful guide bro! +rep

  10. #10
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    thanks bro i am not amazing but if it helps other to get there botting going again i am very happy with that always good to share my knowledge thanks bro for the comment and rep appreciate it.
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

Posting Permissions

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