.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
HPB_BOT badf load, (not loading)
Old
  (#1)
Krillin
Member
 
Krillin's Avatar
 
Status: Offline
Posts: 38
Join Date: Aug 2007
Location: In a home
Warning HPB_BOT badf load, (not loading) - 16-12-2008

With trying to add this bot to our servers this morning, we get the following messages

Code:
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] HLGuard          RUN   -    hlguard_mm_optim  v1.8      ini  Chlvl Chlvl
 [ 2] Adminmod         RUN   -    admin_MM_i386.so  v2.50.60  ini  Start ANY
 [ 3] Monster          RUN   -    monster_mm_i386.  v3.02.01  ini  Chlvl Chlvl
 [ 4] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.1.3  ini  Start ANY
 [ 5] <HPB_bot_i386.s  badf load  HPB_bot_i386.so   v -       ini   -     -
 [ 6] Fun              RUN   -    fun_amxx_i386.so  v1.8.1.3  pl4  ANY   ANY
 [ 7] Engine           RUN   -    engine_amxx_i386  v1.8.1.3  pl4  ANY   ANY
 [ 8] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.1.3  pl4  ANY   ANY
 [ 9] CStrike          RUN   -    cstrike_amxx_i38  v1.8.1.3  pl4  ANY   ANY
 [10] CSX              RUN   -    csx_amxx_i386.so  v1.8.1.3  pl4  ANY   ANY
 [11] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.1.3  pl4  ANY   ANY
 [12] MySQL            RUN   -    mysql_amxx_i386.  v1.8.1.3  pl4  ANY   ANY
12 plugins, 11 running
For details on why HPB_bot will not load the file, the following information is given on 'shutdown;quit':
Code:
L 12/16/2008 - 05:09:47: [META] ERROR: ini: Plugin '<HPB_bot_i386.so>' has newer file, but unexpected status (badfile)
L 12/16/2008 - 05:09:47: [META] ini: Read plugin config for: <HPB_bot_i386.so>
L 12/16/2008 - 05:09:47: [META] ERROR: ini: Plugin '<HPB_bot_i386.so>' has newer file, but unexpected status (badfile)
L 12/16/2008 - 05:09:47: [META] ini: Read plugin config for: <HPB_bot_i386.so>
L 12/16/2008 - 05:09:47: [META] ini: Finished reading plugins list: /home/gameuser/steam/hldsnsh_l/cstrike/addons/metamod/plugins.ini; Found 6 plugins
L 12/16/2008 - 05:09:47: [META] dll: Updating plugins...
L 12/16/2008 - 05:09:47: [META] ERROR: dll: Failed query plugin '<HPB_bot_i386.so>'; Couldn't open file '/home/gameuser/steam/hldsnsh_l/cstrike/addons/HPB_bot/HPB_bot_i386.so': /home/gameuser/steam/hldsnsh_l/cstrike/addons/HPB_bot/HPB_bot_i386.so: undefined symbol: sqrt
L 12/16/2008 - 05:09:47: [META] ERROR: dll: Skipping plugin '<HPB_bot_i386.so>'; couldn't query
L 12/16/2008 - 05:09:47: [META] dll: Finished updating 12 plugins; kept 4, loaded 0, unloaded 0, reloaded 0, delayed 0
Interesting, don't you think? We tried to use HPB_BOT 4 on linux dedicated server.

We do not want to know what the problem is or what the solution is. We are tired of the dead and abandoned bots-united now bots-divided. Nothing here works. Trust us, we've tried!!!

Good luck,
Krillin


Serving Players Since 1997


www.KRILLINSWORLD.com
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#2)
Weasel
Member
 
Status: Offline
Posts: 44
Join Date: Mar 2008
Thumbs down Re: HPB_BOT badf load, (not loading) - 14-07-2009

Damn that sux! I'm trying to do the same thing right now, and having the same issues. I had planned to convert all my Windows-based HLDS servers to Linux. But, that would normally include a small compliment of bots on Half-Life and TFC servers. Now I guess I'm stuck with Windows!

Here's my HLDS output ...

Code:
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.1.3  ini   Start ANY
 [ 2] Stripper2        RUN   -    stripper2_mm_i38  v1.00.00  ini   ANY   Pause
 [ 3] <HPB_bot_i386.s  badf load  HPB_bot_i386.so   v -       ini    -     -
 [ 4] Fun              RUN   -    fun_amxx_i386.so  v1.8.1.3  pl1   ANY   ANY
 [ 5] Engine           RUN   -    engine_amxx_i386  v1.8.1.3  pl1   ANY   ANY
 [ 6] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.1.3  pl1   ANY   ANY
6 plugins, 5 running
exit
L 07/13/2009 - 23:45:59: [META] ini: Begin re-reading plugins list: /games/hlserver/valve/addons/metamod/plugins.ini
L 07/13/2009 - 23:45:59: [META] ini: Read plugin config for: AMX Mod X
L 07/13/2009 - 23:45:59: [META] ini: Read plugin config for: Stripper2
L 07/13/2009 - 23:45:59: [META] WARNING: ini: Plugin '<HPB_bot_i386.so>' has newer file, but unexpected status (badfile)
L 07/13/2009 - 23:45:59: [META] ini: Read plugin config for: <HPB_bot_i386.so>
L 07/13/2009 - 23:45:59: [META] ini: Finished reading plugins list: /games/hlserver/valve/addons/metamod/plugins.ini; Found 3 plugins
L 07/13/2009 - 23:45:59: [META] dll: Updating plugins...
L 07/13/2009 - 23:45:59: [META] WARNING: dll: Failed query plugin '<HPB_bot_i386.so>'; Couldn't open file '/games/hlserver/valve/addons/HPB_bot/HPB_bot_i386.so': /games/hlserver/valve/addons/HPB_bot/HPB_bot_i386.so: undefined symbol: sqrt
L 07/13/2009 - 23:45:59: [META] WARNING: dll: Skipping plugin '<HPB_bot_i386.so>'; couldn't query
L 07/13/2009 - 23:45:59: [META] dll: Finished updating 6 plugins; kept 2, loaded 0, unloaded 0, reloaded 0, delayed 0
L 07/13/2009 - 23:45:59: Server shutdown
L 07/13/2009 - 23:45:59: Log file closed
L 07/13/2009 - 23:45:59: Server shutdown
I particular, I noticed the error "undefined symbol: sqrt". Maybe a reference to some compile dependency that was missed or something?

Last edited by Weasel; 14-07-2009 at 09:29..
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#3)
Ancient
PodBot MM's Laziest Waypointer
 
Ancient's Avatar
 
Status: Offline
Posts: 1,010
Join Date: Jan 2005
Location: Nebraska, United States of America
Default Re: HPB_BOT badf load, (not loading) - 14-07-2009

I once got HPBots to work, but that was long ago.
Now I just use RCBots.


[Web Designer][Waypointer][Gamer]
CFE Games Administrator
[CFE]Games.com
[Never Trust the Untrusted]
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#4)
sparky99
Member
 
Status: Offline
Posts: 18
Join Date: Oct 2009
Default Re: HPB_BOT badf load, (not loading) - 06-10-2009

Try to install these packages for your distribution and retry. Please advise if this helped as it fixed mine.

compat-libstdc++-33
compat-libstdc++-296

also these if that dont work
compat-gcc-34
compat-gcc-34-c++

That should get things moving.

if using fedora the Yum command is


yum -y install compat-libstdc++-33 compat-libstdc++-296
yum -y install compat-gcc-34 compat-gcc-34-c++
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#5)
Weasel
Member
 
Status: Offline
Posts: 44
Join Date: Mar 2008
Default Re: HPB_BOT badf load, (not loading) - 12-02-2011

Quote:
Originally Posted by sparky99 View Post
Try to install these packages for your distribution and retry. Please advise if this helped as it fixed mine.
Just thought I would update (late, I know). I did try that. Still got that "undefined symbol: sqrt" error.

I did switch to JK_Botti on my Half-Life server. Now I'm looking for a (working) bot for DMC (on Linux). No luck so far (on the "working" part).
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#6)
Weasel
Member
 
Status: Offline
Posts: 44
Join Date: Mar 2008
Warning Re: HPB_BOT badf load, (not loading) - 02-03-2011

I did some digging around the Internet(s), and it seems like the "undefined symbol: sqrt" error (seen at run-time) is the result of a missing command-line option - that should have been used during the most recent compile.

From that I've been able to gather, this issue is seen quite often - when people are trying to compile their own copies of Apache or other open-source software. Apparently, the missing command-line option is "-ml", which instructs the compiler to link to the required math library (which contains the "sqrt" function, among other things).

I have a Linux machine up, but have no experience with compiling anything on it under GCC, etc. - much less Valve-related stuff. Not sure if I even have all the right components installed to do a successful compile (for example, do I need the Valve SDK installed on the Linux box?).

Here's a couple of examples citing the missing "-ml" option:

Why is it alway said that "fabs" and "sqrt" are undefined symbol?

math.h not working? o.0

From what I gather, no source-code changes should be required, just a re-compile (and/or possibly an updated "make" file that controls the compile).

If anybody can re-compile this bot (with the required command-line option), or show me how to do it, it would be greatly appreciated!

Last edited by Weasel; 02-03-2011 at 08:23.. Reason: spelling, formatting, etc.
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#7)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: HPB_BOT badf load, (not loading) - 03-03-2011

it should be -lm rather than -ml

or maybe try adding this before the command which launches the server:
LD_PRELOAD=/usr/lib/libm.so.6
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#8)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: HPB_BOT badf load, (not loading) - 03-03-2011

Very strange, I though that when you compile shared library all the dependencies must be provided to the linker else you will get an error...
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#9)
Weasel
Member
 
Status: Offline
Posts: 44
Join Date: Mar 2008
Default Re: HPB_BOT badf load, (not loading) - 05-03-2011

Quote:
Originally Posted by Whistler View Post
it should be -lm rather than -ml

or maybe try adding this before the command which launches the server:
LD_PRELOAD=/usr/lib/libm.so.6
You're absolutely right. I typo'd them (reversed them).
It should be "-lm".

I'll give that PRELOAD command a try.

Last edited by Weasel; 05-03-2011 at 09:13.. Reason: fixed formattting, etc.
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#10)
Weasel
Member
 
Status: Offline
Posts: 44
Join Date: Mar 2008
Default Re: HPB_BOT badf load, (not loading) - 05-03-2011

Quote:
Originally Posted by Whistler View Post
it should be -lm rather than -ml
[...] try adding this before the command which launches the server:
LD_PRELOAD=/usr/lib/libm.so.6
Unfortunately, that didn't help.
Still getting the same errors.

Quote:
L 03/04/2011 - 22:50:17: [META] WARNING: dll: Failed query plugin '<HPB_bot_i386.so>'; Couldn't open file '/data/games/hlserver/dmc/addons/HPB_bot/HPB_bot_i386.so': /data/games/hlserver/dmc/addons/HPB_bot/HPB_bot_i386.so: undefined symbol: sqrt
L 03/04/2011 - 22:50:17: [META] WARNING: dll: Skipping plugin '<HPB_bot_i386.so>'; couldn't query
L 03/04/2011 - 22:50:17: [META] WARNING: dll: Failed to load plugin 'HPB_bot_i386.so'
I tried it two different ways:
  • LD_PRELOAD=/usr/lib/libm.so.6
  • LD_PRELOAD=/usr/lib/libm.so
Neither worked.
  
Reply With Quote
Reply

Tags
badf, badf load, load, not working


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com