[Defconapi] Lua API GetDistance() Not Working?

Peter Cawley defcon-ai at corsix.org
Sun Feb 21 10:29:57 CST 2010


On Tue, Feb 16, 2010 at 4:09 PM, Peter Cawley <defcon-ai at corsix.org> wrote:
> I'll try to fix this and put out a new version soon (though this may
> not be until the weekend).

New version which should fix the reported issue:
http://www.corsix.org/defcon_luabot/version-0.3.zip

The other change with this version is that renaming the DLL causes a
change to the filename which the DLL tries to load: "Note that if the
DLL is renamed to something other than luabot.dll, then the default
filename and command line option will change accordingly. For example,
if renamed to mybot.dll, then the expected file will be
AI\mybot\main.lua, and the command line mybot="AI\other\bot.lua"  will
cause AI\other\bot.lua to be loaded instead. ".


More information about the Defconapi mailing list