BunnymodXT
BunnymodXT copied to clipboard
restructuring: reduce the number of hardcoded offsets in favor of automatic finding
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);