Comments (6)
@OZone998 you can use PrecacheGeneric for sounds that are played via SendAudio/"spk"/"speak" etc, but not via EmitSound/EmitAmbientSound/SVC_SOUND/SVC_SPAWNSTATICSOUND. Also you can use PrecacheGeneric for player models.
Generic precache is already extended to max resource count (4096).
P.S. Really you can't use all resource count, because netchan is limited to 64KB and it will not be able to send SVC_RESOURCELIST with 4096 resources.
from rehlds.
You can't do that unless the client is updated as well, I guess.
from rehlds.
Resource type?
from rehlds.
Well, probabably there is a way to do it without client modification: https://forums.alliedmods.net/showthread.php?t=200826
Of course noew it's not compatible with ReHLDS, but there is source code.
from rehlds.
@OZone998 It's unrelated to the 512 precache limit. This modules is essentially management of sv_downloadurl and unlock limit of 1280 items you can send on a client, which I think has been increased in reHLDS to 4092 (?).
from rehlds.
It can reduce number of sound in precache, so it could help in some way.
Yeah, I saw that in pull #161. Unfortunately server with current version of ReHLDS is still crashing when resources exceed 512 limit.
There is an example from ZombieMod server:
ERROR : Host_Error: PF_precache_sound_I: Sound "debris/bustconcrete2.wav" failed to precache because the item count is over the 512 limit.
Normally I am using unprecacher, so it won't happen - for now. But adding few models = crash.
from rehlds.
Related Issues (20)
- Players stuck in my server HOT 3
- CI has warnings
- GetBonePosition & GetAttachment functions are incomplete!
- Unable to connect to Steam - Steam users dropping after a short time on server HOT 7
- [SOLVED] Fatal error: Cache_UnlinkLRU: NULL link
- undefined symbol: SteamGameServer
- Missing Sv_busters on the new ReHLDS, Mp5 reload HOT 1
- Procedure entry point SteamApps could not be found HOT 2
- server crash ( HOT 34
- FATAL ERROR (shutting down): Cache_TryAlloc HOT 1
- Building with GCC on Linux HOT 2
- Segmentation fault after build on Linux HOT 1
- The latest version of HLDS 9907 is not compatible with the latest version of Rehlds HOT 8
- Confusing Fast Download issue HOT 3
- NET_SendPacket: ERROR: Operation not permitted HOT 1
- Flooding console HOT 6
- sv_filterban
- CRT Issue
- Windows Rehlds Can not open!
- "-heapsize 131072" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rehlds.