Space Engineers

Space Engineers

MoveIT Script [V 2.01, bugfix for non english versions]
Bobisback Sep 1, 2016 @ 11:30pm
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/
< >
Showing 1-8 of 8 comments
LordF84 Sep 2, 2016 @ 12:31am 
Hi guy...does.this fix works only with the stable?
Bobisback Sep 2, 2016 @ 1:35am 
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 Sep 2, 2016 @ 6:02am 
Thanks very much!
Willus Mollusc Sep 18, 2016 @ 11:59am 
confirming works on dev as of 18/09/16, thanks!
GenJackO Jan 4, 2017 @ 3:04pm 
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 Jan 7, 2017 @ 1:54pm 
Not sure, pistons where just updated I believe so it may have broke this again. Not sure.
Sir Mauch Jun 8, 2018 @ 7:51pm 
Does this fix still works?
Romulous Apr 23, 2020 @ 3:54am 
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);
}
}
}
Last edited by Romulous; Apr 23, 2020 @ 3:57am
< >
Showing 1-8 of 8 comments
Per page: 1530 50