-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MDL, VVD, VTX and PHY to file.write whitelist #1774
Comments
No those formats are very good at crashing clients. I don't think you can even load models from the data directory |
Models can be loaded even from sf_filedata by adding two dots to path
|
.obj could be good to be added to the list |
|
Seems page isn't updated yet Facepunch/garrysmod-requests#2188 |
👍 you're right, it's updated now |
If someone wants to write a checker to sanitize the model data, then I think we can have this. pac3 and outfitter would also benefit from a model sanitizer. Right now they just write a data file if the model crashes the player. |
Outfitter stores the loading model, if it crashes during the loading it'll automatically blacklist the model |
I marked help wanted because I'm not really interested in dissecting the model format again and making a validator anytime soon, although it is a really simple format. |
Do note, even if the model is valid it can cause crashes sadly. Weird ragdolls especially can crash clients on death. |
DA :3 |
Adding the extensions .mdl, .vvd, .vtx, and .phy to the file library whitelist sounds like a good idea, especially considering that .vtf and .vmt files are included in this list.
The text was updated successfully, but these errors were encountered: