Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 86 commits into from
Jun 25, 2024

Conversation

Rxann
Copy link
Contributor

@Rxann Rxann commented Jun 24, 2024

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

@Rxann Rxann self-assigned this Jun 24, 2024
src/game/hooks/Hooks.hpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Jun 24, 2024

Download the artifacts for this pull request:

@Rxann Rxann marked this pull request as ready for review June 25, 2024 15:16
@Rxann Rxann merged commit d15a1de into YimMenu:master Jun 25, 2024
1 check passed
@Rxann Rxann deleted the recreate-a-playerdatabase branch June 25, 2024 18:31
@AAA-ALR
Copy link
Contributor

AAA-ALR commented Jun 25, 2024

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();

@Rxann
Copy link
Contributor Author

Rxann commented Jun 25, 2024

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
Copy link
Contributor

AAA-ALR commented Jun 25, 2024

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
Copy link
Contributor Author

Rxann commented Jun 25, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add player database/block join
2 participants