Skip to content

Versus Saxton Hale + Pipeball support#22

Merged
APGRoboCop merged 7 commits intoAPGRoboCop:masterfrom
RussiaTails:RussiaTails-patch-7-(VSH-patch)
Mar 26, 2025
Merged

Versus Saxton Hale + Pipeball support#22
APGRoboCop merged 7 commits intoAPGRoboCop:masterfrom
RussiaTails:RussiaTails-patch-7-(VSH-patch)

Conversation

@RussiaTails
Copy link

For Pipeball gamemode was added an entity target for bots to attack (Experimental).
For Versus Saxton Hale gamemode was added these changes:

  1. Gamemode has it's own MapType
  2. Removed item_healthkit entity recognition for bots in VSH maps only but they still recognise health waypoint type
  3. Added noXteam function recognition with health and ammo waypoint types
    These changes for VSH were done to avoid Hale stubborn trying to heal himself with medkits

VSH prefix
Reverted changes from master branch
VSH prefix
Pipeline prefix
Pipeball and Versus Saxton Hale support. In Pipeball maps, bots will attack func_physbox entity. In VSH, bots will ignore medkits if they touch them (but they won't ignore health waypoint type). Change was done to avoid Hale bot trying to heal himself with medkits
Added noXteam function to health and ammo waypoint type (For instance, Saxton Hale won't try to go to health waypoint with noXteam for trying to heal himself)
The same thing about medkits for Zombie Infection gamemode
@APGRoboCop APGRoboCop merged commit 19a6358 into APGRoboCop:master Mar 26, 2025
APGRoboCop added a commit that referenced this pull request May 26, 2025
Thread 1 "srcds_linux" received signal SIGSEGV, Segmentation fault. 0xe3905650 in CBotEntPropIndexToAThings (this=<optimized out>, num=<optimized out>, pEntData=<optimized out>, pEdictData=<optimized out>) at /home/linux/Dropbox/src/rcbot2/rcbot/entprops.cpp:335 335     /home/linux/Dropbox/src/rcbot2/rcbot/entprops.cpp: No such file or directory. (gdb) bt #0  0xe3905650 in CBotEntPropIndexToAThings (this=<optimized out>, num=<optimized out>, pEntData=<optimized out>, pEdictData=<optimized out>) at /home/linux/Dropbox/src/rcbot2/rcbot/entprops.cpp:335 #1  CBotEntPropGetEntProp (this=0xe4df1b4c <s_entprops>, entity=1, proptype=Prop_Send, prop=0xe3a1da00 "m_nPlayerCondEx", size=4, element=0) at /home/linux/Dropbox/src/rcbot2/rcbot/entprops.cpp:388 #2  0xe390aa09 in CTF2ConditionsTF2_IsPlayerInCondition (client=1, cond=TFCond_UberchargedHidden) at /home/linux/Dropbox/src/rcbot2/rcbot/tf2/conditions.cpp:72 #3  0xe389af20 in CBotTF2isEnemy (this=0x100a1da0, pEdict=0x10223da4, bCheckWeapons=<optimized out>) at /home/linux/Dropbox/src/rcbot2/utils/RCBot2_meta/bot_fortress.cpp:7656 #4  0xe383299f in CBotupdateStatistics (this=0x100a1da0) at /home/linux/Dropbox/src/rcbot2/utils/RCBot2_meta/bot.cpp:1965 #5  0xe3831555 in CBotthink (this=0x100a1da0) at /home/linux/Dropbox/src/rcbot2/utils/RCBot2_meta/bot.cpp:1009 #6  0xe38390fc in CBotsbotThink () at /home/linux/Dropbox/src/rcbot2/utils/RCBot2_meta/bot.cpp:3390 #7  0xe3900907 in RCBotPluginMetaHook_GameFrame ( this=0xe3aa3304 <g_RCBotPluginMeta>, simulating=<optimized out>) at /home/linux/Dropbox/src/rcbot2/utils/RCBot2_meta/bot_plugin_meta.cpp:814 #8  0xe3903ca5 in fastdelegateFastDelegate<void, bool>operator() ( this=<optimized out>, params=<optimized out>) --Type <RET> for more, q to quit, c to continue without paging-- at /home/linux/Dropbox/src/rcbot2/alliedmodders/metamod-source/core/sourcehook/FastDelegate.h:927 #9  __SourceHook_FHCls_IServerGameDLLGameFrame0CMyDelegateImplCall ( this=0x1009b8e0, p1=<optimized out>) at /home/linux/Dropbox/src/rcbot2/utils/RCBot2_meta/bot_plugin_meta.cpp:75 #10 0xeaf18710 in __SourceHook_FHCls_IServerGameDLLGameFramefalseFunc(bool) () from /home/debian/steamcmd/tf2n/tf/addons/sourcemod/bin/sourcemod.2.tf2.so #11 0xf654e5a8 in SV_Think(bool) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #12 0xf654ef4c in SV_Frame(bool) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #13 0xf65c9a42 in _Host_RunFrame_Server(bool) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #14 0xf65ca3e8 in _Host_RunFrame(float) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #15 0xf65d3d6b in CHostStateState_Run(float) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #16 0xf65d4110 in CHostStateFrameUpdate(float) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #17 0xf65d4263 in HostState_Frame(float) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #18 0xf662de7f in CEngineFrame() () --Type <RET> for more, q to quit, c to continue without paging-- from /home/debian/steamcmd/tf2n/bin/engine_srv.so #19 0xf662b6aa in CDedicatedServerAPIRunFrame() () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #20 0xf72fe7e3 in RunServer() () from bin/dedicated_srv.so #21 0xf662b3ea in CModAppSystemGroupMain() () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #22 0xf6678cf8 in CAppSystemGroupRun() () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #23 0xf662c434 in CDedicatedServerAPIModInit(ModInfo_t&) () from /home/debian/steamcmd/tf2n/bin/engine_srv.so #24 0xf72fe474 in CDedicatedAppSystemGroupMain() () from bin/dedicated_srv.so #25 0xf7415778 in CAppSystemGroupRun() () from bin/dedicated_srv.so #26 0xf7415778 in CAppSystemGroupRun() () from bin/dedicated_srv.so #27 0xf72e805a in main () from bin/dedicated_srv.so #28 0x080491d4 in main () (gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants