XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 10 of 10

Thread: Easy Mana Trainer - V1.0

  1. #1

    Join Date
    Feb 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Easy Mana Trainer - V1.0

    Hello guys,

    I would like to share my own script for mana training. I've searched a lot before create my own, but did not find anything easily.

    My script works on all depots, and low cap is necessary, as far it takes the pots from DP. All info is below, and also inside .lua file. This is my first script share, so I'm sorry if there's a better script already posted.

    Finally, we accept suggestions for future updates.

    Code:
    --[[
     _____ _    _       _____           _   
    /  ___| |  (_)     /  __ \         | |  
    \ `--.| | ___ _ __ | /  \/ __ _ ___| |_ 
     `--. \ |/ / | '_ \| |    / _` / __| __|
    /\__/ /   <| | | | | \__/\ (_| \__ \ |_ 
    \____/|_|\_\_|_| |_|\____/\__,_|___/\__|
                                   Scripting
    
    === V1.0 ===
    - First Revision
    
    
    === FUNCTIONS ===
    - Auto deposit of empty flasks on Depot Box II
    - Auto pick pots from Depot Box I
    
    
    === OFICIAL THREAD ===
    
    http://forums.xenobot.net/showthread...674#post473674
    
    
    === FAQ ===
    - To correct function of this script, 'Walker' must be enabled and configured like this:
    http://ap.imagensbrasil.org/image/FZe53
    
    - Use 'Self Healer' to correct configure spells and pots. Suggestion on image below:
    http://ap.imagensbrasil.org/image/FZwJH
    
    - Configure the mana pots to be used with formula (Total Mana-250) to prevent possible waste of pots.
    
    
    === SETUP ===
    - Go to any DP you want and be sure you have cap for at least 100 Strong Mana Pots, or the pots you've configured.
    - Put correct labels on Walker.
    - Start the script and run Walker.
    
    ]]--
    ------ LOCAL SETTINGS ------
    
    local Welcome = 0
    local MinPots = 100
    
    ------ BACKPACK SETTINGS (FUTURE UPDATES) ------
    
    local PotBP = "Jewelled Backpack"
    
    ------ IDS ------ (USE THIS IF YOU DON'T KNOW THE IDS)
    
    -- local ManaName = "Strong Mana Potion"
    -- local ManaID = Item.GetID(ManaName)
    
    ------ IDS ------
    local ManaID = 237
    local FlaskID = 283
    
    registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
    
    ------ STARTING SCRIPT ------
    function onWalkerSelectLabel(labelName)
    	if (labelName == "Start") then
    		if (Welcome == 0) then
    			print("Easy Mana Trainer - Script by SkinCast to Xenobot - V1.0")
    			Welcome = 1
    			wait(10000)
    		end
    
    ------ CHECK CONDITIONS ------
    		Walker.ConditionalGoto((Self.ItemCount(ManaID) < MinPots), "Get", "Deposit")
    
    ------ GETTING FROM DEPOT BOX I ------
    elseif (labelName == "Get") then
    		if (Self.ItemCount(ManaID) < MinPots) then
    			print("REFILLING POTS")
    			Walker.Stop()
    			Self.WithdrawItems(0, {(ManaID), 0, 100})
    			Walker.Start()
    		else
    			Walker.ConditionalGoto((0 == 0), "Deposit", "Deposit")
    		end
    
    ------ DEPOSITING EMPTY FLASKS ON DEPOT BOX I ------
    elseif (labelName == "Deposit") then
    		if (Self.ItemCount(FlaskID) >= 100) then
    			Walker.Stop()
    			print("DEPOSIT OF FLASKS")
    			Self.DepositItems({(FlaskID), 1})
    			Walker.Start()
    		else
    			print("FULL OF POTS - CONTINUING TRAINING")
    			Walker.ConditionalGoto((0 == 0), "Checker", "Checker")
    		end
    
    	end
    return
    end

    Yours,
    SkinCast
    Attached Files Attached Files
    Last edited by SkinCast; 02-19-2016 at 05:40 PM. Reason: Added code

  2. #2

    Join Date
    Feb 2012
    Posts
    124
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    is this safe?

  3. #3

    Join Date
    Jan 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tested it so far with gmps on a mage. It works pretty good.

    But after a few times resupply it browses a field near dp and cant handle the refill and deposit anymore.

    Would be awesome to fix that.

    Greets

  4. #4
    nixez's Avatar
    Join Date
    Jun 2011
    Posts
    217
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Just tested it and it's working fine till now

  5. #5
    Lifetime Subscriber buyer's Avatar
    Join Date
    Feb 2012
    Posts
    383
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    works good

  6. #6

    Join Date
    Dec 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have spotted an error, if you do not open your main bp first the bot withdraws all the pots from dp1 to dp17. Easy fix, but something you may wannt to put in FAQ

  7. #7

    Join Date
    Feb 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Freegucci View Post
    I have spotted an error, if you do not open your main bp first the bot withdraws all the pots from dp1 to dp17. Easy fix, but something you may wannt to put in FAQ
    Thanks for supporting. Already corrected, and next patch will be released soon.

  8. #8

    Join Date
    Feb 2016
    Posts
    19
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    noob question but how do i get to work ?

    duno how to add starter: get: deposit:
    Last edited by iquessso; 04-13-2016 at 11:45 AM.

  9. #9

    Join Date
    Aug 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up SCRIPT

    _____ _ _ _____ _
    / ___| | (_) / __ \ | |
    \ `--.| | ___ _ __ | / \/ __ _ ___| |_
    `--. \ |/ / | '_ \| | / _` / __| __|
    /\__/ / <| | | | | \__/\ (_| \__ \ |_
    \____/|_|\_\_|_| |_|\____/\__,_|___/\__|
    Scripting



    Dear friend.

    Script working fine. In each depot.

    But I need little help...beacouse of noob "reporting" my afk mana burner i try to set this in "Guild house" where have also 1 depot stack.

    My problem is this script dont open deposit cheest in Guild house...
    I tried to set walker on "Use lewer south before /start/get/deposit" was fine but only till second refil.

    Next time come on "BROWSE FIELD"
    And walker stuck.
    I see that when he Get pots that leave depo still open till he deposit empty flask than script close depo and here is my problem.
    Can u help me to set the Depot stay open for refil ? Its possible ?

  10. #10

    Join Date
    Aug 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by iquessso View Post
    noob question but how do i get to work ?

    duno how to add starter: get: deposit:
    EASY...

    So you open "Walker" window and all you click on this window
    -right mouse button (BY DEPOT CHEEST)
    - add stand
    - add label - name (Start)
    - add stand
    - add label - name (Get)
    - add label - name (Deposit)
    - add stand -

    When you script "Easy mana burner" is in right place you click right on your character
    Chose scripter run "easy mana burner" and put walker on.
    Rest goes alone you can go sleep and morning your m lvl is 100 GL

Posting Permissions

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