Raised This Month: $ Target: $400
 0% 

Solved about precache 512limit, please help me, really weird


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zkfpk6
Member
Join Date: Sep 2017
Old 09-30-2017 , 02:28   about precache 512limit, please help me, really weird
Reply With Quote #1

i precache 13 .mdl files in a skin plugin
and i got a crash message on the dyd_bhop(when i load the skin plugin)

i search about it, and i know i must reduce precache .wav/.mdl/.spr, so, i delete 4 .mdl and 3 .wav precache code line, and disable a plugin called "cmdmenu.amxx"(at least 15+ .wav).
B U T!
still crash!!!and same reason!!!
when i change other map which is more and more .mdl line in .res files than this map, it's NOT CRASH?!?!WTF?
i must reduce precache .mdl only? but i really cant do this, i only precache 2 .mdl in other plugins

plz help

Last edited by zkfpk6; 10-15-2017 at 20:48.
zkfpk6 is offline
zkfpk6
Member
Join Date: Sep 2017
Old 09-30-2017 , 03:16   Re: about precache 512limit, please help me, really weird
Reply With Quote #2


i try to connect my server with a new clean cs client, only download these resource(without map resource),
too much? i feel not.
zkfpk6 is offline
TheSpaniard
Senior Member
Join Date: Jul 2017
Location: Hell
Old 09-30-2017 , 03:35   Re: about precache 512limit, please help me, really weird
Reply With Quote #3

Quote:
Originally Posted by zkfpk6 View Post
i precache 13 .mdl files in a skin plugin
and i got a crash message on the dyd_bhop(when i load the skin plugin)

i search about it, and i know i must reduce precache .wav/.mdl/.spr, so, i delete 4 .mdl and 3 .wav precache code line, and disable a plugin called "cmdmenu.amxx"(at least 15+ .wav).
B U T!
still crash!!!and same reason!!!
when i change other map which is more and more .mdl line in .res files than this map, it's NOT CRASH?!?!WTF?
i must reduce precache .mdl only? but i really cant do this, i only precache 2 .mdl in other plugins

plz help
Learn To Search Go Here
__________________
And I Am Back.
TheSpaniard is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 09-30-2017 , 03:36   Re: about precache 512limit, please help me, really weird
Reply With Quote #4

Quote:
Originally Posted by zkfpk6 View Post
when i change other map which is more and more .mdl line in .res files than this map, it's NOT CRASH?!?!WTF?
Brush models are also counted. Some maps have about 300 brush models.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
zkfpk6
Member
Join Date: Sep 2017
Old 09-30-2017 , 04:39   Re: about precache 512limit, please help me, really weird
Reply With Quote #5

Quote:
Originally Posted by TheSpaniard View Post
Learn To Search Go Here
trust me, i already searched again and again, all they told me is to reduce precache. like i said, dont work.
zkfpk6 is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 09-30-2017 , 04:46   Re: about precache 512limit, please help me, really weird
Reply With Quote #6

you can use this:
Spoiler

to see how much files are precached. link https://forums.alliedmods.net/showthread.php?t=71193
__________________
retired chump
DjSoftero is offline
zkfpk6
Member
Join Date: Sep 2017
Old 09-30-2017 , 11:54   Re: about precache 512limit, please help me, really weird
Reply With Quote #7

Quote:
Originally Posted by DjSoftero View Post
you can use this:
Spoiler

to see how much files are precached. link https://forums.alliedmods.net/showthread.php?t=71193
tk u bro, i try this but it seems not log complete, i cant find my mdl in the log file. and when i crash, only log 405 precache.
by the way, can i reduce the default cstrike precache? my server is only kz, so dont need too much precache.
zkfpk6 is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 09-30-2017 , 12:56   Re: about precache 512limit, please help me, really weird
Reply With Quote #8

you can use this: https://gamebanana.com/gamefiles/4165 to unprecache some junk files. the sounds will play as they should. because client has them downloaded.

as for the precache counter, it`s not 100% accurate.
__________________
retired chump
DjSoftero is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 10-02-2017 , 08:00   Re: about precache 512limit, please help me, really weird
Reply With Quote #9

Quote:
Originally Posted by DjSoftero View Post
you can use this: https://gamebanana.com/gamefiles/4165 to unprecache some junk files. the sounds will play as they should. because client has them downloaded.

as for the precache counter, it`s not 100% accurate.
I made something a bit simillar for my game servers, but unlike this 1, it reads from an ini file. Basicall it checks the mapname and looks for the ini file inside the unprecache folder and if it's found, it will start un-precaching the resources. For his needs i guess this un-precacher is more than good.
DarthMan is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-03-2017 , 15:17   Re: about precache 512limit, please help me, really weird
Reply With Quote #10

Quote:
Originally Posted by DjSoftero View Post
you can use this: https://gamebanana.com/gamefiles/4165 to unprecache some junk files. the sounds will play as they should. because client has them downloaded.

as for the precache counter, it`s not 100% accurate.
Fakemeta hooks are not triggered by plugin calls. What I mean is that if a plugin precaches something FM_PrecacheModel will not be called.
To fix that you have to hook pfnPrecacheModel with orpheu instead of fakemeta.
__________________
HamletEagle 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 14:34.


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