SRL Archive - Client Hacking

Animations


pyroryan

2011-07-27 17:03:00

There are two ways of fetching animation (that I know of):

Hooks #659:
character.getAnimation = 'uaa.zb';
character.getAnimationQueue = 'uaa.eb';
animation.getDef = 'qu.P';
animationdef.getID = 'vg.e';


The Animation hook now represents the Animation class (instead of int), which can be used to get the class.
I haven't looked that deeply into AnimationQueue yet, but it contains an array of animations.

Both methods return the same information. Currently, Ref2 uses character.getAnimation method but may switch in the near future. As I have exams this week, I won't be doing much with it, but if someone else would like to further analyze these hooks, it would be appreciated.

grats

2011-07-27 17:09:53

how close in the near future? I think it should be switched since the one we're using right now for R2 isn't really working well.. might as well switch it now since it's still in beta

pyroryan

2011-07-27 17:13:29

From: grats
how close in the near future? I think it should be switched since the one we're using right now for R2 isn't really working well.. might as well switch it now since it's still in beta


Well, it was just updated about an hour ago. So have you tested it since? Home and I just tested it on our own players.
Remember the animation hook does not represent the same animation hook in #657 and before.

Flight

2011-07-27 22:27:51

From: Jagex

We’ve made some technical improvements to the way our game engine works with animations. These changes will help us in future development and result in a better-looking, smoother game experience for everyone.

We’ve done all that we can to test the effects of this change, but as there are tens of thousands of animations in-game it is possible that there will be some animation glitches, particularly for older content.


Maybe this is why.

grats

2011-07-27 23:24:30

From: pyroryan
Well, it was just updated about an hour ago. So have you tested it since? Home and I just tested it on our own players.
Remember the animation hook does not represent the same animation hook in #657 and before.


oh no I haven't tried it, I'll check it out in a little bit, just got home.