View Single Post
Re: Turn off Bots shooting back after Teamattack
Old
  (#26)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 215
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: Turn off Bots shooting back after Teamattack - 28-05-2018

I've recompiled POD-Bot build as V3B23-APG but didn't alter the headers nor cpp files except for "PBMM_VERSION_STRING" from bot.h. I did some adjustments to the Makefile as well removed AMD64 support as well removed the _i386 suffix and named it as "podbot_mm.so" to make the name short and simple.

I used Hullu's MetaMod-P37 src header files and HLSDK 2.3p4 and they seem to recompile well together. As for the the optimisation and base flags I've added SSE2 support and for i686 Arch with G++ 4.8 and had to add "-m32" to ensure it compiles as a 32-bit binary only.

Here is PB V3B23-APG Linux build!

Also I tried to attach it as a Tarball Gzip file, but it appears vBulletin Attachment needs to allow file extension for the tar.gz or even tar.xz to be uploaded so I had to compress it as a regular .zip file.

--------

Update: it appears this Linux build needs some fixes as my GDB spotted a crash error:-

PHP Code:
Thread 1 "hlds_linux" received signal SIGSEGVSegmentation fault.
0xf2ba81fc in WaypointFindNearestToMove(edict_s*, Vector) () from /home/desktop/steamcmd/hlds/cstrike/addons/podbot/podbot_mm.so
(gdbbt
#0  0xf2ba81fc in WaypointFindNearestToMove(edict_s*, Vector) ()
   
from /home/desktop/steamcmd/hlds/cstrike/addons/podbot/podbot_mm.so
#1  0xf2b8b8d7 in BotClient_CS_BombDrop(void*, int) () from /home/desktop/steamcmd/hlds/cstrike/addons/podbot/podbot_mm.so
#2  0xf2ba0ff0 in pfnWriteCoord(float) () from /home/desktop/steamcmd/hlds/cstrike/addons/podbot/podbot_mm.so
#3  0xf3a1d7aa in api_caller_void_args_f(void const*, void const*) ()
   
from /home/desktop/steamcmd/hlds/./cstrike/addons/metamod/metamod.so
#4  0xf3a1c78f in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) ()
   
from /home/desktop/steamcmd/hlds/./cstrike/addons/metamod/metamod.so
#5  0xf3a22163 in mm_WriteCoord(float) () from /home/desktop/steamcmd/hlds/./cstrike/addons/metamod/metamod.so
#6  0xf3846687 in CBasePlayer::DropPlayerItem (this=0x80cbf40, pszItemName=<optimized out>) at ../cstrike/dlls/player.cpp:9042
#7  0xf38472c1 in CBasePlayer::Killed (this=0x80cbf40, pevAttacker=0xf4332acc, iGib=1) at ../cstrike/dlls/player.cpp:2566
#8  0xf364b8c2 in ?? () from /home/desktop/steamcmd/hlds/cstrike/addons/AGuard/dlls/AGuard_mm_i386.so
Backtrace stoppedprevious frame inner to this frame (corrupt stack?) 
Attached Files
File Type: zip podbot_mm.zip (223.3 KB, 334 views)





vBulletin Webmaster since 2001

Last edited by RoboCop; 28-05-2018 at 17:18..
  
Reply With Quote