Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский — Испания)
Español - Latinoamérica (испанский — Латинская Америка)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский — Португалия)
Português-Brasil (португальский — Бразилия)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
Method not found: 'EconomyManager.GetBudget'. [System.MissingMethodException]
Details:
No details
System.MissingMethodException: Method not found: 'EconomyManager.GetBudget'.
at AutoBudget.AutoBudget.OnAfterSimulationTick () [0x00000] in <filename unknown>:0
at ThreadingWrapper.OnAfterSimulationTick () [0x00000] in <filename unknown>:0
at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0
at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0
Would you be able to supply such mentioned updates/improvments to this? I mean the source is availible, and I guess more options are always better. Considered the author is okay with that.
as for fire/healthcare and such, consider using the % risk values for fire, and overall health of cims for healthcare...
preferably user setable, but you could use a "target firerisk%" as your goal, increasing or decreasing funding in small increments, possibly on a day to day basis, thus allowing changes to have a chance to perpetuate.
with all of the suggestions, I'd recommend a user configurable warning for each budget, with a max and a min budget.
min because you might save cash by turning off facilities to cut the upkeep cost rather than reducing the budget, max because you'll probably want to increase the affected supply rather than running others at too high a %.
ie:
- x = current %
- y = current available
- z = y/x (how much power is 1% worth?)
- a = citywide demand
- change the percentage to ((a/z) + 1)
given the above, as soon as the loop runs, it will check how much power it has available, how much is needed, and budget for 1% greater than the minimum. this loop could be run every 1-5 seconds even, and still keep up sufficiently to not cause any negative impact to the game. this would decrease CPU time for the mod significantly.
@Nightmare002; I think that'd be a good idea. However the issue is that budgets are "global". They are set for your entire city, and not for specific districts.
I have some new math to figure out the proper optimal level as well, which I'll be testing shortly. This should just automatically set the value rather than waiting on the simulation to update so I can sample a new value.
Anyway, good effort.
I noticed that in a few cases, it can get into a "high-low" loop of getting the values to lay in the 55-58 range of usage, I'll fix this.
You can find the source in the link in the description to see how it actually works.