Results 1 to 9 of 9

Thread: Refiller and backpack help

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Question Refiller and backpack help

    Hello! I wounder if i can get some help herer! Im stuck on my script :P Have looked on others script and tried to make them so i can use them

    Code:
    say("hi")
    wait(2000)
    while ((itemcount(285) + itemcount(284) + itemcount(283)) >= 0) 
    do
      npcsay("flask")
      wait(1000, 1200)
      npcsay("no")
      wait(1000, 1200)
      npcsay("yes")
      wait(1000, 1200)
    end
    wait(1000, 1200)
    npcsay("trade")
    wait(1000, 1200)
    buyitemsupto(237, 100)
    wait(1000, 1200)
    Code:
    closewindows()
    wait(500, 1000)
    openitem(2854, 'back')
    wait(500, 1000)
    resizewindows() 
    wait(500, 1000)
    openitem(2866, 2854, true)
    wait(500, 1000)
    resizewindows()

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    can you post the debug of your script so we can have some more info please?

  3. #3
    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
    sell items:
    PHP Code:
    sellitems('[ITEM_NAME]'100
    potion buyer:
    PHP Code:
    say('hi'wait(2000,2500

    while 
    itemcount(285) > or itemcount(284) > 0  or itemcount(283) > 0
    do
    npcsay('vial'wait(1000,1200
    npcsay('yes'wait(1000,1200
    end
    wait
    (2000)
    npcsay('trade')
    wait(2000)
    buyitemsupto('[Mana_Name]', [Buy_Mana], itemcount('[Mana_Name]')) wait(1000)
    buyitemsupto('[Health_Name]', [Buy_Health], itemcount('[Health_Name]')) wait(1000)
    wait(1000,1500
    npcsay('bye'
    bpreopener:
    PHP Code:
    while windowcount() < do
    closewindows()
    wait(10001500)
    openitem('[MainBpName]''back')
    wait(10001500)
    openitem('[PotionBpName]''[MainBpName]'true)
    wait(10001500)
    openitem('[LootBpName]''[MainBpName]'true)
    wait(10001500)
    openitem('[GoldBpName]''[MainBpName]'true)
    wait(10001500)
    resizewindows()
    wait(10001500)
    end 
    works 100%

  4. #4
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks for the help man

  5. #5
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Just one thing! can you do one when you buy 100 manas and have 50 on whit strong manas?

    Code:
    say('hi') wait(2000,2500) 
    
    while itemcount(285) > 0 or itemcount(284) > 0  or itemcount(283) > 0
    do
    npcsay('vial') wait(1000,1200) 
    npcsay('yes') wait(1000,1200) 
    end
    wait(2000)
    npcsay('trade')
    wait(2000)
    buyitemsupto('Strong Mana Potion', [100], itemcount('Strong Mana Potion')) wait(1000)
    wait(1000,1500) 
    npcsay('bye')
    Just gonna have manas! is this right or wrong then? ^^

  6. #6
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    And backpacks dont work for me it dosent open next bp after he open main backpack! :/

    I have brown at main, and then yellow and camoflague in the main backpack!

    Code:
    while windowcount() < 3 do
    closewindows()
    wait(1000, 1500)
    openitem('Backpack', 'back')
    wait(1000, 1500)
    openitem('Yellow Backpack', 'Backpack', true)
    wait(1000, 1500)
    openitem('Camoflage Backpack', 'Backpack', true)
    wait(1000, 1500)
    resizewindows()
    wait(1000, 1500)
    end
    What is wrong?? I think i did like you told me :/

  7. #7
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I solved the backpack problem I use this and it works great now but thanks for your help! Still havent got the manas working :/


    Code:
    closewindows()
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
    wait(500,1000)
    openitem('Backpack', 'back')
    wait(500,1000)
    resizewindows()
    wait(500,1200)
    openitem('Camouflage Backpack', 'Backpack', true)
    wait(300,500)
    resizewindows()
    openitem('Yellow Backpack', 'Backpack', true)
    wait(300,500)
    resizewindows()

  8. #8
    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
    PHP Code:
    say('hi'wait(2000,2500

    while 
    itemcount(285) > or itemcount(284) > 0  or itemcount(283) > 0
    do
    npcsay('vial'wait(1000,1200
    npcsay('yes'wait(1000,1200
    end
    wait
    (2000)
    npcsay('trade')
    wait(2000)
    buyitemsupto('Strong Mana Potion'100itemcount('Strong Mana Potion')) wait(1000)
    wait(1000,1500
    npcsay('bye'
    now is good

  9. #9
    Normal User
    Join Date
    Aug 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks! Works fine now! But just one more question.. Can i do like this if i dont got any vials on me? Becouse sometimes i got vials on me and next time i dont got any xD

    Code:
    say('hi') wait(2000,2500) 
    
    npcsay('vial') wait(1000,1200) 
    npcsay('yes') wait(1000,1200) 
    wait(2000)
    npcsay('trade')
    wait(2000)
    buyitemsupto('Strong Mana Potion', 100, itemcount('Strong Mana Potion')) wait(1000)
    wait(1000,1500) 
    npcsay('bye')

Posting Permissions

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