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

restructuring: reduce the number of hardcoded offsets in favor of automatic finding #485

Open
SmileyAG opened this issue Jan 7, 2024 · 0 comments

Comments

@SmileyAG
Copy link
Collaborator

SmileyAG commented Jan 7, 2024

Example of current code from ServerDLL.cpp:

offCmd = 283736;

In that example it would be better to include header with playermove_t struct and replace it with:

offCmd = offsetof(playermove_t, cmd);
@SmileyAG SmileyAG self-assigned this Jan 7, 2024
@SmileyAG SmileyAG changed the title Reduce the number of hardcoded offsets in favor of automatic finding restructuring: reduce the number of hardcoded offsets in favor of automatic finding Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant