Bots don't work, unable to load binaries
hi !
I have some pbs. L 03/08/2007 - 17:24:02: [META] Refreshing the plugins on demand... L 03/08/2007 - 17:24:02: [META] ini: Begin re-reading plugins list: /home/base/cstrike/addons/metamod/plugins.ini L 03/08/2007 - 17:24:02: [META] ini: Read plugin config for: AMX L 03/08/2007 - 17:24:02: [META] WARNING: ini: Plugin '<podbot_mm_amd64.so>' has newer file, but unexpected status (badfile) L 03/08/2007 - 17:24:02: [META] ini: Read plugin config for: <podbot_mm_amd64.so> L 03/08/2007 - 17:24:02: [META] ini: Finished reading plugins list: /home/base/cstrike/addons/metamod/plugins.ini; Found 2 plugins L 03/08/2007 - 17:24:02: [META] dll: Updating plugins... L 03/08/2007 - 17:24:02: [META] WARNING: dll: Failed query plugin '<podbot_mm_amd64.so>'; Couldn't open file '/home/base/cstrike/addons/podbot/podbot_mm_amd64.so': /home/base/cstrike/addons/podbot/podbot_mm_amd64.so: cannot open shared object file: No such file or directory L 03/08/2007 - 17:24:02: [META] WARNING: dll: Skipping plugin '<podbot_mm_amd64.so>'; couldn't query L 03/08/2007 - 17:24:02: [META] dll: Finished updating 5 plugins; kept 1, loaded 0, unloaded 0, reloaded 0, delayed 0 if i try with _i386.so i have this : L 03/08/2007 - 17:42:02: [META] Refreshing the plugins on demand... L 03/08/2007 - 17:42:02: [META] ini: Begin re-reading plugins list: /home/base/cstrike/addons/metamod/plugins.ini L 03/08/2007 - 17:42:02: [META] ini: Read plugin config for: AMX L 03/08/2007 - 17:42:02: [META] WARNING: ini: Plugin '<podbot_mm_i386.so>' has newer file, but unexpected status (badfile) L 03/08/2007 - 17:42:02: [META] ini: Read plugin config for: <podbot_mm_i386.so> L 03/08/2007 - 17:42:02: [META] ini: Finished reading plugins list: /home/base/cstrike/addons/metamod/plugins.ini; Found 2 plugins L 03/08/2007 - 17:42:02: [META] dll: Updating plugins... L 03/08/2007 - 17:42:02: [META] WARNING: dll: Failed query plugin '<podbot_mm_i386.so>'; Couldn't open file '/home/base/cstrike/addons/podbot/podbot_mm_i386.so': libstdc++.so.5: cannot open shared object file: No such file or directory L 03/08/2007 - 17:42:02: [META] WARNING: dll: Skipping plugin '<podbot_mm_i386.so>'; couldn't query L 03/08/2007 - 17:42:02: [META] dll: Finished updating 5 plugins; kept 1, loaded 0, unloaded 0, reloaded 0, delayed 0 i see a pb with libstdc++.so.5 but locate libstdc++.so.5 (i'm on debian) /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5.0.7 uname -a Linux GAME09 2.6.17-2-amd64 #1 SMP Wed Sep 13 17:49:33 CEST 2006 x86_64 GNU/Linux cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : Dual Core AMD Opteron(tm) Processor 270 stepping : 2 cpu MHz : 1995.096 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm cmp_legacy bogomips : 3993.01 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : Dual Core AMD Opteron(tm) Processor 270 stepping : 2 cpu MHz : 1995.096 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm cmp_legacy bogomips : 3992.86 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp cat cstrike/addons/metamod/plugins.ini ; AMX Mod (2006.3) linux addons/amx/dlls/amx_mm_i386.so ;podbot linux addons/podbot/podbot_mm_i386.so ;linux addons/podbot/podbot_mm_amd64.so Any ideas for help me ? Thanks Fab |
Re: Bots don't work, unable to load binaries
Quote:
Make sure Your podbot_mm_i386.so is in the right place. How did You install it? Can You make some screenshots of Your addons and podbot folder to let me see if You have there everything right? What is the version of Your metamod? pb mm V3 requires mm 1.19 |
Re: Bots don't work, unable to load binaries
My metamod version :
12:50:06 Metamod version 1.19p28 2006/03/04 Copyright (c) 2001-2006 Will Day my podbot dir : GAME09:/home/base/cstrike/addons/podbot# ls -la total 844 drwxr-xr-x 4 base base 4096 2007-03-08 17:14 . drwxr-xr-x 5 base base 4096 2007-03-08 17:06 .. drwxr-xr-x 2 base base 4096 2007-02-15 00:42 botchats -rw-r--r-- 1 base base 10423 2007-02-15 00:47 botchat.txt -rw-r--r-- 1 base base 532 2007-02-15 00:47 botlogos.cfg -rw-r--r-- 1 base base 1790 2007-02-15 00:47 botnames.txt -rw-r--r-- 1 base base 2406 2007-02-15 00:47 botskill.cfg -rw-r--r-- 1 base base 2727 2007-02-15 00:47 botweapons.cfg -rw-r--r-- 1 base base 11189 2007-02-15 00:47 podbot.cfg -rw-r--r-- 1 base base 409792 2007-03-09 12:48 podbot_mm_amd64.so -rw-r--r-- 1 base base 376800 2007-03-09 12:48 podbot_mm_i386.so -rw-r--r-- 1 base base 1721 2007-02-15 00:47 readme.txt drwxr-xr-x 2 base base 8192 2007-02-15 00:47 wptdefault my addons dir : GAME09:/home/base/cstrike/addons# ls -la total 20 drwxr-xr-x 5 base base 4096 2007-03-08 17:06 . drwxr-x--- 15 base base 4096 2007-03-09 12:00 .. drwxr-xr-x 8 base base 4096 2007-03-09 12:00 amx drwxr-xr-x 3 base base 4096 2007-03-09 12:00 metamod drwxr-xr-x 4 base base 4096 2007-03-08 17:14 podbot I try with metamod 1.19 (i386 and amd64 versions) perhaps a missing debian module ... but which module thks to help me ! Fab EDIT : very strange GAME09:/home/base/cstrike/addons/podbot# ldd podbot_mm_amd64.so libdl.so.2 => /lib/libdl.so.2 (0x00002b8f85429000) libstdc++.so.5 => /lib/libstdc++.so.5 (0x00002b8f8552d000) libm.so.6 => /lib/libm.so.6 (0x00002b8f85709000) libc.so.6 => /lib/libc.so.6 (0x00002b8f8588b000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b8f85ac8000) no missing library but GAME09:/home/base/cstrike/addons/podbot# ldd podbot_mm_i386.so linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib32/libdl.so.2 (0xf7f0c000) libstdc++.so.5 => not found libm.so.6 => /lib32/libm.so.6 (0xf7ee7000) libc.so.6 => /lib32/libc.so.6 (0xf7dbc000) /lib/ld-linux.so.2 (0x56555000) i386 version doesn't find libstdc++.so.5 amd64 find it amd64 version no missing library but doesnt work If this can help EDIT2: PODbot 2.6 works fine EDIT3: PODbot 2.6 load fine but bots don't join teams.... |
Re: Bots don't work, unable to load binaries
Make sure Your gcc version is 3.4.5 or higher.
Additionally read this: http://forums.bots-united.com/showpo...7&postcount=11 |
Re: Bots don't work, unable to load binaries
Hi !
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) here's my installed c++ library GAME30:/home/base# dpkg -l | grep libstd ii libstdc++5 3.3.6-15 The GNU Standard C++ Library v3 ii libstdc++5-3.3-dev 3.3.6-15 The GNU Standard C++ Library v3 (development ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii libstdc++6-4.1-dev 4.1.1-21 The GNU Standard C++ Library v3 (development ii libstdc++6-dev 3.4.6-5 The GNU Standard C++ Library v3 (development no match for compat-libstdc++ in debian paquets although, i test podbot version on dual xeon system and it works fine. Probably podbot isn't compatible with amd64 architecture.... If u are any other ideas ! Perhaps recompiling Podbot src on my opteron system but I don't know how to do that, if u have tutorial, i can do this to test cya Fab |
Re: Bots don't work, unable to load binaries
ok
so i downloading hlsdk podbot source and metamod source and hit make :) GAME30:/home/COMPIL/src# make ARCH=amd64 g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/bot.o -c bot.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/bot_chat.o -c bot_chat.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/bot_client.o -c bot_client.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/bot_combat.o -c bot_combat.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/bot_globals.o -c bot_globals.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/bot_sounds.o -c bot_sounds.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/compress.o -c compress.cpp g++ -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/dll.o -c dll.cpp dll.cpp: In function 'int Spawn(edict_t*)': dll.cpp:318: error: cast from 'const char*' to 'int' loses precision dll.cpp:318: error: cast from 'const char*' to 'int' loses precision dll.cpp:319: error: cast from 'const char*' to 'int' loses precision dll.cpp:319: error: cast from 'const char*' to 'int' loses precision make: *** [obj.linux/dll.o] Erreur 1 damn with -i flag it appears that there is only a pb making dll.o so at the end impossible to make .so |
Re: Bots don't work, unable to load binaries
I think You could get wrong (very old and oudated) HLSDK for podbot mm.
You need to get HLSDK 2.3p3 from here, then mm sources from here. The sources of pb mm are in the filebase in the cathegory "Latest version". To prepare correctly all directories (to compile podbot mm) read this (it's about windows compilation, but the preparation is the same). The makefile in the pb mm sources is done to get compiled also on linux machine. If You still have some troubles with it - I cannot help You better, because I don't have a linux PC. Sorry. :( |
Re: Bots don't work, unable to load binaries
ok
i use the latest sources with no success i install a i386 debian architecture instead of amd64 architecture on my box. podbot works fine now ! To finish, podbot is not compatible with amd64 architecture (on debian etch) thanks Kwo for trying to help me ! cya Fab |
Re: Bots don't work, unable to load binaries
Normally it should work also on amd64, but You need to have few conditions fulfilled:
1. Your system needs to be installed as amd64 linux. 2. Your steam needs to be installed as amd64 linux version. 3. Your metamod needs to be amd64 linux version 4. Then You need to load podbot_mm_amd64.so About 1 year ago I was testing my makefile and binaries I was compilling for amd64 linux with some friend and it was workking for him. Since that time I haven't changed anything in makefile nor in the code which could affect not loading that binary (at least I'm not aware I could do something). But because Valve stopped support for amd64 linux steam - You probably took the best choice (with switching to i386 architecture). |
All times are GMT +2. The time now is 14:28. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.