Space Engineers

Space Engineers

MoveIT Script [V 2.01, bugfix for non english versions]
Bobisback 2016 年 9 月 1 日 下午 11:30
Temp Fix for Stable 1.144.
I fixed it!!!!!! hell ya. I am not sure if I am going to reupload his mod. Not sure what the rules are on that. (Not to mention not sure how to do that)

In the mean time you guys can fix it manually. Go to line 522. Change that function from this:

List<IMyTerminalBlock> GetGroupBlocks(string name)
{
var grou p = GetGroup(name);
return group!=null?group.Blocks:new List<IMyTerminalBlock>();
}

To this:

List<IMyTerminalBlock> GetGroupBlocks(string name)
{
var group = GridTerminalSystem.GetBlockGroupWithName(name);
var groupBlocks = new List<IMyTerminalBlock>();
if (group != null)
{
group.GetBlocks(groupBlocks);
}
return groupBlocks;
}

This will get his script working again. You can also delete the "GetGroup" function as it is not needed any more, but if you have no idea what I am talking about do not worry about it.

P.S This was the post that showed me what I needed to change.
http://forum.keenswh.com/threads/solved-fixing-my-group-renamer.7386418/
< >
目前顯示第 1-8 則留言,共 8
LordF84 2016 年 9 月 2 日 上午 12:31 
Hi guy...does.this fix works only with the stable?
Bobisback 2016 年 9 月 2 日 上午 1:35 
Not sure, I have never run the dev version. My guess would be that it works fine with dev. I do not believe they have changed anything api wise in the dev version. Could be wrong though.
LordF84 2016 年 9 月 2 日 上午 6:02 
Thanks very much!
Willus Mollusc 2016 年 9 月 18 日 上午 11:59 
confirming works on dev as of 18/09/16, thanks!
GenJackO 2017 年 1 月 4 日 下午 3:04 
idk what im doing wrong .... i went to line 522 and replaced text with what you supplied but in game its not letting me assign up and down distance values for pistons when i add the programing block to the button
Bobisback 2017 年 1 月 7 日 下午 1:54 
Not sure, pistons where just updated I believe so it may have broke this again. Not sure.
Sir Mauch 2018 年 6 月 8 日 下午 7:51 
Does this fix still works?
Romulous 2020 年 4 月 23 日 上午 3:54 
A bug I had was no argument was fed to Main().

Fixed this with the below code. Happy days my rotor is moving now :)

void Main(string argument)
{
if (argument.Length > 0) {
var cmds = ParseCommandline(argument);

for(var i = 0; i<cmds.Count;i++)
{
HandleBlocks(cmds);
}
}
}
最後修改者:Romulous; 2020 年 4 月 23 日 上午 3:57
< >
目前顯示第 1-8 則留言,共 8
每頁顯示: 1530 50