Hi, for the record i'm french and my english is not that good so excuse me if i spell or say wrong.
My programs will be in french (only the part print on CC screen) but i put the traduction on commentary.
I open this tread to post my programs for using Buildcaft with computers.
I will try to make everything (if possible) in Buildcraft controllable by computer.
Of course I use the alpha 3.1.4 release of Buildcraft for the new "gates".
That's very very usefull.
My first on : "Tank lvl control"
Spoiler
So this is my first program in this tread is just a "tank control" it just show the "level of all tanks"
If you want to make it in english be carefull the numbers of spaces is verry important so if you change anything on "print" command count the difference Between the original and your words to make it fit.
If you have some advice or comment to do, don't hesitate.
effectively now you say that i think i can make something like that but only the part for chosing color not the part that change value on the program.... so i need help ^^
i think a can create a *.ini file with that command : conf = fs.open("conf.ini", "w")
and i write data inside with : conf.writeLine("..waterColor1..") conf.writeLine("..waterColor2..") etc with the part who ask what color we want
and at the start of the code i check if the file conf.ini exist and read it with : if fs.exists("conf.ini") == true then waterColor1 = conf.readLine() waterColor2 = conf.readLine() ...etc
i finaly made it... ^^ it takes me somthing like 6 or 7 hours of hard coding, but i made it (by my self XD yeah^^)
It was really really difficult for me... This is my first "real" program (my first one was a pasword program ^^) and i'm a beginner on lua.
Now in my place it's almost 6:00 am so i will make the translate and post it tomorrow.
Now i'm tired so i'm going to sleep but i'll go with a real good feeling of fulfillment!! ^^
Well i changed the pastebin link with my new code.
Now on the first use it say First use and ask for all the colors.
Then he write everything in a configuration file named tankConf.ini
after that at every launch of the program it will read the conf file and apply it.
So now you can do your wire configuration like you want and even change it if you want you juste have to delete the conf file.
if you have a bug, a comment or an advice tell me ^^.
Well... ^^ maybe later ^^ i plain to modify my programs and add rednet in the futur in order to centralize everyting on 1 computer but this will be better ^^