I just want to preface my post to say that I have already tried looking on google, and the forum search. I found some pretty good threads and resources and implemented what I thought was what I needed for my client to get the Infernal cape texture to load (it was previously white). Using this snippet/modification found here: [Only registered and activated users can see links. ]
I dumped the texture archive from a client with working infernal cape and repacked them to my client.
After adding that, my client would null and crash if I logged in while wearing the Infernal cape, or if I tried to equip it. The interface model did not become textured and instead appeared buggy or glitched.
I then moved on and implemented this in my client as well. [Only registered and activated users can see links. ]
With this the models in my inventory appeared to become textured.
However when I equip the cape, there is no crash, but the cape has a black background with the lower edge appearing to be texturizing.
Below are the classes from my client. Any help would be appreciated I did a lot of back and forth tweaking to try and get it to work, and then back to replacing the classes and starting over.
public static void applyTexturing(Model model, int id) {
switch (id) {
case 21295:
case 21284:
model.setTexture(127, 58);
break;
case 12771:
model.setTexture(40);
break;
}
}
Got this fixed, believe it or not my client code was fine. The damn texture archive wasn't reading the new textures. Odd, the one thing that isn't readily available to download and the ones on google didn't work. Had to dump it from a server in the adverts.
Want to extend my thanks to Devkotlin on here as he spent some time making sure it wasn't my client messed up.