XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 4 of 4

Thread: Refill spears from depot

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Join Date
    Jan 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Refill spears from depot

    Hi.

    I have a problem with refilling spears from depot. My character do not refill missing spears. I do not know how can i repair it.

    Here is a fragment of code.

    Code:
    ---Paladin Options----
    
    local AmmoID = 3277 	
    
    local MaxAmmo = 10 	                        
    
    local AmmoDP = 2 		
    
    local AmmoLeave = 3
    Code:
    elseif (labelName == "GetAmmo") then
        Container.GetByName("Locker"):OpenChildren({3502, true}) 			
            wait(500,600)
        Container.GetByName("Locker"):Close() 			 		
            wait(500,600)
            Self.WithdrawItems(AmmoDP, {AmmoID, 1, MaxAmmo-Self.ItemCount(AmmoID)}) 
            wait(200,400)
    I have 200 spears in 3rd chest in depot.

    Thanks in advance!

    P.S. Sorry about my bad english
    @edit

    I have a problem with depositor too.

    Here is the code:

    Code:
    elseif (labelName == "DP") then
    		Walker.Stop()
    		wait(1600,2400)
    		Self.DepositItems({9692, 0}, {11485, 0}, {8031, 0}, {12600, 0}, {11473, 0}, {5894, 0}, {9689, 0})
    		wait(500,1500)
    		Self.DepositItems({11512, 1}, {11465, 1}, {10275, 1})
    		wait(500,1500)
    		Self.DepositItems({3277, 2})
    Last edited by Quinn1202; 01-04-2016 at 01:32 PM.

Tags for this 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
  •