339 posts
Location
Computer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer
Posted 12 October 2015 - 02:25 PM
Introducing M-Oyster!
This Rednet-based OysterCard-like (If you live in England, you know the Oyster Card) system uses Disk Drives as Cards and has a server, and ID numbers.
You load your disk card with gold nuggets, and you deplete them over time.
You have Iron Doors operated by Computers. Enough Gold = pass. Not enough gold = pass.
Topping up is simple. A turtle will do all the work for you. Just place the gold in a chest, a turtle will pick it up, and add the MC$ to your M-Oyster card.
ONLY the ID # is stored on the card, in a hidden file.
Everything else is on the server on ComputerCraft Cloud Chest.
DOWNLOADS:
(I'm sorry, it's not out yet.)
Also, this was my 80th post!
Development beginning now.
Edited on 12 October 2015 - 01:11 PM
339 posts
Location
Computer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer
Posted 12 October 2015 - 02:34 PM
(Well, "now" in the sense of as soon as my Minecraft would start)
WHOOPS, I meant Floppy Disks as cards, not the drives themselves!
2427 posts
Location
UK
Posted 12 October 2015 - 03:02 PM
you can edit your post, also the moderators don't like it when people don't post code in the programs section of the forums
339 posts
Location
Computer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer
Posted 12 October 2015 - 03:05 PM
Where's the Unreleased Code section?
756 posts
Posted 12 October 2015 - 03:15 PM
It's called "Media", most people post their teaser or "unreleased code" there.
339 posts
Location
Computer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer
Posted 12 October 2015 - 03:15 PM
Also, due to Cx4's limitations, currently we can support up to 26 cards.
2679 posts
Location
You will never find me, muhahahahahaha
Posted 12 October 2015 - 04:00 PM
What are Oyster cards?
1583 posts
Location
Germany
Posted 12 October 2015 - 04:05 PM
@Creator I guess it's some kind of payment option for traveling in London.
@OP why are you using cx4 to store the data? If you can't afford learning some PHP/SQL and then use some free hosting service to create your own storage, at least make it "server-local" (like a rednet-server).
Edited on 12 October 2015 - 02:05 PM
339 posts
Location
Computer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer
Posted 20 October 2015 - 06:49 PM
The problem is, I don't know how to make files with multiple lines then read individually from them!
just help me with that and i'll release the code tickety-boo.
2427 posts
Location
UK
Posted 21 October 2015 - 12:35 PM
The problem is, I don't know how to make files with multiple lines then read individually from them!
just help me with that and i'll release the code tickety-boo.
Look at the
FS api on the wiki
339 posts
Location
Computer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer
Posted 04 March 2016 - 10:22 AM
I… honestly have no idea on what to do. Lupus, help me.
So, FS api. No CX4 anymore. But I don't know how to dynamically write files.