←  Peripherals and Turtle Upgrades

ComputerCraft | Programmable Computers for Minecraft

»

[MC 1.7.10] Gopher's Peripherals V2.2....

Lyqyd's Photo Lyqyd 06 Mar 2015

Yep, that would've been, no idea how/why I don't remember that.
Quote

GopherAtl's Photo GopherAtl 18 Mar 2015

Lyqyd and I have been busy the last week, and there's a prerelease of v2.2 for mc 1.7.10 finally ready. All known bugs have been fixed, but there may be more lurking around yet to be uncovered; if anyone tests it and finds any issues, please report them here, either in the thread or on the github repo

download link: BioLock v2.2.pr1 for Minecraft 1.7.10
I've only tested it with cc 1.73, if there have been api changes lately, it may not work with older, but if yer not using 1.73, you should be, all earlier 1.7.10-compatible versions have crucial issues.
Quote

Lyqyd's Photo Lyqyd 18 Mar 2015

My earlier beta builds were functional with CC1.65 (I really need to get around to updating my test instance), so this should work with 1.63+, unless major breaking changes happened since I last tested a build. But 1.73 really is the place to be anyway!

Funny enough, I was considering posting an update on the topic earlier in the day, but hadn't had an opportunity to. :P
Quote

GopherAtl's Photo GopherAtl 18 Mar 2015

well, I'd finished fixing PRBs, did some other tweaking, and while I still want to do more thorough testing, it seems ready for a PR on the off chance anyone else wants to give it a test-run.
Quote

Dog's Photo Dog 19 Mar 2015

Woot! FWIW, biolocks seem to be working as expected. Thanks to both of you :)
Quote

MittonsMadness's Photo MittonsMadness 02 Oct 2015

Trying to create a program to open a door using the bioscanner. i found a basic GUI program for the scanner, using the program "BioPup", used for ccDialer and associated programs with SGcraft
Is there a way to program access protocols using previously mentioned "BioPup"
For example, I can use the program to record and manage profiles and their associated "punchprints" but I dont know how to get the computer to respond to the attached scanner using "biopup" as the access requirement directory
any ideas or hints?

BioPup : http://pastebin.com/H8LKg8kS
Quote

Dog's Photo Dog 02 Oct 2015

I'm not sure what you mean by 'using "biopup" as the access requirement directory' - can you please elaborate? FWIW, BioPup is just for programming the scanners - once the scanners are programmed you shouldn't need BioPup any further - from that point your program would look for biolock events and act on the data received from those events. To capture the events you would do it like so...
local event, idPrint, attachName, userName, accessLevel = os.pullEvent("biolock")

event captures the event being pulled - in this case, "biolock"
idPrint is the unique id returned when a user swipes a scanner
attachName is the side the scanner is attached to, or the name of the scanner if it is attached via modem/network cable
userName is the programmed name for the user - I believe this will be nil if the user isn't added to the scanner
accessLevel is the assigned access level of the user (1-5) - I believe this will be nil if the user isn't added to the scanner
Quote

MittonsMadness's Photo MittonsMadness 06 Oct 2015

ill elaborate
I have a litttle system set up like so:

Scanner => Computer Unit(biopup program installed) => door

what I am trying to do is use the scanner to open the door without going through the whole individual code input, as well as add more authorized persons to the access list

the scanner reads the punchprint,= then the computer gets the ok from the profile on the installed software and sends redstone to open door to the right

forgive the confusing use of lingo in prior post :)
Quote

Dog's Photo Dog 06 Oct 2015

OK, just to reiterate - BioPup is only for programming the Biolocks - it doesn't hold any information itself. After you've programmed the Biolocks with BioPup you would normally need a program to capture the biolock events and make use of them. In your case, you could actually skip the program and directly program the Biolock to do what you want.

For this to work, set it up like so:
Computer => Scanner => Door

On the computer type lua (all lower case) then press enter. At the prompt type the following:
scanner = peripheral.wrap("right")
scanner.program("right", 1, 60, true)

- In the peripheral.wrap statement, replace "right" with the side of the computer the scanner is on (make sure it's in quotes)
- For the scanner program line, the following applies:
- Replace "right" with the side the door is on
- Replace 1 with the access level you want to access the door (e.g. if you set it to 2 then only people with access level 2 and above will be able to open the door)
- Replace 60 with the number of ticks you want the door to remain open (20 ticks/ second)

After you have programmed the scanner, type exit() to exit the Lua prompt and return to the shell.

This will allow the scanner itself to open the door for authorized users without requiring a special program (except BioPup for adding/removing users).
Edited by Dog, 06 October 2015 - 03:49 PM.
Quote

LHman97's Photo LHman97 31 Oct 2015

Hi is there any documentation for how to use them? I dont have the best understanding of computercraft really but i was wondering if you had any documentation i could use. I can work from programs that people have written if anyone has any they would like to give me? :) Thanks
Quote

Dog's Photo Dog 01 Nov 2015

The only documentation I'm aware of is in the OP - that's what I work of off.
Quote

Dog's Photo Dog 31 Jan 2016

Any plans for an update to CC 1.78 / MC 1.8.9?
Quote

nidico100's Photo nidico100 18 Apr 2016

I will include your mod in my modpack :) it's such a great mod
The modpack is called The New World, for more infos, just text me.
Quote

Aaronstar's Photo Aaronstar 18 Sep 2017

do you have a version for 1.10.2?
Edited by Aaronstar, 18 September 2017 - 03:22 PM.
Quote

Dog's Photo Dog 18 Sep 2017

As there was no official release of CC for 1.10.2 I doubt there will be a build of this mod for 1.10.2. If we're lucky we might get a build for 1.12 now that CC is in PR for 1.12; but, based on the lack of replies to previous posts, I'm guessing this mod is no longer being developed.
Edited by Dog, 18 September 2017 - 03:46 PM.
Quote