安装 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(越南语)
Українська(乌克兰语)
报告翻译问题










Anyway, the "private deprecation" error is cause LCDs used to have Public and Private displays. And to be honest... I have no idea why I was writing anything to Private text, ever. I deleted the lines of code entirely and ran it again in a test environment, and it's working now, so... I dunno. XD Whatever. It works again!
Program(64,12): Warning: 'IMyTextPanel.WritePrivateText(string, bool)' is obsolete: 'LCD private text is deprecated'
Program105,8): Warning: 'IMyTextPanel.WritePrivateText(string, bool)' is obsolete: 'LCD private text is deprecated'
It might be a simple fix, but I'm not very familiar with coding. The only thing I've edited in the script is the two instances where the name of the display is written - I've exchanged it with the name of my own display.
1) Help newbies understand how to use this script; write "write your LCD name here" instead of "Val.batt1".
2) you can count batteries automatically, use "blocks.Count" so user don't need to change the Constant when the add/remove batteries.
Thanks for sharing the script! :)