View Full Version : lua file won't execute
kmckinnon08
04-15-2015, 08:44 PM
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.
Elvang
04-15-2015, 10:26 PM
You don't execute config files. Just the scripts themselves.
kmckinnon08
04-15-2015, 10:44 PM
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.
Elvang
04-15-2015, 11:52 PM
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.
kmckinnon08
04-16-2015, 12:04 AM
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
Elvang
04-16-2015, 12:35 AM
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.
shadowart
04-16-2015, 12:43 AM
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.