diff --git a/src/client/component/fastfiles.cpp b/src/client/component/fastfiles.cpp index 950b6ca4..bf087a20 100644 --- a/src/client/component/fastfiles.cpp +++ b/src/client/component/fastfiles.cpp @@ -223,7 +223,7 @@ namespace fastfiles game::XZoneInfo info{}; info.name = name; - info.allocFlags = game::DB_ZONE_GAME; + info.allocFlags = game::DB_ZONE_COMMON; info.allocFlags |= game::DB_ZONE_CUSTOM; // skip extra zones with this flag game::DB_LoadXAssets(&info, 1, game::DBSyncMode::DB_LOAD_ASYNC); diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index 56f27df2..dc219cf8 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -320,6 +320,8 @@ namespace patches // disable host migration utils::hook::set(0xC5A200_b, 0xC3); + + utils::hook::set(0x6D5280_b, 0xC301B0); // NetConstStrings_IsPrecacheAllowed } }; } diff --git a/src/client/component/profile_infos.cpp b/src/client/component/profile_infos.cpp index dcb5552f..31cf2c94 100644 --- a/src/client/component/profile_infos.cpp +++ b/src/client/component/profile_infos.cpp @@ -397,6 +397,12 @@ namespace profile_infos const auto user_id = buffer.read(); const profile_info info(buffer); + if (info.m_memberplayer_card.empty()) + { + // player has no card set + return; + } + add_profile_info(client_addr, user_id, info); set_playercardcache_to_download(user_id); }