Posted 11 May 2014 - 10:51 AM
Hey Guys,
I've been playing with Computercraft recently, because of the Tekkit Lite I play on. I really like how the mod works, and how simple programming in LUA can be. But as every starter, I also have my problems creating my Shopping CustomerSystem.
I tried to create a usersystem with a (look-alike) database in the computer. But for one or another reason, my progress doens't come a lot further than the simple ''basic'' password/username verification.
My plan is as follows:
- Users log in (when they already have a account) or create a account.
- Users get a menu to select how much oil (for example) they want. There is one button: ''[+1 Bucket]".
- They get asked to put a payment into a chest, which will be pumped out (any kind of item detection?)
- The computer registers the payment, and pumps the oil from the backend to the front tank where the customer can take the oil out.
- At last, the customer gets the question if he/she wants more oil, and if not: they can log out by typing: ''no''.
- The whole system resets.
I was thinking about a discount-coupon system. But I'm not sure how I want that coming along nicely.
Does somebody have time/the interest to create this system for me? Thanks!
- Prominer
I've been playing with Computercraft recently, because of the Tekkit Lite I play on. I really like how the mod works, and how simple programming in LUA can be. But as every starter, I also have my problems creating my Shopping CustomerSystem.
I tried to create a usersystem with a (look-alike) database in the computer. But for one or another reason, my progress doens't come a lot further than the simple ''basic'' password/username verification.
My plan is as follows:
- Users log in (when they already have a account) or create a account.
- Users get a menu to select how much oil (for example) they want. There is one button: ''[+1 Bucket]".
- They get asked to put a payment into a chest, which will be pumped out (any kind of item detection?)
- The computer registers the payment, and pumps the oil from the backend to the front tank where the customer can take the oil out.
- At last, the customer gets the question if he/she wants more oil, and if not: they can log out by typing: ''no''.
- The whole system resets.
I was thinking about a discount-coupon system. But I'm not sure how I want that coming along nicely.
Does somebody have time/the interest to create this system for me? Thanks!
- Prominer