Space Engineers

Space Engineers

MoveIT Script [V 2.01, bugfix for non english versions]
Bobisback 1 SEP 2016 a las 23: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/
< >
Mostrando 1-8 de 8 comentarios
LordF84 2 SEP 2016 a las 0:31 
Hi guy...does.this fix works only with the stable?
Bobisback 2 SEP 2016 a las 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 2 SEP 2016 a las 6:02 
Thanks very much!
Willus Mollusc 18 SEP 2016 a las 11:59 
confirming works on dev as of 18/09/16, thanks!
GenJackO 4 ENE 2017 a las 15: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 7 ENE 2017 a las 13:54 
Not sure, pistons where just updated I believe so it may have broke this again. Not sure.
Sir Mauch 8 JUN 2018 a las 19:51 
Does this fix still works?
Romulous 23 ABR 2020 a las 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);
}
}
}
Última edición por Romulous; 23 ABR 2020 a las 3:57
< >
Mostrando 1-8 de 8 comentarios
Por página: 1530 50