12 posts
Posted 26 June 2015 - 11:49 PM
Hi there,
I want my Computer to be able to tell me how much time it takes to create 1 UU.
Then it would be like:
Reads Input Energy (like 25000 EU/tick) -> Reads Ticks -> Input x Ticks -> 1000000/EU per Second -> 1 UU each XX Seconds
AND 1 UU each XX Seconds (Scrap)
It is incredible hard for me to learn LUA so I would be really thankfull if you guys can help me out
3057 posts
Location
United States of America
Posted 27 June 2015 - 12:43 AM
Do you have openperipherals? If so, does it support the version of IC2 you have? For that matter, what version of computercraft do you have?
12 posts
Posted 27 June 2015 - 09:40 AM
I play Tekkit Lite with some friends and yes I have OpenPeri …. I aksi have the IC2 Sensor Card and the Sensor :)/>
Well… I dont have Adjustable Emitter so in the nights there wont be UU… so I guess it 39 minutes / hour where EU is….
Edited on 27 June 2015 - 10:04 AM
12 posts
Posted 29 June 2015 - 02:00 PM
Can somebody help me ?
81 posts
Posted 29 June 2015 - 04:41 PM
Your logic seems sound and you seem to know what you need to do, so all you need now is to attempt the code.
Do exactly as you described,once you have code up we can help you improve it, and answer questions about lua.
I'd try to help more but not being an ic person i m not even sure what a uu is not what scrap has to do with it, but if you describe the math to calculating the uu we'll all be glad to help
Good luck
12 posts
Posted 29 June 2015 - 10:17 PM
I dont know ANYTHING about programming with lua… thats why I n eed some help
957 posts
Location
Web Development
Posted 30 June 2015 - 02:00 AM
I dont know ANYTHING about programming with lua… thats why I n eed some help
Take a look at some tutorials then…
http://www.lua.org/manual/5.1/manual.htmlIf you find that one dull, look up some on Youtube