Raised This Month: $ Target: $400
 0% 

[QUESTION] About Precache


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-04-2016 , 10:24   [QUESTION] About Precache
Reply With Quote #1

I'm wondering, if i have 3 plugins which uses for example the same sprite file and i precache it in every plugin, will i have 3 precached files or just one?
__________________
Depresie is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-04-2016 , 10:39   Re: [QUESTION] About Precache
Reply With Quote #2

https://github.com/dreamstalker/rehl...cmds.cpp#L1528

Looks like the engine checks for already precached models, so you should be good.
klippy is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 02-04-2016 , 10:50   Re: [QUESTION] About Precache
Reply With Quote #3

You should precache your files in any plugin, but i'm not sure .... Just test it and come back with answer.
__________________
Project: Among Us
Craxor is offline
Send a message via ICQ to Craxor
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-04-2016 , 11:19   Re: [QUESTION] About Precache
Reply With Quote #4

Thanks kyppy, i owe you twice now
__________________
Depresie is offline
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 02-04-2016 , 16:52   Re: [QUESTION] About Precache
Reply With Quote #5

if you want to precache file then it will not work in server becuase prcaching file dos'nt show you any model sound or sprite so better is dont reache at 512 limit
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-04-2016 , 16:57   Re: [QUESTION] About Precache
Reply With Quote #6

Quote:
Originally Posted by Kakarot47 View Post
if you want to precache file then it will not work in server becuase prcaching file dos'nt show you any model sound or sprite so better is dont reache at 512 limit
What are you talking about?

P.S.
Quote:
Originally Posted by Depresie View Post
Thanks kyppy, i owe you twice now
I wonder why a lot of people can't manage to spell my nickname correctly? It happens quite frequently.

Last edited by klippy; 02-04-2016 at 17:00.
klippy is offline
Reply



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


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