Cities: Skylines

Cities: Skylines

CSL Stats Panel
Operation40  [developer] 26 Feb, 2016 @ 6:53am
help me test the new version
I'm cooking up a new version which I think is pretty slick..
-- trams stats (untested)
-- Government Vehicle category
+ snow trucks in-use / count (untested)
+ maintenance truck in-use / count (untested)
-- customizable XML config. all stats are added to the mod via XML and matched to objects/fields via reflection. advanced users can remove/add/reorder stats, change % totals, change colors, and more.. (the regular config screen is still in place of course)


I still don't have snowfall, so I'm looking for anyone interested in helping me test the new version (on snowfall):

Requirements for testers: Be able to follow the instructions below :)
Instructions:
"Download ZIP" from github: https://github.com/pilnomi/CSLStatsPanel
find the DLL in bin/Debug and copy to your mod folder in steam library
(for me, this is: H:\SteamLibrary\steamapps\workshop\content\<userid?>\412708301)


Thanks!
< >
Showing 1-13 of 13 comments
benzoll 2 Aug, 2016 @ 7:14pm 
I just watched this topic. I downloaded the zip.
I go testing.
benzoll 2 Aug, 2016 @ 10:40pm 
Trams, trains and ship public transit working:
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=736715788
"Customizable XML config" working.

Bugs:
-Trucks snow / maintenance: total of trucks error, forever 0.
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=736766005
-Garbage Capacity error. Should be equal to "incinerators".
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=736715918
-Trade: import/export trains and ships error?. Before was 15 or 66 or 105, now is 0,01 or 0.04 or 0,08..
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=736766181
(And tram no import/export, not necessary).

-In "Economy" missing "Immaterialresource" and "Goods produced".

Note.-
In version current of mod (6/8/15), "Garbage Capacity", "Trade: import/export trains and ships" and "Immaterialresource" / "Goods produced" work ok.


Last edited by benzoll; 3 Aug, 2016 @ 1:37am
Operation40  [developer] 3 Aug, 2016 @ 8:55am 
thanks for reporting back -- I haven't touched this code in a while / wasn't sure anyone cared lol :)

I'll take a look
benzoll 3 Aug, 2016 @ 9:11am 
-"Trade: import/export trains and ships" I put thereby, and it works as before:

<STAT name="Imports Train" value="VehicleStats.trainimports" divisor="1" divisorsuffix="" multiplier="1" precision="2" keystat="false" alwaysaddsuffix="false" />
<STAT name="Exports Train" value="VehicleStats.trainexports" divisor="1" divisorsuffix="" multiplier="1" precision="2" keystat="false" alwaysaddsuffix="false" />
<STAT name="Imports Ship" value="VehicleStats.shipimports" divisor="1" divisorsuffix="" multiplier="1" precision="2" keystat="false" alwaysaddsuffix="false" />
<STAT name="Exports Ship" value="VehicleStats.shipexports" divisor="1" divisorsuffix="" multiplier="1" precision="2" keystat="false" alwaysaddsuffix="false" />

It is an unknown measure, perhaps containers.

-"Garbage Capacity": I made an adjustment. It is not exact, but it's almost like incinerators, jeje.

<STAT name="Capacity" value="CustomStats.TotalGarbageCapacity" divisor="1000" divisorsuffix="K" multiplier="0.063" precision="2" keystat="false" alwaysaddsuffix="false" />

--------------------

By the way, where is the .xml file? I do not see, only in game..
Last edited by benzoll; 3 Aug, 2016 @ 9:29am
Operation40  [developer] 3 Aug, 2016 @ 10:53am 
it's in "My Documents\CSLStatsPanel\".. for me that's: C:\Users\Ben\Documents\CSLStatsPanel
this is specified in code using: Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
so I'm not sure how that translates to Mac or Linux

The file doesn't exist until you click to edit it the first time, and then from that point on it will use the settings in it (if it exists still)

my reason for putting it in "documents" that is Steam autoupdates your mods, and I didn't want it to overwrite someone's customizations. I suppose it's maybe worth nothing then, you have to delete it manually if/when you uninstall the game.. though it is just 1 tiny xml
benzoll 3 Aug, 2016 @ 11:31am 
File appeared. Jeje.
Good option, outside the domains of steam.
Operation40  [developer] 3 Aug, 2016 @ 3:28pm 
I pushed an update to github a few minutes ago

fixes:
-- improved divisor logic.. there were places where it was dividing when the value was less than the divisor (and then not showing the divisor suffix "K").. This should fix the trade numbers
-- incinerator capacity wasn't multiplying by 16 for the "capacity %" math.. this, with the above item should fix the garbage numbers
-- immaterial resouce and goods produced should be showing now

added stat:
-- "Depot Vehicles Total", another stab at getting snow plow / maintenance truck totals. Let me know if it works (I still don't have snowfall).. if it does work, I'll remove the other 2 truck totals and we'll have this 1 total

I recommend you reset your config. Some of the things you updated should be fixed in the sense that I think the xml was actually correct and there were logic errors that I addressed in the code

thanks!
benzoll 4 Aug, 2016 @ 11:24am 
I go testing. :steammocking:
benzoll 4 Aug, 2016 @ 12:18pm 
All ok.
Less total in "government".

Total trucks (both) is 0.
And missing "snow plows" (trucks) in use (It is written in xml but with DEL)
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=737646024

Note,. In is city have not airport.
------------------------
Suggestions:
1/ in "government" put taxis.
2/ Mod not appear when start saved game (this does not always happen, is rare).
Last edited by benzoll; 5 Aug, 2016 @ 2:54pm
Operation40  [developer] 4 Aug, 2016 @ 4:14pm 
pushed a few more updates to github.. took a stab at taxi numbers

really appriciate your feedback so far
benzoll 4 Aug, 2016 @ 7:18pm 
All perfect less:
-taxis
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=737841752
Mod not appear when start saved game, ok.
----------------------

Questions:
1 / health = 85%, what is? 73 health tells me in game
2 / In "public transit", avalability: going from 0 to 100? Is it as a % seat load in lines of transport?
For example:
32 = few available seats
84 = many available seats
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=737841881
Last edited by benzoll; 4 Aug, 2016 @ 7:19pm
Operation40  [developer] 5 Aug, 2016 @ 6:41am 
Those numbers are coming straight from the game code..
ImmaterialResourceManager.Resource.Health
ImmaterialResourceManager.Resource.PublicTransport
These are typically the same numbers that show on the city statistics screen (with the graph) -- I think the game averages them over a period of time (weekly maybe?)

Guess I'll have to break down and buy the DLC to try to figure out some of these numbers that I can't get to work (total plows and taxis).. I'm buying a house in 2 weeks though so I'm litterally saving every penny at the moment.. so.. soon(ish) I hope.
benzoll 5 Aug, 2016 @ 6:55am 
Ok.
You have to save money, yeah. Hehe.

To be honest, if you remove taxis, I think you can update mod for all gamers.
In the future you can look "Total trucks" and taxis.
Last edited by benzoll; 5 Aug, 2016 @ 7:04am
< >
Showing 1-13 of 13 comments
Per page: 1530 50