Quote:
Originally Posted by cravenge
I have tested this many times and I haven't encountered such a single crash. The reason why I coded it that way is to not overload the precached models table on map start.
By removing that code, you are also limiting the use of the plugin to only work in problematic maps unless you knew what you were doing.
There won't be any conflict although players wouldn't be tell who's B/W in said maps properly since two clones will be made and one might overshadow the other depending on the brightness between both clones.
|
I have 2 documented videos that show this crash. This
https://www.twitch.tv/videos/810587648 and this
https://www.twitch.tv/videos/809486823.
The first one is the one you saw before while the other one happened on no mercy. In both clips the crashed occured after black and white status was removed from the entire survivor team.
First clip, rochelle heals it lags a bit but no crash, then ellis heals and now that no survivor is black and white anymore server crashed.
In the second clip, zoey's black and white was removed on saferoom transition because of saferoom nap, no more survivors with black and white on team and server crashed.
These crashes both happened with health glow put together with your plugin. These clips prove that it didn't matter if there was lots of players in match (as in the first clip there was about 5 players while in the second only 2), and also that it didn't matter whether black and white was healed from a player or bot as in the second clip it was zoey.
Additionally my server provider enabled debug for the servers and this is what the debug reports:
Code:
----------------------------------------------
CRASH: Sat 21 Nov 2020 12:55:24 PM CET
Start Line: ./srcds_linux -game left4dead2 -ip 188.40.133.148 -port 27025 +map c1m1_hotel -nobreakpad -debug -nohltv -tvdisable +mp_gamemode coop
[New LWP 28773]
[New LWP 28774]
[New LWP 28778]
[New LWP 28781]
[New LWP 32684]
[New LWP 28776]
[New LWP 32679]
[New LWP 432]
[New LWP 400]
[New LWP 433]
[New LWP 32677]
Core was generated by `./srcds_linux -game left4dead2 -ip 188.40.133.148 -port 27025 +map c1m1_hotel -'.
Program terminated with signal SIGABRT, Aborted.
#0 0xf7edf069 in ?? ()
[Current thread is 1 (LWP 28773)]
#0 0xf7edf069 in ?? ()
Backtrace stopped: Cannot access memory at address 0xffd44a90
No symbol table info available.
eax 0x0 0
ecx 0xffd44aac -2864468
edx 0x0 0
ebx 0x2 2
esp 0xffd44a90 0xffd44a90
ebp 0xffd44aac 0xffd44aac
esi 0x8 8
edi 0x0 0
eip 0xf7edf069 0xf7edf069
eflags 0x282 [ SF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
No shared libraries loaded at this time.
End of Source crash report
----------------------------------------------
It says cannot access memory address which could possibly mean that both health glows and BW checker combined ended up maybe taking too much memory and causing the server to go down.
I have tested a bit without healthglow and only your plugin. I played a full match of dead center and I got no crash. I am going to test this further to make sure it doesn't happen again. If it doesn't happen then it was this combination of plugins to cause that. Otherwise I might have to remove the checker even though I really like it.
"By removing that code, you are also limiting the use of the plugin to only work in problematic maps unless you knew what you were doing."
What do you mean by this? The reason why I removed the grave is because certain maps have trouble with models and using these models on them causes crashes. I am not sure if it's the case with your plugin though as I only see a outline glow of the model rather than the model itself.
And also wouldn't it be cooler to have a white aura glow like healthglow does it?