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

[L4D & L4D2] Survivor Bot Takeover v0.8


Post New Thread Reply   
 
Thread Tools Display Modes
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 07-28-2018 , 13:42   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #151

Some errors thrown with this version of the plugin: https://forums.alliedmods.net/showpo...&postcount=145

Code:
L 07/27/2018 - 01:42:44: SourceMod error session started
L 07/27/2018 - 01:42:44: Info (map "largeroom_e") (file "errors_20180727.log")
L 07/27/2018 - 01:42:44: [SM] Exception reported: Client 9 is not in game
L 07/27/2018 - 01:42:44: [SM] Blaming: L4D2_takeover.smx
L 07/27/2018 - 01:42:44: [SM] Call stack trace:
L 07/27/2018 - 01:42:44: [SM]   [0] GetClientTeam
L 07/27/2018 - 01:42:44: [SM]   [1] Line 679, /home/forums/content/files/1/5/2/4/2/1/162734.attach::FormatTiers
L 07/27/2018 - 01:42:44: [SM]   [2] Line 654, /home/forums/content/files/1/5/2/4/2/1/162734.attach::TOFindBot
L 07/27/2018 - 01:42:44: [SM]   [3] Line 469, /home/forums/content/files/1/5/2/4/2/1/162734.attach::IsTakeoverPossible
L 07/27/2018 - 01:42:44: [SM]   [4] Line 485, /home/forums/content/files/1/5/2/4/2/1/162734.attach::ExecuteTakeoverCheck
L 07/27/2018 - 01:42:44: [SM]   [5] Line 500, /home/forums/content/files/1/5/2/4/2/1/162734.attach::OnClientDisconnect
L 07/27/2018 - 02:10:37: Error log file session closed.
The error would always be "Client X is not in the game."

Also a few other bugs:

1. If someone's currently idle, another dead player can still execute the !takeover command and try to take over the idle one. But what ends up happening is they get bumped to spectate mode.
2. I also notice clients are disconnecting randomly - no Steam logon, server crashes when I join mid-game. Not sure if they are related to this issue.

I am also using this in conjunction with L4Downtown and don't have any other plugins that mess with player counts.

Last edited by Mr. Man; 07-28-2018 at 13:59.
Mr. Man is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 12-06-2018 , 13:07   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #152

Quote:
Originally Posted by eyal282 View Post
Hey. I remade...
Quote:
Originally Posted by muukis View Post
Well done!
Hello guys.

I would like to contribute improving this plugin. First of all, thank you for supporting L4D2 servers.

I have found 3 problems:

PROBLEM 1 - Random crashes on all incapped
When does it happen? A few seconds after all players are incapped and before the next round/map
Versus mode
10x10
This problem happened 3 times in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

PROBLEM 2 - Random crashes when incapped by a Tank
When does it happen? Instantly after the Tank incapped me (there were another players and bots playing)
Versus mode
10x10
This problem happened 1 time in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

Bug in versus when a player is idle
When does it happen? My server runs an !away plugin idle command (away_from_keyboard like coop) on versus mode. With this !away plugin, takeover thinks the bot from that idle player is available. You go to spec (as expected)
Solution: I have made a simple fix that I copied from superversus (bellow)
#line 602 and 603
#line 895 to 915
Feel free to incorporate on your takeover versions.

Questions:
Do you guys run this plugin on versus server?
Do you guys have the problem 1 and 2?

I will appreciate a help about my random crashes.

Thank you in advanced.
Attached Files
File Type: sp Get Plugin or Get Source (takeover_fix_idle.sp - 858 views - 24.3 KB)
SilentBr is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 12-18-2018 , 03:29   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #153

More errors FYI:

Code:
L 12/16/2018 - 19:08:51: [SM] Blaming: L4D2_takeover.smx
L 12/16/2018 - 19:08:51: [SM] Call stack trace:
L 12/16/2018 - 19:08:51: [SM]   [0] GetClientHealth
L 12/16/2018 - 19:08:51: [SM]   [1] Line 999, \scripting\L4D2_takeover.sp::IsClientAlive
L 12/16/2018 - 19:08:51: [SM]   [2] Line 1015, \scripting\L4D2_takeover.sp::CheckSurvivorsAllDown
L 12/16/2018 - 19:08:51: [SM]   [3] Line 293, \scripting\L4D2_takeover.sp::event_PlayerIncap
L 12/16/2018 - 19:08:51: [SM]   [5] AcceptEntityInput
L 12/16/2018 - 19:08:51: [SM]   [6] Line 259, /home/forums/content/files/2/5/7/8/4/1/161447.attach::Entity_Hurt
L 12/16/2018 - 19:08:51: [SM]   [7] Line 191, /home/forums/content/files/2/5/7/8/4/1/161447.attach::NextFrame
L 12/16/2018 - 19:22:59: Error log file session closed.
Mr. Man is offline
KRUTIK
Senior Member
Join Date: Feb 2019
Location: Мос
Old 10-06-2019 , 14:22   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #154

How to fix the error?
[SM] Blaming: takeover_fix_idle.smx
L 10/06/2019 - 18:42:56: [SM] Call stack trace:
L 10/06/2019 - 18:42:56: [SM] [0] GetClientTeam
L 10/06/2019 - 18:42:56: [SM] [1] Line 579, plugin.sp::TOFindBot
L 10/06/2019 - 18:42:56: [SM] [2] Line 459, plugin.sp::IsTakeoverPossible
L 10/06/2019 - 18:42:56: [SM] [3] Line 474, plugin.sp::ExecuteTakeoverCheck
L 10/06/2019 - 18:42:56: [SM] [4] Line 489, plugin.sp::OnClientDisconnect
L 10/06/2019 - 18:43:04: [SM] Exception reported: Client 8 is not in game
KRUTIK is offline
ceasedU
Member
Join Date: Sep 2018
Old 11-17-2019 , 03:44   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #155

i cant seem to turn autodeath to 0. everytime someon dies they automatically switch even though the cvar is set to 0
ceasedU is offline
Striker black
Member
Join Date: Apr 2013
Old 01-04-2020 , 08:30   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #156

Quote:
Originally Posted by SilentBr View Post
Hello guys.

I would like to contribute improving this plugin. First of all, thank you for supporting L4D2 servers.

I have found 3 problems:

PROBLEM 1 - Random crashes on all incapped
When does it happen? A few seconds after all players are incapped and before the next round/map
Versus mode
10x10
This problem happened 3 times in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

PROBLEM 2 - Random crashes when incapped by a Tank
When does it happen? Instantly after the Tank incapped me (there were another players and bots playing)
Versus mode
10x10
This problem happened 1 time in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

Bug in versus when a player is idle
When does it happen? My server runs an !away plugin idle command (away_from_keyboard like coop) on versus mode. With this !away plugin, takeover thinks the bot from that idle player is available. You go to spec (as expected)
Solution: I have made a simple fix that I copied from superversus (bellow)
#line 602 and 603
#line 895 to 915
Feel free to incorporate on your takeover versions.

Questions:
Do you guys run this plugin on versus server?
Do you guys have the problem 1 and 2?

I will appreciate a help about my random crashes.

Thank you in advanced.
I don't use this plugin on my server because I realized that it crashes it and I can confirm that your options are the right 1 and 2
Striker black is offline
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 04-03-2020 , 14:57   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #157

keep getting "TAKEOVER FAILED" while using ABM.
but it's work fine with Super Versus.
anyone know how to fix this?

I already disabled ABM Takover and nothing happend.
still TAKEOVER FAILED
zaviier is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 09-22-2020 , 01:12   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #158

I added cmd values.

!to
!tbot
!bot with take a bot
Attached Files
File Type: sp Get Plugin or Get Source (takeover_fix_idle.sp - 169 views - 24.4 KB)

Last edited by Darkwob; 09-22-2020 at 01:13.
Darkwob is offline
kissdjmax
Junior Member
Join Date: May 2013
Old 10-08-2020 , 03:20   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #159

Quote:
Originally Posted by SilentBr View Post
Hello guys.

I would like to contribute improving this plugin. First of all, thank you for supporting L4D2 servers.

I have found 3 problems:

PROBLEM 1 - Random crashes on all incapped
When does it happen? A few seconds after all players are incapped and before the next round/map
Versus mode
10x10
This problem happened 3 times in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

PROBLEM 2 - Random crashes when incapped by a Tank
When does it happen? Instantly after the Tank incapped me (there were another players and bots playing)
Versus mode
10x10
This problem happened 1 time in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

Bug in versus when a player is idle
When does it happen? My server runs an !away plugin idle command (away_from_keyboard like coop) on versus mode. With this !away plugin, takeover thinks the bot from that idle player is available. You go to spec (as expected)
Solution: I have made a simple fix that I copied from superversus (bellow)
#line 602 and 603
#line 895 to 915
Feel free to incorporate on your takeover versions.

Questions:
Do you guys run this plugin on versus server?
Do you guys have the problem 1 and 2?

I will appreciate a help about my random crashes.

Thank you in advanced.

The same error occurs repeatedly


HTML Code:
L 10/08/2020 - 14:20:58: SourceMod error session started
L 10/08/2020 - 14:20:58: Info (map "c2m5_concert") (file "d:\server\left4dead2\addons\sourcemod\logs\errors_20201008.log")
L 10/08/2020 - 14:20:58: [SM] Exception reported: Client 6 is not in game
L 10/08/2020 - 14:20:58: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:20:58: [SM] Call stack trace:
L 10/08/2020 - 14:20:58: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:20:58: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:20:58: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:20:58: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:20:58: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:01: [SM] Exception reported: Client 3 is not in game
L 10/08/2020 - 14:21:01: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:01: [SM] Call stack trace:
L 10/08/2020 - 14:21:01: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:01: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:01: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:01: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:01: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:05: [SM] Exception reported: Client 14 is not in game
L 10/08/2020 - 14:21:05: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:05: [SM] Call stack trace:
L 10/08/2020 - 14:21:05: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:05: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:05: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:05: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:05: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:09: [SM] Exception reported: Client 7 is not in game
L 10/08/2020 - 14:21:09: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:09: [SM] Call stack trace:
L 10/08/2020 - 14:21:09: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:09: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:09: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:09: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:09: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:12: [SM] Exception reported: Client 14 is not in game
L 10/08/2020 - 14:21:12: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:12: [SM] Call stack trace:
L 10/08/2020 - 14:21:12: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:12: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:12: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:12: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:12: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:20: [SM] Exception reported: Client 18 is not in game
L 10/08/2020 - 14:21:20: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:20: [SM] Call stack trace:
L 10/08/2020 - 14:21:20: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:20: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:20: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:20: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:20: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:23: [SM] Exception reported: Client 18 is not in game
L 10/08/2020 - 14:21:23: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:23: [SM] Call stack trace:
L 10/08/2020 - 14:21:23: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:23: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:23: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:23: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:23: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:27: [SM] Exception reported: Client 18 is not in game
L 10/08/2020 - 14:21:27: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:27: [SM] Call stack trace:
L 10/08/2020 - 14:21:27: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:27: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:27: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:27: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:27: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:36: [SM] Exception reported: Client 20 is not in game
L 10/08/2020 - 14:21:36: [SM] Blaming: takeover_fix_idle.smx
L 10/08/2020 - 14:21:36: [SM] Call stack trace:
L 10/08/2020 - 14:21:36: [SM]   [0] GetClientTeam
L 10/08/2020 - 14:21:36: [SM]   [1] Line 593, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::TOFindBot
L 10/08/2020 - 14:21:36: [SM]   [2] Line 467, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::IsTakeoverPossible
L 10/08/2020 - 14:21:36: [SM]   [3] Line 483, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::ExecuteTakeoverCheck
L 10/08/2020 - 14:21:36: [SM]   [4] Line 498, E:\Game\S\1.10.0.6497\scripting\takeover_fix_idle.sp::OnClientDisconnect
L 10/08/2020 - 14:21:55: Error log file session closed.

Last edited by kissdjmax; 10-08-2020 at 03:22. Reason: Edit
kissdjmax is offline
Alex101192
Senior Member
Join Date: Aug 2018
Old 10-14-2020 , 13:18   Re: [L4D & L4D2] Survivor Bot Takeover v0.8
Reply With Quote #160

Quote:
Originally Posted by SilentBr View Post
Hello guys.

I would like to contribute improving this plugin. First of all, thank you for supporting L4D2 servers.

I have found 3 problems:

PROBLEM 1 - Random crashes on all incapped
When does it happen? A few seconds after all players are incapped and before the next round/map
Versus mode
10x10
This problem happened 3 times in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

PROBLEM 2 - Random crashes when incapped by a Tank
When does it happen? Instantly after the Tank incapped me (there were another players and bots playing)
Versus mode
10x10
This problem happened 1 time in the last 5 hours.
Without this plugin this kind of crash does not happen.
PS: I used the default .smx and .txt in the first post

Bug in versus when a player is idle
When does it happen? My server runs an !away plugin idle command (away_from_keyboard like coop) on versus mode. With this !away plugin, takeover thinks the bot from that idle player is available. You go to spec (as expected)
Solution: I have made a simple fix that I copied from superversus (bellow)
#line 602 and 603
#line 895 to 915
Feel free to incorporate on your takeover versions.

Questions:
Do you guys run this plugin on versus server?
Do you guys have the problem 1 and 2?

I will appreciate a help about my random crashes.

Thank you in advanced.
Hey how did you fix the problem with takeover asking you to do it when there is a idle player? What exactly did you take from superversus that fixed it?
Alex101192 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 19:17.


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