Space Engineers

Space Engineers

Stop Rotor on High Solar Power Output
7thCore 2016 年 11 月 14 日 上午 11:09
Caught exception Error
Hi, i'm using your solar script and it works great. Until i get an error in the programmable block and it shuts down. I only modified it to work on one axis because i landed on the south pole.

The error:
Caught exception during execution of script: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I noticed that the error occours when the power level of the solar panel being monitored is above the HighPwrValue setting (in my the script default 119.1f) if i set it to 120f the script works but the rotor is always running because it's trying to tune it to the 120kW it is set to.

I hope you can solve this. If you need a world file let me know.

Thanks!

Edit: playing survival single player offline
最后由 7thCore 编辑于; 2016 年 11 月 14 日 下午 1:45
< >
正在显示第 1 - 8 条,共 8 条留言
Sigurd Hansen  [开发者] 2016 年 11 月 22 日 下午 1:27 
Didnt notice this post. Can you publish a world?
7thCore 2016 年 11 月 23 日 上午 1:49 
最后由 7thCore 编辑于; 2016 年 11 月 23 日 上午 1:51
Sigurd Hansen  [开发者] 2016 年 11 月 23 日 下午 12:08 
Disable duplication
7thCore 2016 年 12 月 16 日 下午 2:10 
Sry for the late reply. Disabled duplication and it works now. Thanks
Ghost 2018 年 1 月 5 日 上午 10:50 
I'm having the same issue, but I've already disabled the Duplication script as far as I can tell. Not particularly proficient with programming but I can change arguments and integers.

http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1258684655

I was testing some automation on miners as well so there is some local traffic, nothing near the panels though. There was my first test on the base and the second one behind it in case the base was effecting it. I was in creative mode but I don't think that would effect a basic numeric query.
Ghost 2018 年 1 月 5 日 上午 11:26 
Even though it's throwing the exception, I'm not 100% sure it's not working. My panel finally started tracking the sun but only as it crossed the horizon. So testing is on hold until it comes up. The reason is, if I can get it working on the ground, then getting it working in the air should be simple.
Ghost 2018 年 1 月 5 日 上午 11:28 
I am currently going over your test ship parked next to the base. I really can't see the difference in the script aside from the fact that the ship uses a slightly different layout and still includes the timer lines.
Sigurd Hansen  [开发者] 2018 年 1 月 6 日 上午 8:55 
works when disabling light triggering
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50