Lua extras --------- Date: 2nd September 2006 Compiled by Nick Gammon - www.gammon.com.au This directory contains various DLLs for use with MUSHclient versions that use Lua 5.1. This would be MUSHclient version 3.80 onwards. These all require the Lua DLL named: lua5.1.dll (supplied) Note that you need to use 'package.require' to load these now, rather than just 'require'. You would normally put the DLL into the same directory as MUSHclient.exe. The entry point name is needed for the package.require function call. For example: assert (package.loadlib ("odbc.dll", "luaopen_luasqlodbc")) () luacom - COM access for Lua ------ DLL: luacom.dll (200 Kb, in file luacom.zip) Entry point: luacom_open See: http://www.gammon.com.au/forum/?id=6022 mysql - MySQL database access ----- DLL: mysql.dll (68 Kb, in file mysql.zip) Entry point: luaopen_luasqlmysql See: http://www.gammon.com.au/forum/?id=5983 ODBC - ODBC database access ---- DLL: odbc.dll (68 Kb, in file odbc.zip) Entry point: luaopen_luasqlodbc See: http://www.gammon.com.au/forum/?id=6324 G15 - Logitech G15 gamers keyboard interface --- DLL: G15_Display.dll (88 Kb, in file G15_Display.zip) Entry point: luaopen_g15 See: http://www.gammon.com.au/forum/?id=6656 Windows Utils -- couple of utilities ------------- DLL: windows_utils.dll (56 Kb, in file windows_utils.zip) Entry point: luaopen_windows_utils See: http://www.gammon.com.au/forum/bbshowpost.php?id=6581 lua5.1.exe - (48 Kb, in file lua5.1.zip) stand-alone executable for testing Lua ---------- lua5.1.dll - (208 Kb, in file lua5.1.zip) the DLL needed to be used with most of the above programs/DLLs ---------- luac5.1.exe - (200 Kb, in file luac5.1.zip) compiler to turn Lua source files into Lua binary (precompiled files) ----------- lua5.1.lib - (25 Kb, in file lua5.1_lib.zip) library for linking your own programs against lua5.1.dll ---------- include directory (in file lua5.1_lib.zip) ------- In this directory are the include files for Lua 5.1 that you can use to compile your own libraries: luaconf.h --> as modified by Nick Gammon, described below lua.h lauxlib.h lualib.h Lua 5.1 compilation options --------------------------- The following changes were made to the default settings for the source for Lua 5.1.1 (see luaconf.h): #undef LUA_COMPAT_VARARG // using new varargs method #undef LUA_COMPAT_MOD // using math.fmod or % operator #undef LUA_COMPAT_LSTR // new long strings#undef LUA_COMPAT_GFIND // string.gfind obsolete now #define LUA_COMPAT_OPENLIB // for compatability with some DLLs #define LUA_USELONGLONG // we can use 64-bit integers #define LUA_INTFRMLEN "I64" // Microsoft VC++ version #define LUA_INTFRM_T __int64 // Microsoft VC++ version