Talk:Opportunity

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Talk:Opportunity

This is a page for discussing improvements to Opportunity

Talk pages are used to discuss changes or improvements to the article or page only. Please use the game discussions forum for game discussions, help desk for game questions, or the off-topic forum for general conversations. Real-time conversation about The Sims (as well as off-topic discussions) can also be found on The Sims Wiki's IRC Channel or Discord server.


Phone call bug[edit source]

It is still possible to get a phone call if you have Into the Future (and not just for celebrities or laser skill). The only issues here is ITF opportunities have a much higher weighted chance and two of them require that your sim is in oasis landing or else they'll reject the call. --93.201.227.213 (talk) 20:44, May 12, 2015 (UTC)

Hmm, are you sure? All the Laser Rhythm-a-con opportunities require Sims to have at least level 5 of the skill. From what I understand, the game checks if the opportunity requirements are all fulfilled first, and then it will be considered in the random opportunity phone call. If you don't have sufficient skill, the laser harp opportunities won't be considered and the weighted chance becomes irrelevant. Or am I missing something here? Nikel Talk Vote! 02:59, May 13, 2015 (UTC)
The two opportunities I was talking about were EP11_Skill_Future01 and EP11_Skill_Future02. Opportunity requirements are ignored if you get a phone call while not being in the target world but not by your sim who answers the call. --93.201.239.45 (talk) 11:03, May 15, 2015 (UTC) p.s.: I would take a closer look at Sims3.Gameplay.Opportunities.OpportunityCall+GetQueryResponse and its dependencies --93.201.239.45 (talk) 11:13, May 15, 2015 (UTC)
I've checked GetQueryResponse method many times already, but I still couldn't find the problem. In my experience, Sims would respond negatively to an opportunity call. It means the AddOpportunityNow method somehow returned a false value. About the opportunity requirements being ignored... Hmm, I didn't know about that. The way I understood the code was that it would check all requirements as well as TargetWorldRequired to see if an opportunity is available for the Sim or not. Then, the game would pick an opportunity randomly between the pool of available opportunities. And when you pick up the phone, the game would check the requirements again before the opportunity dialog shows up.
Assuming you were right, maybe if I tweak EP11_Skill_Future01 and EP11_Skill_Future02 opportunity setups, Sims could get opportunity calls normally again. I'll try it tomorrow. Nikel Talk Vote! 18:39, May 16, 2015 (UTC)

Opportunity requirements are ignored if you get a phone call while not being in the target world but not by your sim who answers the call.

After a night's sleep, I checked the code again and it turned out you were right about everything! I guess I just... missed some parts of the code. So I removed the <TargetWorldRequired>FutureWorld</TargetWorldRequired> for EP11_Skill_Future01 and EP11_Skill_Future02, and I can receive opportunity calls normally again. Thank you so much for your valuable information! :) Nikel Talk Vote! 05:07, May 17, 2015 (UTC)