Cities: Skylines

Cities: Skylines

Not enough ratings
Sequence Logger
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
108.952 KB
Mar 9, 2020 @ 11:25am
Apr 1, 2020 @ 8:00am
3 Change Notes ( view )

Subscribe to download
Sequence Logger

Description
This mod is just a tool that modders/support might find useful.

Logs various C:SL events

As events are triggered, they are logged to:
C:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\SequenceLogger.log

Implicit calls to mod classes:
  • IUserMod
  • LoadingExtension
  • ThreadingExtension
Managers:
  • LoadingManager
  • LocaleManager
  • PluginManager
  • SceneManager
Services:
  • PlatformService (optionally with UGCDetails events)
Does not currently log any in-game events, but those can be added. Please contribute :)

Manager and Service event logging can be toggled in the mod options screen.



source code[github.com]

[ko-fi.com]
6 Comments
MaxFX Feb 2, 2022 @ 4:31pm 
No worries. Thanks again for taking the time to explain! Much appreciated. :steamthumbsup:
leftbehind  [author] Feb 2, 2022 @ 4:13pm 
Well, remember that a single building can have multiple events scheculed (eg. one this week, one next week, etc). As for the inner workings of events I can't really advise as I've never investiated that code, sorry.
MaxFX Feb 2, 2022 @ 3:37pm 
Thanks for the fast reply!! :steamthumbsup::steamhappy:

Digging through code isn't my strong suite (I couldn't even program a stopwatch...). But now I have a good idea of what these events are related to and where to look for more info.

One final question I bother you with: I got contacted by a gamer who used the 'More City Statistics' mod. It showed he had around 80 active events, and the limit being 270 active events. Now that's a lot of concerts, football matches and falling meteors. Can I therefor assume that each event is a 'request for cims to attend' or 'being transported'?
leftbehind  [author] Feb 2, 2022 @ 3:23pm 
I don't know much about the Event limit, but I'll share what little I do know...

Events are things like music events from Concerts DLC, match events from Stadiums DLC, and I assume sporting events from Campus DLC, etc. They are at specific time/place and seem to be mainly about determining how many people will attend, and sending requests to transfer manager to bring cims (and tourists?) to the event. The Real Time mod creates some extra types of events at certain landmark buildings, although I'm not sure how that works tbh.

Disasters seem to be handled separately. They are more concerned about the type of disaster and its magnitude, along with radio and UI announcements of the disaster (if the user has placed relevant detection buildings). Mods such as Ragnarok and Natural Diasters Overhaul are good places to dig through code if you want to find out more.
MaxFX Feb 2, 2022 @ 2:26pm 
First of all: My compliments for the many contributions to the CS community you provide!!

Second: I've created a guide on the games limits recently, and I've been asked about the 'Event Limit'. I wish to incorporate this info in my guide if it is applicable. But I'm not clear on what this event limit is, and even what these events are...

Is a football match an event? Or is a fire breaking out an event? Is a disaster an event? I have no clear answer to this.

Here's the link to my guide: https://steamcommunity.com/sharedfiles/filedetails/?id=2712549268

Any info on the 'Events' matter, as well as any feedback on the guide by an expert like you is very much appreciated!! Hope to hear from you. I'm also on Discord (username: maxfx1984)
leftbehind  [author] Apr 1, 2020 @ 7:54am 
Updated: Can now log PlatformService events, and a new options screen enables different event log categories to be toggled on/off.