Everything appears to be running fairly smoothly now, class assigning works aswell.
One new problem which might only apply to me is that a lot of characters are facing the wrong direction, it seems to be because I also have these NPCs using a variable of "this.dirturn = true;".
Another noticable error is where I was using a specific frame of a gani:
Quote:
Warning : Couldn't render the gani classic_player_walk_01[3].gani
|
Something else I can't figure out though is where candle.mng is rendering as what appears to be some type of head, which is a bit odd because MNGs aren't supported and this head image isn't used anywhere else on the map:
This could well be the result of setimgpart: this.setimgpart("candle.mng",0,0,32,16);
A couple of things which might be useful, is the detection of a custom variable within an NPC specifically to avoid being rendered within this program, and the ability to set a different sprites.png as some servers may use a custom one, in my case the only difference is semi-transparent shadows. Being able to assign ganis to classes would be cool too.
I've attached the error log incase there's anything of interest.