Space Engineers

Space Engineers

Logic Block Card Reader
56 kommentarer
GodShake 6. sep. 2024 kl. 7:01 
the card reader model is bugged and i cant place it. does the mod works rn?
YOSHI-SAN 6. juli 2022 kl. 18:10 
It doesn't work with Dedicated servers either the mod fails to download and closes the serve console, would love to see this working in dedi so i can split up my security :)
High Templar of Allium Cepa 8. okt. 2021 kl. 17:09 
I tested the Card Reader in an empty world without any other mods and it works! So now I have to figure out which mod is preventing it from working.
High Templar of Allium Cepa 8. okt. 2021 kl. 0:46 
I'm testing it in creative mode and it doesn't take anything, no matter what subtype I use.
Also, I don't see the default card in the G menu and can only see and spawn the Blank and Sliced one using Shift F10. But no matter what it doesn't take those. (BlankCard or Sliced Card used in the Custom Data field. Sad. I was hopeful I could provide services on my station with that.
Makuta Nazo 21. juni 2021 kl. 17:15 
Trying to take the link, but Discord is being a pain...

The inventory size for the card reader is 31,000L So I don't think that is exactly the issue... Though on the other hand that is nearly 15 times more than a freight cargo container so maybe it is?

I'm thinking it's a mod conflict, since our server is extremely large and has an ever growing mod list. Otherwise, my poking around isn't getting a lot of results.
Brisket  [ophavsmand] 21. juni 2021 kl. 16:34 
That's odd. If you drop a single item in, it doesn't disappear right away, but rather, just doesn't accept it?
Might be inventory size.

If you want, you can hop on the discord above and shoot me a message, I can take a peak at the script, maybe something there.
Makuta Nazo 19. juni 2021 kl. 22:02 
Hey, I know it's been awhile since there has been activity here. I've been trying to get this mod implemented on our dedicated server, and I've run into a weird issue I'm not seeing in the comments below.

The inventory space for the card readers are not taking any of the items I put into them, regardless of amount/type etc. I can interact with all other forms of inventories just fine, but the card reader is acting similar to how a weapon rack would if you were trying to put ore or metal into it.

Obviously hard to test if they work if they wont take the key cards, lol. Is this a known issue?
Brisket  [ophavsmand] 15. feb. 2021 kl. 9:10 
Denne kommentar afventer at blive analyseret af vores automatiske indholdskontrolsystem. Den er midlertidigt skjult, indtil vi bekræfter, at indholdet ikke er skadeligt (f.eks. links til websider, som forsøger at stjæle oplysninger).
Exmortis 14. feb. 2021 kl. 19:37 
@cKerensky

I am hoping to have it so when players approach a ground based facility, it spawns in Creatures and Drones using the MES spawning.

So my hope is that the Sensor detects the players approach, and triggers the Logic Block to run the MES Spawn.
Brisket  [ophavsmand] 14. feb. 2021 kl. 17:32 
@exmortis visuals are fine to me. It supports MES spawning, what would you like the sensor to do?
Brisket  [ophavsmand] 14. feb. 2021 kl. 13:19 
@Greenie, it's not possible to make an alternative like you're asking, unfortunately. The logic block reader can spawn in ships, creatures, and lots of things that could easily break a game unless it's restricted.
Greenie /Taxibutler 14. feb. 2021 kl. 12:31 
Could you make a survival alternative? I wanted to use it for my shop in multiplayer but having it admin only makes it harder to use. Personally, I would suggest something like a keycard that has the data pad stuff where you can put text in, and maybe a new thing you can put in the arguments (ex: KeycardT1"1357",open|HangarDoor;)
Exmortis 25. jan. 2021 kl. 19:47 
Hey
Just starting to play around with this Mod

The Card Reader model seems to be bugged? Comes up as an textureless box only two sides.

Additionally, is there any way to use this with Sensor blocks?
I am hoping to use this + MES to cause creatures to spawn whenever players get close to NPC bases.

Thanks!
Brisket  [ophavsmand] 25. jan. 2021 kl. 9:15 
Seems fine at first glance. I'll try and recreate it here.
Wilziak Kid[LoL] 24. jan. 2021 kl. 1:55 
i cant seem to get my reader to work. ive tried re loading. cycling power, etc. Unsure if its my code?

KeycardT4+,runNow|MASTERA;

MASTERA being the name of the Timer i want it to run.
Brisket  [ophavsmand] 7. jan. 2021 kl. 10:56 
@camcam next release. It's a bug you can't do so currently. :steamthumbsup:
camcamhow 1. jan. 2021 kl. 12:53 
Suggestion allow retexture with skins
the zigginator 28. dec. 2020 kl. 14:04 
hmmm ok, thanks. I will check my settings, i thought they were about as high as they could go but ill check
Brisket  [ophavsmand] 28. dec. 2020 kl. 11:24 
If you're seeing a grey box, it's showing one of the LOD models in its place. Only thing that could cause that is lower settings or scaling performance.
the zigginator 28. dec. 2020 kl. 9:49 
i tried using this in a single player game and the model for the reader seems to be broken, its just a grey box.
Brisket  [ophavsmand] 24. dec. 2020 kl. 12:52 
All fixed up and stress tested!
Brisket  [ophavsmand] 23. dec. 2020 kl. 18:57 
Aluxes 23. dec. 2020 kl. 18:43 
Maybe my game just hasn't gotten the update yet but I'm still having the issue, I even started a new game to double check. I included the whole process in the log this time around.
https://pastebin.com/BnMxPas6
Brisket  [ophavsmand] 23. dec. 2020 kl. 18:36 
Fixed now. Also, no longer need to reload save, just power cycling it will reload the custom data.
Aluxes 23. dec. 2020 kl. 18:11 
https://pastebin.com/pBZS7AG0

My apologies if the link doesn't work, my first time using pastebin. I loaded the game fresh and loaded the save from earlier, and stuck the card in since the save was right after I entered the code and reloaded to let it compile, so hopefully it's what you need.
Brisket  [ophavsmand] 23. dec. 2020 kl. 17:36 
Pastebin will work
Aluxes 23. dec. 2020 kl. 17:28 
The discord link is unfortunately invalid, so if I can get a good one I can do that.
Brisket  [ophavsmand] 23. dec. 2020 kl. 14:33 
You'll need to send me the log file. I can't help much more without it, unfortunately.
Aluxes 23. dec. 2020 kl. 10:48 
I did however just try the mod in a game with no other mods, and the T4 card caused it to crash again. Sorry for so many comments just wanted to let you know.
Aluxes 23. dec. 2020 kl. 10:39 
Do you know of any mod conflicts? I don't want you to waste time if your mod is working perfectly.
Also, do you know if these work on servers? I've mentioned before my intention to use them on a server but I am not 100% sure how the Custom Data command system, and the world needing to be reloaded would work on a server.
Aluxes 22. dec. 2020 kl. 20:56 
So, the interaction area is definitely a lot better, so thanks for that. However using the exact same command, however this time with no Timer Block that actually was named right, it crashed.
Brisket  [ophavsmand] 22. dec. 2020 kl. 20:32 
@Aluxesxd, just pushed a major update out with some of your requests!
Aluxes 22. dec. 2020 kl. 19:41 
It wouldn't actually crash if I had the block try to run a non existent block. At first the block was called just Timer Block, but rather than reload the game to change the Custom Data in the card reader, I changed the timer block to TimerBlock1 and then it crashed when I tried.

And thanks again!
Brisket  [ophavsmand] 22. dec. 2020 kl. 15:26 
@aluxesxd, That is indeed strange. I have a quite complicated setup that involves multiple cards, each doing multiple things, including run timer. The only thing I can think of is the TimerBlock1 doesn't exist....still, shouldn't crash! I'll fix that up.
Aluxes 22. dec. 2020 kl. 15:14 
I deleted the card reader because it was a quick test in space, but it was KeycardT4,runTimer|TimerBlock1; I just copied the sliced keycard command above and changed it to T4 instead. When I stuck the T4 Keycard in it crashed.

Also, I appreciate the quick response on the matter, this is an awesome mod and the bug fixes will make it amazing. Any chance you can make a way to set if it consumes the card or not? I would like to make this something I can implement in more than just server events and consuming the card every time isn't practical for Admin purposes.
Brisket  [ophavsmand] 22. dec. 2020 kl. 10:37 
Also, I'm looking into getting the LCD screen functional.
Brisket  [ophavsmand] 22. dec. 2020 kl. 10:36 
All the commands do work, so it's more than likely a small issue with the script.

I'll be pushing an update out this afternoon that makes the card slot much larger, protections against crashing, and adding in a spawn spider option.
RunTimer does work, can you paste the line here, so ai can recreate it locally?
Aluxes 22. dec. 2020 kl. 1:55 
So, I love the idea behind this mod, I just have two issues. One the card slot interaction spot is so small i could barely see it, took me a minute to figure it out. Two, some of the commands don't work. enableGroup did nothing, tho if it doesn't turn on blocks maybe that's my bad. And runTimer crashes the game, which is unfortunate because I have something in mind for this on a server i want to start soon and I would need either command to work for my purpose (I need to turn on, then open a door). I hope to see these issues addressed soon.

Side note, maybe make the LCD read something about the status of the card reader? Like if it needs a T4 card it'll say so, or when you insert the card maybe it can say Scanning... or something.
Alexia 21. dec. 2020 kl. 8:56 
@cKerensky you did it you really did it.
Brisket  [ophavsmand] 21. dec. 2020 kl. 8:29 
@Gamerpro, if you can post what you have here, I'll help out. Multiple card types do work.
Brisket  [ophavsmand] 21. dec. 2020 kl. 8:27 
@Yankee, not really. There's nothing special about the cards, they're just components like any other, no extra data is stored on them. If you went that route you'd have to mod in your own special card.

To assign to a door is very easy, though, it's just one line of text.

KeycardT1, open¦securityDoor;

And you'd just have to copy and paste that.
Or you could even say:
Powercell, open¦securityDoor;


The next update will include a 'wildcard' operator, so you could do something like:

YankeeCard*, open¦securityDoor, then easily mod in your own card, and then the reader would work with any item that started with YankeeCard as the subtype.
Yankee 20. dec. 2020 kl. 22:57 
Is there a way to make one of these that would just function as a standard card reader with no scripting? i.e. You can craft an access card and "assign" it to a specific reader(s). Just as a way of having a security system without the extra scripting?
Tucolol 20. dec. 2020 kl. 15:55 
okay i looked thru the desc a few more times and found what I needed but it now will only take a T1 card and not anything above it
Brisket  [ophavsmand] 20. dec. 2020 kl. 13:43 
Did you enter under data correctly in the custom data field?
The Card is deposited by selecting that location on the reader and putting it in the inventory, as described in the video.
Tucolol 20. dec. 2020 kl. 11:26 
okay the reason i said it does not work is 1. cant hook it up to a door 2. cant enter the card
Klime 20. dec. 2020 kl. 8:14 
Nice work! Using physical objects of keycards is perfect, allows for NPCs to drop keycard loot
Night Raider 19. dec. 2020 kl. 22:06 
yes
Brisket  [ophavsmand] 19. dec. 2020 kl. 22:03 
@Night Raider

Keypad?
Brisket  [ophavsmand] 19. dec. 2020 kl. 22:03 
@GamePro "I would love this if it worked"

It does work, if it doesn't work, I'll need some information on what's wrong.
Night Raider 19. dec. 2020 kl. 19:55 
and can you make a tutoruial vid pls