Results 1 to 9 of 9

Thread: Will not talk to npc/open bps/looting issues

  1. #1
    Focus Group Spike33's Avatar
    Join Date
    Jun 2012
    Posts
    378
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    55
    Rep Power
    5

    Will not talk to npc/open bps/looting issues

    I have try'ed a few scripts now and non of them will talk to the npc or open the backpacks.

    I have the backpack set ups correct and if I change the looting to that exact backpack color it will loot but if not it wont even loot.
    So i'm not sure what is up with that but its really weird.

    Also the bot will walk up to the npc it needs to go to and wait there for a few seconds but it will not speak to the npc at all.
    I checked the codes and they all seem correct so i'm wondering if I can get some help on these issues.

  2. #2
    Banned
    Join Date
    May 2012
    Location
    Rio de Janero - RJ / Canada
    Posts
    870
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    0
    Spike can u post the actions you are using here?
    post ur debug log too (ibot > Help > debug)

  3. #3
    Focus Group Spike33's Avatar
    Join Date
    Jun 2012
    Posts
    378
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    55
    Rep Power
    5
    This is not my code btw!


    Code:
    -- Setup:
        
     UseMount = true
           
    --_____________Backpack Setup______________
         MainBPname = "dragon backpack"
         LootBPname = "crystal Backpack"
         GoldBPname = "brocade Backpack"
         SupplyBPname = "backpack of holding"
    
    --______________Depot Setup________________
         MainDepotname = "Fur Backpack"
         AddonDepotname = "red Backpack"
         LootDepotname = "Fur Backpack"
    
    --________________Pots___________________
         ManaName = "strong mana potion"
         ManaBuy = 200
         Mana_Check = 40
    
         
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    --______________DO NOT CHANGE THIS_____________
    
         PotID = itemid(ManaName)
         PotPrice = itemcost(ManaName)



    The debug log after running script for 10 secs


    8:42 AM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'antifurnituretrap' (a nil value)
    8:42 AM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'antifurnituretrap' (a nil value)
    8:42 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:6: attempt to call global 'windowcount' (a nil value)
    8:42 AM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'antifurnituretrap' (a nil value)
    8:42 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:1: attempt to call global 'openitem' (a nil value)
    8:42 AM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'antifurnituretrap' (a nil value)
    8:43 AM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'antifurnituretrap' (a nil value)
    8:43 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'windowcount' (a nil value)
    8:43 AM : LUA:PersistentAction - LuaInterface.LuaScriptException: [string "chunk"]:2: attempt to call global 'antifurnituretrap' (a nil value)
    8:43 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:1: attempt to call global 'itemcount' (a nil value)
    8:43 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:1: attempt to call global 'islocation' (a nil value)
    8:43 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:1: attempt to call global 'islocation' (a nil value)
    8:43 AM : LUA:CaveBotAction - LuaInterface.LuaScriptException: [string "chunk"]:3: attempt to call global 'windowcount' (a nil value)

  4. #4
    Normal User ToadZ's Avatar
    Join Date
    Jul 2012
    Location
    Tarantula Caves - Tiquanda
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    Code:
    antifurnituretrap(weapontouse)
    Code:
    windowcount(optional string locationname)
    Code:
    openitem(string item, optional string locationfrom, optional bool new, optional int index)
    Code:
    islocation()

  5. #5
    Focus Group Spike33's Avatar
    Join Date
    Jun 2012
    Posts
    378
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    55
    Rep Power
    5
    I'm lost, please explain

  6. #6
    Normal User ToadZ's Avatar
    Join Date
    Jul 2012
    Location
    Tarantula Caves - Tiquanda
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    Quote Originally Posted by Spike33 View Post
    I'm lost, please explain
    Try download bot again or check iBot > Library > standard.lua...

    Also check if stardard are at libraries, Actions > Library.

  7. #7
    Focus Group Spike33's Avatar
    Join Date
    Jun 2012
    Posts
    378
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    55
    Rep Power
    5
    I checked it was there.
    I downloaded the bot again in case and still same issues and the standard.lua is still there

    Any other ideas?

  8. #8
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    can you add me?
    nosekim_ibot@live.com

  9. #9
    Focus Group Spike33's Avatar
    Join Date
    Jun 2012
    Posts
    378
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    55
    Rep Power
    5
    Ill add you in about 5 mins on my way home right now

    added
    Last edited by Spike33; 08-20-2012 at 02:26 PM.

Posting Permissions

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