PDA

View Full Version : Reflection get animation broken



hexthis
11-08-2017, 03:28 PM
ReflectPlayer.GetAnimation

only ever returns -1, how do i fix?

any script that uses it doesnt work right ether.... like ineedbot woodcutter and fisher, also ID Display

footballjds
11-08-2017, 03:50 PM
ReflectPlayer.GetAnimation

only ever returns -1, how do i fix?

any script that uses it doesnt work right ether.... like ineedbot woodcutter and fisher, also ID Display

the hook for that is probably outdated.

hexthis
11-08-2017, 04:09 PM
the hook for that is probably outdated.

is there a tut on how to update it yourself?

footballjds
11-08-2017, 04:42 PM
is there a tut on how to update it yourself?

it isn't simple at all. someone of benland's skill has to do it. @flight, @olly, @activeOldMembers would know more than me. I never dabbled in anything other than script writing here.

Brandon
11-08-2017, 06:54 PM
it isn't simple at all. someone of benland's skill has to do it. @flight, @olly, @activeOldMembers would know more than me. I never dabbled in anything other than script writing here.


From:

{Actor: by}
Actor_Animation: THook = ['q', 598892947];



To:

{Actor: by}
Actor_Animation: THook = ['bz', -1192012635];

footballjds
11-10-2017, 03:34 PM
From:

{Actor: by}
Actor_Animation: THook = ['q', 598892947];



To:

{Actor: by}
Actor_Animation: THook = ['bz', -1192012635];


i think he was asking how to obtain the hooks himself...

hexthis
11-11-2017, 12:08 PM
i think he was asking how to obtain the hooks himself...


yes this is what i want

footballjds
11-11-2017, 03:05 PM
yes this is what i want

@Brandon is leagues ahead of both of us... wish i had his knowledge in this area.

Brandon
11-11-2017, 04:28 PM
yes this is what i want


How to obtain hooks? You need an updater or you need to write one. Kyle publicized his updater and I kept mine private. After seeing how he released his and no one bothers to help maintain it or work on it, I decided to not release mine.

Other than that, you will have to write your own or fix Kyle's updater: https://github.com/KyleHunter/Java-Class-Updater
It's only broken slightly. If you fix it, then it will work just as well. It's better to learn how the client works first in order to fix it. You can learn at RS-Hacking and look at some refactors.

I might be releasing one in the form of a plugin or python script in the future.