Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes missing_pet_tracker is unavailable when taking control #67

Open
kelliq opened this issue Apr 20, 2023 · 16 comments
Open

Sometimes missing_pet_tracker is unavailable when taking control #67

kelliq opened this issue Apr 20, 2023 · 16 comments
Labels
bug Something isn't working game breaking Bug causes exceptions and is possibly game breaking needs investigation Report requires further investigation.

Comments

@kelliq
Copy link

kelliq commented Apr 20, 2023

I removed the mod and didnt save any of the BE's but I wanted to bring it to your attention anyways. The mod did seem to function, what little I could test of it anyway, I couldnt really play because it was throwing out errors every 5 to 10 seconds so I couldnt get much testing done between exiting out of the constant error messages and BE scans. I got annoyed and removed the mod.

@TitanNano
Copy link
Owner

Unfortunately, I need at least one of the BEs to be able to investigate this. Please add the mod into your game again and attach all the BEs that you can get to this issue.

@kelliq
Copy link
Author

kelliq commented Apr 21, 2023

Im not getting the same error reports that I was getting this time around. The error reports are no longer pointing to control any sim as 100% the cause, they are now saying cpp_message (whatever that is). I will attach one anyway.
Screenshot (183)
It wouldnt allow me to attach it so I had to do a screenshot

@TitanNano
Copy link
Owner

Please upload the report file here. Your screenshot appears to indicate that the error you are seeing is not related to this mod.

@G3RGEOUS
Copy link

G3RGEOUS commented Apr 24, 2023

Known_Broken_Mods_Report_1067252007280312391.txt

helllo, i am having the same issue.

@TitanNano
Copy link
Owner

@G3RGEOUS can you please provide an actual exception that you are seeing? This file is unfortunately not of much use.

@Pirakeet
Copy link

Pirakeet commented Jul 4, 2023

@G3RGEOUS can you please provide an actual exception that you are seeing? This file is unfortunately not of much use.

Not identical issue, but didn't want to open a new one due to likely false positive/user error/education gap on my end.

Attached formatted BE and rawLastException. Can send the full BE html if I can send privately (so sorry).

First time with the reference of holidays, but I get a lot of ''AttributeError: 'NoneType' object has no attribute'' and exceptions related to ''scheduler.py" that often reference ControlAnySim, TimelineUnclogger & SimulationLagFix. Happy Haunts has recently started showing up though.

Any extra info I can think of:

Control Any Sim: Not currently in use at time of exception.
Holiday: Custom Holiday including custom traditions
Sim in use: Just cheated into family via (debug menu?)
Both locations not utilising Happy Haunts

Actions at time of exception: Travel from home lot to owned retail business (Newcrest). BE Started generating and crash to worlds menu. Unable to re-enter lot and active sim not present in family thumbnails while attempting.
Actions taken: New save file, reboot game. Active sim back and onsite at retail lot.

If there's anything with a clear cause that is from a different mod, let me know and I can let them know - but otherwise just an FYI in my case.

Hope this helps! Thank you for a fantastic mod!

Control any sim 1
ControlAnySim Formatted BE.txt
RawLastException-20230705-002702.txt

@TitanNano
Copy link
Owner

@Pirakeet looking at the exception, it is very unlikely that this is caused by ControlAnySim. The reason the mod is mentioned, is because the mod hooks into some very basic gameplay logic. Can you reproduce this exception with only the ControlAnySims mod? It's more likely that this is caused by something holidays related.

@Pirakeet
Copy link

@Pirakeet looking at the exception, it is very unlikely that this is caused by ControlAnySim. The reason the mod is mentioned, is because the mod hooks into some very basic gameplay logic. Can you reproduce this exception with only the ControlAnySims mod? It's more likely that this is caused by something holidays related.

Agreed about the holiday element with this specific one. I will let you know if I can reproduce - but assuming more than likely based on the custom holiday element + my general shenanigans caused it.

Your explanation of the mod hooking into some very basic gameplay logic makes a lot of sense. If this could also apply to mods like Timeline Unclogger, Simulation Lag Fix (or alternative Cool1 sim Quicker Autonomy & Simulation Lag Improvements), Sim spawn overhaul etc - then this could explain unclear BEs referencing them seemingly interchangeably.

The near constant exceptions thrown during interior decorator career (unsure if relevant, will test and get you info) make me wonder if it's just a broken pack being a broken pack and BE doing it's best to make sense of it. Then users just read the keywords and assume broken mod? (I.e, BE will say 10%-30% certainty, but we just go with the top thing as the cause.)

Anyway, feel free to consider all of the above rambling rhetorical questions if preferable - will see if I can recreate first exception and keep an eye out for future + try to recreate standalone if there are combined elements.

Thanks for the response, your patience and the excellent mod!

@Pirakeet
Copy link

@TitanNano Got another one for you, unrelated to the holiday one - but actively family is the same. Moved into a brand new save file, but I have no idea how much broken I can port over lol. No holiday active.

"Exception occurred while attempting to populate a repeated field: (AttributeError: 'NoneType' object has no attribute 'missing_pet_tracker')"

Attached info and attempted to breakdown my actions - let me know if more info required.

Reconfirming: for your reference, no support required on my end.

Event:
New save - newcrest - empty lot.
Had visited a household of 8 (all also imported) and used MCCC to update all relationships with active household. Controlled all 8 additional sims via ControlAnySim.

Moved 1 sim to new household (unknown if I ''stopped controlling sim)

Stopped controlling 2 more sims, moved 1 sim into a new household via MCCC.
Moved another sim into the above household via MCCC.
Exception popup occured.
Still have control of the other sims.

RawLastException-20230712-053237.txt
Formatted LastException Screenshot
exception summary screenshot
Formatted LastException.txt

@TitanNano
Copy link
Owner

This exception is actually related to this mod. It occurred when taking control of a sim.

Now it would be good to know what made this sim special as the game is looking for certain features on the sim that are not present. Do you have any clue which sim you were taking control of at the time?

@Pirakeet
Copy link

Apologies for the delay, I will update my email.

I don't believe I can identify the exact sim but I can narrow it down to 4-5 sims - in 2 households of 8. I'm not sure if that's too large an undertaking on your end. I will also try to replicate the exception to narrow it down.

Regardless, let me know what you need (If it's sim data more complex than MCCC detailed log output and it's not easy to google, I might need more info on extracting). Tray/Saves/Gallery is also fine.

(P.S I just followed you on twitter (same handle) for backup contact if I ghost you and you're wanting to follow up. Only if it's bugging you, of course)

@Pirakeet
Copy link

Pirakeet commented Jul 15, 2023

Okay, so I was able to recreate the BE - but I have to assume I was accidentally talking shit because I have now learned the MC Exception is more detailed and specifically referenced the Active and Selected Sim

I had just performed the aforementioned household moves again - but the error occured upon aging up a a newborn and selecting the infant sim

Attempted again with debug-spawned newborn - all ok
Had resident give birth to triplets - all ok

So far it's only the first infant:

Active Sim: Bus Driver
CAS Selected Sim: Tiffany Driver

Attached CASBE Zip:
BE-Exceptionreport
lastException.txt
mc_lastexception
MCCC_SimDetails_Bus Driver
MCCC_SimDetails_Tiffany Driver

Let me know if you need anything else!

EDIT: Triggered it again, but didn't mention CAS (or at least directly) - added eventinfo.txt + exception info to Round 2 Zip

CASBE.zip
Round 2.zip

@Pirakeet
Copy link

I will stop spamming you after this, but I thought it might be useful to provide this one, because it's the same exception - presumably the same cause - but different outcomes.

Event 1: Demolished home - newborn went to inventory - placed newborn. Newborn taken away due to neglect. Exception triggers.
Exception cause - baby.py
Cause: Presumably the zips buried in mod folders. Removed zips and issue didn't recur

Event 2: Reloaded save with new mod test folder. Exception triggers on load
Exception 2 - ControlAnySim
Cause: Probably the buried zips again lol. But CAS identified as the cause.

Both BEs added, lastexception.txt, mc_lastexception.html are both from the second one that identifies CAS as the cause

baby.zip

@TitanNano
Copy link
Owner

I will stop spamming you after this, but I thought it might be useful to provide this one, because it's the same exception - presumably the same cause - but different outcomes.

Event 1: Demolished home - newborn went to inventory - placed newborn. Newborn taken away due to neglect. Exception triggers. Exception cause - baby.py Cause: Presumably the zips buried in mod folders. Removed zips and issue didn't recur

Event 2: Reloaded save with new mod test folder. Exception triggers on load Exception 2 - ControlAnySim Cause: Probably the buried zips again lol. But CAS identified as the cause.

Both BEs added, lastexception.txt, mc_lastexception.html are both from the second one that identifies CAS as the cause

baby.zip

this is entirely unrelated to the mod.

@TitanNano
Copy link
Owner

Thanks for all the exceptions. The game appears to be looking for something on these sims that is not yet loaded for them (a common thing for NPC sims, the game often does not load all the data and features of NPC sims as the player can't see them anyway). Unfortunately, it's hard to tell what exactly the game is looking for, just from the exception. For further investigation, we will have to look into the game's source code. I currently don't have time for that, but I will get back to this issue when I find the time.

The exception occurs every time you try to take control of a certain type of sim (or a sim in a certain circumstance). If you have any details on what this might be, that could be useful, but don't waste your time on it, looking into the code will probably reveal the reason.

@Pirakeet
Copy link

Yeah that's perfectly understandable (re: not having time). As it is, the mod is still functioning, and control is still taken regardless (not that this would impact whether on you have time, of course)

I've stopped manually looking into it, but if I come across any I'll save it for future reference (I've started doing this for myself anyway). So feel free to let me know if/when you come back to it if you want more examples.

In the meantime I'll let you know if I figure out any details around the specific circumstances or sims. But otherwise I appreciate your time (and the creation/maintenance of this mod) :)

@TitanNano TitanNano added bug Something isn't working game breaking Bug causes exceptions and is possibly game breaking needs investigation Report requires further investigation. labels Apr 20, 2024
@TitanNano TitanNano changed the title After infant update mod throws BE's every few seconds Sometimes missing_pet_tracker is unavailable when taking control Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working game breaking Bug causes exceptions and is possibly game breaking needs investigation Report requires further investigation.
Projects
None yet
Development

No branches or pull requests

4 participants