small stuff

This commit is contained in:
quaK 2024-02-28 16:50:29 +02:00
parent 47fffa1178
commit fb66d6f779
3 changed files with 9 additions and 1 deletions

View File

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

View File

@ -320,6 +320,8 @@ namespace patches
// disable host migration
utils::hook::set<uint8_t>(0xC5A200_b, 0xC3);
utils::hook::set(0x6D5280_b, 0xC301B0); // NetConstStrings_IsPrecacheAllowed
}
};
}

View File

@ -397,6 +397,12 @@ namespace profile_infos
const auto user_id = buffer.read<uint64_t>();
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);
}