Raised This Month: $32 Target: $400
 8% 

[L4D2] Survivor Bot AI Improver


Post New Thread Reply   
 
Thread Tools Display Modes
kooper990
Member
Join Date: Jan 2021
Old 06-08-2023 , 20:29   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #31

that is also true. BTW, I wish for another feature for this plugin; we can set the options to allow what items for bots to throw at the tank, and perhaps change where they exactly throw the item -- like say at the general direction of the incoming horde?-- otherwise, they made the strategy worse
kooper990 is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 06-09-2023 , 15:48   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #32

I did few tests yesterday and i had 2 times my server crashing ans stuck in a restart loop.

I reboot my computer ans start the server but it was restarting every 10 sec and the console write a segmentation core error (or something like that)

I had to uninstall the plugin to be able to have my server to start.

I will do more tests tonight (with and without "action" and without gear transfert.

Update:

My server crashed again and i manage to copy the content of the console.

Spoiler

and i had to remove the plugin or my server keep restarting with this message:
Spoiler
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla

Last edited by NeoTM; 06-10-2023 at 18:01.
NeoTM is offline
valedar
Member
Join Date: May 2022
Location: Russian
Old 06-11-2023 , 11:00   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #33

Quote:
Originally Posted by NeoTM View Post
I did few tests yesterday and i had 2 times my server crashing ans stuck in a restart loop.

I reboot my computer ans start the server but it was restarting every 10 sec and the console write a segmentation core error (or something like that)

I had to uninstall the plugin to be able to have my server to start.

I will do more tests tonight (with and without "action" and without gear transfert.

Update:

My server crashed again and i manage to copy the content of the console.

Spoiler

and i had to remove the plugin or my server keep restarting with this message:
Spoiler
I also get a server crash once a day.
./srcds_run: line 341: 25707 Segmentation fault (core dumped) $HL_CMD
valedar is offline
valedar
Member
Join Date: May 2022
Location: Russian
Old 06-11-2023 , 11:03   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #34

author, thanks for your wonderful plugin, really, but please, please correct your mistakes properly, the server really crashes because of it the plugin is really great)

Last edited by valedar; 06-11-2023 at 11:06.
valedar is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 06-11-2023 , 14:05   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #35

I am afraid I am going to jinx myself by saying this, but I have been using this plugin since before it was posted on AlliedModders and I have never had it crash my server on Windows (but I have had plenty of exceptions reported). I wonder if those of you getting server crashes are all running Linux?
Mystik Spiral is offline
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 06-13-2023 , 00:31   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #36

thanks for your wonderful plugin
chungocanh12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-13-2023 , 07:38   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #37

This is a modified version of 1.4 - I sent to someone and they reported it no longer crashes.

Author: please compare to see the changes.

Calling some natives before OnMapStart seems to be the crash. The next left4dhooks update will simply block the calls but for now you can add these checks into your plugin (and since some others maybe slow in updating left4dhooks). L4D2_NavAreaBuildPath and other NavArea natives, and a few other things.

There are more things that could be optimized, I haven't had time to go through and write anything about it.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_sb_ai_improver.sp - 108 views - 231.5 KB)
__________________

Last edited by Silvers; 06-13-2023 at 07:38.
Silvers is offline
kooper990
Member
Join Date: Jan 2021
Old 06-15-2023 , 10:29   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #38

Does anyone have a potential bug where the bots never picks up the Grenade launcher and or M60? there is no weapon pref. option for them, so....
kooper990 is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 06-15-2023 , 19:53   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #39

Quote:
Originally Posted by kooper990 View Post
Does anyone have a potential bug where the bots never picks up the Grenade launcher and or M60? there is no weapon pref. option for them, so....
I have seen them pick up tier3 weapons.

Run these two commands on the server console to verify the values:

sm_cvar l4d2_improvedbots_tier3weaponlimit_grenadelau ncher
sm_cvar l4d2_improvedbots_tier3weaponlimit_m60
Mystik Spiral is offline
kooper990
Member
Join Date: Jan 2021
Old 06-16-2023 , 10:53   Re: [L4D2] Survivor Bot AI Improver
Reply With Quote #40

Quote:
Originally Posted by Mystik Spiral View Post
I have seen them pick up tier3 weapons.

Run these two commands on the server console to verify the values:

sm_cvar l4d2_improvedbots_tier3weaponlimit_grenadelau ncher
sm_cvar l4d2_improvedbots_tier3weaponlimit_m60
Yes, the grenade launcher is ON 1. The M60 is disabled on my behalf.

] sm_cvar l4d2_improvedbots_tier3weaponlimit_grenadelau ncher
[SM] Value of cvar "l4d2_improvedbots_tier3weaponlimit_grenadela uncher": "1"
kooper990 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 05:28.


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