Dear Chain_Reaction,

Talk nerdy to us here.
Post Reply
ArthurGibraltarCondino
Reactions:
Posts: 20
Joined: March 15th, 2019, 7:56 pm
Location: Brazil
Contact:

Dear Chain_Reaction,

Post by ArthurGibraltarCondino » August 12th, 2019, 6:27 pm

So, since I became a forum member, I've been editing the codes of the mod. I'm not very used to GitHub, I use it in another project I have, but could I ask you for help sometimes? I want to create a branch later, but I didn't before editing so IDK what might happen if create now, I think I'll lose my changes.

One thing I noticed is that the solution has reference to mods/files which are not present in the download nor the GitHub itself for individual download. I had to forcefully remove some of them from the project, like NRaasChemistry or NraasEconomizer and some other files. I guess they are not used for anything anyway. NraasCareer had some broken references for OmniJournal Common area for example, I temporally had to remove it either.

I've been changing how Overwatch resets the sims in case they are stuck, among other things, like an AI to add some interactions to NPCs, or make the vampires more responsive to their thirst (maybe I can add a RandomUtil.CoinFlip() and make them try to bite someone instead of drinking plasma juice? For now I just added the plasma juice feeding system so the vampire doesn't starve to death in case my game bugs and it doesn't automatically interact with the fridge: IDK what is causing this, it happens only for interaction Fridge_Have and for snack edible types).

I'm trying to make Bonehilda take care of babies again (couldn't test properly yet, but added the code, but I didn't adopt the babies, had no time to play, hahah).

And I'm trying to put the player/NPCs in random positions, or the route destination in the case they are stuck. IDK if it'll work, but I'm testing in my free time. I stuck my active actor and the game sent him to a random position, so it kinda worked out, IDK if it'll be pleasant for players or not, but it gives the sims some more movement, instead of just sending them to their homes, and they stop trying to get unstuck if they already are stuck inside their homes: the original Nraas Overwatch sometimes sent the NPC to inside of their own homes and didn't fade them out correctly, so they couldn't open the door to leave. And the reset kept happening and sending to the same position. Another time, the reset placed the NPC floating (I kept track of it all using the Logs and Debug messages On and pressing the NPC's picture to find it). So I started editing the AttemptToFindSafeLocation function.

Anyway, thanks for maintaining this site and the GitHub repository, your dedication and generosity are wondrous.

I speak Portuguese, sorry if something sounded weird, I use the translator and pt-br to en-us translations are so messed up! Maybe because the languages have inverted adjectives and nouns and we sometimes don't start the questions with why, how or what, sometimes we just put the ? in the end of a phrase
Absent-minded. Artistic. Brooding. Clumsy. Commitment issues. Computer whiz. Dislikes children. Easily impressed. Hot-headed. Loner. Neurotic. Night owl. Perfectionist. Rebellious. Slob. Unstable.

ArthurGibraltarCondino
Reactions:
Posts: 20
Joined: March 15th, 2019, 7:56 pm
Location: Brazil
Contact:

Dear Chain_Reaction,

Post by ArthurGibraltarCondino » August 12th, 2019, 6:33 pm

P.S. I found this link: [EDIT: wrong link]
I'll try to fix the error. Do you have any idea of what might be causing it? About and hour ago I changed the GoHere files (SimEx.cs) to:

Code: Select all

 //vehicle = ths.GetMostExpensiveUsableParkedVehicle(lot, bAllowBikes, bAddPending, bIgnoreCanDrive, allowUFO);
//if (vehicle != null)
//{
// return (vehicle as Vehicle);
//}

//if (lot != ths.LotHome)
//{
vehicle=ths.GetMostExpensiveUsableParkedVehicle(ths.LotHome,true,bAddPending,true,allowUFO);
if(vehicle!=null){
return (vehicle as Vehicle);
}
//}
I didn't test yet, my game is loaded and I didn't restart, but the error seems to be happening inside GetMostExpensiveUsableParkedVehicle from the stack trace, so IF the problem could be the phone booth now they only try to get a vehicle from a home lot, maybe this could be a temporary fix. Need to test anyway
Absent-minded. Artistic. Brooding. Clumsy. Commitment issues. Computer whiz. Dislikes children. Easily impressed. Hot-headed. Loner. Neurotic. Night owl. Perfectionist. Rebellious. Slob. Unstable.

Post Reply