.:: 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
Re: HPB_BOT badf load, (not loading)
Old
  (#11)
Weasel
Member
 
Status: Offline
Posts: 44
Join Date: Mar 2008
Default Re: HPB_BOT badf load, (not loading) - 05-03-2011

! RESOLVED !

Based on what Whistler posted, I tried the LD_PRELOAD environment variable again, but this time "exported" it. I put that option in my script that launches HLServer, right before the "hlds_run" command, like this:

Quote:
cd /data/games/hlserver
export LD_PRELOAD=/usr/lib/libm.so
./hlds_run -secure -game dmc +port 28019 -sport 28119
Now HPB_Bot loads-up fine on my DMC server , and peacefully coexists with my other mods (AMX-Mod-X, etc.).

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] HLGuard          RUN   -    hlguard_mm_optim  v1.8      ini   Chlvl Chlvl
 [ 3] HPB_Bot          RUN   -    HPB_bot_i386.so   v4.0.4    ini   Start ANY
 [ 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, 6 running
Thanks Whistler!

  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#12)
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) - 06-03-2011

Quote:
Originally Posted by The Storm View Post
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...
you'll get an error when compiling an application but not a static library (.a) or shared library (.so)
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#13)
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) - 06-03-2011

Yeah for static library is clear why, there is no even a linker operation there, but for shared I don't see a reason for not doing it... However these questions perhaps are for the creators of GCC.
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#14)
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) - 09-03-2011

that way it's easier to reference symbols from the main executable which linked the library or other shared libraries.
  
Reply With Quote
Re: HPB_BOT badf load, (not loading)
Old
  (#15)
twitch
Member
 
Status: Offline
Posts: 5
Join Date: May 2009
Default Re: HPB_BOT badf load, (not loading) - 26-03-2011

is it possible to recompile the .so that it will work without having to mess with anything else? If so, can someone post a link for that new compiled hpb bot .so file?
  
Reply With Quote
Reply

Tags
badf, badf load, load, not working


Currently Active Users Viewing This Thread: 2 (0 members and 2 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