Results 1 to 9 of 9

Thread: Open item (Inbox)

  1. #1
    Normal User Mohamed2811's Avatar
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Open item (Inbox)

    Hello guys,
    So i need to make this action work, which will go to the nearest free dp open it and open the inbox not the depot chest.
    what shall I do ?

    reachgrounditem("depot")
    wait(1000,1500)
    openitem('depot')
    wait(1000,1500)
    openitem('inbox' , 'Locker' , false , 0)
    wait(1000,1500)

    while (itemcount("Dwarven Ring", MainBP) < 20)
    do
    moveitems("Dwarven Ring", Inbox, MainBP, 20)
    wait(1000)
    end

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    test this
    PHP Code:
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp","no")
    reachgrounditem("depot")
    wait(1000,1500)
    openitem("depot")
    wait(1000,1500)
    openitem("Inbox""Locker")
    wait(1000,1500)

    while (
    itemcount("Dwarven Ring"MainBP) < 20) do 
        
    moveitems("Dwarven Ring""Inbox"MainBP20wait(1000)
    end
    setsettings
    ("Settings\\CaveBot\\Settings\\OpenNextBp","if cavebot enabled"

  3. #3
    Normal User Mohamed2811's Avatar
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Same :/ It still wouldn't open the inbox, Stuck at the locker

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Try:
    PHP Code:
    INBOX_ID 00000 -- CHANGE ME TO THE INBOX ID

    setsettings
    ("Settings\\CaveBot\\Settings\\OpenNextBp","no"
    reachgrounditem("depot"
    wait(1000,1500
    openitem("depot"
    wait(1000,1500
    openitem(INBOX_ID"Locker"
    wait(1000,1500

    while (
    itemcount("Dwarven Ring"MainBP) < 20) do  
        
    moveitems("Dwarven Ring"INBOX_IDMainBP20wait(1000
    end 
    setsettings
    ("Settings\\CaveBot\\Settings\\OpenNextBp","if cavebot enabled"
    Use this to get the ID of the inbox(close all bps and open depot(put in new action))
    PHP Code:
    print(getcontainer(0).items[2].id) -- Will be displayed in the debug console 
    I'm not at home atm so I cant check it out myself :P

  5. #5
    Normal User Mohamed2811's Avatar
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    7:17 PM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "local function index(obj,name)..."]:7: exception indexing '2' Exception has been thrown by the target of an invocation.
    Got that error by the ID script, Used blackd to get the ID and its 6632
    nothing works and its still stuck at the locker, Won't open the inbox no idea why

  6. #6
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Let's hope Jo fixes it in the next update then.

  7. #7
    Normal User Mohamed2811's Avatar
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Hopefully!
    I'll keep searching tho for a way around this

  8. #8
    Normal User Mohamed2811's Avatar
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Still looking for help, Help me please

  9. #9
    Normal User eng.mahmoud's Avatar
    Join Date
    Nov 2012
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    try this
    reachgrounditem("depot")
    wait(2000)
    openitem("depot")
    wait(2000)
    openitem(3502,"inbox" , "locker")
    wait(2000)
    while (itemcount("Dwarven Ring", MainBP) < 20)
    do
    moveitems("Dwarven Ring", Inbox, MainBP, 20)
    wait(1000)
    end

Posting Permissions

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