Ideas

JohnBaccaratMc's avatar
JohnBaccaratMc
New Spectator
4 days ago
Status:
Reviewed

Multiple "More Choices..." options on non-active sim

I have come across a bug that seems to relate to the way the game handles generating the pie menu when clicking on another sim that only happens when the number of available interaction options without a pie menu category goes over the maximum of 8 shown per pie menu "page". It results in a second "More choices..." option to appear, that also splits the pie sub-menu/category options from the remaining interaction that are without a pie menu category. While this is extremely rare in unmodded Sims 4, it does have an increased likelihood of happening with mods, as those can add additional interactions without a pie menu category.

Platform: PC
Game version: 1.114.46.1030
Mod usage: Bug can appear in an unmodded game, but increased likelihood with mods
Last exception: Bug does not generate any exceptions

What is also annoying is that once you have clicked one of these "More Choices..." options, the other options will return the pie menu of the one that you clicked first once and only after going back and clicking the other option again, will the right pie menu be shown.

Steps to recreate the bug in unmodded TS4:

  • Make a household with 2 sims
  • Add both the Freeze and Transform version of the SimRay to Sim 1's inventory so that the "Freeze Ray" & "Transform" interactions become available
  • Add Bibbity-Basic's Tarot Deck to Sim 1's inventory so that the two "Offer Tarot Reading" interactions become available
  • Travel with Sim 1 & 2 to a lot with sand so "Build Sand Sculpture Together" becomes available
  • Add a mural that can be painted and a yoga mat to the lot
  • Make Sim 1 paint the mural and once finished let Sim 2 deface the mural, so that "Scold" becomes available
  • Click with Sim 2 on the yoga mat to "Request a Yoga Instructor" and then ask the yoga instructor to "Start a Yoga Class..." of either the "Mind Concentration", "Brain Boosting" or "Energy Centering" type, so "Join <Type> Class" becomes available for Sim 1
  • Make Sim 1 go far enough away from Sim 2 that "Call over" and "Call Over Group" (As you are in a travel group) becomes available
  • Once you click Sim 2 with Sim 1 as your active sim, you should now get the bug

From my testing the bug only seems to happen when clicking on a sim that isn't the active one. Furthermore, I would guess that the bug occurs in the C++ part of the game's codebase, as the return object of simulation.server_commands.interaction_commands.create_pie_menu_message() seems normal and this is then almost immediately passed from python to the non-scripting part of the codebase in simulation.server_commands.interaction_commands.generate_choices(), as far as I understand it.

Again, while it is quite hard to meet the condition in unmodded Sims 4 and - as far as I can tell - completely impossible to do with just the base game, it is quite possible to reach it with a few mods.
E.g. When using MC Command Center (Extremely popular) with Andrew's Pose Player (also still quite popular) then 3/8 slots of the pie menu options are already filled, as MC Command Center adds one interaction without a category that is always available and Andrew's Pose Player adds another 2. With those 3, only having a tarot deck in Sim 1's inventory, having traveled to a Sulani beach with Sim 2 and being a bit further away from Sim 2 would already trigger the bug. As we get 2 interactions from the tarot deck, the "Build Sand Sculpture Together" interaction from being on a beach/sand and the two "Call over" interactions, resulting in 9 interactions without a category in total.

Internal interaction names that were used to achieve this bug in an unmodded game:

  • inviteToJoin_YogaClass_EnergyCentering (Spa Day)
    • or inviteToJoin_YogaClass_BrainBoosting (Spa Day)
    • or inviteToJoin_YogaClass_MindConcentrating (Spa Day)
  • mural_ScoldDefacer (City Living)
  • sim_CallOver
  • sim_CallOverTogether_Group
  • social_EP17World_TarotDeck_Reading_BB (Life & Death)
  • social_EP17World_TarotDeck_Reading_BB_ForSimoleons (Life & Death)
  • social_SandActivities_SandSculpture
  • social_SimRay_FreezeRay (Get to Work)
  • social_SimRay_Transform_Sim (Get to Work)

Other unmodded Sims 4 interactions that could potentially also make the bug happen

  • touching_RoommateKey_Socials_GiveKey
  • SI_Roommate_RevokeKey_Start
  • social_EP10_Festivals_GiveBlessing (Snowy Escape)
  • si_mural_KickOff (City Living)
  • si_career_Activist_JoinProtest (City Living)
  • travelGroup_SendHome
  • social_EP17World_TarotDeck_Reading_Collector (Life & Death)
  • social_EP17World_TarotDeck_Reading_Collector_ForSimoleons (Life & Death)
  • fire_ExtinguishSim
    • This one may be especially bad, as the extinguish option could hide itself behind the second "More Choices..." option and the user may as such not find it in their hurry to save their sim

Note: I did not specifically test the ones above, but they do fit the requirements of being super interactions that are available to the player and aren't cheat and debug interactions and do not have a pie menu category.

1 Comment