XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 6 of 6

Thread: Magic Trainer at NPC

  1. #1

    Join Date
    Dec 2011
    Posts
    18
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Magic Trainer at NPC

    Hi, I'm fairly experienced with xenobot, I'm looking for a basic script to stand at an npc, buy potions and sell the vials. I can use settings within the support tab to control the mana waste so like I said I just need the script that will buy the pots so I can waste some KK's fully afk. If anyone can help, or can suggest another method (ps I dont have a house, so the only other way would be to stock my dp and spam the pots from there) It would be greatly appreciated! Thanks alot everyone happy botting

    Currently my ED is lvl 185, with base ML 89! Im wanting 95-100 base ML on him, and I've got the cash and vouchers to make it happen

  2. #2
    Senior Member Jontor's Avatar
    Join Date
    Sep 2014
    Posts
    446
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Open trade window and launch, make sure to have correct settings in support -> healing
    Code:
    while (true) do
        Self.ShopBuyItemsUpTo("great mana potion", 100)
        Self.ShopSellFlasks()
        wait(10000)
    end

  3. #3
    Senior Member Tobjun's Avatar
    Join Date
    Feb 2013
    Location
    Sweden, Skellefteċ
    Posts
    496
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Is it safe to do this training at the npc?, should be many reports? Also can i just change that script to

    while (true) do
    Self.ShopBuyItemsUpTo("strong mana potion", 100)
    Self.ShopSellFlasks()
    wait(10000)
    end

    and last noob question, do i just make it a script and execute it? xD im not so experienced lol
    Suprise motherfucker, Play some dice motherfucker, Pk in thais motherfucker.

  4. #4
    Senior Member Tobjun's Avatar
    Join Date
    Feb 2013
    Location
    Sweden, Skellefteċ
    Posts
    496
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jontor View Post
    Open trade window and launch, make sure to have correct settings in support -> healing
    Code:
    while (true) do
        Self.ShopBuyItemsUpTo("great mana potion", 100)
        Self.ShopSellFlasks()
        wait(10000)
    end
    Okay nvm i just tested, tho is it possible to add that it wont do this unless i have 60 mana potions? cause its stacking upp 100 gps in my backpack so eventually i have no space anywhere, stuff gets on the floor, but if it sell every 20 / 40 / 60 i get a plat instead
    Suprise motherfucker, Play some dice motherfucker, Pk in thais motherfucker.

  5. #5
    Senior Member Jontor's Avatar
    Join Date
    Sep 2014
    Posts
    446
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Tobjun View Post
    Okay nvm i just tested, tho is it possible to add that it wont do this unless i have 60 mana potions? cause its stacking upp 100 gps in my backpack so eventually i have no space anywhere, stuff gets on the floor, but if it sell every 20 / 40 / 60 i get a plat instead
    Try this one

    Code:
    while (true) do
        Self.ShopBuyItemsUpTo("great mana potion", 100)
        for id = 283, 285 do
            if (Self.ItemCount(id) % 20 == 0) then
                Self.ShopSellFlasks()
            end
        end
    end

  6. #6
    Senior Member Tobjun's Avatar
    Join Date
    Feb 2013
    Location
    Sweden, Skellefteċ
    Posts
    496
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jontor View Post
    Try this one

    Code:
    while (true) do
        Self.ShopBuyItemsUpTo("great mana potion", 100)
        for id = 283, 285 do
            if (Self.ItemCount(id) % 20 == 0) then
                Self.ShopSellFlasks()
            end
        end
    end
    Thanks for making my life easier <3
    Suprise motherfucker, Play some dice motherfucker, Pk in thais motherfucker.

Posting Permissions

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