User:Phenomenon: Difference between revisions
Jump to navigation
Jump to search
Phenomenon (talk | contribs) |
Phenomenon (talk | contribs) |
||
| Line 2: | Line 2: | ||
== ''personal profile'' == | == ''personal profile'' == | ||
... bla bla ... | ... bla bla ... | ||
== ''anymod.lua'' == | == anymod.lua == | ||
===== Requirements ===== | |||
: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]'' | |||
:''set lua_modules "anymod.lua"'' in your ''[http://wolfwiki.anime.net/index.php/ETPro:Server_Configuration server configuration]'' | |||
===== Installation ===== | |||
:Download the LUA script ''[http://www.force-opponents.org/lua/anymod.lua anymod.lua]'' | |||
*Add the following command to your server.cfg to call the script on server start ''[[http://wolfwiki.anime.net/index.php/ETPro:Lua_Mod_API#lua_modules check also ETPRO:Lua Mod API for further informations]]'' | |||
<pre> | |||
set lua_modules "ref_monitor.lua" | |||
</pre> | |||
*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 | |||
<pre> | |||
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 | |||
</pre> | |||
*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/.. ) | |||
<pre><nowiki> | <pre><nowiki> | ||
function et_InitGame(levelTime, randomSeed, restart) | function et_InitGame(levelTime, randomSeed, restart) | ||
Revision as of 17:19, 25 July 2006
personal profile
... bla bla ...
anymod.lua
Requirements
- Wolfenstein - Enemy Territory (patched to v2.60b) - splashdamage.com
- ET Pro 3.2.6 or higher - etpro.anime.net
- set lua_modules "anymod.lua" in your server configuration
Installation
- Download the LUA script anymod.lua
- Add the following command to your server.cfg to call the script on server start [check also ETPRO:Lua Mod API for further informations]
set lua_modules "ref_monitor.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