wkpatrick / old-school-snitch

BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Exception when creating a model with a firecape #1

Open wkpatrick opened 2 weeks ago

wkpatrick commented 2 weeks ago

image

psikoo commented 2 weeks ago

The issue stems from the use of the model dumper code written by bram91 Model Dumper. In the readme of the github repository it states that the model dumper does not support color for "firecape/infernal cape textures" *

After using the Model Exporter plugin to exporting the models of a player wearing a fire cape and a different cape that doesn't have an animated texture, it becomes clear were the issue comes from. image image

Other projects that also use bram91 code for model dumping circumvent this issue by putting in checks to ensure the user doesn't try to upload a model with an animated cape (or even animated weapons that are also unsupported). An example of this is the Osrs Profile plugin, They use a list of blacklisted capes and weapons as seen here.

The black list they use is the following: