feat(Spoofing): Add local user name spoofing (#502)

* Spoofs your local name by using natives and writing to a single struct (couldn't spoof name in chat otherwise)
* Add tooltip to IP spoofing to mention that it may cause you to get dropped from a session while connecting
* Expanded explanation in spoofing section to include that spoofing is server-side and not client-side.
This commit is contained in:
Yimura
2022-12-23 00:03:34 +01:00
committed by GitHub
parent ce5c317d87
commit e50bdd8c42
8 changed files with 62 additions and 21 deletions

View File

@ -103,6 +103,7 @@ namespace big
native_hooks::native_hooks()
{
add_native_detour(0x6D0DE6A7B5DA71F8, all_scripts::GET_PLAYER_NAME);
add_native_detour(0x812595A0644CE1DE, all_scripts::IS_DLC_PRESENT);
add_native_detour(0x1CA59E306ECB80A5, all_scripts::NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT);
add_native_detour(0xD1110739EEADB592, all_scripts::NETWORK_TRY_TO_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT);