Left 4 Dead 2

Left 4 Dead 2

Manacat Common Library
129 Comments
4512369781 13 hours ago 
@MANACAT
perhaps the trace hit player or something has a shorter class name.
MANACAT  [author] 19 hours ago 
@4512369781
thanks for your code review, but i still wonder when that error occurred
4512369781 21 hours ago 
in file rngitem.nut, line 1959:
m_trace.enthit.GetClassname().slice(0, 7) == "weapon_"

I recommend use find(), so the [slice out of range] error won't happens again.
MANACAT  [author] 5 Oct @ 5:50am 
@Cr0w
i fixed that.

If it happens that often, It's better to show me streaming. so I can clearly see the conditions that can arise. I can guess some of the causes from your console messages, but I don't know all the exact trigger conditions.
Cr0w 5 Oct @ 2:19am 
the problem was bascally already stated by GoldBar, it just applies to a lot more items. the first one of this list spams most often starting maps and a couple more times through a map.
https://imgur.com/a/pe6HuCI
MANACAT  [author] 5 Oct @ 2:00am 
@Cr0w
rather than blaming simply, report in detail please, or just unsub and leave. you also know you haven't been of any help to me at all.
Cr0w 5 Oct @ 1:48am 
dislike that this fills the console with errors constantly because I don't have all of your mods installed, especially rng item stuff.
Leo 4 Oct @ 1:45pm 
all of your addons seem to have stopped working since the last update
杜子牛 2 Oct @ 5:51am 
The problem remains unfixed when lef4bot2 picks up items. Red error on the console
MANACAT  [author] 2 Oct @ 12:23am 
@GoldBar
i fixed that
MANACAT  [author] 1 Oct @ 10:13am 
i'll check soon
GoldBar 1 Oct @ 9:31am 
The error happens when bots try to pick up any items. I'm using left 4 bots 2 and pretty sure these come up since your latest update.
GoldBar 1 Oct @ 7:13am 
AN ERROR HAS OCCURED [the index 'models/w_models/weapons/w_eq_Medkit.mdl' does not exist]

CALLSTACK
*FUNCTION [OnGameEvent_weapon_drop()] scripts/vscripts/manacat_lib/rngitem.nut line [594]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]

LOCALS
[mdl] "models/w_models/weapons/w_eq_Medkit.mdl"
[body] 0
[skin] 0
[drop] INSTANCE
[player] INSTANCE
[params] TABLE
[this] TABLE
[funcName] "OnGameEvent_weapon_drop"
[idx] 0
[useTable] TABLE
[bWarnIfMissing] false
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "weapon_drop"
[this] TABLE
[params] TABLE
[event] "weapon_drop"
[this] TABLE
MANACAT  [author] 28 Sep @ 5:03am 
I can't help you because it works well for me. so I need to check something details, Come to my Discord and show me your streaming. https://discord.com/invite/pBDfrxYqJP
genix 27 Sep @ 8:15pm 
the update broke like half of my collection since it's made from your mods, pls fix. I cant play without my improved tank ai
how 27 Sep @ 7:06pm 
ever since this updated none of your addons work
Sunbro JL 22 Sep @ 11:21pm 
Ever since this mod updated some of the cars are mono colored. As in, an entire car with be blue or red.
街雨大叔叔 19 Sep @ 9:32pm 
When I switch the character in TUMTARA map by this mod, it causes my game to lag for a moment. Is there a way to fix it?
Albert Wiskers 19 Sep @ 7:01pm 
does this mod makes TLS skins to randomly appear arroud the map? i just want to know.
Ghost★Girl 19 Sep @ 10:06am 
@MANACAT I thought you were the one who made Left 4 Bots 2, but nope. I'm so sorry. x'DDDDD
MANACAT  [author] 19 Sep @ 9:39am 
@Frigid★Empress
what is that "Nick swap" command? that's not mine
Ghost★Girl 19 Sep @ 8:56am 
@MANACAT Bug report: when you try to swap anything with Nick using "Nick swap" command, it doesn't do anything.
GXRaiden 19 Sep @ 5:43am 
@MANACAT sorry sorry, trying to reinstall discord right now
GXRaiden 19 Sep @ 5:30am 
At first reinstall, nothing happens.. but after a few campaigns the camera shake starts to show during the deagle's reload, and whats weird is.. its just for the magnum, the rest of the guns are unaffected.
GXRaiden 19 Sep @ 5:28am 
Oh hey, its more of a chance that it can happen, because a while ago.. I was testing out what was causing it and I tried disabling your mods one by one and re-downloading it.
MANACAT  [author] 19 Sep @ 5:25am 
@GXRaiden
What do you mean, can you show me your streaming? Come to my Discord and show me your stream. https://discord.com/invite/pBDfrxYqJP

because i tried to use mw2019 magnum but i didn't find out anything
GXRaiden 19 Sep @ 5:04am 
Hi, this mod kinda causes a reload camera shake bug on mav's MW2019 desert eagle/magnum mod.
Ghost★Girl 18 Sep @ 12:33pm 
@Albert Wiskers What do you mean?
Albert Wiskers 18 Sep @ 10:59am 
is this that's causing TLS skins to appear?
Ghost★Girl 18 Sep @ 8:49am 
Oh, this got updated yesterday. That might explain why bots avoid fire now. xd
Aragaki Ayase 18 Sep @ 8:42am 
@MANACAT
It also makes default Desert Eagle cancel the animation with my custom CS2 gun stats too.
MANACAT  [author] 18 Sep @ 8:29am 
@Aragaki Ayase
Hmm give me that mod what you using
Aragaki Ayase 18 Sep @ 8:23am 
@MANACAT
I use my Counter-Strike 2 stats(script), it has reload duration of CS2 Desert Eagle. Your mod ruined my script...
MANACAT  [author] 18 Sep @ 8:04am 
@Aragaki Ayase
What do you mean the custom stats?
Aragaki Ayase 18 Sep @ 7:59am 
hey! Your newest update made the Desert Eagle reload animation has been affected while using custom stats! Please fix!
Ghost★Girl 16 Sep @ 7:31pm 
⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠆⠜⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⠿⠿⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣿
⣿⣿⡏⠁⠀⠀⠀⠀⠀⣀⣠⣤⣤⣶⣶⣶⣶⣶⣦⣤⡄⠀⠀⠀⠀⢀⣴⣿
⣿⣿⣷⣄⠀⠀⠀⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⡧⠇⢀⣤⣶⣿⣿
⣿⣿⣿⣿⣿⣿⣾⣮⣭⣿⡻⣽⣒⠀⣤⣜⣭⠐⢐⣒⠢⢰⢸⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣏⣿⣿⣿⣿⣿⣿⡟⣾⣿⠂⢈⢿⣷⣞⣸⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⣿⣷⣶⣾⡿⠿⣿⠗⠈⢻⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠻⠋⠉⠑⠀⠀⢘⢻⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⡿⠟⢹⣿⣿⡇⢀⣶⣶⠴⠶⠀⠀⢽⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⡿⠀⠀⢸⣿⣿⠀⠀⠣⠀⠀⠀⠀⠀⡟⢿⣿⣿⣿⣿⣿
⣿⣿⣿⡿⠟⠋⠀⠀⠀⠀⠹⣿⣧⣀⠀⠀⠀⠀⡀⣴⠁⢘⡙⢿⣿⣿⣿
⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⠗⠂⠄⠀⣴⡟⠀⠀⡃⠀⠉⠉⠟
MANACAT  [author] 16 Sep @ 4:16pm 
that's god damn right...
Ghost★Girl 16 Sep @ 3:44pm 
@MANACAT Then I guess bots are just naturally stupid. :V Thanks.
MANACAT  [author] 16 Sep @ 11:06am 
@zuaL
Come to my Discord and show me your stream. https://discord.com/invite/pBDfrxYqJP
zuaL 16 Sep @ 10:50am 
After the update headshot doesn't work anymore
VukVuk 16 Sep @ 5:55am 
SCRIPT PERF WARNING 'rungameeventcallback' ran long at 48.612779ms
MANACAT  [author] 15 Sep @ 9:09am 
@Frigid★Empress
i didn't do anything about bot's behavior at here
Ghost★Girl 15 Sep @ 8:53am 
@MANACAT Hey, how about bots going into fire instead of avoiding it? That's happening to me, even with a bots-avoid-fire script.
MANACAT  [author] 15 Sep @ 3:34am 
@AdrianMagdanøv
Come to my Discord and show me your stream. https://discord.com/invite/pBDfrxYqJP
AdrianMagdanøv 15 Sep @ 2:51am 
After last update (09-15-2025) there's a bug:
When you switching weapons while walking or running you get weird glitch like something is stopping you :ThinkingYellowFace:
Ghost★Girl 8 Sep @ 1:01pm 
@TBK Duy Try uninstalling it, restart the game, download it again, restart and try to play to see if it's fixed.
TBK Duy 22 Aug @ 7:56pm 
AN ERROR HAS OCCURED [Failed to include script "manacat_lib/lib"]

CALLSTACK
*FUNCTION [IncludeScript()] unnamed line [75]
*FUNCTION [main()] d:/steam/steamapps/common/left 4 dead 2/left4dead2/addons/Manacat Library.vpk/scripts/vscripts/director_base_addon.nut line [1]

LOCALS
[scope] TABLE
[name] "manacat_lib/lib"
[this] TABLE
[vargv] ARRAY
[this] TABLE

How to fix this lib not loaded ? Without this I can't use your other mods
MANACAT  [author] 21 Aug @ 4:26pm 
@🌻 Luucy 🌻
I guess there isn't any reason for conflict. (but not sure because I don't use left 4 bots)
🌻 Luucy 🌻 21 Aug @ 2:31pm 
"I'm emailing Gaben" 🤣🤣

Anyway, pardon me for the possibly dumb question, but I'd like to ask if this is compatible with the "Left 4 Bots 2" mod, or should I expect some conflict between the two?

To be honest, I don't know much about how script mods work, but I'm trying to keep everything conflict-free on my end :)