PDA

View Full Version : Model precache limit bug on client side


decl_mev
02-24-2016, 10:39
If you try and spawn a model that is precached above 1024 the engine will use the model at its number - 1024

Example:

So if I have a watermelon precached at 1026 it will use the model precached at 2 instead.. which could be some sort of trigger_*, and it has a very high potentional to crash the client that renders this model but the server keeps going so I guess they got that going for them lol.

Who is going to be the legend to make a reddit post about this haha?

iShot
02-24-2016, 10:46
Nice find. Let's hope they are as swift in changing/fixing this as they were with the original suggestion.

Byte
02-24-2016, 13:00
Wow good find. Hopefully its fixed asap. OP can you make a reddit post and link it here? Or email the new Valve email address.

sneaK
02-24-2016, 17:25
I sent an email to the new "CSGO Team Feedback" email address Matt Wood put up yesterday, let's hope this is fixed ASAP. Just experienced this issue on one of my servers.

lay295
02-24-2016, 17:32
Ahhhh... I was wondering why my client was always crashing when loading this map. It lets me in for a few seconds then my client just crashes but server remains up.

http://csgo.gamebanana.com/maps/181640

8guawong
02-24-2016, 20:54
is it fixed on today's update?

sneaK
02-24-2016, 22:58
is it fixed on today's update?

Nothing mentioned on today's changelog.

8guawong
02-24-2016, 23:08
Nothing mentioned on today's changelog.

well thats why im asking since i donno how to test this bug :nono:

lay295
02-25-2016, 00:26
well thats why im asking since i donno how to test this bug :nono:

Does loading the map I linked earlier crash your client? still crashses mine.

decl_mev
02-25-2016, 09:10
is it fixed on today's update?
It has not been fixed yet.

PresidentEvil
02-25-2016, 11:38
someone should make a thread on the csgo mailing list

pcmaster
02-25-2016, 12:13
someone should make a thread on the csgo mailing list
Implying they even read the mailing list.
You need a highly upvoted thread on Reddit to get anything done.

sneaK
02-25-2016, 12:25
You need a highly upvoted thread on Reddit to get anything done.

Alright, so who's doing it? Link it here if someone does :P

8guawong
02-25-2016, 12:40
http://csgo-servers.1073505.n5.nabble.com/Model-precache-limit-bug-causes-client-to-crash-td11532.html

Neuro Toxin
02-25-2016, 17:48
I also asked for the tagrenade_detonate event in the mailing list.

If you use your brain in the mailing Valve hears you. Just dont expect a reply.

lay295
02-26-2016, 23:22
Seems like it's fixed on my end.

8guawong
02-27-2016, 00:02
Seems like it's fixed on my end.

is there anyway/plugin/code/snippet to test for this?
cuz that map you linked was working fine for me before the precachetable update (had all player models disabled though)

lay295
02-27-2016, 00:21
is there anyway/plugin/code/snippet to test for this?
cuz that map you linked was working fine for me before the precachetable update (had all player models disabled though)

Hmmm strange, might not be fixed still then. All I know is that the map I linked before the precache table update wouldn't load because it'd be over the precache table limit. Then when the precache table came out the server could load it but my client would always crash. Now my client doesn't crash after this update, could be a coincidence I guess not sure.

8guawong
02-27-2016, 00:30
Hmmm strange, might not be fixed still then. All I know is that the map I linked before the precache table update wouldn't load because it'd be over the precache table limit. Then when the precache table came out the server could load it but my client would always crash. Now my client doesn't crash after this update, could be a coincidence I guess not sure.

it maybe because i had all player models disabled? i really hope its fixed though :crab:

PresidentEvil
02-27-2016, 02:06
there were like 2 updates in the past 24 hours, can some verify if the issue still exists

sneaK
02-27-2016, 02:09
Just tested on a map that had this issue after the initial update that fixed the model precache, the very same map with the same amount of players now works! Clients no longer crash.

iShot
02-27-2016, 02:37
http://csgo.gamebanana.com/maps/download/181640

-> Tested with this map
Used command 'cl_precacheinfo modelprecache' and got '1156 items' returned
Clients did not crash during this test.

Are we sure it's not fixed because it feels fixed to me. Or is it only when a new item gets loaded into the cache while the players are online that they crash?

https://www.youtube.com/watch?v=8IvXWjjqHiA

-> Tested with the above map (bhop_arcane_b1)
No crash

8guawong
02-27-2016, 03:48
https://forums.alliedmods.net/showpost.php?p=2397235&postcount=60

1156 is not even close to 2048 o.o

Caaine
02-27-2016, 03:51
The old was 1024 or? O_o
TF2 -> 2048

iShot
02-27-2016, 04:33
https://forums.alliedmods.net/showpost.php?p=2397235&postcount=60

1156 is not even close to 2048 o.o

The old one was 1024 as mentioned in the original post...

8guawong
02-27-2016, 04:56
so the old precachetable was 1024 not 2048 like Mitchell said??

iShot
02-27-2016, 06:02
so the old precachetable was 1024 not 2048 like Mitchell said??

Indeed, he must have made a mistake, TF2 was 2048, CSGO was 1024 and is now 4096

decl_mev
02-27-2016, 08:45
The issue has been fixed, easiest way to test this is get a map where "cl_precacheinfo modelprecache" goes over 1024, then you do "prop_phys_create weapons/w_pist_elite_single.mdl" (that is the last precached model by default) if it spawns a weapon it works, before the update it spawned a random trigger model and sometimes crashed your game.

Also the Model precache limit is 4096 in CSGO right now.

sneaK
02-27-2016, 12:00
Alright, who's the bum that posted it on reddit (https://www.reddit.com/r/GlobalOffensive/comments/47tfib/mistake_in_the_recent_precache_limit_being_ra ised/) 3 days late, after it was fixed? LOL

Franc1sco
02-27-2016, 12:43
This bug was fixed. Nice to see that valve finally do new updates that help community servers and don't destroy it.

Good job! (https://forums.alliedmods.net/showpost.php?p=2396100&postcount=8)

PresidentEvil
02-27-2016, 13:44
this new model precache limit is game wide not just map based right, like it counts for models not just for maps but also server-side player models, hats, masks, prop spawns, plugins or any anything model related

im 90% sure it's for the whole engine, but just to be completly sure

Powerlord
02-28-2016, 17:13
Hmmm strange, might not be fixed still then. All I know is that the map I linked before the precache table update wouldn't load because it'd be over the precache table limit. Then when the precache table came out the server could load it but my client would always crash. Now my client doesn't crash after this update, could be a coincidence I guess not sure.

Weird.

In TF2 when they bumped it on the server but the client wasn't updated with the new limit, it would just use the model 1024 below it (keeping in mind that TF2 bumped from 1024 to 2048).

Took them months to fix it, too.