YimMenu / HorseMenu

HorseMenu, a beta-stage mod menu for Red Dead Redemption 2 and Red Dead Online, inspired by YimMenu, that protects against crashes and enhances your experience.
76 stars 37 forks source link

Player Database, Presence Kick Blocking, Net Messages, and More #151

Closed Rxann closed 5 months ago

Rxann commented 5 months ago

closes #62

thanks to @tyackman and @maybegreat48 for all your help on this

TODO:

Task Completed
Get ReceiveNetMessage to work
Move InFrame to RDR-Classes
Debug InFrame
github-actions[bot] commented 5 months ago

Download the artifacts for this pull request:

AAA-ALR commented 5 months ago

SendPacket = ptr.Add(10).Rip().As<Functions::SendPacket>(); Add(10) does not go to the function call address

SendPacket = ptr.Add(14).Add(1).Rip().As();

Rxann commented 5 months ago

SendPacket = ptr.Add(10).Rip().As<Functions::SendPacket>(); Add(10) does not go to the function call address

SendPacket = ptr.Add(14).Add(1).Rip().AsFunctions::SendPacket();

Thank you, I seemingly overlooked this, idk how. but thank you for pointing it out and i am going to fix it soon

AAA-ALR commented 5 months ago

And the queue_packet function should have 7 parameters using QueuePacket = bool (*)(rage::netConnectionManager* mgr, int msg_id,int a3, void* data, int size, int flags, void* unk);

image

Rxann commented 5 months ago

And the queue_packet function should have 7 parameters using QueuePacket = bool (*)(rage::netConnectionManager* mgr, int msg_id,int a3, void* data, int size, int flags, void* unk);

image

Well dang I missed some stuff. Thanks again for this. Any clue what value a3 normally is?