Page 1 of 1

add feature: allow user write combat block at Lua

Posted: Wed May 02, 2012 3:41 am
by onetwothree
just curious: is sometime possible make such thing: ))

as for me fighting bot is too stupid..
it tries work with skills set and config values, and very often this is just not agile enough, and requires tricks etc....

as i see - main program is written at c#.

exists libs that allows c# programs include and run 3rd party LUA scripts without modifing/rebuidling source program.
LUA - is simple scripting language that can be very quickly learned.
And it is agile enough to write good fighting scripts at it.

So insteed of placing a lot config values for skills for fight, prefight, buffs, etc - just have interface to LUA module to call skills and check states, and and with help of this interface write lua scripts for fight part ))

i understand that this is big enough change at bot and require a lot of work )),
but it will be so agile and good for tune bot, so it could be tuned very well )))