Signup Now
Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37
  1. #31
    Free User
    Join Date
    Dec 2015
    Posts
    70
    Reputation
    10
    Rep Power
    17
    Quote Originally Posted by hellraiserdoze View Post
    Where can I get the functions and parameters, just like the "Documentation" on Main site?

    Cause many of these functions of library arent on website yet.l
    \WindBot\libs

  2. #32
    Free User
    Join Date
    Jul 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    collect loot floor to bp...bro any please =) <3

  3. #33
    Free User albino's Avatar
    Join Date
    Apr 2014
    Location
    Brazil
    Posts
    183
    Reputation
    27
    Rep Power
    21
    @Lucas Terra
    Can you add this ID for fishing function? It's from Zao Steppe river when it's flooded, to fish sandfish;

    13988 fish / 13989 no-fish

  4. #34
    Free User
    Join Date
    Dec 2015
    Posts
    48
    Reputation
    10
    Rep Power
    0
    Hi Lucas,

    I know its not the time to talk about it but i have to inform you that you don't need ( depositerbank with witdraw ) anymore in this winter update tibia able facc to trade with bank transfer system.

    Code Edited :
    PHP Code:
    function depositerbank(supplycategoryextragoldlogoutifnocash)
        
    extragold extragold or 0

        local npccount 
    0
        
    foreach creature m 'ns' do
            if 
    m.dist <= 3 then
                npccount 
    npccount 1
            end
        end
        
        
    if npccount == 0 then
            printerror
    ('Unable to find a NPC close to you')
            return
        
    end
        
        local currentnpcmsg 
    $lastnpcmsg
        local tries 
    0
        local maxtries 
    math.random(35)
        
        if 
    not ischannel('NPCs'then
            say
    ('hi')
        else
            
    npcsay('hi')
        
    end
        local t 
    $timems
        
    while $timems <= 2500 and currentnpcmsg == $lastnpcmsg do wait(100end

        
    -- deposits money
        npcsay
    ('deposit all'wait(500,1000)
        
    npcsay('yes'wait(500,1000)

        -- 
    check balance
        repeat
            npcsay
    ('balance')
        
    until waitmessage('''Your account balance is %d+'2000trueMSG_NPC)

        -- 
    withdraw needed money
        local towithdraw 
    moneytowithdraw(supplycategory) + extragold
        
    if towithdraw == 0 then
            
    return
        
    end
        repeat
            
    if $balance >= towithdraw then
                
    else
                if (
    logoutifnocashthen
                    printerror
    ('Your character has logged out because you don\'t have enough money in bank.')
                    
    xlog(true)

                    
    setcavebot('off')
                    return
                
    end
                playsoundflash
    ('monster.wav'wait(1000)
            
    end
    end 
    didn't check edited by code only

    Regards

  5. #35
    Free User Architect's Avatar
    Join Date
    Feb 2017
    Posts
    36
    Reputation
    10
    Rep Power
    0
    how depotaction() works? looked at the code but i still have no clue...

  6. #36

  7. #37
    Free User Architect's Avatar
    Join Date
    Feb 2017
    Posts
    36
    Reputation
    10
    Rep Power
    0
    @Cisco thanks! rep++

 

 

Posting Permissions

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