Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Bot Healing Values (2.3) [25-May-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-19-2022 , 00:57   Re: [L4D & L4D2] Bot Healing Values (2.0) [19-Aug-2022]
Reply With Quote #11

Code:
2.0 (19-Aug-2022)
    - Changed the patching method to prevent crashes.
    - Now requires "SourceScramble" extension or "Actions" extension.
    - GameData is not required when only use the "Actions" extension.

    - Optionally uses the "Actions" extension to prevent healing until black and white.
    - Plugin is compatible with the "Heartbeat (Revive Fix - Post Revive Options)" plugin.

    - Thanks to "Forgetest" for helping and testing.
    - Thanks to "HarryPotter" and "Toranks" for testing.
__________________

Last edited by Silvers; 08-19-2022 at 00:58.
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-20-2022 , 10:47   Re: [L4D & L4D2] Bot Healing Values (2.1) [20-Aug-2022]
Reply With Quote #12

Code:
2.1 (20-Aug-2022)
    - Fixed the plugin not working on L4D2 Linux. GameData file has been updated.
    - Optimized the "Actions" part of the plugin.
__________________

Last edited by Silvers; 08-20-2022 at 10:47.
Silvers is offline
L4D2Noob
AlliedModders Donor
Join Date: Mar 2020
Location: Moscow
Old 08-21-2022 , 07:01   Re: [L4D & L4D2] Bot Healing Values (2.1) [20-Aug-2022]
Reply With Quote #13

Quote:
Originally Posted by Silvers View Post
  • Recommended: Source Scramble extension (while Actions extension can handle this plugins features, this plugin is more optimized to use Source Scramble to patch the health value at which bots should heal).
Source Scramble is required. At least I couldn't run the plugin without it.
__________________
L4D2Noob is offline
Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-21-2022 , 08:37   Re: [L4D & L4D2] Bot Healing Values (2.1) [20-Aug-2022]
Reply With Quote #14

Quote:
Originally Posted by L4D2Noob View Post
Source Scramble is required. At least I couldn't run the plugin without it.
It needs either one of the extensions. Scramble is the recommended one due to patching and making it optimized for less checks or both if you want the black and white heal only feature.
__________________
Silvers is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 05-21-2023 , 22:52   Re: [L4D & L4D2] Bot Healing Values (2.1) [20-Aug-2022]
Reply With Quote #15

Hi @Silvers!

I have the latest version of SourceScramble (0.7.1.1/1.2.0) and Actions (3.3) installed on my dedicated L4D2 server, and also the latest version of left4dhooks (1.130) with the updated gamedata file. I am getting this error repeatedly in the SM errors log:

\l4d_bot_healing.sp::OnActionCreated
L 05/21/2023 - 22:17:45: [SM] Exception reported: Client index 0 is invalid
L 05/21/2023 - 22:17:45: [SM] Blaming: l4d_bot_healing.smx
L 05/21/2023 - 22:17:45: [SM] Call stack trace:
L 05/21/2023 - 22:17:45: [SM] [0] GetClientTeam
L 05/21/2023 - 22:17:45: [SM] [1] Line 268, \\NEO\L4D2_server\left4dead2\addons\sourcemod \scripting
Mystik Spiral is offline
TBK Duy
Member
Join Date: Jun 2017
Location: Vietnam
Old 05-24-2023 , 00:10   Re: [L4D & L4D2] Bot Healing Values (2.1) [20-Aug-2022]
Reply With Quote #16

I would like an option that the bots would heal after incapped one time if possible, B&W is not a optimal way for me, the bots just likely cannot survive due to rapidly attack from infected, and without any human player alive on the team
TBK Duy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-24-2023 , 20:34   Re: [L4D & L4D2] Bot Healing Values (2.2) [25-May-2023]
Reply With Quote #17

Code:
2.2 (25-May-2023)
    - Fixed invalid client errors. Thanks to "Mystik Spiral" for reporting and "BHaType" for information.
    - Client could be 0 but hooking would still be valid, so removing team check works fine and is valid.
__________________
Silvers is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 05-25-2023 , 21:03   Re: [L4D & L4D2] Bot Healing Values (2.2) [25-May-2023]
Reply With Quote #18

Thank you Silvers! Just confirming new version works great!
Mystik Spiral is offline
Iciaria
Member
Join Date: Aug 2022
Old 11-12-2023 , 07:35   Re: [L4D & L4D2] Bot Healing Values (2.3) [25-May-2023]
Reply With Quote #19

Code:
l4d_bot_healing_die_first "1"
l4d_bot_healing_die_pills "0"
version 2.3:
installed:
Actions extension
Source Scramble
bot only use pills when him black and white.


I have been using version 2.1/2.2 for a long time, and this situation has always existed for me.
version 2.2:
only installed Actions extension
OR
Actions extension
Source Scramble
__________________
Sorry,my english not good

Last edited by Iciaria; 11-12-2023 at 07:35.
Iciaria is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 11-12-2023 , 16:22   Re: [L4D & L4D2] Bot Healing Values (2.3) [25-May-2023]
Reply With Quote #20

Quote:
Originally Posted by Iciaria View Post
Code:
l4d_bot_healing_die_first "1"
l4d_bot_healing_die_pills "0"
version 2.3:
installed:
Actions extension
Source Scramble
bot only use pills when him black and white.


I have been using version 2.1/2.2 for a long time, and this situation has always existed for me.
version 2.2:
only installed Actions extension
OR
Actions extension
Source Scramble
What may be happening is that the bots are stuck in a loop continuously "thinking" of the action "SurvivorHealSelf" or "SurvivorHealFriend" because they cannot use a first_aid_kit until the target is black and white. Once the bot is black and white (or no longer has a first_aid_kit) they may start thinking of the action "SurvivorTakePills".

When testing when the bot takes pills, make sure the bot does not have a first_aid_kit... this way the bot should take (or give) pills normally.
__________________

Last edited by Mystik Spiral; 11-12-2023 at 16:29. Reason: added testing suggestion
Mystik Spiral is offline
Reply



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 03:16.


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