Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: Toolwut on April 16, 2020, 12:59:24 PM

Title: [BUG?] broken md2 model crashes game
Post by: Toolwut on April 16, 2020, 12:59:24 PM
Not sure how motivated you are in terms of handling unlikely stuff like this but md2 models where the header information regarding size and offsets of lumps is too large crashes my dp client (using wine on linux) so maybe same happens for windows clients or even servers. If someone ever happens to have a map containing such a model on his server that might cause some trouble. In case I'll ever finish my blender exporter people might start producing tons of those broken model files
Title: Re: [BUG?] broken md2 model crashes game
Post by: jitspoe on April 17, 2020, 05:18:52 AM
I kind of feel like it's the responsibility of the server admin to at least test content before uploading to a server.
Title: Re: [BUG?] broken md2 model crashes game
Post by: Toolwut on April 17, 2020, 05:42:16 AM
Okay. Just thought that it might cause some trouble when someone experiments with new models and doesn't get info towards what causes crashes.

Also, I think I've seen the same happening with bsp files where the header doesn't contain right offset information.
Title: Re: [BUG?] broken md2 model crashes game
Post by: jitspoe on April 22, 2020, 03:17:42 AM
Yeah, bad data can make the game crash.  It should be kind of obvious if you just tried to load a new map or whatever what the problem is.