Adminmod Not Working?
DrGiggles
Join Date: 2002-11-15 Member: 8833Members
<div class="IPBDescription">I think I found a solution!</div> So I run a RedHat 7.3 system and AdminMod would not work for me, and after reading all the documents 5 times over and hearing how easy it was to install AdminMod (basic stock install none the less) I decided that 3 fresh install retries was enough and I had to come up with something else. So I did... Also, while I was doing my research I may have stumbled across a solution for the Win32 problem (or a speed bump none the less) I haven't been able to test it, but I'll install a dev suite tonight and give my idea a try for Win32.
(NOTE to NS Devs: CTimer sound like it might be a problem?)
I'll try to do my best to write this up so everyone who is having the same problem can try to fix it.
Here we go:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
cd
mkdir hl_dev
cd hl_dev
cvs -d:pserver:anonymous@cvs.halflifeadmin.sourceforge.net:/cvsroot/halflifeadmin login
cvs -z3 -d:pserver:anonymous@cvs.halflifeadmin.sourceforge.net:/cvsroot/halflifeadmin co -r am-2_50_50-release admin_v2
cd admin_v2/amxdll
make
cp amx_admin.so /path/to/your/adminmod/dlls/
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Now you should try out the server and see if everything works.
If this doesn't fix the problem, you may also need to recompile AdminMod
I'll step through that now:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
cd ~/hl_dev
wget <a href='http://www.metamod.org/files/metamod-1.13.1.tgz' target='_blank'>http://www.metamod.org/files/metamod-1.13.1.tgz</a>
wget <a href='http://www.metamod.org/files/sdk/hlsdk-2.2b.tgz' target='_blank'>http://www.metamod.org/files/sdk/hlsdk-2.2b.tgz</a>
tar -zxf metamod-1.13.1.tgz
tar -zxf hlsdk-2.2b.tgz
mv metamod-1.13.1 metamod
mv hlsdk-2.2b hlsdk
cd admin_v2/hl
make
If you have errors about missing libs see below)
cp admin_MM_i386.so /path/to/your/adminmod/dlls/
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Got Errors?
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
cd /usr/lib
ls libstdc++-libc* (In RedHat you're looking for the green .so)
su
(Yours may differ I'm going from my own experience)
ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-2.a.3
cd ~/hl_dev/hl
make
cp admin_MM_i386.so /path/to/your/adminmod/dlls/
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Now you should try out the server and see if everything works.
I hope this helps someone get AdminMod installed who couldn't previously!
I'll be back here with a *possible* "fixed" Win32 adminmod.dll very soon!
(NOTE to NS Devs: CTimer sound like it might be a problem?)
I'll try to do my best to write this up so everyone who is having the same problem can try to fix it.
Here we go:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
cd
mkdir hl_dev
cd hl_dev
cvs -d:pserver:anonymous@cvs.halflifeadmin.sourceforge.net:/cvsroot/halflifeadmin login
cvs -z3 -d:pserver:anonymous@cvs.halflifeadmin.sourceforge.net:/cvsroot/halflifeadmin co -r am-2_50_50-release admin_v2
cd admin_v2/amxdll
make
cp amx_admin.so /path/to/your/adminmod/dlls/
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Now you should try out the server and see if everything works.
If this doesn't fix the problem, you may also need to recompile AdminMod
I'll step through that now:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
cd ~/hl_dev
wget <a href='http://www.metamod.org/files/metamod-1.13.1.tgz' target='_blank'>http://www.metamod.org/files/metamod-1.13.1.tgz</a>
wget <a href='http://www.metamod.org/files/sdk/hlsdk-2.2b.tgz' target='_blank'>http://www.metamod.org/files/sdk/hlsdk-2.2b.tgz</a>
tar -zxf metamod-1.13.1.tgz
tar -zxf hlsdk-2.2b.tgz
mv metamod-1.13.1 metamod
mv hlsdk-2.2b hlsdk
cd admin_v2/hl
make
If you have errors about missing libs see below)
cp admin_MM_i386.so /path/to/your/adminmod/dlls/
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Got Errors?
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
cd /usr/lib
ls libstdc++-libc* (In RedHat you're looking for the green .so)
su
(Yours may differ I'm going from my own experience)
ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-2.a.3
cd ~/hl_dev/hl
make
cp admin_MM_i386.so /path/to/your/adminmod/dlls/
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Now you should try out the server and see if everything works.
I hope this helps someone get AdminMod installed who couldn't previously!
I'll be back here with a *possible* "fixed" Win32 adminmod.dll very soon!
Comments
These are all just test I don't really have a way to test them quickly, I’m posting them in the order of probability to function properly.
The necessary change to natural selection was already made between versions 1.01 and 1.02. I had a test copy of 1.02 where this was working fine. However by the time 1.02 was released, it was broken again. Flayra has since made another fix to it, and (some of) the beta testers have a post 1.02 build that works. They have also added an experienced admin mod server owner to the beta team to help ensure future compatibility.
My only involvement with NS has been to fix this bug, so I can't speak for when or how it will be released, but I can tell you the timer is the precise cause, and it has been fixed.
P.s. Why are you telling linux users to install adminmod by compiling from source? There is a perfectly good binary distribution from which they could copy the .so files and install by hand.
I know the problem was a timer entity, so on a whim I thought that maybe if the entity was changed into a new name or something it might solve a problem. Finally someone told me the dlls didn't work, so now I know. Awesome that it's going to be fixed in the next version, this should make a lot of people happy...
I only advise compiling the source if it won't work for your system, this was the first time I've ever needed to compile anything from adminmod. Being that I use Linux for all my server needs, I'm very familiar with recompiling things, and I'm slightly weary of pre-compiled binaries (seg faults = recompile).
Anyhoo, I'll discontinue my work on attempting to make adminmod work around NS, since the problem is already solved in beta.
Thx m8
Very nice to hear, I figured if any of them was going to work at all that would be the one.
Thx m8<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
how does your plugins.cfg look?
I just gotta say YOU RULE!!!!!
I spent 3 hours trying to get adminmod to work before i found your post
And thanks for the precompiled ones, saved me some headache
EDIT*** I think i spoke too soon, the test files didn't work, game loads now but its like admimmod just isn't there. Gonna try the recompiles now.