View Single Post
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 09-25-2021 , 09:15   Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
Reply With Quote #33

Quote:
Originally Posted by Dragokas View Post
Obviously, some clearing code doesn't execute.

Maybe, native votes could be an alternative, need to find which function they call on vote finish...

Also, I'm curious, what was your method of checking those vscript leaks, when you ensured CDirector::OnChangeChapterVote is a clear way.
Ill give the short version when I tested years ago.

script cmd to run useless stuff memory keeps going up, run map cmd change to new level memory still full, ran a vote to change level and memory went down to avg usual usage.

There is more to this like script hooks and call to nothing leading to high spikes as they pile up over time iirc but those are dependent if you run vscripts alongside also, but was so long ago I don't remember much, however i'm not sure if this is still an issue since TLS update may have been fixed but I just use this anyway since I don't really wanna input more time.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 09-25-2021 at 09:16.
Lux is offline