Cities: Skylines

Cities: Skylines

CSL Stats Panel
Operation40  [developer] 1 Apr, 2015 @ 7:05am
report a bug
bugs happen, but won't be fixed unless I know about them.

please report a bug to the best of your ability. If you crashed, please include a pastebin link to your output_log.txt (if one was generated). These are found at: X:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\<date of crash>\output_log.txt

Or, at the very least, include the "stack trace" at the bottom of that file

Thanks!
< >
Showing 1-13 of 13 comments
woymfsu03 1 Apr, 2015 @ 11:44am 
http://pastebin.com/aY6yHrEE
http://pastebin.com/uHcGybaN
The crashes only happen when this mod is activated. As soon as I deactivate I can play for 3+ hours with no incident. Problems only started occuring when the new design I noticed a few days ago came out. Love this mod though. Keep up the great work.
Last edited by woymfsu03; 1 Apr, 2015 @ 11:47am
Operation40  [developer] 1 Apr, 2015 @ 12:22pm 
that looks like it was "OnMouseWheel" zooming/unzooming the textscale. I notice a crash while doing the same today and popped an extra panel.Update() in there and that seems to have fixed it.

Other changes I made are holding me up from publishing it though -- noticing a "tick" in the game speed now when the panel refreshes
woymfsu03 1 Apr, 2015 @ 2:33pm 
I've also noticed that it happens probably 75% of the time after I've zoomed in or out. I've accidentally went over the stat mod when I was trying to zoom out of the map and instead started minimizing or maximing the text now that the wheel does that. Then again earlier today i was in the game for roughly 30 seconds without really doing anything and it crashed. Other times it goes 20-30 minutes.
Operation40  [developer] 3 Apr, 2015 @ 9:35am 
I haven't had any crashes recently, so let me know if you're still getting them. Played a good 3-4 hours on the latest version last night with no issues.

I did notice something while running ModTools though -- if you're playing a while with both mods enabled, exit to menu, then start a new game (brand new), I get:
0000000140123E16 (Cities) Scripting::ScriptingWrapperFor 0000000004FF328C (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:FindObjectsOfType (System.Type) 0000000004FF31AD (Mono JIT Code) UnityEngine.Object:FindObjectOfType (System.Type) 0000000010A759E9 (Mono JIT Code) UnityEngine.Object:FindObjectOfType<object> () 0000000012E44343 (Mono JIT Code) ModTools.Util:SetMouseScrolling (bool) 0000000012E442CF (Mono JIT Code) ModTools.GUIWindow:UpdateMouseScrolling () 0000000012E4144C (Mono JIT Code) ModTools.ModTools:Update ()

I never see it with modtools disabled and just the stats panel running.
jebevuorinen 4 Apr, 2015 @ 3:28am 
These are not really bugs rather than features that could be improved in my view: 1) At the moment, the vehicles_total stats do not take into account the fact that there are virtually no vehicles actually available if a site is full. I think that the vehicles_total formula should be adjusted so that full or emptying garbage dumps etc. don't count in vehicle counts since they can't actually spawn vehicles. 2) My health box seems to be red all the time although I have empty hospital beds and vehicles available. I think that the health stat is not a good indication for the color of the health box, since there is little that you can actually do about it. Bed capacity and vehicles available would be better, I think... same thing with fire. Fire hazard could be replaced by vehicle count stats when determining the box color.
Operation40  [developer] 4 Apr, 2015 @ 9:06am 
-- i'll take a look at the vehicle numbers to see if I can exclude Full / Emptying. should work as long as those flags aren't triggered when incinerator momentarily reaches cap (obviously it doesn't stay at cap long though)

-- to get health % above 80, you have to stop importing "people". it seems people generally enter town at 50% or so health. ambulance numbers are used if their % is worse off than the health % stat, which really doesn't happen though.. I've considered switching to wellness % instead, though this seems linked to beatification and entertainment.. I'm surprised you're red tho and not yellow.. I'm usually sitting around 70-75% health with steady inflow of people.

fire will use vehicle stats as well, but again, that doesn't usually happen cause they just don't use that many trucks. the problem with only using truck count is they don't attempt to reach fires outside their area -- so your hazard could be sitting at 50% with 0 vehicles in use.
Last edited by Operation40; 4 Apr, 2015 @ 9:06am
woymfsu03 4 Apr, 2015 @ 9:40am 
I played last night for roughly 2 hours with the mod running without any issues. Seems like you resolved it. Awesome job, keep up the great work.
jebevuorinen 7 Apr, 2015 @ 3:22am 
Hi, the vehicle stats for garbage and death seem to be a little buggy at present. Vehicles_used look a little off for death and garbage both and vehicles_available for death seems to exclude one of my graveyards for some reason in one of my cities... For garbage the vehicles_availabe does seem to work though. Probably has to do with the recent modification since I think that those worked before... Anyways, really nice work with the mod, the traffic stats were a great addition!
jebevuorinen 7 Apr, 2015 @ 3:36am 
In case it helps, I shared a save of the said city here: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=421134252
Operation40  [developer] 7 Apr, 2015 @ 7:29am 
thanks, I'll take a look at that
Operation40  [developer] 7 Apr, 2015 @ 10:07am 
should be fixed now .. found a couple things..
-vehicles in use was checking targetbuilding instead of sourcebuilding for isFull and isEmptying (oops)

-my isFull and isEmptying checks were slightly different than what CO does (thanks ILSpy), so updated my code to match
jebevuorinen 7 Apr, 2015 @ 11:04am 
Yup, works like a charm, thanks once again! You'd be sure to get more subs for this if people only knew what they were missing.
I saw the csl mod once, but somehow its hidden now after clicking a bit around on the csl window. Is there any way to make it visible on the screen again ?
< >
Showing 1-13 of 13 comments
Per page: 1530 50