YimMenu / HorseMenu

HorseMenu, a beta-stage mod menu for Red Dead Redemption 2 and Red Dead Online, inspired by YimMenu, that protects against crashes and enhances your experience.
74 stars 36 forks source link

[Improvement]: Can Apply Data Blocking Fish & Bird Models Syncs #214

Open Sys0xdbg opened 2 months ago

Sys0xdbg commented 2 months ago

Which feature

I'd like to to know if someone have more info on this fish models or birds causing crash. Maybe i can properly fixed it instead of blocking models.

Reason

Because why not!

Additional context

` static const std::unordered_set g_FishModels = { "A_C_Crawfish_01"_J, "A_C_FishBluegil_01_ms"_J, "A_C_FishBluegil_01_sm"_J, "A_C_FishBullHeadCat_01_ms"_J, "A_C_FishBullHeadCat_01_sm"_J, "A_C_FishChainPickerel_01_ms"_J, "A_C_FishChainPickerel_01_sm"_J, "A_C_FishChannelCatfish_01_lg"_J, "A_C_FishChannelCatfish_01_XL"_J, "A_C_FishLakeSturgeon_01_lg"_J, "A_C_FishLargeMouthBass_01_lg"_J, "A_C_FishLargeMouthBass_01_ms"_J, "A_C_FishLongNoseGar_01_lg"_J, "A_C_FishMuskie_01_lg"_J, "A_C_FishNorthernPike_01_lg"_J, "A_C_FishPerch_01_ms"_J, "A_C_FishPerch_01_sm"_J, "A_C_FishRainbowTrout_01_lg"_J, "A_C_FishRainbowTrout_01_ms"_J, "A_C_FishRedfinPickerel_01_ms"_J, "A_C_FishRedfinPickerel_01_sm"_J, "A_C_FishRockBass_01_ms"_J, "A_C_FishRockBass_01_sm"_J, "A_C_FishSalmonSockeye_01_lg"_J, "A_C_FishSalmonSockeye_01_ml"_J, "A_C_FishSalmonSockeye_01_ms"_J, "A_C_FishSmallMouthBass_01_lg"_J, "A_C_FishSmallMouthBass_01_ms"_J, };

static const std::unordered_set<uint32_t> g_BirdModels = {
    "a_c_prairiechicken_01"_J,
    "a_c_cormorant_01"_J,
    "a_c_crow_01"_J,
    "a_c_duck_01"_J,
    "a_c_eagle_01"_J,
    "a_c_goosecanada_01"_J,
    "a_c_hawk_01"_J,
    "a_c_owl_01"_J,
    "a_c_pelican_01"_J,
    "a_c_pigeon"_J,
    "a_c_raven_01"_J,
    "a_c_cardinal_01"_J,
    "a_c_seagull_01"_J,
    "a_c_songbird_01"_J,
    "a_c_turkeywild_01"_J,
    "a_c_turkey_01"_J,
    "a_c_turkey_02"_J,
    "a_c_vulture_01"_J,
    "a_c_bluejay_01"_J,
    "a_c_cedarwaxwing_01"_J,
    "a_c_rooster_01"_J,
    "mp_a_c_chicken_01"_J,
    "a_c_chicken_01"_J,
    "a_c_californiacondor_01"_J,
    "a_c_cranewhooping_01"_J,
    "a_c_egret_01"_J,
    "a_c_heron_01"_J,
    "a_c_loon_01"_J,
    "a_c_oriole_01"_J,
    "a_c_carolinaparakeet_01"_J,
    "a_c_parrot_01"_J,
    "a_c_pelican_01"_J,
    "a_c_pheasant_01"_J,
    "a_c_pigeon"_J,
    "a_c_quail_01"_J,
    "a_c_redfootedbooby_01"_J,
    "a_c_robin_01"_J,
    "a_c_roseatespoonbill_01"_J,
    "a_c_seagull_01"_J,
    "a_c_sparrow_01"_J,
    "a_c_vulture_01"_J,
    "a_c_woodpecker_01"_J,
    "a_c_woodpecker_02"_J,
};

`

Rxann commented 2 months ago

It is used to detect if a player is using one of these as there model. It will cause a crash if the player is, I believe.