Space Engineers

Space Engineers

Nanite Control Factory - Status on LCD v.1.1a (ENG, RUS)
45 Comments
eaglegundam Nov 16, 2024 @ 2:51pm 
to bad script not working
Amaia Mar 30, 2022 @ 11:55pm 
This script is not working.
maverick Apr 12, 2020 @ 4:26pm 
ok let me know and is it posible to do this without an timerblock
scad.luncher  [author] Apr 12, 2020 @ 2:45pm 
@maverick, sorry didnt't updated this mod recently, while keen swh doing something with their block api. unfortunately i stacked really long away from my only one gaming pc, so i can't promise, i'll have posibillity to fix it soon
@McNasty, timers are not really reloble no, ag\\fter runtime.update method introduced, as far as i know
maverick Apr 12, 2020 @ 6:50am 
i am getting errors in the code editor program(18,12): Warning 'IMytextpanel.WritePublicText(String,boot)'is obselete: LCD public text is deprecated and this is the sam with 19,12-24,62-27,62-30,62-34,62 and so on long list
Captn_Firebeard Apr 8, 2020 @ 8:11am 
#scad.luncher, I did end up getting it to work. And currently there Nanite Facility itself is messed up, but the modders said they are working on a fix for it. I have also been trying to add a refresh in the code to in an attempt to do away with having an extra Timer Block, I suck at code so I doubt I will get it to work.
scad.luncher  [author] Apr 7, 2020 @ 1:52am 
@McNasty, last time i teststed, it worked on this updated version. let me know, if it's not now...
Captn_Firebeard Apr 5, 2020 @ 5:41pm 
Is there an updated one for the Nanite Facility?
https://steamcommunity.com/workshop/filedetails/?id=219757726
scad.luncher  [author] Nov 9, 2019 @ 1:39am 
NoT_Exist, метод WritePublicText уже используется в моем скрипте, после пары последних обновлений, а вот как скриптом выставить "содержание" на "текст и изображение", я так и не нашел. Если знаете когото кто может подсказать нужный метод или свойство, IMyTextPanel, спросите пожалуйста, и расскжите мне. Я добавлю как только смогу.
NoT_Exist Nov 8, 2019 @ 11:50pm 
Из за того что дисплеи теперь всегда показывают общий текст то в скрипте нужно заменить в скрипте "WritePublicText" на "WriteText" и в настройках дисплея выставить "содержание" на "текст и изображение" тогда всё будет работать. Автор обнови пожалуйста код что бы не нужно было каждый раз вручную это менять

ENG:
Replace "WritePublicText" on "WriteText" in script and change display setting on "show text and picture" and it must be work
Dots Aug 22, 2019 @ 1:08pm 
@scad.luncher - i added you so i can send you ingame screenshots of the error's i speak of. Maybe its a language barrier
scad.luncher  [author] Aug 22, 2019 @ 10:18am 
@Dots, I believe we have some misunderstanding here. Because the last screenshot I added here is taken from current version of the game, AFTER I made some fixes in this script. In case my video not so clear, I also added screenshot-based instructions.They are made from my current working save. Please, check all 3 names involved in this routine, to be absolutely sure they are correct.
Dots Aug 21, 2019 @ 10:09am 
@scad.luncher - I named the LCD exactly how you posted it. I copy and pasted what you wrote down "LCD-NanitePanel" and the script is spilling out obsolete codes mainly because keen updated the way scripts work. Not your's or {SD} killer124n script version would work. If you got time please get in the game test it and fix it. For me its a must have.
scad.luncher  [author] Aug 14, 2019 @ 11:32am 
@Dots, this is because of you misspelled name or id of your lcd.
@everyone, I added basic error handler for such situation, and updated NF support for working mod version
scad.luncher  [author] Mar 21, 2017 @ 4:17am 
{SD} killer124n , I think it's not an option, because manually entered names of blocks, a serving as target designators for script, so it will read only blocks you want, not all in your grid.
{SD} killer124n Mar 21, 2017 @ 3:45am 
It's good but my suggestion is to make it auto rename the nanite and nuhols :-)
Anach Sep 12, 2016 @ 2:09am 
@scad.luncher, I like the idea of the retractable NUHOL, but unfortunately I don't have much luck with rotors and pistons on mobile grids. Instead, I might try setting up your mining section of the script on the NUHOL platforms and using the Antenna Messaging mod to display the data on a remote screen. Maybe a bit complicated for regular use though.
scad.luncher  [author] Sep 12, 2016 @ 1:19am 
Anach , well in my case, the ship has retractable handle with NUHOL on it, so it's part of NaniteFactory's grid. I know that it also possible to create some kind of bot with only nuhol: sorry, for this case I don't have proper script. So if you are using separately nuhol and nanite factory, I only can suggest use "without mining" variant of script, or you could try split my original script to 2 parts, and paste "mining" logic inside your grid with only nuhol...
Anach Sep 11, 2016 @ 3:14am 
How would you suggest having it connect to a NUHOL, when normally they aren't part of the same grid?
Erling Aug 20, 2016 @ 11:17am 
I checked before the mod was updated and that fixed everything :)
scad.luncher  [author] Aug 20, 2016 @ 9:16am 
Spenz , sorry to say that, but today I've checked the my script's compitability, and as you can see, the script and mod works well on 01.144.010...
http://steamcommunity.com/sharedfiles/filedetails/?id=748265854
http://steamcommunity.com/sharedfiles/filedetails/?id=748265954
These screenshots taken today from updated version of the game and map.
Erling Aug 18, 2016 @ 5:35am 
Seems the script doesn't work anymore after update 01.144. It can't find the Nanite Control Factory.
Anach Aug 14, 2016 @ 5:53pm 
OK, I feel the argument values were overcomplicating things and was giving me errors, so here is what I did to get it running. As I only have one nanite factory,I removed the extra space after the names of and +argument references at the end of ("Nanite Control Factory") , ("LCD - Nanite Panel") and ("NUHOL"), which meant I didn't need to worry about adding the argument to the programmable block. Also as I don't use mining, I commented out lines 10-14, 44-46, 62-79.
Cypress Jul 24, 2016 @ 5:50pm 
LOL Nevermind I just figured it out...figures i'd get it right after I finally break down and ask.

It's always an ownership problem. Make sure you own all blocks in the circuit.
Cypress Jul 24, 2016 @ 5:42pm 
@Saburwulf - What was your issue? I've been messing with this for an hour and can't figure out why I am getting the object reference error. Naming is exactly correct, I even tried removing the argument to ensure that wasn't somehow coming in wrong, but still getting the error.
scad.luncher  [author] Jul 1, 2016 @ 10:56am 
Saberwul, Dr. Chainsaw , I've checked the script today again - it works like it have to be. But I must warn you, you have to use a normal 'beta' chanel of SE, instead 'development' channel. This mainly because Nanite Control Factory itself doesn't work in current dev (01.142) version of SE. If it will get update, I'll also alter my script. Untill then, I only can suggest to downgrade you SE to 01.139!
Dr. Chainsaw Jun 30, 2016 @ 3:01pm 
I had the same Problem. check to see if your LCD Is set to veiw public
scad.luncher  [author] Jun 29, 2016 @ 8:50am 
Saberwulf , my code works well, several peoples confirmed it. So if you get error "Object reference not set to an instance of an object", as I said, you are messed with argument or id symbol. Symbol at the end of name of "nanite control factory", "lcd panel" and argument of "programmable block" have to BE EXACT!

If you can improve my code, you free to publish it. Just include link to this mod in your description, so people have a choise between these versions.
Sabrewulf Jun 28, 2016 @ 7:39am 
Hum, i understand now what is the problem.

scad.luncher
Can i change or add features in your code and publish it ?
If you delay to much for answer i will publish and wait for you to keep or delete my publish
Sabrewulf Jun 26, 2016 @ 11:09pm 
Not working.
Object reference not set to an instance of an object.
I tried name manually, Ctrl-C Ctrl-V, set "X" to "1" and "A", using argument, not using argument, Ctrl-C Ctrl-V directly from code...
Pheona Coldfire Jun 24, 2016 @ 7:32am 
ok thank you!
scad.luncher  [author] Jun 23, 2016 @ 11:30pm 
Pheona Coldfire , as I know, in C#, to comment one line of code, you have insert '//' at the begining of it, to comment are multiple lines you have to insert '/*' before the begining of fragment, and '*/' - after.
Pheona Coldfire Jun 23, 2016 @ 6:04pm 
another quick question....I'm not too swift on coding so what does "Comment out" mean? do i need to put a (/) in front of those lines or a (*)?
scad.luncher  [author] Jun 23, 2016 @ 10:31am 
Pheona Coldfire , you're right, it's possible, and not much difficult: Comment out these strings: 10-14, 44-46, 62-79. Let me know, if this help.
Pheona Coldfire Jun 22, 2016 @ 5:42pm 
i was wondering if there was a way to remove the mining info from the screen, I have nanites and would love to keep track of thier status but I don't plan on using them for mining as that is not the purpose of my ship. I tried going into the code and changing the mining stuff to false but all that ends up doing is only showing the mining status.........
Alabaster Jun 20, 2016 @ 10:44am 
my bad, i didn't realize you meant to set an argument.
scad.luncher  [author] Jun 20, 2016 @ 3:23am 
Formalt of Rice Farmeria , this error means that you named some of used blocks incorrectly, or passed wrong parameter to programmable block. Assuming you don't see an error message on display, this means that you made a mistake in renaming display, or passed wrong symbol to programmable block.
Alabaster Jun 19, 2016 @ 10:37am 
I am getting this error:
Object:reference not set to an instance of an object
scad.luncher  [author] Jun 18, 2016 @ 5:02am 
PrairForMercy , sorry, but no. Just don't actually know how MMaster doing this, and can't read his script, 'cause C# is not realy native for me. Maybe in future updates, when I learn this programming language better...
PrairForMercy Jun 17, 2016 @ 9:36pm 
cool script. could you make it that it can scroll the info from a few nanite factories ?
scad.luncher  [author] Jun 17, 2016 @ 7:54am 
Well, its seemed like I've found a way, how to extract and display the data, you asked. Hope you enjoy this update.
scad.luncher  [author] Jun 17, 2016 @ 12:35am 
Shure. Waht do you wnt to see on lcd? How many nanites are mining?
AresFly May 8, 2016 @ 9:41am 
всё, спасибо, теперь заработал в штатном режиме, скрипт данный очень даже нужный для этого мода. А то бывает с огромными кораблями непонятки что он делает когда все вроде б готово :)
scad.luncher  [author] May 8, 2016 @ 9:12am 
Сделал. Подробней будет только видео.
(Которое я может быть сделаю... когда-нибуть..)
AresFly May 8, 2016 @ 6:29am 
у меня что то не работает ни русский ни английский. может по точней на русском опишешь