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

 144
 144								 此主题已被置顶,因此可能具有重要性
  此主题已被置顶,因此可能具有重要性	 
					




 举报此帖
 举报此帖


edit:
I can upload the grid if it helps
It should be - please upload the grid and I'll take a looksy :)
xception Message:
Length cannot be less than zero.
Parameter name: value
Stack trace:
at System.Text.StringBuilder.set_Length(Int32 value)
at Program.<ManageMap>d__151.MoveNext()
at Program.RunNormalOps()
at Program.SubMain(String argument, UpdateType updateSource)
at Program.Main(String argument, UpdateType updateSource)
If you have Auto Launch enabled, you will see:
MSL CT
A-2
If you have Precision enabled, you will see:
MSL CT
P-2
If you have both Auto Launch and Precision enabled, you will see:
MSL CT
PA-2
Exception Message:
Object reference not set to an instance of an object.
Stack trace:
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RuntimeInfo.get_CurrentInstructionCount()
at Program.RunNormalOps()
at Program.SubMain(String argument, UpdateType updateSource)
at Program.Main(String argument, UpdateType updateSource)
---------------
Greetings
As for the exception, that almost looks like a bug in the game, but I will investigate and figure out what's going on. Thanks for letting me know!
Exception Message:
Object reference not set to an instance of an object.
Stack trace:
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RuntimeInfo.get_CurrentInstructionCount()
at Program.<ManageMap>d__151.MoveNext()
at Program.RunNormalOps()
at Program.SubMain(String argument, UpdateType updateSource)
at Program.Main(String argument, UpdateType updateSource)
-----
too bad.. nothing more there to copy
For the first issue, targets not being detected until you get close. The script doesn't differentiate between objects when it detects them. It simply checks that their relationship (owner, enemy, etc) is in a list, which is set with the "Targets" command. So in this case it simply isn't finding them until they are closer. The only thing that may help this is more cameras on all sides.
For the exception. This is not the script as the "CurrentInstructionCount" property is a part of the game. So one of two things is happening:
One - you have a mod that is doing something funky with the PB
Two - it is a bug in the game
Are you playing on a server? If so, is it a dedicated server? I would suggest you try to recreate the issue in a vanilla world (No mods). If it still occurs with just the script running (other scripts are okay) then let me know, and I'll dig deeper into the why and how.