安装 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.