Started installing from scratch again.
Just typing in the steps as I'm doing them so you can see -
Downloaded:
http://optusnet.dl.sourceforge.net/sour ... .01.tar.gz
http://optusnet.dl.sourceforge.net/sour ... .01.tar.gz
Uncompressed both files into cstrike (so they appear as cstrike/addons/amxmodx)
Downloaded:
http://www.ferretbox.com/plugins/warcraft3_2.6.zip
Uncompressed into cstrike again.
Opened warcraft3.cfg and changed the following (what I list is what I changed them to):
Code: Select all
#define SHORT_TERM 0
#define MYSQL_ENABLED 1
#define LANG_ENG 1
#define MYSQL_AUTO_PRUNING 0
#define STARTINGLEVEL 0
#define EXPANDED_RACES 1
#define ROUNDEND_SAVEALL 1
Everything else in the file is exactly as it comes in the zip.
Compiled:
Code: Select all
./amxxsc warcraft3.sma -o../plugins/warcraft3.amxx
Welcome to the AMX Mod X 1.00-272 Compiler.
Copyright (c) 1997-2004 ITB CompuPhase, AMX Mod X Team
Done.
No compile time errors...
Went into amxmodx/configs
Edited plugins.ini to say:
Yes that's all that's in it - we use AdminMOD for our admins, but I have disabled it for the sake of making sure that it isn't causing the issues.
Edited modules.ini to say:
Code: Select all
fun_amxx_i386.so
engine_amxx_i386.so
mysql_amxx_i386.so
cstrike_amxx_i386.so
Again that is all that is in it.
Went into addons/metamod.
Created plugins.ini.
Code: Select all
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
#linux addons/adminmod/dlls/admin_MM_i386_mysql.so
(AdminMOD is commented out until I have WC3 working)
Created folder 'dlls'
Downloaded
http://optusnet.dl.sourceforge.net/sour ... nux.tar.gz
Decompressed.
That should be everything setup...
Opened server.cfg in cstrike and added:
Code: Select all
//WC3 Settings
mp_allowchangerace 1
mp_savexp 1
mp_xpmultiplier 0.30
mp_weaponxpmodifier 1
sv_allowwar3vote 0
sv_wc3icons 0
//mySQL Settings for WC3
amx_mysql_host 219.88.255.178
amx_mysql_user wc3
amx_mysql_pass *REMOVED*
amx_mysql_db warcraft3
[/code]
Should be everything now.
Added -dll addons/metamod/dlls/metamod_i386.so to hlds_run command line.
Started server:
Code: Select all
Console initialized.
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 17:07:54 Aug 3 2005 (3205)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 219.88.241.80:27015
Metamod version 1.17.4 Copyright (c) 2001-2004 Will Day <[email protected]>
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
AMX Mod X version 1.01 Copyright (c) 2004-2005 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
L 08/10/2005 - 16:20:35: -------- Mapchange --------
[WC3] Forcing unmodified player models
[WC3] Using Engine Module, Long Term XP Modus, saving xp with: vault[0] mysql[1]
Cmd_AddCommand: fullupdate already defined
couldn't exec addons/amxmodx/configs/mysql.cfg
Executing Server Config
Server logging data to file logs/L0810070.log
L 08/10/2005 - 16:20:37: Log file started (file "logs/L0810070.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3205")
L 08/10/2005 - 16:20:37: Server cvar "sv_aim" = "0"
L 08/10/2005 - 16:20:37: Server cvar "sv_maxrate" = "20000"
L 08/10/2005 - 16:20:37: Server cvar "sv_maxspeed" = "320"
L 08/10/2005 - 16:20:37: Server cvar "sv_minrate" = "4000"
L 08/10/2005 - 16:20:37: Server cvar "sv_airaccelerate" = "3"
L 08/10/2005 - 16:20:37: Server cvar "sv_region" = "5"
L 08/10/2005 - 16:20:37: Server cvar "mp_chattime" = "1"
L 08/10/2005 - 16:20:37: Server cvar "sv_allowupload" = "0"
L 08/10/2005 - 16:20:37: Server cvar "mp_xpmultiplier" = "0.30"
Scrolling message displaying frequency: 3:20 minutes
Executing SBS ban file sbs/sbs1.cfg
removeid: couldn't find STEAM_0:0:1419541
removeid: couldn't find STEAM_0:0:2413884
Adding master server 69.28.151.178:27010
Adding master server 69.28.151.162:27010
Connection to Steam servers successful.
L 08/10/2005 - 16:20:39: [AMXX] Run time error 10 (native) (plugin "warcraft3.amxx") - debug not enabled.
L 08/10/2005 - 16:20:39: [MYSQL] Recieved invalid parameter.
L 08/10/2005 - 16:20:39: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 08/10/2005 - 16:20:39: [AMXX] Run time error 10 (native) (plugin "warcraft3.amxx") - debug not enabled.
L 08/10/2005 - 16:20:39: [MYSQL] Invalid database handle -2
L 08/10/2005 - 16:20:39: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
./hlds_run: line 424: 15745 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Wed Aug 10 16:20:39 NZST 2005: Server restart in 10 seconds
Wed Aug 10 16:20:43 NZST 2005: Server Quit
Added debug after warcraft3.amxx in plugins.ini
Started server again:
Code: Select all
Console initialized.
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 17:07:54 Aug 3 2005 (3205)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 219.88.241.80:27015
Metamod version 1.17.4 Copyright (c) 2001-2004 Will Day <[email protected]>
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
AMX Mod X version 1.01 Copyright (c) 2004-2005 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
L 08/10/2005 - 16:22:01: -------- Mapchange --------
[WC3] Forcing unmodified player models
[WC3] Using Engine Module, Long Term XP Modus, saving xp with: vault[0] mysql[1]
Cmd_AddCommand: fullupdate already defined
couldn't exec addons/amxmodx/configs/mysql.cfg
Executing Server Config
Server logging data to file logs/L0810071.log
L 08/10/2005 - 16:22:04: Log file started (file "logs/L0810071.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3205")
L 08/10/2005 - 16:22:04: Server cvar "sv_aim" = "0"
L 08/10/2005 - 16:22:04: Server cvar "sv_maxrate" = "20000"
L 08/10/2005 - 16:22:04: Server cvar "sv_maxspeed" = "320"
L 08/10/2005 - 16:22:04: Server cvar "sv_minrate" = "4000"
L 08/10/2005 - 16:22:04: Server cvar "sv_airaccelerate" = "3"
L 08/10/2005 - 16:22:04: Server cvar "sv_region" = "5"
L 08/10/2005 - 16:22:04: Server cvar "mp_chattime" = "1"
L 08/10/2005 - 16:22:04: Server cvar "sv_allowupload" = "0"
L 08/10/2005 - 16:22:04: Server cvar "mp_xpmultiplier" = "0.30"
Scrolling message displaying frequency: 3:20 minutes
Executing SBS ban file sbs/sbs1.cfg
removeid: couldn't find STEAM_0:0:1419541
removeid: couldn't find STEAM_0:0:2413884
Adding master server 207.173.177.11:27010
Adding master server 69.28.151.178:27010
Connection to Steam servers successful.
L 08/10/2005 - 16:22:06: [AMXX] Native error in "dbi_connect" on line 8154 (file "warcraft3.sma").
L 08/10/2005 - 16:22:06: [MYSQL] Recieved invalid parameter.
L 08/10/2005 - 16:22:06: [AMXX] Native error in "dbi_query" on line 8161 (file "warcraft3.sma").
L 08/10/2005 - 16:22:06: [MYSQL] Invalid database handle -2
./hlds_run: line 424: 15763 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Wed Aug 10 16:22:06 NZST 2005: Server restart in 10 seconds
Noticed:
couldn't exec addons/amxmodx/configs/mysql.cfg
in the above log.
Added:
Code: Select all
amx_mysql_host 219.88.255.178
amx_mysql_user wc3
amx_mysql_pass *REMOVED*
amx_mysql_db warcraft3
//amxx prefix to be sure
amxx_mysql_host 219.88.255.178
amxx_mysql_user wc3
amxx_mysql_pass *REMOVED*
amxx_mysql_db warcraft3
to addons/amxmodx/configs/mysql.cfg
Started server again:
Code: Select all
games@games1:~/steam1$ ./run
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Base Content' version 16
Checking/Installing 'Linux Server Engine' version 18
Checking/Installing 'Half-Life Base Content' version 8
HLDS installation up to date
Console initialized.
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 17:07:54 Aug 3 2005 (3205)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 219.88.241.80:27015
Metamod version 1.17.4 Copyright (c) 2001-2004 Will Day <[email protected]>
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
AMX Mod X version 1.01 Copyright (c) 2004-2005 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
L 08/10/2005 - 16:25:27: -------- Mapchange --------
[WC3] Forcing unmodified player models
[WC3] Using Engine Module, Long Term XP Modus, saving xp with: vault[0] mysql[1]
Cmd_AddCommand: fullupdate already defined
Executing Server Config
Server logging data to file logs/L0810072.log
L 08/10/2005 - 16:25:28: Log file started (file "logs/L0810072.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3205")
L 08/10/2005 - 16:25:28: Server cvar "sv_aim" = "0"
L 08/10/2005 - 16:25:28: Server cvar "sv_maxrate" = "20000"
L 08/10/2005 - 16:25:28: Server cvar "sv_maxspeed" = "320"
L 08/10/2005 - 16:25:28: Server cvar "sv_minrate" = "4000"
L 08/10/2005 - 16:25:28: Server cvar "sv_airaccelerate" = "3"
L 08/10/2005 - 16:25:28: Server cvar "sv_region" = "5"
L 08/10/2005 - 16:25:28: Server cvar "mp_chattime" = "1"
L 08/10/2005 - 16:25:28: Server cvar "sv_allowupload" = "0"
L 08/10/2005 - 16:25:28: Server cvar "mp_xpmultiplier" = "0.30"
Scrolling message displaying frequency: 3:20 minutes
Executing SBS ban file sbs/sbs1.cfg
removeid: couldn't find STEAM_0:0:1419541
removeid: couldn't find STEAM_0:0:2413884
Adding master server 69.28.151.178:27010
Adding master server 69.28.151.162:27010
Connection to Steam servers successful.
L 08/10/2005 - 16:25:30: [AMXX] Native error in "dbi_connect" on line 8154 (file "warcraft3.sma").
L 08/10/2005 - 16:25:30: [MYSQL] Recieved invalid parameter.
L 08/10/2005 - 16:25:30: [AMXX] Native error in "dbi_query" on line 8161 (file "warcraft3.sma").
L 08/10/2005 - 16:25:30: [MYSQL] Invalid database handle -2
./hlds_run: line 424: 15782 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
So I'll be darned if I know what the issue is
