Raised This Month: $ Target: $400

[CS:S/CS:GO] Bot Attack Control

Post New Thread Reply   
Thread Tools Display Modes
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 06-29-2021 , 03:25   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #71

Originally Posted by Desktop View Post
Could you possibly add windows compilation?
Signature is not tested but it should work the same on Windows.
Attached Files
File Type: dll botattackcontrol.ext.2.csgo.dll (101.0 KB, 122 views)
File Type: txt botattackcontrol.games.txt (2.1 KB, 156 views)
SHUFEN is offline
Send a message via Skype™ to SHUFEN
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 07-04-2021 , 15:30   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #72

Alright so I ended up compiling my own version for CS:S again, I wrote a simple plugin against it and for whatever reason it's not working as intended. Am I doing something wrong or is the extension bugged?

Here is the dumbed down code (see attached for full source)
PHP Code:
public Action OnShouldBotAttackPlayer(int botint playerbool &result)
    if (!
IsPlayerAlive(player) || !IsPlayerAlive(bot))
bool isBotZombie ZR_IsClientZombie(bot);
bool isTargetZombie ZR_IsClientZombie(player);
    if (
isBotZombie != isTargetZombie)
        if (!
result true;
result false;

And this is what I end up seeing in console:
Reaper (2) wants to attack Cabbie (2)
Cabbie (2) wants to attack Reaper (2)
With both bots being Zombies.

It makes no sense as the plugin correctly detects that they're both on the same team and sets the result to false, yet they still end up stabbing each other non stop. What am I doing wrong?
Attached Files
File Type: sp Get Plugin or Get Source (zm_bots.sp - 136 views - 1.1 KB)

Last edited by nikooo777; 07-04-2021 at 15:32.
nikooo777 is offline
New Member
Join Date: Mar 2018
Old 12-05-2021 , 23:52   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #73

please give me a working version for css ob
ziplan is offline
Senior Member
Join Date: Mar 2017
Old 11-13-2022 , 03:40   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #74

If anyone has new signature for windows?
Zombie Plague Classic
romeo7 is offline
Junior Member
Join Date: Jul 2023
Old 07-20-2023 , 03:27   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #75

Where tf do you put these files? No instructions nothing, c'monnn...
cssbr1 is offline

Thread Tools
Display Modes

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

All times are GMT -4. The time now is 01:34.

Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode