SpotAnim.java, Animation.java, add:
Code:
System.out.println(length);
in the unpack method.
Run the client, bigger number is MAXANIMID and smaller is MAXGFXID.
client.java;
Under entity.anInt1521 = 0;, add:
Code:
if(entity.anInt1520 > MAXGFXID)//gfx anti-freeze
entity.anInt1520 = 0;
and under entity.anim != -1 && entity.anInt1529 <= 1, add:
Code:
if(entity.anim > MAXANIMID)//anim anti-freeze
entity.anim = 0x328;
It's just a cheap trick so when an animation ID or graphics ID exceeds the max ID, it sets them to gfxID 0, or the stand animation.
I just did it to avoid annoying dcs when I type the wrong ID testing anims or gfx.