oleczek7 Posted July 4, 2012 Share Posted July 4, 2012 (edited) Hi. I have problem with lua script. I downloaded this script http://mygamingtalk....-territory-lua/ and there is write 4. Add "autopromotion.lua" to lua_modules cvar. Ok I add this on my silent.cfg. When I run my server and type lua_status this gives me LUA API: No scripts loaded. I don't know why. My Silent version is 0.5.2 Anyone can help me ? Edited July 8, 2012 by hellreturn Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 4, 2012 Management Share Posted July 4, 2012 Does the log say anything about the Lua script when the map starts? Also, do remember to set the lua_allowedModules to empty unless you have the correct checksums for the script. Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 4, 2012 Author Share Posted July 4, 2012 Here is my Log: 0:12 ------------------------------------------------------------0:12 InitGame: \omnibot_playing\0\mod_url\http://mygamingtalk....l\84\version\ET 2.60b win-x86 May 8 2006\g_maxConnsPerIP\4\omnibot_enable\0\g_antilagDelay\0\g_heavyWeaponRestriction\100\g_antilag\1\g_maxlives\0\g_friendlyFire\1\sv_floodProtect\0\sv_maxPing\0\sv_minPing\0\sv_maxRate\45000\sv_minguidage\0\sv_punkbuster\0\sv_hostname\ETHost\timelimit\20\sv_maxclients\1\g_maxGameClients\0\g_maxlivesRespawnPenalty\00:12 Start of warmup.0:12 Cheat logfile open: cheat.log0:12 Execing default.cfg mapconfig for 0 players.0:12 * Execed total of 19 commands from the config file.0:12 Execing oasis.cfg mapconfig for 0 players.0:12 * Config file "mapconfigs/oasis.cfg" was not found.0:12 *=====INITIALISING USER DATABASE0:12 * Opening user database file userdb.db.0:12 * Opening user database file userxdb.db.0:12 * User database files open. Caching database.0:12 1 players cached from the user database.0:12 No additional user records in the user database.0:12 *=====DATABASE READY FOR USE0:12 Lua API: can not open file autopromotion.lua0:13 ClientConnect: 00:13 Userinfo: \cg_ident\001FD08BF96D5DDE\cg_etver\4\cg_cmodbuild\win-x86 Jun 22 2012\cg_uinfo\13 0 100\sil_guid\CD8C96A949F3F079C9EB1885955BFBEB:2\g_password\none\cl_guid\70C34B651A2A6CAF9F14893F4809776C\cl_punkbuster\1\cl_anonymous\0\snaps\20\rate\25000\name\olko\cl_wwwDownload\1\ip\localhost0:13 ClientUserinfoChanged: 0 n\olko\t\3\c\0\r\0\m\0000000\s\0000000\df\0\dn\\dr\0\w\0\lw\0\sw\0\mu\0\ref\1\uci\255\lc\0\tv\0\sc\00:13 Userinfo: \cg_ident\001FD08BF96DCD3D\cg_etver\4\cg_cmodbuild\win-x86 Jun 22 2012\cg_uinfo\13 0 100\sil_guid\CD8C96A949F3F079C9EB1885955BFBEB:2\cl_guid\70C34B651A2A6CAF9F14893F4809776C\cl_punkbuster\1\cl_anonymous\0\snaps\20\rate\25000\name\olko\cl_wwwDownload\1\ip\localhost0:13 ClientBegin: 00:19 === ShutdownGame -------------------------------------------0:19 *=====CLOSING DATABASE0:19 Buffers cleaned.0:19 Big Memory Cache cleaned.0:19 *=====DATABASE IS CLOSED0:19 ShutdownGame: done. Closing log.0:19 ------------------------------------------------------------ Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 4, 2012 Management Share Posted July 4, 2012 0:12 Lua API: can not open file autopromotion.lua That is the line which tells the problem. Please make sure you have the file named autopromotion.lua in your silent folder. Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 4, 2012 Author Share Posted July 4, 2012 Yes. I have file named autopromotion.lua Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 4, 2012 Management Share Posted July 4, 2012 Please ensure that it is in the silent folder, there are no typos in the name and that the file is readable. By readable I mean that the file is accessible by the server process. For example you have copied the file there as a root or some other user then the server process is running. You need to chmod the file in such case so that the user account the server is running can access the file. Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 4, 2012 Author Share Posted July 4, 2012 (edited) On the picture there is autopromotion file and don't have typos.http://img560.imageshack.us/img560/9782/36099841.jpg Edited July 4, 2012 by oleczek7 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 4, 2012 Management Share Posted July 4, 2012 Please check the file type using command prompt and the dir command. There really is no bug with opening Lua files by the mod. Dragonji 1 Quote Link to comment Share on other sites More sharing options...
oleczek7 Posted July 5, 2012 Author Share Posted July 5, 2012 Ok. Thx everythings now OK . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.