Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Hats (1.51) [31-May-2024]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
oceanyss
Member
Join Date: Jan 2012
Old 09-21-2019 , 01:53   Re: [L4D & L4D2] Hats (1.17) [10-Sep-2019]
Reply With Quote #11

Quote:
Originally Posted by Silvers View Post
Yeah... how? That's not possible, late precache causes the client / server to crash.

Edit: I tried removing OnMapStart cache and checking IsModelPrecached() in CreateHat() and PrecacheModel if it's not. Didn't crash server or client but even with late precache the client will still crash when too many models are cached (eg c1m3), client side limitation.
That is a limitation on the engine I think, nothing we can do about it. A workaround will be to limit the number of hats a player can choose per map (but that goes against the nature of this plugin) or remove entities on the map to free up space.

I'm not sure if there is even a way to "un-cache" a model, but at least with late precaching, it does allow at least some hats to be active

Last edited by oceanyss; 09-21-2019 at 01:54.
oceanyss is offline
 



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 22:21.


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