Raised This Month: $140 Target: $400
 35% 

Precache prevention


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PTE
Junior Member
Join Date: Aug 2018
Old 08-09-2018 , 13:12   Precache prevention
Reply With Quote #1

Bruh, it's a pretty old thread, but I wondering, is catching and stopping default models/sounds are okay, working fine, helping to deal with 512 limit.
I've seen about tons of topics, some ppls says like "wow this working thanks u woohoo", some says "this not gonna work stable", so I would like to see answers of someone who had fun with that stuff already, or just link to same topic If it exists. Thanks.
PTE is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-09-2018 , 13:44   Re: Precache prevention
Reply With Quote #2

So what do you want to know more precisely? How to stop things from being precached?
__________________
HamletEagle is offline
PTE
Junior Member
Join Date: Aug 2018
Old 08-09-2018 , 13:56   Re: Precache prevention
Reply With Quote #3

I know how to do that with fakemeta, I guess it's ok. If you would like to recommend me some better way I'd be happy.

Current question is:
Quote:
I wondering, is catching and stopping default models/sounds from precaching is okay, working fine, helping to deal with 512 limit?

Last edited by PTE; 08-09-2018 at 14:29.
PTE is offline
Ghosted
Senior Member
Join Date: Apr 2015
Location: Georgia
Old 08-09-2018 , 15:14   Re: Precache prevention
Reply With Quote #4

It matters which sounds are you preventing to precache (I think only weapon fire sounds are useless) and about models, they all are required, but if you still prevent those models from precaching then you must also prevent entities to be spawned which are using those models.
__________________

[MOD] CS Weapon Mod V1.6 (100%) [Next Update - 6%]
[MOD]
CS NPC Mod (8%) [Paused]
[APP] Visual Plugin Studio (27%)
[MM]
Lua Engine (37%)

Donate

Last edited by Ghosted; 08-09-2018 at 15:15.
Ghosted is offline
PTE
Junior Member
Join Date: Aug 2018
Old 08-09-2018 , 15:37   Re: Precache prevention
Reply With Quote #5

Ight, I guess it's work and I can escape the 512 with preventing default ones from precaching. ty

Now about models: I need to prevent default models from appearing in game, If I gonna de-precache? So, for example, I removing default player models, cause jail or zombie mods does not use them. They actually have no chance to appear and all gonna be fine, but I guess I need to add some code that gonna 100% never use that models cuz I sure we'll have some problems(spawning when u're spectator e.g.)
But maybe there's more useless models that I can de-precache in mods like jail.
Is there's list of useless default resources? I guess much ppls before me was interested in that.
PTE is offline
PTE
Junior Member
Join Date: Aug 2018
Old 08-12-2018 , 09:05   Re: Precache prevention
Reply With Quote #6

UP!

Questions:
"Is there's list of useless default resources(Jail mode)? I guess much ppls before me was interested in that."
"How to prevent the model(weapon or player) from arriving, if it not precached? It's enough to say name of hook that I need to look in"
PTE is offline
Ghosted
Senior Member
Join Date: Apr 2015
Location: Georgia
Old 08-12-2018 , 09:40   Re: Precache prevention
Reply With Quote #7

Precached Models List
Spoiler


Precached Sounds List
Spoiler


Precached Generics
Spoiler

Only precached images (generic) resources are useless (and maybe some sounds). Others depends on you.
__________________

[MOD] CS Weapon Mod V1.6 (100%) [Next Update - 6%]
[MOD]
CS NPC Mod (8%) [Paused]
[APP] Visual Plugin Studio (27%)
[MM]
Lua Engine (37%)

Donate

Last edited by Ghosted; 08-12-2018 at 09:43.
Ghosted is offline
PTE
Junior Member
Join Date: Aug 2018
Old 08-13-2018 , 17:46   Re: Precache prevention
Reply With Quote #8

Thanks, still hoping that someone will help me with second question.
PTE is offline
Reply


Thread Tools
Display Modes

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:17.


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