Signup Now
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38
  1. #11
    Banned
    Join Date
    Dec 2013
    Posts
    150
    Reputation
    10
    Rep Power
    0
    how use resupplu in gray island?

  2. #12
    Free User
    Join Date
    Mar 2014
    Posts
    1
    Reputation
    10
    Rep Power
    0
    Hi!!... i trying to use the depositerbank with 2 categories.. but i get a message error!

    depositerbank('a','b')
    wait(1234,3456)

    The Error:
    00:18:33 error in Action script wptid:1:
    ["local towithdraw = moneytowithdraw(s..."]:LucasTerra.lua:5862 attempt to perform arithmetic on local 'extragold' (a string value)
    stack traceback:
    ["depositerbank('a', 'b')"]:Action: :18 in user script

    with i try a or b categories i´s ok..

    Tanks

  3. #13
    Free User Sajean's Avatar
    Join Date
    Feb 2014
    Posts
    386
    Reputation
    26
    Rep Power
    21
    I think you not need to put the category.
    See what documentation says.
    moneytowithdraw ( optional string supplycategories )

    Is optional only put this, do not miss to put all empty flask or any other itens you want to calculate in your supplies in supply list.

    PHP Code:
    npcsay('withdraw '..moneytowithdraw()) wait(500700

  4. #14
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,202
    Reputation
    141
    Rep Power
    10
    It should be:
    depositerbank('ab')

  5. #15
    Free User
    Join Date
    Apr 2014
    Location
    Netherlands
    Posts
    219
    Reputation
    13
    Rep Power
    20
    Quote Originally Posted by Lucas Terra View Post
    It should be:
    depositerbank('ab')
    Damn, please update thread... took me a while to find out

  6. #16
    Free User Solis's Avatar
    Join Date
    May 2014
    Location
    Sweden
    Posts
    111
    Reputation
    14
    Rep Power
    20
    great tutorial!

    But how do I change if I want to deposit if my cap is lower then 10? should it look like this?
    needresupply(10, category) ?
    and why does it take more money then needed when it goes to refill pots? :P
    Last edited by Solis; 05-15-2014 at 10:12 PM.

  7. #17
    Free User
    Join Date
    Jul 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    Great! Thank you dude...

  8. #18
    Free User
    Join Date
    Aug 2014
    Posts
    287
    Reputation
    29
    Rep Power
    20
    thanks this should help people put together a basic script and help them understand how to use labels here

  9. #19
    Free User
    Join Date
    Jan 2014
    Posts
    29
    Reputation
    10
    Rep Power
    0
    resupply() doesnt work. it just says hi>trade and didnt buy anything, im sure i got everything set correctly

  10. #20
    Free User
    Join Date
    Feb 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    i have a question...
    its necesary to have supplies container open always? or supplies visible? to use the needresupply() function?
    Because trying a cavebot script, if the supplies are not visible, its like no supplies.

 

 

Posting Permissions

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