XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 7 of 7

Thread: lua file won't execute

  1. #1
    kmckinnon08's Avatar
    Join Date
    Jun 2012
    Posts
    97
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    lua file won't execute

    hi there,

    trying to use xeno scripts venore dragons and the lua file keeps sending me this response went I try to execute it.

    17:40 XenoScript Error:
    Script: [CONFIG] EK Venore Dragon Lair.lua
    Line #: 3
    Chunk: ...sers?KIERAN?1?DOCUME?1?XenoBot?Scripts??_CONFI? 2.LUA
    Error: attempt to index global 'Config' (a nil value)
    This is an error with user-input and should not be reported as a bug with XenoBot.

  2. #2
    Moderator Elvang's Avatar
    Join Date
    Dec 2010
    Location
    B.C. Canada
    Posts
    1,365
    Mentioned
    104 Post(s)
    Tagged
    1 Thread(s)
    You don't execute config files. Just the scripts themselves.

  3. #3
    kmckinnon08's Avatar
    Join Date
    Jun 2012
    Posts
    97
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Elvang View Post
    You don't execute config files. Just the scripts themselves.
    so what do I do with this file after I download it.. Its been a year since I used xenobot and I remember always using scripter to start .lua files.

  4. #4
    Moderator Elvang's Avatar
    Join Date
    Dec 2010
    Location
    B.C. Canada
    Posts
    1,365
    Mentioned
    104 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by kmckinnon08 View Post
    so what do I do with this file after I download it.. Its been a year since I used xenobot and I remember always using scripter to start .lua files.
    Execute the file that doesn't have the word config in it, if it doesn't have one you're missing a file.

  5. #5
    kmckinnon08's Avatar
    Join Date
    Jun 2012
    Posts
    97
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Elvang View Post
    Execute the file that doesn't have the word config in it, if it doesn't have one you're missing a file.
    I'm not quite following... It came with the xbst file that loads the settings then a file I can open on notepad ++ with the backpacks for each type of loot/supplies (that's the one with config written in the file name). If I don't load that one, it doesn't buy supplies etc. has something about xenobot changed I'm not aware of? (Probably) haha

  6. #6
    Moderator Elvang's Avatar
    Join Date
    Dec 2010
    Location
    B.C. Canada
    Posts
    1,365
    Mentioned
    104 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by kmckinnon08 View Post
    I'm not quite following... It came with the xbst file that loads the settings then a file I can open on notepad ++ with the backpacks for each type of loot/supplies (that's the one with config written in the file name). If I don't load that one, it doesn't buy supplies etc. has something about xenobot changed I'm not aware of? (Probably) haha
    No, but there is usually two lua files, the lua file which loads the information from the config file (including the .xbst) three files total.
    Last edited by Elvang; 04-16-2015 at 12:42 AM.

  7. #7
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Often you don't get to download the main lua (sometimes has the xblua exension). It will unpack itself and run automatically when you start the xbst.

Posting Permissions

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