CapsAdmin / pac3

advanced avatar customization for garrysmod
GNU General Public License v3.0
205 stars 94 forks source link

Crash when spamming models/vortigaunt.mdl #1151

Open stepa2 opened 2 years ago

stepa2 commented 2 years ago

Crash is caused by adding seven hundred of models/vortigaunt.mdl to outfit. Probably some limits for either models with 'Eye' shader, models with animations or models with flexes is needed.

player_crasher.txt player_crasher.json.txt

bjoern90 commented 2 years ago

why do you need that many? plus source cant more than that many models...

DannyDan4 commented 2 years ago

why do you need that many? plus source cant more than that many models...

He was probably just screwing around (hopefully in singleplayer,) spamming dupes, and crashed his game. He then likely tried recreating the crash, only to isolate the issue to that. If the game can't handle that many models, it'd be reasonable for the mod dev to try and implement some way to limit this, to prevent a malicious actors from just making a PAC that crashes all users with PAC enabled on the server on login, or possibly even crashing the server itself with this.