User:Phenomenon: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
Line 6: Line 6:
===== Requirements =====
===== Requirements =====


:Wolfenstein - Enemy Territory (patched to v2.60b) - ''[http://www.splashdamage.com splashdamage.com]''
*Wolfenstein - Enemy Territory (patched to v2.60b) - ''[http://www.splashdamage.com splashdamage.com]''


:ET Pro 3.2.6 or higher - ''[http://etpro.anime.net etpro.anime.net]''
*ET Pro 3.2.6 or higher - ''[http://etpro.anime.net etpro.anime.net]''
 
:''set lua_modules "anymod.lua"'' in your ''[http://wolfwiki.anime.net/index.php/ETPro:Server_Configuration server configuration]''


===== Installation =====
===== Installation =====

Revision as of 17:22, 25 July 2006

personal profile

... bla bla ...

anymod.lua

Requirements
Installation
Download the LUA script anymod.lua
Add the following command to your server.cfg to call the script on server start
set lua_modules "anymod.lua"
  • Open the script file in your prefered editor and
set DELIMITER, if you want to import the file to EXCEL, (set to ";" by default)
set SAFE_FILE or leave it as it is
set WEAK_FILE or leave it as it is
DELIMITER   = ";"                      	-- set a delimiter char to make the list compatible for imports to EXCEL
SAFE_FILE   = "successful_logins.txt"   -- contains verified AND possibly hacked logins
WEAK_FILE   = "hacks.txt"		-- "hacks.txt" -> contains all failed logins
  • Save the file and upload it to the etpro folder on the server.
  • Ensure, that the script is allowed to create the log files on our server (check File Permissions in ../ET/etpro/.. )


function et_InitGame(levelTime, randomSeed, restart)
	-- do something
end