Space Engineers

Space Engineers

MoveIT Script [V 2.01, bugfix for non english versions]
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/
< >
Se afișează 1-8 din 8 comentarii
LordF84 2 sept. 2016 la 0:31 
Hi guy...does.this fix works only with the stable?
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 sept. 2016 la 6:02 
Thanks very much!
confirming works on dev as of 18/09/16, thanks!
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
Not sure, pistons where just updated I believe so it may have broke this again. Not sure.
Does this fix still works?
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);
}
}
}
Editat ultima dată de Romulous; 23 apr. 2020 la 3:57
< >
Se afișează 1-8 din 8 comentarii
Per pagină: 1530 50