Raised This Month: $404 Target: $400
 101% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
benoit611
Member
Join Date: Jun 2014
Old 09-20-2015 , 20:51   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #41

help sourcemod 1.7.2
L 09/20/2015 - 22:48:26: [BOTATTACK] Sigscan for CBaseEntity::GetTeamNumber failed - Disabling detour to prevent crashes
L 09/20/2015 - 22:48:26: [SM] Unable to load extension "botattackcontrol.ext": Detour failed: CBaseEntity::GetTeamNumber
L 09/20/2015 - 22:48:27: [SM] Unable to load plugin "bots_FFA.smx": Required extension "botattackcontrol" file("botattackcontrol.ext") not running
benoit611 is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 09-21-2015 , 05:31   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #42

The newest gamedata can be found here: https://bitbucket.org/GoD_Tony/botat...trol.games.txt
__________________
GoD-Tony is offline
SHUFEN.jp
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 02-17-2016 , 23:28   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #43

After CS:GO updated

[19] <FAILED> file "botattackcontrol.ext.2.csgo.dll": Detour failed: CBaseEntity
::GetTeamNumber
SHUFEN.jp is offline
Send a message via Skype™ to SHUFEN.jp
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 02-18-2016 , 03:49   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #44

Quote:
Originally Posted by SHUFEN.jp View Post
After CS:GO updated

[19] <FAILED> file "botattackcontrol.ext.2.csgo.dll": Detour failed: CBaseEntity
::GetTeamNumber
That function was inlined in the last CS:GO update. It will take some time to get the Windows build working again.


Edit: Updated the first post with v1.0.2 which includes fixes for CS:GO/Windows, and should be a bit more resistant to game breaking updates.
__________________

Last edited by GoD-Tony; 03-12-2016 at 08:02.
GoD-Tony is offline
Zeisen
Member
Join Date: Nov 2016
Location: Republic of Korea
Old 11-20-2016 , 00:58   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #45

[15] <FAILED> file "botattackcontrol.ext.2.csgo.dll": Detour failed: CCSBot::OnAudibleEvent

Edit: I fixed it myself. Here is CCSBot::OnAudibleEvent signature for windows, csgo : \x55\x8B\xEC\x83\xE4\xF0\x83\xEC\x38\x56\x57\ x8B\x7D\x0C

Last edited by Zeisen; 11-20-2016 at 05:37.
Zeisen is offline
Zeisen
Member
Join Date: Nov 2016
Location: Republic of Korea
Old 05-13-2017 , 00:08   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #46

[SM] Unable to load extension "botattackcontrol.ext": Detour failed: CBaseEntity::InSameTeam
[SM] Unable to load extension "botattackcontrol.ext": Detour failed: CCSBot::OnPlayerDeath
Zeisen is offline
Byte
Senior Member
Join Date: Jun 2010
Location: 📦 CCSPlayer
Old 05-14-2017 , 20:36   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #47

Quote:
Originally Posted by Zeisen View Post
[SM] Unable to load extension "botattackcontrol.ext": Detour failed: CBaseEntity::InSameTeam
[SM] Unable to load extension "botattackcontrol.ext": Detour failed: CCSBot::OnPlayerDeath
Try this CSGO gamedata (untested but ext loads):
Code:
"CBaseEntity::InSameTeam"
{
  "library"	"server"
  "windows"	"\x55\x8B\xEC\x8B\x45\x08\x57\x8B\xF9\x85\xC0\x75\x2A"
  "linux"		"\x55\x31\xC0\x89\xE5\x53\x83\xEC\x14\x8B\x55\x0C\x85\xD2"
}

"CCSBot::OnPlayerDeath"
{
  "library"	"server"
  "windows"	"\x55\x8B\xEC\x83\xEC\x20\x53\x56\x8B\xF1\x57\x8B\x06"
  "linux"		"\x55\x89\xE5\x83\xEC\x78\x89\x5D\xF4\x8B\x5D\x08\x89\x7D\xFC\x8B\x7D\x0C"
}
Attached Files
File Type: txt botattackcontrol.games.txt (2.5 KB, 43 views)
__________________
STEAM: /id/invexbyte | Github: InvexByte | My Community: Invex Gaming
My Plugins: Click Me!

Byte is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 05-15-2017 , 01:16   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #48

Thanks for the help, but the reason I haven't posted an update is because CBaseEntity::InSameTeam is now inlined on Windows and can't be detour'd. It's going to take more than gamedata to get it working again.

Maybe I can remove its use completely but then the bot pathing might be a bit strange. Either way it'll take some time to come up with a new solution.
__________________
GoD-Tony is offline
Byte
Senior Member
Join Date: Jun 2010
Location: 📦 CCSPlayer
Old 05-15-2017 , 16:25   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #49

Quote:
Originally Posted by GoD-Tony View Post
Thanks for the help, but the reason I haven't posted an update is because CBaseEntity::InSameTeam is now inlined on Windows and can't be detour'd. It's going to take more than gamedata to get it working again.

Maybe I can remove its use completely but then the bot pathing might be a bit strange. Either way it'll take some time to come up with a new solution.
Ah I see. Out of curiosity, how do you make it work when they inline functions? Do you have to remove it or can you somehow still use it?
__________________
STEAM: /id/invexbyte | Github: InvexByte | My Community: Invex Gaming
My Plugins: Click Me!

Byte is offline
Zeisen
Member
Join Date: Nov 2016
Location: Republic of Korea
Old 05-19-2017 , 14:34   Re: [CS:S/CS:GO] Bot Attack Control
Reply With Quote #50

Quote:
Originally Posted by Byte View Post
Try this CSGO gamedata (untested but ext loads):
Code:
"CBaseEntity::InSameTeam"
{
  "library"	"server"
  "windows"	"\x55\x8B\xEC\x8B\x45\x08\x57\x8B\xF9\x85\xC0\x75\x2A"
  "linux"		"\x55\x31\xC0\x89\xE5\x53\x83\xEC\x14\x8B\x55\x0C\x85\xD2"
}

"CCSBot::OnPlayerDeath"
{
  "library"	"server"
  "windows"	"\x55\x8B\xEC\x83\xEC\x20\x53\x56\x8B\xF1\x57\x8B\x06"
  "linux"		"\x55\x89\xE5\x83\xEC\x78\x89\x5D\xF4\x8B\x5D\x08\x89\x7D\xFC\x8B\x7D\x0C"
}
I was thinking no one might helps this... thank you!
Zeisen is offline
Reply


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 21:35.


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