Creating an NRaas project Attn C# Devs: Traveler

Talk nerdy to us here.
User avatar
JunJayMdM
Reactions:
Posts: 262
Joined: April 2nd, 2012, 6:00 pm

Post by JunJayMdM » February 12th, 2014, 9:57 pm

Ooh, wait a second, the idea that hit me just hit me with another idea, and the more I think about it the more I'm convinced that's what those were. EA fixed something about the almanac, and I was just reading in the other thread that the aforementioned code could be responsbile for clearing the almanac data.

So I'm thinking EA had that code to clear data in the 4 delegate functions but then they moved it to those methods instead, to fix something. If that's the case, it could be a good place where to intercept the service inizialization

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7598
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » February 13th, 2014, 10:00 am

You can but it's not a .net dll so it can't be decompiled.

User avatar
JunJayMdM
Reactions:
Posts: 262
Joined: April 2nd, 2012, 6:00 pm

Post by JunJayMdM » February 13th, 2014, 10:43 am

Aww I wanted its code :(

Anyway, as soon as I got some spare time I'll start experimenting with those Listeners. I'll keep the hook open, in case in the future we want to add other stuff to be triggered during those events :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7598
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » February 14th, 2014, 1:37 am

I am getting into the habit of typing in notepad then pasting. This site eats a lot of text that I sometimes spent ages typing because I'll go and wade through reflector and add information based on what I find. It's incredibly frustraiting when that research goes out the window.

As for when they run, you could always hook into them and then see if EA's listeners are still gone after you move/switch by adding an occult or buying a bathtub. :D An alarm that runs that often to supress a notificiation is heavy, I agree.

The code that clears the alamanac data is the code in PrepareToBecomeActiveHousehold. Using a Twallan method of switching doesn't do it as he has it commented out but EA's method does. It doesn't clean up the descendants though which causes them to get away from the alamanac effectively leaving them in limbo forever. When you switch back to the other family the game generates even more descendants and eventually the future town becomes overan with them. It was a good thought but those listeners have been blank like that since 1.63. They still might be doing something though.

@SimAd Indeed you can but it's much more fun to see code. :P I still believe that DLL really is a .NET assembly that has been obfuscated. I don't see why though, this engine isn't anything ground breaking that another company is dying to copy. It would serve as a great reference of what not to put in your engine though.

User avatar
JunJayMdM
Reactions:
Posts: 262
Joined: April 2nd, 2012, 6:00 pm

Post by JunJayMdM » February 19th, 2014, 4:07 am

Just a quick update, I've been busy in the past week so I didn't look much into it, seeing what you're doing I think it would be best for me to work on the Listeners when you're done or it will get messy. So, if you were on hold waiting for my progress, don't worry about it :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7598
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » February 19th, 2014, 8:25 am

No problems. My update to Traveler is actually being held up by StoryProgression. It needs the new hooks in SP to actually do anything (besides fix the bugs I fixed) and atm I have SP in pieces adding new caste filters to it and fixing bugs. Overall rather time consuming so not sure when I'll be finished. :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7598
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » March 24th, 2014, 11:34 pm

I actually ended up needing a setting to disable the FutureDescendantService while I tested some things so I ended up adding it. Hope you don't mind! :)

Post Reply