-
Member
Morphing in previous expansions
Hey guys!
I was playing on a Wrath server and I wanted to make a morpher similar to tMorph. It wouldn't have to morph items, just the character's model to another race/model. I'm new to hacking (but not new to programming), and I was wondering whether you guys have any tips on where to start off? More specifically: is it going to be just one value that I need to change? I really don't know much about the character structs--and maybe some of them changed over time so I don't know whether I should rely on the sticky. I'm not sure whether there is some complex interplay between things--so I'm afraid to go in blindly.
Thank you for any response! If it matters, I'm developing for mac.
-
Post Thanks / Like - 1 Thanks
R4zyel (1 members gave Thanks to MarthMarthMarth for this useful post)
-
Contributor
You need to change the displayid of your character (or any other entity) in the memory then call CGUnit_C__UpdateDisplayInfo (or however it's called now)
"push 1",
"mov ecx, " + ObjectManager.Me.BaseAddress,
"call " + Offsets.CGUnit_C__UpdateDisplayInfo,
"retn"
By the way this code is old (cata), not sure if function has changed.
EDIT:
For mounts:
"push " + displayid,
"mov ecx, " + ObjectManager.Me.BaseAddress,
"call " + Offsets.CGUnit_C__OnMountDisplayChanged,
"retn"
Last edited by Vandra; 04-08-2016 at 06:20 AM.
"If it compiles, it works."
-
Post Thanks / Like - 2 Thanks
-
Active Member
Originally Posted by
Vandra
You need to change the displayid of your character (or any other entity) in the memory then call CGUnit_C__UpdateDisplayInfo (or however it's called now)
"push 1",
"mov ecx, " + ObjectManager.Me.BaseAddress,
"call " + Offsets.CGUnit_C__UpdateDisplayInfo,
"retn"
By the way this code is old (cata), not sure if function has changed.
EDIT:
For mounts:
"push " + displayid,
"mov ecx, " + ObjectManager.Me.BaseAddress,
"call " + Offsets.CGUnit_C__OnMountDisplayChanged,
"retn"
Awesome somebody spends time on true helping, posting a little understandable piece of code ^^ +1
-
Member
-
Member
Originally Posted by
MarthMarthMarth
I was playing on a Wrath server and I wanted to make a morpher similar to tMorph. It wouldn't have to morph items, just the character's model to another race/model.
Hey MarthMarthMarth, did you ever make any progress on this?