Space Engineers

Space Engineers

AI Mining Drone Script
Devlah 2015 年 8 月 20 日 下午 9:34
Bug reporting
Providing feedback on aberrant mining drone ingame script behavior.
< >
正在显示第 1 - 15 条,共 34 条留言
Devlah 2015 年 8 月 20 日 下午 9:52 
// Automatic mining drone
// BY DerLaCroix
// Version 2.4 Bugfix 1 (2015-08-14)

Using Cal.303:

Pasted into world using workshop blueprint. Updated onboard script version to latest available (mentioned above).
Initial docking procedure worked as intended.
The drone aligned with the target #SEEK coordinates as intended.
After departing, the drone overshot the target coordinates, but continued to align with the target.
I interposed myself into the sensor field, which caused the drone to correct itself and resume course towards the target. I had to repeat this step several times to prevent the drone from overshooting.

Once within 1 kilometer of the target, the drone encountered an unhandled exception error: Attempt to divide by zero.

最后由 Devlah 编辑于; 2015 年 8 月 21 日 上午 11:52
Reeves 2015 年 9 月 27 日 上午 6:51 
i cant get the script to run at all, all i get when ever i press run is "Caught exception during execution of script: Object reference not set to an instance of an object." i have followed all the instructions you have given to the letter, the most i have gotten out of it, was on the first attempt at running it renamed the antenna to, "help human my path is blocked" except it was in empty space
DerLaCroix  [开发者] 2016 年 6 月 11 日 上午 9:47 
New version with complete rewrite using Autopilot was published. This should remove most of these issues.
Wraithleader1 2016 年 6 月 29 日 下午 5:50 
Same problem a Reeves, Any Idea's??? Note: I've only started back playing hven't played since oct.
最后由 Wraithleader1 编辑于; 2016 年 6 月 30 日 下午 3:47
Jodo 2016 年 6 月 30 日 下午 4:45 
I'm having issues as well, "Caught exception during execution of script:Object reference not set to an instance of an object."
DerLaCroix  [开发者] 2016 年 7 月 2 日 下午 4:17 
It means there is a block missing that I do expect to exist. I thought I had all of those secured and would send a message on startup that they are missing.

Could you run a single run with #REINIT and look if the Antenna text displays what the error is?
Devlah 2016 年 7 月 2 日 下午 9:50 
Probabbly a remote control block. That's usually the most overlooked one.
Wraithleader1 2016 年 7 月 3 日 上午 3:19 
Nope, I've been using it to mine by remote.
Mage from Disgaea 2016 年 7 月 6 日 下午 1:16 
I've encountered an issue where the miner stops moving and sits ramrod still once it reaches the "Heading Out" phase of operation. It docks, charges itself, and undocks normally, but it refuses to move afterwards. The antenna isn't displaying any errors.
ShinHodou 2016 年 7 月 6 日 下午 2:32 
Ironwatsas, I had the same problem, not sure what I did to fix it, but I did set the #TARGET to 1km away and redid the setup process and it has been working since. Also make sure everything is owned by you.
ShinHodou 2016 年 7 月 6 日 下午 10:46 
Well now im having the Heading Out issue where it just stays in one spot. I have checked to make sure I had all the parts/names, and have restarted the process countless times.
ShinHodou 2016 年 7 月 6 日 下午 11:04 
I think I figured it out. Make sure the Remote control is set to "one way".
DerLaCroix  [开发者] 2016 年 7 月 7 日 下午 3:47 
Yes. 'One way' is needed to make it work correctly.
Mage from Disgaea 2016 年 7 月 7 日 下午 4:14 
Well now it works. Thank you.
delizin 2016 年 10 月 28 日 上午 12:19 
On compiling the script I am receiving the error message:
"Program(1254, 39): Warning: 'IMyInventoryOwner' is obsolete: 'IMyInventoryOwner interface and MyInventoryOwnerTypeEnum enum is obsolete. Use type checking and inventory methods on MyEntity.'"

I suspect that the API has changed very recently. I'm not familiar with the game's API, but I'll see if I can't get my own workaround. Figured I'd give you a heads up though.
< >
正在显示第 1 - 15 条,共 34 条留言
每页显示数: 1530 50