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

Thread: Need help

  1. #1
    Premium User zezaway's Avatar
    Join Date
    Mar 2012
    Location
    Brasil
    Posts
    300
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    45
    Rep Power
    5

    Need help

    Sup guys, i need some help.. i wanna learn how to create a optional area on a script.. like it on setup: for exemple: -- Hunt massacres - true -- true/false something like that.

    Ah and to open the bps to go hunt i need to make a great action like this: openbp ("Golden backpack") ("back").. or i can just make openbps() ?

    If you could help me

    Check my free scripts thread!

  2. #2
    iBot User
    Join Date
    Mar 2012
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    24
    Rep Power
    5
    Checking if go Massacre
    You'll put this option on the setup:
    Code:
    MassHunt = true
    Then, you'll have to create 1 action before the Massacre hunt to check, and another waypoint after it on the same place (or close) you created the first one (the action to check if go to the hunt)
    Rename the waypoint after the Massacre Hunt to "LeaveMassacre" and put this code on the action before the hunt to check if it'll go or not:
    Code:
    if not MassHunt then
        gotolabel("LeaveMassacre")
    end



    Opening Backpacks
    Create the variables on the setup, like:
    Code:
    MainBP = 'backpack of holding'
    SupplyBP = 'grey backpack'
    LootBP = 'crown backpack'
    GoldBP = 'jewelled backpack'
    And create an action on the start of the script with this:
    Code:
    openitem(MainBP, "back")
    resizewindows()
    wait(500, 1200)
    openitem(SupplyBP, MainBP, true)
    resizewindows()
    wait(500, 900)
    openitem(LootBP, MainBP, true)
    resizewindows()
    wait(500, 900)
    openitem(GoldBP, MainBP, true)
    resizewindows()
    wait(500, 900)



    Did i help? Give a Rep plz
    Usefull Links:
    • Nothing at the moment


    Did i help? Rep plz. /~/ Ajudei? Rep plz.
    Give me a Rep

    Contact: rafaneo399@hotmail.com
    Twitter: @Rafa399_Scripts

  3. #3
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    Or you can create a little function for don't need use this big code ever, see.

    PHP Code:
    function openbps()
    openitem(MainBP"back")
    resizewindows()
    wait(5001200)
    openitem(SupplyBPMainBPtrue)
    resizewindows()
    wait(500900)
    openitem(LootBPMainBPtrue)
    resizewindows()
    wait(500900)
    openitem(GoldBPMainBPtrue)
    resizewindows()
    wait(500900)
    end 
    Just put it on your setup, and all time that want openbps, use openbps().

    Enjoy.

  4. #4
    iBot User
    Join Date
    Mar 2012
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    24
    Rep Power
    5
    Quote Originally Posted by Blong View Post
    Or you can create a little function for don't need use this big code ever, see.

    PHP Code:
    function openbps()
    openitem(MainBP"back")
    resizewindows()
    wait(5001200)
    openitem(SupplyBPMainBPtrue)
    resizewindows()
    wait(500900)
    openitem(LootBPMainBPtrue)
    resizewindows()
    wait(500900)
    openitem(GoldBPMainBPtrue)
    resizewindows()
    wait(500900)
    end 
    Just put it on your setup, and all time that want openbps, use openbps().

    Enjoy.
    I like it :P
    Rep+ to u ^^
    Usefull Links:
    • Nothing at the moment


    Did i help? Rep plz. /~/ Ajudei? Rep plz.
    Give me a Rep

    Contact: rafaneo399@hotmail.com
    Twitter: @Rafa399_Scripts

  5. #5
    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
    this is english forums anyways good to see you got it now
    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

  6. #6
    Premium User zezaway's Avatar
    Join Date
    Mar 2012
    Location
    Brasil
    Posts
    300
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    45
    Rep Power
    5
    I need help.. about a action to my character turn to a side and say exani hur up/down someone can help?

    Check my free scripts thread!

  7. #7
    iBot User
    Join Date
    Mar 2012
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    24
    Rep Power
    5
    Quote Originally Posted by zezaway View Post
    I need help.. about a action to my character turn to a side and say exani hur up/down someone can help?
    This is the english part of the forum, so i'll explain in both languages, so u can understand and the others too...

    English:
    Just use:
    Code:
    turn('n')
    wait(300, 900)
    cast('exani hur up')
    The "n" mean "north"... To turn to another side the letters is:

    w - west - left - <
    e - east - right - >
    s - south - down - \/
    n - north - up - /\


    Portugues:
    Só usar:
    Code:
    turn('n')
    wait(300, 900)
    cast('exani hur up')
    Onde "n" significa "north"... Pra virar pros outros lados as letras são:

    w - west - oeste - esquerda - <
    e - east - leste - direita - >
    s - south - sul - baixo - \/
    n - north - norte - cima - /\
    Last edited by rafael399; 01-05-2013 at 07:11 PM.
    Usefull Links:
    • Nothing at the moment


    Did i help? Rep plz. /~/ Ajudei? Rep plz.
    Give me a Rep

    Contact: rafaneo399@hotmail.com
    Twitter: @Rafa399_Scripts

  8. #8
    Premium User zezaway's Avatar
    Join Date
    Mar 2012
    Location
    Brasil
    Posts
    300
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    45
    Rep Power
    5
    Quote Originally Posted by rafael399 View Post
    Só usar:
    Code:
    turn('n')
    wait(300, 900)
    cast('exani hur up')
    Onde "n" seria "north"... Pra virar pros outros lados as letras são:

    w - west - oeste - esquerda - <
    e - east - leste - direita - >
    s - south - sul - baixo - \/
    n - north - norte - cima - /\
    Vlww!!
    Estou tendo problema no bank ;S o depositer n ta funfando.. n conssigo baixar a merda da library do fag --', o download vem .txt

    Check my free scripts thread!

  9. #9
    iBot User
    Join Date
    Mar 2012
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    24
    Rep Power
    5
    Quote Originally Posted by zezaway View Post
    Vlww!!
    Estou tendo problema no bank ;S o depositer n ta funfando.. n conssigo baixar a merda da library do fag --', o download vem .txt
    What's the problem?
    Qual o problema?
    Usefull Links:
    • Nothing at the moment


    Did i help? Rep plz. /~/ Ajudei? Rep plz.
    Give me a Rep

    Contact: rafaneo399@hotmail.com
    Twitter: @Rafa399_Scripts

  10. #10
    Premium User zezaway's Avatar
    Join Date
    Mar 2012
    Location
    Brasil
    Posts
    300
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    45
    Rep Power
    5
    Quote Originally Posted by rafael399 View Post
    What's the problem?
    Qual o problema?
    Lets speak english , listen i have to download faj library cuz im using he actions, if u could help me give me actions like: depositer/bank/pots who dont need faj library.. the problem is that im making a pally version so it need to withdraw spear money and get money to travel

    Check my free scripts thread!

Posting Permissions

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