Code Mystery: Buy Tutoring With Register

Talk nerdy to us here.
Post Reply
User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Code Mystery: Buy Tutoring With Register

Post by MissPatTS3 » September 11th, 2020, 4:07 pm

So I was looking up "tutoring" interaction related stuff in the code and I stumbled upon this set of lines, "ShoppingRegister.BuyTutoringWithRegister":

Image

Image

I tried to get that interaction in game from a Shopping Register object, but the only DEBUG interactions I could trigger were "buy" which forces the regular buy dialog for whichever the register is supposed to sell and "buy food" which gave me the dialog to purchase food.

Would anyone have an idea what this is supposed to achieve, and how I could trigger it in game from the shopping regiter object?

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Code Mystery: Buy Tutoring With Register

Post by MissPatTS3 » March 16th, 2021, 8:44 pm

UPDATE: the talented zoeoe managed to get the "buy tutoring" code to show up in the game and said:
It's basically just an unfinished interaction [between the townie who tends the hobby register and the active sim] I guess which is why EA didn't include it
And it seems a bit buggy where sometimes they have issues routing and just get all worked up instead of completing the interaction even though there is loads of space :P
There is no cost after using the "buy" interaction :P
There was no skill change i don't think, I can test it with an academic career maybe?
I can't remember if the book in the interaction had a name
It should just add the interaction to all hobby shop registers and when a new one is bought
Though I wonder what the string would be in a non-english game with the whole DO NOT TRANSLATE part :P
Screenshots she provided:

Image
Image
Image

Really excited about finally having this working and hoping we can get this interaction to become somehow functional!

So it looks like next steps in that direction will involve:
  • Testing if the interaction works differently if the active sim is enrolled in a EA degree, at the time s.he clicks on the hobby register,
  • Checking what books the sims are using when they are doing the interaction (university textbook? other?)
  • Checking if the interaction boosts the academic performance of the active sim enrolled in the EA degree
  • Testing what happens in non-english game, does the language string show up at all, with zoeoe's mod?
  • Troubleshooting why there is no loss of family funds after using the "buy tutoring" interaction.- and if we can set a tunable fee for this interaction somehow?
Will test stuff and report back. To be continued!

User avatar
Echoweaver
Reactions:
Posts: 391
Joined: January 11th, 2012, 6:00 pm

Code Mystery: Buy Tutoring With Register

Post by Echoweaver » March 23rd, 2021, 3:41 pm

This really is awesome. With so much there already, it certainly seems like it would be straightforward to add the rest of the functionality. Has anyone agreed to do this?
A study in blockheaded stubbornness: Playing the same legacy since 2009.
Sample a Brave Legacy: http://sims3sample.illation.net http://echoweaver.tumblr.com

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Code Mystery: Buy Tutoring With Register

Post by MissPatTS3 » March 23rd, 2021, 3:53 pm

I know right, so excited to see this EP9 feature unlocked! I believe zoeoe was looking into restoring the interaction to what EA had originally planned : the Hobby Register Townie should tutor your active sim and your active sim should gain academic performance increase at the end of the animation cycle.

She also wanted to fix what is not currently happening with the interaction:
- household funds loss when using the "buy tutoring" interaction from the cash register object (tunable fee, ideally)
- LTR gain between the 2 sims
- skill gain/increase for the active sim who uses the interaction, similar to what happens with the other "tutoring" interaction.

I believe zoeoe is swamped at the moment with exams so need to check if potentially she'd rather prioritize her other mod projects (anyone would like to finally see toddlers eat regular food from plates on the floor?) and keep a credit for her original "unlocking interaction" script mod file? Will try and nag contact her about this.

zoeoe
Reactions:
Posts: 15
Joined: September 27th, 2020, 6:46 am

Code Mystery: Buy Tutoring With Register

Post by zoeoe » March 23rd, 2021, 4:18 pm

Hello there!
So yes, I'm not sure if this is something I can/want to work on at the moment but I'm perfectly happy for anyone else to take it on! And I can help out if need be too.
I'm also happy to give my code for it, though it's only going to be so helpful as it doesn't actually do anything other than add the existing interaction to existing hobby shop registers in the world, and new ones placed :p
...though on second thoughts it might be something I could in the general next while so I guess whoever feels like doing it first? :D

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Code Mystery: Buy Tutoring With Register

Post by MissPatTS3 » March 23rd, 2021, 4:30 pm

Whichever direction you take with this, I'm happy to test stuff! Let us know when you cycle back to this project and if by then you'd rather not pursue this mod, it'll be fine as well.

User avatar
Echoweaver
Reactions:
Posts: 391
Joined: January 11th, 2012, 6:00 pm

Code Mystery: Buy Tutoring With Register

Post by Echoweaver » March 25th, 2021, 10:48 am

zoeoe wrote:
March 23rd, 2021, 4:18 pm
..though on second thoughts it might be something I could in the general next while so I guess whoever feels like doing it first?
Haha. You might get to it before I can. I'm excited because I think I know how to do what would be needed, but I don't want to jump off my current project for something shiny and end up getting nothing released :P
A study in blockheaded stubbornness: Playing the same legacy since 2009.
Sample a Brave Legacy: http://sims3sample.illation.net http://echoweaver.tumblr.com

User avatar
lyralei
Reactions:
Posts: 13
Joined: January 30th, 2021, 5:36 am

Code Mystery: Buy Tutoring With Register

Post by lyralei » April 11th, 2021, 10:09 am

Wowie! It comes with animations and everything! it would've made sense for this to be included with the game but i also understand that the priority was probably not as high (since there are professors and stuff).

Makes me wonder how many un-finished stuff there is out there that we can get to work ;) Still need to finish that 'toddler witches using the homework book' stuff but that actually doesn't have any code for it, just animations.

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Code Mystery: Buy Tutoring With Register

Post by MissPatTS3 » April 11th, 2021, 11:25 am

1) About the priority level: actually looking up the ITUN that relate to the interactions, they end up with

Code: Select all

<Notes Notes="" DesignerNotes="EP9 - CUT - Neil" LastChange="11/27/2012 12:22:07 PM" />
So they seem to have kept it till the very last minute in the game code and then just decided to not make it visible by adding "EP9 - CUT" as a note to all related ITUN files and that was it.
  • The interaction and translation worked fine in my french version of the game where it translates to "give tutoring lesson to..." which sounds wrong since technically my active sim was the one receiving, rather than giving, the lesson... But it seems the interaction was actually translated in other game languages.
  • The interaction requires keeping only one kitchen counter around the cash register, or else the 2 sims (giving & receiving the lesson) can't interact with each other at all, which kills a little bit the interior decoration freedom we usually have in TS3, but it's a minor inconvenience for the gameplay it's adding overall.
2) "Makes me wonder how many un-finished stuff there is out there that we can get to work " -> Sim State Dude / Axen had shared that he found a "Tend Register" interaction that was unused as well, maybe you or Echoweaver want to look into unlocking that? There's a chance it's designed for townies to autonomously tend a register? No idea.

3) "Still need to finish that 'toddler witches using the homework book' stuff" Oh yes I remember that you mentioned this project a few weeks ago. Happy modding!

Post Reply