Except for needing to change my HUD, HUD.createtextitem wouldn't work I had to replace it with HUD.New everything appears to be working. Due to some other changes I need to use tostring now to force it from being an item but thats all understandable. I think not being able to use HUD.createtextitem might be a bug. In the lib you have
Code:
HUD.CreateTextDisplay = HUD.New
HUD.CreateItemDisplay = HUD.New
again executing your example script it runs into errors.
Code:
09:33 XenoScript Error:
Script: a.lua
Line #: 1
Chunk: C:?Users?soul4soul?Documents?XenoBot?Scripts?a.lua
Error: attempt to call field 'CreateTextDisplay' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.

Originally Posted by
DarkstaR
This update brings some significant modifications to the Scripter, allows .xbst settings to include .lua scripts, fixes bugs, adds the new minimap color to the pathfinder logic, and improves a lot of functionality.
With the release of version 3 of XenoBot, I just want to thank everyone who has helped me get it this far in the time that it has. I could not have done it without the support of my customers and I definitely couldn't have done it without my dedicated forum staff. Thanks guys!
Changelog:
Code:
Modified the Settings system, it will now work with Lua scripts.
When a setting is saved, it packages all running .lua scripts into the .xbst.
When a setting is loaded, it does the one of following for each .lua script:
1. If the script doesn't exist in your lua directory, it creates and executes it.
2. If the script does exist in your lua directory, and it is the same, it executes it.
3. If the script does exist in your lua directory, but it is different, it asks you if you want to replace or skip.
- Replace will replace the file currently in your lua directory with the one in the .xbst and then execute it.
- Skip will keep the file currently in your lua directory and execute it. You will have to save the .xbst to make it remember this one.
Testing this now. im encountering problems. scenario 2, 3"a", and 3"b" work fine but 1 doesnt work. I get this error.
09:23 XenoScript Error:
Script: control - South Cyclops.lua
Error: cannot open C:\Users\soul4soul\Documents\XenoBot\Scripts\contr ol - South Cyclops.lua: No such file or directory
This is an error with user-input and should not be reported as a bug with XenoBot.