Space Engineers

Space Engineers

(Old) Easy Automation (InGameScript)
Coren  [developer] 1 Dec, 2015 @ 12:22am
Bug Reports
If you run into a bug, post it here and I'll see what I can do. Before you post here, make sure that it is in fact a bug and not

-a syntax error in the code you entered in the private text of the linked LCD
-forgetting to link the timer block to the programing block as shown in tutorial 1
-an incorrect argument passed to the programing block from the button or sensor or timer block

if you do submit a bug report then I will need you to post the LCD code you used as well as the "Detailed Info" that the programming block generates when it fails to run. Otherwise There is no way for me to understand what is going on. Please be precise about exactly what lead to the problem.
Last edited by Coren; 7 Dec, 2015 @ 8:32am
< >
Showing 1-15 of 40 comments
IruShiro 7 Dec, 2015 @ 5:43am 
first test with lights OnOff does work
but if i then change anything in the LCD, it compeltely stops working
not even removing the changes will work
only solution is to rebuild the programm block
i dont use any mods and i even changed language back to english
Coren  [developer] 7 Dec, 2015 @ 8:25am 
I am fairly certain that this script only works in English. I have no idea how to make it work for other languages.
I will need a more specific report if I am to understand the problem. Please post the LCD code that does not work as well as the "detailed info" of the programming block.
Last edited by Coren; 7 Dec, 2015 @ 8:27am
IruShiro 7 Dec, 2015 @ 5:48pm 
@1{
OnOff Light
}

that works
I edit the text and write another line

@1{
OnOff Light
write on LCD = "test"
}

it stops working
I change it back to the first code

@1{
OnOff Light
}

It still does not work
Building new LCD or Timer or Button writing first code again, nothing works
rebuilding programming block again it works, until mentioned above



after a good day worth of sleep and new testing of this Script.
It seems like writing "Write on" instead of "Write to" makes the programming block break
it works now, sry for using your time
Last edited by IruShiro; 7 Dec, 2015 @ 6:11pm
Coren  [developer] 7 Dec, 2015 @ 6:49pm 
when you use "write" you need to do it like this:

write to LCD = "test"

using "on" instead of "to" will confuse the program and it will not work until you recompile, as you have found out.
gfrannic 8 Dec, 2015 @ 5:28am 
@test{
Blink Interval of lamp = 3
}
This does not seem to work.
Blink Lenght is asno not working, Color is however working fine.
Am i doing something wrong?
Coren  [developer] 8 Dec, 2015 @ 9:16am 
@gfannic nothing wrong on your part. Congrats, you found an actual bug! I didn't acount for double word slider values. I'll fix it as soon as I get some time.
gfrannic 8 Dec, 2015 @ 11:31am 
Ok. In that case i am happy i could actually help.:steamhappy:
gfrannic 8 Dec, 2015 @ 11:41am 
Also, i have a request. Could you add a version number as comment on the first line?
That way we know if we got an ild version and it helps with the bug reports in case someone reports a bug and his version is not up to date.
boeljoet 8 Dec, 2015 @ 12:16pm 
action: turn off/on a light with the press of a buton

@light{
OnOff light
}

action in button :Tutorial LCD(light)

timerblock name :Easy Automation TB (checked 2ce in script and block it self)

i think i`m being stupid somewere, but i cant figure it out, do i need [] somewhere or????
gfrannic 8 Dec, 2015 @ 12:40pm 
I can't seem to tick the recharge box of a battery.
I tried
Recharge Battery
Recharge Battery = True
Recharge Battery = "True"
Recharge Battery = On

Could you give an example on how to do this?
p.s
The Discharge command is not in the list. Semi-Auto is however.
Uncle Urdnot 8 Dec, 2015 @ 9:20pm 
I think there is something wrong with the Write to command - or I'm doing something wrong. Take this code:

@Turn BkupGen1 ON{
OnOff_On LTBkupGenOn
OnOff_Off LTBkupGenOff
OnOff_On ReactorBkupGen1
}

@Turn BkupGen1 OFF{
OnOff_On LTBkupGenOff
OnOff_Off LTBkupGenOn
OnOff_Off ReactorBkupGen1
Write to BkupGen1StatusLCD = " Reactor
Status
---

SHUTDOWN"
}

@BothLights{
OnOff LTBkupGenOff
OnOff LTBkupGenOn
}

@bothLights & @Turn BkupGen1 ON both work fine. When I run @Turn BkupGen1 OFF it performs the OnOff commands fine, but then Write to only displays the following on the selected LCD:

Reactor
Status

The ea PB then locks up and only grinding it down and rebuilding it and reloading the ea script gets it to work again.

If I modify the Write to line to this:

Write to BkupGen1StatusLCD = " Reactor
Status"

it works fine and I can then run the other scripts afterwards as expected (the ea PB does not lock up). Is Write to limited to just 2 lines now? I know you put many more in the tutorial video.
Coren  [developer] 8 Dec, 2015 @ 10:07pm 
@gfrannic if "Battery" is the name of your battery then

Recharge Battery

should work, check ownership and capitalization.
Coren  [developer] 8 Dec, 2015 @ 10:14pm 
@boeljoet Is the name of your light block "light" or "Light" capitalization does matter. Also is your timer block set up to run the programming block on trigger?
gfrannic 8 Dec, 2015 @ 11:11pm 
@Coren I am pretty sure all my batteries are called Battery 1, Battery 2 etc
I use your script to toggle them on and off (OnOff_On Battery) or OnOff_Off of course.
You say Recharge Battery should work, but then my next question would be, how do i know if i am turning recharge mode on or off?
It's a checkbox so i would toggle all batteries that are in recharge mode in auto mode and all the batteries that are not in recharge mode.
I am still not getting this to work (will do some more tests later to see if i am missing something)
If i am tottaly wrong here (and there's a good chance of course :) ) could you explain how the modes switch then? Is recharge disabling the other 2, so that if i would toggle discharge on would recharge and semi-auto then toggle off?
Coren  [developer] 8 Dec, 2015 @ 11:56pm 
@Uncle Urdnot@ Dang that took a while to find. So right now an empty line will cause the line tracker to run away. I'll see what i can do to fix that.
< >
Showing 1-15 of 40 comments
Per page: 1530 50