[DiscordArchive] .Dll injection and stuff right ?
[DiscordArchive] .Dll injection and stuff right ?
Archived author: Shady • Posted: 2024-02-02T08:58:01.273000+00:00
Original source
.Dll injection and stuff right ?
Archived author: robinsch • Posted: 2024-02-02T08:58:04.885000+00:00
Original source
Yes
Archived author: Shady • Posted: 2024-02-02T08:58:43.540000+00:00
Original source
Lots to learn, got anything to point out for me ? So i can start from there
Archived author: robinsch • Posted: 2024-02-02T08:59:49.963000+00:00
Original source
Figure out which bytes store the anim state for the unit class, find a function that is called on dismount in the client and add your code to reset anim state for the unit.
Archived author: Shady • Posted: 2024-02-02T09:00:06.286000+00:00
Original source
Got it! Ty
Archived author: robinsch • Posted: 2024-02-02T09:00:09.319000+00:00
Original source
```cpp
void Hooks::CGUnit_C::SetMountModel(CGUnit_C* unit, CM2Model* mountM2)
{
CGUnit_C::SetMountModel(unit, mountM2);
// @robinsch: Dismount
if (!mountM2)
unit->SetAnimKitState(91);
}
```
Archived author: robinsch • Posted: 2024-02-02T09:00:56.946000+00:00
Original source
This is what I injected and it fixes it.
Archived author: robinsch • Posted: 2024-02-02T09:02:16.956000+00:00
Original source
91 seems to be the default value <:pepeshrug:1169314921612328980>
Archived author: Shady • Posted: 2024-02-02T09:02:46.830000+00:00
Original source
Thanks dude !