Raised This Month: $ Target: $400
 0% 

[L4D/L4D2] Infected Bots Control (1.0.0)


Post New Thread Reply   
 
Thread Tools Display Modes
jamalsheref2
Senior Member
Join Date: May 2017
Old 10-24-2022 , 19:21   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1661

Quote:
Originally Posted by HarryPotter View Post
Althought you got banned, I still want to ask what does jamalsheref2 mean "ghost speed increases"?
Its just my name expect for the number 2. It was just something random in my head. Also don't worry about fixing the infected bots 1.8.3 already got over it.
jamalsheref2 is offline
McRi0t
Junior Member
Join Date: Oct 2022
Old 11-11-2022 , 15:44   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1662

I downloaded and installed straight off GitHub, Updated L4DHooks, and downloaded multic

I just keep having issues with infectedbots loading :{
All other plugins load just fine. This one hates me. Not sure what it is I am missing?

Server. Linux

Code:
[SM] Failed to load plugin "l4dinfectedbots.smx": Unable to load plugin (bad header).

Last edited by McRi0t; 11-11-2022 at 18:02.
McRi0t is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-12-2022 , 01:06   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1663

Quote:
Originally Posted by McRi0t View Post
I downloaded and installed straight off GitHub, Updated L4DHooks, and downloaded multic

I just keep having issues with infectedbots loading :{
All other plugins load just fine. This one hates me. Not sure what it is I am missing?

Server. Linux

Code:
[SM] Failed to load plugin "l4dinfectedbots.smx": Unable to load plugin (bad header).
Compile the source code locally.
Or update sourcemod to v1.11
__________________
HarryPotter is offline
McRi0t
Junior Member
Join Date: Oct 2022
Old 11-12-2022 , 12:47   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1664

!!POST RESOLVED!!

Quote:
Originally Posted by HarryPotter View Post
Compile the source code locally.
Or update sourcemod to v1.11
I was already running Sourcemod 1.11 I updated to the slightly newer build version anyway. (didn't work)

I'm trying to learn as I go here, haven't actually compiled a plugin before so I Youtubed it and attempted to compile.

l4dinfectedbots.sp (which I just got from GitHub)

stuck it in: https://www.sourcemod.net/compiler.php

got an error dump (probably from doing it wrong?)

Update: Just found compile.sh in sourcemod > scripting tried running it in Terminal with the l4dinfectedbots.sp file. Nothing has happened yet. Still tinkering with it :/

Spoiler


I apologize for being a noob. Only been at this for about a year, off and on. I still have a lot to learn and figure out but I'm trying

up-up-update:
Spoiler


figured out how to run compile.sh in the terminal on the server. Still getting errors but maybe I'm getting closer? (don't know what the errors mean)...

My brain is going to blow up. So I got it to compile! After finding this on GitHub
Quote:
After the Multi-Colors 2.2.0 update, it doesn't work in l4d2.
I release older Multi-Colors version here until they fix it.
Got super excited! The script compiled! I got a new plugin! START the Server Kronk!

and oof this. I think I'm at my limit.. Not to sure what the next move is? So now I wait and hope HarryPotter has some magic for me Thank you for your time.
I did have the plugin working a few months back. It's great. Hope to use it again.


Spoiler


HAHAH Well I hope you enjoyed this read. All brought to you by: This Guy is A Scrub Noob With No Idea What He is Doing Why is he Running a Server at All?

Got everything working and learned to compile scripts myself!
I suddenly realized I had saved the gamedata and translations file as some sort of html /facepalms

So sorry for wasting your time, hope you got a laugh at my expense.
Thank you for you hard work! Till we meet again.

!!POST RESOLVED!!

Last edited by McRi0t; 11-12-2022 at 14:21.
McRi0t is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 11-19-2022 , 21:13   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1665

Quote:
Originally Posted by Manslaughter View Post
Hey Harry, thanks for continuing to improve this plugin. I do however, have a bug to report.

While playing Versus, if there's a human on the infected team, then special infected bots will not respawn after their initial life if l4d_infectedbots_coordination is set to 1. This would also happen on previous versions of your plugin after tanks die, and sometimes go long periods of time without respawning (all while at least 1 human player is on the team, still).
https://forums.alliedmods.net/showpo...postcount=1633
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 11-19-2022 , 22:49   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1666

version 2.7.7
1.经过测试本插件与smac_wallhack发生冲突.当坦克出现时,感染者玩家,无法扮演 坦克,如果移除smac_wallhack,则功能正常.
2.我测试出获得BUG_TANK的方法,此方法仅限BUG重现,在正常游戏中,每次出现坦克获 得BUGtank几率低于30%.
--a.扮演一个坦克,并将他控制权sm_cvar z_frustration_lifetime "1"
--b.等待坦克控制权丧失,你将获得一个拥有坦克皮肤和能力的特殊感染者,他的行走速度与攻击与感 染者相同,并且会拥有无限的控制权.

我之前2.6.4版本提到的就是这个问题,只是这种情况出现几率低我认为作者修复了这个问题,可 是直到后面的版本又频繁的出现,在一次意外测试中,我发现了制造BUGtank出现的方法.但平 时游戏中他如何出现的,不得而知.但出现的bugtank状态是一模一样的.

------google translate----------
1. After testing, this plugin conflicts with smac_wallhack. When tanks appear, infected players cannot play as tanks. If smac_wallhack is removed, the function will be normal.
2. I tested the method of obtaining BUG_TANK, this method is limited to BUG reproduction, in a normal game, the probability of obtaining BUGtank every time a tank appears is less than 30%.
--a. Play as a tank and set his control to sm_cvar z_frustration_lifetime "1"
--b. Wait for the tank to lose control, you will get a special infected with tank skin and abilities, his walking speed is the same as attacking and infected, and will have unlimited control.

I mentioned this problem in version 2.6.4 before, but the probability of this situation is low. I think the author fixed this problem, but it did not appear frequently until the later version. In an accidental test, I found that the manufacturing BUGtank appeared However, how he appears in the game is unknown. But the status of the bugtank that appears is exactly the same.
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:

Last edited by ZBzibing; 11-20-2022 at 09:27.
ZBzibing is offline
Fraggor
Member
Join Date: Jun 2020
Old 11-23-2022 , 20:29   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1667

Hi @HarryPotter, thanks for the nice fork, works great. Anyway while using the latest version v2.7.7, I've found a small issue:

To reproduce the bug:

1. Be on survivor team
2. Get pinned (pounced, tugged, lounged, etc...)
3. Switch to infected team using sm_ji
Bug: the music keep looping as if the player is being attacked.
Spoiler

While this fixed the issue. I faced another one

If there's a witch nearby, the music "witchencroacher.wav" keep on playing, even after switching to the infected team

Spoiler

Then whatever music is playing will keep looping, this is very hacky way and doesn't properly resolve the issue.

- is this a bug from the dhooks native "L4D_CleanupPlayerState()" ?
- or is that the way that native is supposed to work ?
- do you have any suggestion to resolve this issue

My suggestion is: prevent the usage of "sm_ji" while being attacked
Fraggor is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-24-2022 , 03:11   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1668

Quote:
Originally Posted by Fraggor View Post

Spoiler

While this fixed the issue. I faced another one

If there's a witch nearby, the music "witchencroacher.wav" keep on playing, even after switching to the infected team

Spoiler
Wow, thanks a lot, I don't know we can stop music by using left4dhooks functions

Quote:
Then whatever music is playing will keep looping, this is very hacky way and doesn't properly resolve the issue.

- is this a bug from the dhooks native "L4D_CleanupPlayerState()" ?
- or is that the way that native is supposed to work ?
- do you have any suggestion to resolve this issue

My suggestion is: prevent the usage of "sm_ji" while being attacked
These music bugs are from l4d1+2 game itself because we force real players to play infected team in "Coop Mode".

In older "Infected Bots control" version, other authors wrote the following codes to stop music bugs.
PHP Code:
FakeClientCommand(client"music_dynamic_stop_playing Event.WitchAttack");
FakeClientCommand(client"music_dynamic_stop_playing Event.WitchBurning");
FakeClientCommand(client"music_dynamic_stop_playing Event.WitchRage");
FakeClientCommand(client"music_dynamic_stop_playing Event.WitchDead");
..... 
But after the update in 201X (I forgot the year), game prevents server from executing some commands for client, such as "bind", "cl_glow_ghost_infected_g", "music_dynamic_stop_playing", etc.

PHP Code:
FCVAR_SERVER_CAN_EXECUTE prevented server running commandmusic_dynamic_stop_playing 
Back to 2019 the time I remade "Infected Bots control" (No left4dhooks yet), I didn't know how to stop music bugs. Until now you share the tricks, thank you.

There are several bugs if playing infected team in coop mode, you didn't encounter because I fixed them.
1. You don't have infected flashlight
2. You can not see the infected ladder
3. You can not see the survivor glow
4. You can't enter ghost state
5. Your tank never loses control
6. No reward sound when doing damage to survivors
7. Tank ghost bug
__________________

Last edited by HarryPotter; 12-03-2022 at 20:39.
HarryPotter is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-24-2022 , 03:18   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1669

[L4D/L4D2] Infected Bots Control Impoved Version 2.7.8 (2022/11/24 )
- Fixed abnormal Tank Bug. Thanks to "ZBzibing" for reporting.
- Fixed Music Bugs. Thanks to "Fraggor" for help.
__________________
HarryPotter is offline
Fraggor
Member
Join Date: Jun 2020
Old 11-25-2022 , 11:40   Re: [L4D/L4D2] Infected Bots Control (1.0.0)
Reply With Quote #1670

You're welcome, am glad that i could "help".
Forgot to mention that the plugin won't compile, the compiler complains about C_PrintTo*
using latest muticolors.inc
Anyway, appreciate the effort and info
Fraggor 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 08:00.


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