What packages need to be installed?
I've found the following package: liblua5.1-0-dev
(from http://packages.ubuntu.com/hardy/allpackages)
Does the code need to be compiled? If so, how / what's the command line
argument?
No, it doesn't need to be compiled.
What command to run the bot?
lua mybot.lua
========================================================
Is it possible to install also a luajit runner?
http://luajit.org (take LuaJIT 2.0.0-beta5 with a hotfix applied - I could do
it)
It's Lua Just-In-Time interpreter that works MUCH-MUCH faster (up to x100) than
usual Lua interpreter.
Your runner could analyze lua header to find #/usr/local/bin/luajit as sign to
start luajit mybot.lua instead of lua mybot.lua
Unfortunately, there's no luajit package for ubuntu hardy, but it's quite easy
to install:
make
make install
ln -sf luajit-2.0.0-beta5 /usr/local/bin/luajit
luajit would allow to make much more calculations in lua to find better
strategy.
Original issue reported on code.google.com by buratin....@gmail.com on 8 Oct 2010 at 5:49
Original issue reported on code.google.com by
buratin....@gmail.com
on 8 Oct 2010 at 5:49