[L4D & L4D2] Bot Healing Values (2.3) [25-May-2023]
12 Attachment(s)
About:
Thanks:
CVars: Saved to l4d_bot_healing.cfg in your servers \cfg\sourcemod\ folder. PHP Code:
Changes: Code:
2.3 (07-Nov-2023) Requirements:
Compiling:
Installation: DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires 2 include files!
Updating from 1.0:
|
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
l4d2 windows server,
launch server -> join server -> crash Accelerator uploaded crash dump: Crash ID: IDYH-4XRE-YPYZ Code:
EXCEPTION_ACCESS_VIOLATION_WRITE accessing 0x7944f590 |
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
Quote:
|
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
I think detour isn't needed as for changing constant values. Here maybe is a good one utilizing Source Scramble.
|
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
Quote:
Will upload fix for windows soon. Edit: Linux L4D2 crashing also, no idea why, was working before. |
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
Quote:
Though you're right as now DHooks becomes a part of SM, I think Source Scramble is kinda widely used at least on my end xD. P.S. Suggestion that it might help to add the following ConVars about how bots decide on healing others. Code:
sb_temp_health_consider_factor : 0.5 : , "sv", "launcher" : Temporary health is multiplied by this when SurvivorBots consider who needs healing Quote:
|
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
Setting StoreToAddress updateMemAccess to true or false both produce the same crash. So I guess this method is dead too.
|
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
I would say setup is all fine, the most possible reason should be the value being edited on is read-only protected by OS:
Quote:
I also tried the patching way I prefer to, no more crashing on Linux L4D2 at least. I'm not sure how to test properly, but setting "l4d_bot_healing_first" to 10.0 made bots heal me when below 10HP. For Linux L4D1, let's say: Code:
D9 83 58 2B D8 FF fld ds:(flt_92E7E8 - 0BABC90h)[ebx] However, you can change the "83" to "05" so the assemble becomes: Code:
D9 05 58 2B D8 FF fld dword ptr ds:0xFFD82B58 If you decide to move on Source Scramble, above things should be helpful. |
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
Here I was excited this would lead to something like only allowing the bots to heal themselves or others with medkits on the final strike.
Oh well. |
Re: [L4D & L4D2] Bot Healing Values (1.0) [01-Aug-2022]
Quote:
https://forums.alliedmods.net/showpo...20&postcount=1 |
All times are GMT -4. The time now is 08:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.