Results 1 to 8 of 8

Thread: What's wrong ??

  1. #1
    Normal User
    Join Date
    Jul 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    8
    Rep Power
    0

    Lightbulb What's wrong ??

    Hello it;s my deposit function. I don't know what's wrong if some1 can look at this and tell me i will be very happy .



    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    openitem(stashBp, "depot chest")
    wait(5000,6000)
    openitem(stashBp, "depot chest")
    wait(5000,6000)
    depotdeposit(bagBp, "bag of apple slices"}
    wait(5000,6000)
    depotdeposit(rodBp, "necrotic rod"}
    wait(5000,6000)
    depotdeposit(rarBp, "stuffed toad", "witch hat"}
    wait(5000,6000)
    depotdeposit(steelhelmetBp, "steel helmet"}
    wait(5000,6000)
    depotdeposit(stackableBp, "star herb" , "rope belt" , "witch broom" , "dark rosaries" , "small diamond" , "life crystal" , "centipede legs" , "safety pins" , "book of prayers" , "spider fang" , "tarantula egg" , "bat wing")
    wait(5000,6000)
    depotdeposit(nonstackableBp, "silver dagger", "Time Ring", "Terra Rod", "Bonelord Shield", "Life Ring", "Guardian Shield", "War Hammer", "Deer Trophy", "Leopard Armor" ,"Horseman Helmet")
    wait(5000,6000)
    closewindows()
    wait(1700,2000)
    openitem(mainBp, "back", true)
    wait(2000)
    resizewindows()
    wait(2000)

  2. #2
    Normal User StaR Scripts's Avatar
    Join Date
    Sep 2013
    Location
    Manchester, England
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    4
    Are all these variables in the 'Setup'?
    • stashBp
    • bagBp
    • rodBp
    • rarBp
    • steelhelmetBp
    • stackableBp
    • nonstackableBp
    • mainBp

  3. #3
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    show us your SETUP

  4. #4
    Normal User
    Join Date
    Jul 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    8
    Rep Power
    0
    here you are :
    -- Depot Setup

    stashBp = "zaoan chess box" -- Backpack inside depo containing backpacks to store loot
    stackableBp = "Purple Backpack" -- Stackable Items Backpack
    nonstackableBp = "Red Backpack" -- Non-Stackable Items Backpack
    rodBp = "Yellow Backpack" -- backpack na necrotic rody
    bagBp = "Brocade Backpack" -- backpack na bag of apple slices
    rarBp = "Green Backpack" -- rar itemy np : witch hat, stuffed toad
    steelhelmetBp = "Blue Backpack" -- steel helmet backpack

    But i thnik setup is ok, just bot don't open dp idk why ;/

    //
    I think when some1 know how to do deposit function know something about setup ;D

  5. #5
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Quote Originally Posted by matthef@go2.pl View Post

    But i thnik setup is ok, just bot don't open dp idk why ;/
    use this for opening the depot:
    Lua Code:
    while windowcount("depot chest") == 0 do
    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    end
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  6. #6
    Normal User
    Join Date
    Jul 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    8
    Rep Power
    0
    Ok i will try ; D maybe zaoan chess box dont work . But i rly need it coz i try to use 4 bp's every color.

  7. #7
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Try to use the ID instead of the name(zaoan chess box).

    To check id use this:
    print(itemid("zaoan chess box"))

  8. #8
    Normal User
    Join Date
    Jul 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    8
    Rep Power
    0
    while windowcount("depot chest") == 0 do
    reachgrounditem("depot")
    wait(1000,2000)
    openitem("depot")
    wait(700,900)
    openitem(3502, "locker")
    wait(700,900)
    end
    openitem(18339, "depot chest")
    wait(5000,6000)
    depotdeposit(bagBp, "bag of apple slices"}
    wait(5000,6000)
    depotdeposit(rodBp, "necrotic rod"}
    wait(5000,6000)
    depotdeposit(rarBp, "stuffed toad", "witch hat",}
    wait(5000,6000)
    depotdeposit(steelhelmetBp, "steel helmet",}
    wait(5000,6000)
    depotdeposit(stackableBp, "star herb" , "rope belt" , "witch broom" , "dark rosaries" , "small diamond" , "life crystal" , "centipede legs" , "safety pins" , "book of prayers" , "spider fang" , "tarantula egg" , "bat wing")
    wait(5000,6000)
    depotdeposit(nonstackableBp, "silver dagger", "Time Ring", "Leopard Armor" ,"Horseman Helmet")
    wait(5000,6000)
    closewindows()
    wait(1700,2000)
    openitem(mainBp, "back", true)
    wait(2000)
    resizewindows()
    wait(2000)

    still don;t work ;/

    Debuger show me this. I rly don;t know what this mean ;D
    09:20 : LUAoAction:Cavebot: - LuaInterface.LuaScriptException: [string "chunk"]:21: ')' expected near '}'

    omg i must change { for this ( xD omg .

    Thanks all for Help !! ;D
    Last edited by matthef@go2.pl; 11-09-2013 at 05:35 AM.

Posting Permissions

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