############################ ### Warcraft3 AMX Plugin ### ############################ #### ### ### * Installation ### Setup ### Description of the plugin ### #### ## Installation of WC3 MOD : ---------------------------- To run this plugin you NEED: - Latest version of Metamod installed and working (www.metamod.org) - Latest version of AMX installed and working... AMX 0.9.6j or higher are recommended OR - Latest version of AMXX installed and working If you are upgrading from 2.22.10 please read the notes in upgrading.txt they will simplify the task of upgrading your warcraft3.cfg with the new options. ## How to install the actual plugin: ------------------------------------ ,For AMX: |--- |Open cstrike\addons\amx\plugins\plugins.ini |Add this to it: warcraft3.amx | |either: | use the warcraft3.amx with the default settings | (look at the warcraft3.cfg to see these settings) |or: | Open the .cfg file (wordpad will do) and configure the settings. | Put the .sma and .cfg files in examples\ in your addons\amx\examples folder | Put the .inc files in examples\include\ in your addons\amx\examples\include folder | Put the amxmodx.sma file in examples\include\ in your addons\amx\examples\include folder | Compile the plugin. | Copy the compiled warcraft3.amx to: cstrike\addons\amx\plugins `--- ,For AMXX |--- |Open cstrike\addons\amxx\plugins.ini |Add this to it: warcraft3.amxx | |either: | use the warcraft3.amxx with the default settings | (look at the warcraft3.cfg to see these settings) |or: | Open the .cfg file (wordpad will do) and configure the settings. | Put the .sma and .cfg files in examples\ in your addons\amxx\scripting folder | Compile the plugin. | Copy the compiled warcraft3.amxx to: cstrike\addons\amxx\plugins `--- * Instructions how to compile plugins: * http://djeyl.net/forum/viewtopic.php?t=25878 ## Other files that need to be installed ---------------------------------------- copy the warcraft3 folder in sounds to your cstrike/sounds directory copy the warcraft3 folder in sprites to your cstrike/sprites directory ## Install DLL's or SO's... --------------------------- # Choosing which modules to use: You only need the mysql module if you plan to run a long term server and save XP via mysql. You can also use long term mode without mysql by saving XP via "vault" (see warcraft3.cfg) If you are using AMX, you will always need either the warcraft3 module, or the vexd module (vexd is the default module used). You can load both if you like, but the plugin will only use one of them, which one the plugin uses is defined in the warcraft3.cfg. If you are using AMXX, than only the engine and cstrike modules are needed (booth default module), no other special or addiotional modules are needed except mysql (only if you save XP via mysql). If you are using an old version of amx (one before 0.9.6a) then use the modules from the directory "for_everyone_else", everyone using amx 0.9.6a or higher "for_AMX_0.9.6x" ## Installing the modules: -------------------------- # For win32 servers: ,AMX |--- |- Copy the .dll files you need to cstrike\addons\amx\dlls | |- Open cstrike/addons/amx/modules.ini |- Add a line containing : addons/amx/dlls/bla.dll | (one line for each module, replace bla.dll with the module name) | |- Open cstrike/addons/metamod/plugins.ini |- Add a line containing : win32 addons/amx/dlls/bla.dll | (one line for each module, replace bla.dll with the module name) | if you are using amx 0.9.a or higher you DO NOT need this step, amx does this for you. `--- ,AMXX |--- |- Copy the .dll files you need to cstrike\addons\amxx\modules\ | |- Open cstrike/addons/amxx/modules.ini |- Add a line containing: bla.dll | (replace bla.so with the module name, e.g. mysql_mm.dll) `--- # For linux servers: AMX - Copy the .so files you need to cstrike\addons\amx\dlls - Open cstrike/addons/amx/modules.ini - Add a line containing : addons/amx/dlls/bla.so (one line for each module, replace bla.so with the module name) - Open cstrike/addons/metamod/plugins.ini - Add a line containing : linux addons/amx/dlls/bla.so (one line for each module, replace bla.so with the module name) if you are using amx 0.9.a or higher you DO NOT need this step, amx does this for you. AMXX - Copy the .so files you need to cstrike\addons\amxx\modules\ - Open cstrike/addons/amxx/modules.ini - Add a line containing: bla.so (replace bla.so with the module name, e.g. mysql_mm_i386.so) ## Installation of the Webinterface ----------------------------------- Copy the "webstats" directory to your webserver. Edit the variables in "mysql-data.php" to reflect the data of your server (Mysql Server, Database, Table, User, Pass). Open up your favorite browser and enter http://yourdomain.bla/webstats/ The stats are intentionally kept simple so that you can modify them easily to fit into your website. If you have problems then check if the communication between Webserver and Mysql Server works fine (e.g. install phpMyAdmin) ## Problems / Troubleshooting ----------------------------- Ok your done now, if you are getting the following error: "[AMX] Unavailable native functions (plugin "warcraft3.amx")" Then it could be one of the following: - AMX fun module isn't installed correctly (read readme.txt from AMX very carefully) - War3 module isn't installed correctly (check that you installed the warcraft3 AMX module) - Mysql Module isn't installed correctly (check that you installed the mysql AMX module) If you want to compile warcraft3.sma you will have to also do this: - Extract file war3.inc to directory cstrike\addons\amx\examples\include - Extract file vault.inc to directory cstrike\addons\amx\examples\include (if you intend to compile with vault) - If you have problems with the shopmenu not working try this link: http://spacedude.games-fed.com/forum/viewtopic.php?t=161 - Converting XP from file to mysql: There is a Perl script included called ini2sql.pl to import the data from war3unsers.ini into your mysql database. And of course the discussion forum for warcraft3 http://www.insanejustice.com/forum/forumdisplay.php?f=21