I was bored, and it's the holidays, and so like all normal people, I coded a bank system. Introducing! [fanfare]
CC-Bank
It does everything that a normal ATM does, like:- Ability to either manually enter account number or read from keycard (floppy disk)
- Server-side PIN check
- Balance check
- Withdrawal
- Transfer between accounts
Downloads:
v0.2.0: Dropbox
v0.1 (formerly 1.0): Dropbox
Installation (will clean up later):
- Download the required zip file from above and extract it somewhere.
- Set up your ATM (with withdrawal turtle) and server computers. See screenshots.
- Get the "client", "gui" and "crypt" files onto the root directory of your ATM computer.
- Modify the "serverId", "diskSide", "modemSide" and "withdrawId" values accordingly.
Spoiler - Get the "withdraw" file onto the root directory of your withdrawal turtle.
- Modify the "clientId" value accordingly.
Spoiler - Get the "server" and "crypt" files onto the root directory of your server computer.
- Modify the "modemSide" value accordingly.
- Create the "acc" folder in the root directory of your server computer.
- Create an account file (eg, "12345.txt" where "12345" is the account number) in the acc directory of the server. Format:
PIN Number Balance
- Launch the "server" program on the server, the "client" program on the ATM and the "withdraw" program on the withdrawal turtle.
Known Issues:
- EFTPOS machines don't exist in 0.2.0!!!
- Ctrl-T can terminate the ATM.
Performing a ridiculously large amount of transactions in one go will stack overflow the ATM.Fixed in 0.2.0Receiving an incorrect packet will crash the ATM.Fixed in 0.2.0Not receiving a packet in time will crash the ATM.Sort-of fixed in 0.2.0Passwords are sent in plaintext.Fixed in 0.2.0Withdrawal just transfers money to account "0".Fixed in 0.2.0
Edited by pokepal101, 01 January 2013 - 12:42 AM.