Cities: Skylines

Cities: Skylines

CSLMoreGraphs
Smugger 14 Aug, 2019 @ 1:36am
Day/Night Cycle & Github Repo (Source Code)
Can you add day/night cycle with manual high/low settings?
(eg I can select low number for midnight and high number for mid-day)

If you don't want to do it do you have a github repo that I can do it myself?

I know you have the scale feature but I would like to actually put in high low numbers

< >
Showing 1-6 of 6 comments
Smugger 14 Aug, 2019 @ 1:37am 
A Github repo would be helpful for us to fork it or post issues and feature request for easier bug reporting
ibotaro  [developer] 15 Aug, 2019 @ 9:58am 
I don't understand what you want to do, so I'm sorry if the answer was wrong. . .

1. About day and night cycle:
1-a) This mod does not judge day and night. It is just a graph of the acquired data. Therefore, there is no high or low setting.
1-b) Or do you want to smooth out the numbers that fluctuate day and night?
If so, record it in CSV and do it separately as spreadsheet software. I don't intend to process such data in this mod. CSV can be output for this purpose. Please use it.
1-c) If you want to make a day / night judgment without modifying the program, you can do this by dividing the tax rate between 100% and 99%, for example, day and night.
1-d) I looked into it now, but if I wanted to do just day / night judgment on a program, it seemed like I could refer to m_isNightTime and m_enableDayNight in SimulationManager. I haven't written the code to verify, but I think it will be helpful when you write the mod.

2. About the source code:
2-a) The source code for this mod is managed on a private, private server that I've been using for decades, just like many other programs. Deviating from that management method means a dramatic increase in management costs, and it is a big burden for me.
2-b) Therefore, there is no repository on GitHub, Inc for this program alone, and there is no willingness to manage only this program with another service.
Frankly speaking, it is important to find out where to get data from in this mod, and the program itself is simple and straightforward. That's why I really don't want to publish the source code until I bear the management cost.
2-c) If you would like to report a bug, please use this steam service to prevent the spread of information.

I hope this is your answer.
Last edited by ibotaro; 15 Aug, 2019 @ 10:12am
ibotaro  [developer] 15 Aug, 2019 @ 10:15am 
My native language is not English. Although my utmost care is taken, my native language omits the subject, so it may be strange for European speakers.
Please decline in advance.
Smugger 15 Aug, 2019 @ 11:43am 
Thank you for your response, I was hoping you could apply a mathematical standard to day night cycle, for example, base on what I was asking, a manual high low, even if you started with lets say 12 for mid-day -12 for mid-night you could just use that in any calculations, for example, if I asked for say 20,000 to be high, mid-day, then 10,000 to be low, mid-night, then you could just do 20,000-10,000=10,000/24 = ~ 416, so you could have 10,000 start at 12 mid-night and then 1 am would be 10,416, 2 am 10832, so on and so forth, I hope you understand the math.

If you didn't want to I was willing to write and commit the code for you in a repo, but I guess I am stuck with the decompiled code then, not as clean, no comments, but at least I can see what is going on, I will just work from that.
I do appreciate you getting back to me on this.

Reverse engineering is not ideal, but I have had to do this plenty before.
ibotaro  [developer] 15 Aug, 2019 @ 1:56pm 
As explained, it can be calculated with CSV data alone. do not you?
It's not mathematics or anything. It ’s just addition and subtraction. In my home country it's called arithmetic. I learned it in kindergarten.

I don't know the difference in the wording in English, but it seems that the words translated by machine translation are different.
There seems to be a difference. I don't know what the difference is.
In ancient Greek, I learned that mathematics was Μαθηματικά. Is it equivalent to modern English mathematics?

I understand that you want to do it on the mod. And that's not what I want.

This MOD does not perform secondary operations.
Again, this mod does not perform secondary operations.
You can understand this policy by reading the previous responses to requests for this mod.
I intended to say the same thing in the previous answer, but it seems that it was not understood.
Was it a mistranslation because it was a distant expression?

If you make a mod that does that, it's your job.

Even if I publish the source code of this program on GitHub, I will not accept if you make a pull request.
Because this is not what you want to do with this mod.

So you should make your own mod.
I recommend you ILSpy for reverse engineering. This mod does not obfuscate at all, so it will reproduce the variable name.
This tool is very good.

The class that collects data is a class called Collection.
The other classes are end-of-branches that represent the GUI in Unity.
But just looking at the Collection class, as I said in the comments section above, it's just dropping the results of your own investigation into the code, so you won't even know at first glance. After all, reading the source doesn't make sense, the MOD code is not everything. The code is the result. If you ignore the process leading to the result, you cannot program.

By the way, it is not allowed to fork using the decompiled code as it is.
Write a code that everyone recognizes as his own work, not a secondary work.
By yourself. In the end, it's a pride issue for people who write programs.
Since the source code has not been released, the source code license has not been released. It must not exceed the range of personal use.

Are you prepared to take full responsibility for your work?

For example, for someone who has the idea that your idea is so good that you should adopt it, explain the policy you have and go beyond language differences. Do you have enthusiasm?
If so, then I'm sure you're the person who will take this mod with me to a higher level.

Anyone can do it by writing a little code and doing a PR (pull request). Modifying a program is easy and anyone can improve code written by others. Because there is a base.

Just writing a comment like this takes a lot of time. It's a big job just to translate into English, but your opinion is very valuable and I appreciate it. It is my pleasure to take the precious time to respond, and I pray that I am thankful for having used this mod.
Smugger 16 Aug, 2019 @ 4:49am 
Oh, if I have to reverse engineer it, I have no plan on releasing it unless I am prepared to completely re-write the entire mod from the ground up.

And yes, this mod is really great, I was still able to get valuable information and I substituted the temperature graph (using a larger scale) to simulate night and day. Not the best, but works.
< >
Showing 1-6 of 6 comments
Per page: 1530 50