.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   JoeBot (http://forums.bots-united.com/forumdisplay.php?f=10)
-   -   Metamod 1.17.2, CS1.5, Suse Linux 8.1 (http://forums.bots-united.com/showthread.php?t=1327)

BoehserWolf 10-04-2004 13:36

Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
I tried to install JoeBot by editing the plugins.ini from metamod.
But everytime I try to run this plugin my server crashes.
I tried several so's, always the same. I decided to compile JoeBot myself, but I need some help I think.

I got the hl-sdk, metamod and joebot sources. I tried to fix the pathes of the config.mk:
SDKDIR = /files/cs/server/hlsdk/
JOEBOTDIR = /files/cs/server/joebot/
MMDIR = /files/cs/server/metamod/

Here is my Output:
make -C dlls OPT=release DLLTYPE=mm
make[1]: Entering directory `/files/cs/server/joebot/dlls'
make -C ../NNSim/som OPT=release
make[2]: Entering directory `/files/cs/server/joebot/NNSim/som'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/cs/server/joebot/NNSim/som'
make -C ../NNSim OPT=release
make[2]: Entering directory `/files/cs/server/joebot/NNSim'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/cs/server/joebot/NNSim'
gcc -I/files/cs/server/joebot//engine -I/files/cs/server/joebot//common -I/files/cs/server/joebot//pm_shared -I/files/cs/server/metamod//metamod -I/files/cs/server/joebot//NNSim/som -I/files/cs/server/joebot//NNSim -I/files/cs/server/joebot//dlls -DUSE_METAMOD -O2 -march=i586 -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2 -c bot_client.cpp -o release/linux/mm/bot_client.o
cc1plus: warning: -malign-loops is obsolete, use -falign-loops
cc1plus: warning: -malign-jumps is obsolete, use -falign-jumps
cc1plus: warning: -malign-functions is obsolete, use -falign-functions
bot_client.cpp:41:22: meta_api.h: No such file or directory
In file included from bot_client.cpp:44:
bot_client.h:150: `MAX_REG_MSGS' was not declared in this scope
bot_client.cpp:66: `MAX_REG_MSGS' was not declared in this scope
bot_client.cpp: In function `void JBRegMsgs()':
bot_client.cpp:1325: `MAX_REG_MSGS' undeclared (first use this function)
bot_client.cpp:1325: (Each undeclared identifier is reported only once for each
function it appears in.)
bot_client.cpp:1326: `botmsgs' undeclared (first use this function)
bot_client.cpp:1331: `PLID' undeclared (first use this function)
bot_client.cpp:1331: `GET_USER_MSG_ID' undeclared (first use this function)
make[1]: *** [release/linux/mm/bot_client.o] Error 1
make[1]: Leaving directory `/files/cs/server/joebot/dlls'
make: *** [release] Error 2

the Output of ldd joebot_i386.so:
libstdc++-libc6.2-2.so.3 => not found
libdl.so.2 => /lib/libdl.so.2 (0x401b3000)
libc.so.6 => /lib/libc.so.6 (0x401b6000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

the Output of ldd joebot_mm_i386.so:
libstdc++-libc6.2-2.so.3 => not found
libdl.so.2 => /lib/libdl.so.2 (0x40180000)
libc.so.6 => /lib/libc.so.6 (0x40183000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

the Output of ldd joebot_i386.so:
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40181000)
libdl.so.2 => /lib/libdl.so.2 (0x40234000)
libc.so.6 => /lib/libc.so.6 (0x40237000)
libm.so.6 => /lib/libm.so.6 (0x40355000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40378000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Hope you can help me!

BoehserWolf 12-04-2004 16:57

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
Nobody an idea?

cruft 13-04-2004 01:36

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
It looks like it can't find your metamod header files:

bot_client.cpp:41:22: meta_api.h: No such file or directory In file included from bot_client.cpp:44:

Also, the released .so files were compiled with gcc 2.96 instead of 2.95. I understand 2.95 is probably better to compile against for compatibility's sake.

Onno Kreuzinger 13-04-2004 17:27

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
Hi

@BoehserWolf
you probably only need some compat libs, the joebot_i386.so "only" misses some older libc, which is afaik aval. for suse 8.1 (go http://rpmfind.net).

working source code to compile can be found here:
http://filebase.bots-united.com/pafi...=category&id=5

@cruft
nice to see you around, i heard of your realbot coding from stefan, nice job ideed.
as far as "normal" c/c++ code is concerned you can safely mix 2.96 and 2.95 binarys, i learned that the 2.96 is a backport of 3.x features to the 2.95 line. it was used by redhat to integrate advaced features into their kernels ahead of the gcc 3.x releases.
unless you compile the unpatched kernel or heavy stuff like mplayer it works for me almost without any glich for quite some time on my home server.
and that is a 24/7/365 tv video server i rely on :-)


cheers Onno

BoehserWolf 14-04-2004 11:58

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
Thanks alot guys, I'm going to try and post if it works or not!

BoehserWolf 18-04-2004 02:26

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
@ Onno: Maybe you can give me an exact help what I have to do, because I searched in rmpfind but didn't found anything. Also I searched along the whole google about this error but haven't found an answer.

Thanks alot!

Onno Kreuzinger 18-04-2004 14:38

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
http://rpmfind.net/linux/rpm2html/se...submit=Search+...

just search for compat on rpmfind.net, and try the rpm

BoehserWolf 19-04-2004 22:58

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
Thanks alot, whithout you help I would not have found...

Now the bots work, but they seem the have a speedhack. They are all incredible fast. Is this because I'm using 1.5 or are there any hidden options?

I tried already to fix this by putting the botskill min and max to 0 but it was almost the same.

Thanks again.

cruft 20-04-2004 07:31

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
Yes, I noticed this too along with a few other bugs in CS1.5. Expect to see a maintenance release soon.

@$3.1415rin 20-04-2004 09:14

Re: Metamod 1.17.2, CS1.5, Suse Linux 8.1
 
'incredible fast' in terms of movement, or in terms of reaction time ?


All times are GMT +2. The time now is 05:06.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.