tysje Posted October 26, 2012 Posted October 26, 2012 QuarryCount by trysje UPPDATED to v1.0 i've added some really useful stuff sinse last time. * now all the numbers is stored in files so if the server/client restarts the count can continue from where it left off. * Now there is many moore usefull tips and hints in the sourcecode * added some new ores * placed all gemstones in one common count "gemstones" * fixed some typos (tho i've probably made som new ones to x) ) INPORTANT first time use you need to run the function "rsdatabase()" to create all the files and write 0 in them. if you do not do this there will be an error. Downloads: the code for QuarryCount: http://pastebin.com/Y885mK3X the map i have made it in: http://www.4shared.com/rar/ij6MqzsS/Survival_inc.html? The map is outdated! i've added the map beacause i'm gonna let you awesome ppl se how i count the difrent ores. What is this? This is a program for tekkit with cc. it counts all the important ores and valuebals that comes from a quarry and display it on a monitor. Remember that i'am really new to lua and there is probably a lot of improvments to be done pleace come with feedback, both possetive and negative i like that you care Quote
Omicron Posted October 26, 2012 Posted October 26, 2012 Try "there are more" instead of "there is moore" in the bottom text I also note you're counting rubys and sapphires individually, but sort emeralds under "others". Why not instead make a group "gemstones" that includes rubys, emeralds and sapphires? After all they're completely equivalent in value. It will even save you one line of display space, meaning you then have two free lines and could add redstone and lapis lazuli, which are very useful to have in Tekkit (particularly if you do a lot with IC2). Quote
tysje Posted October 27, 2012 Author Posted October 27, 2012 Try "there are more" instead of "there is moore" in the bottom text I also note you're counting rubys and sapphires individually, but sort emeralds under "others". Why not instead make a group "gemstones" that includes rubys, emeralds and sapphires? After all they're completely equivalent in value. It will even save you one line of display space, meaning you then have two free lines and could add redstone and lapis lazuli, which are very useful to have in Tekkit (particularly if you do a lot with IC2). That was a genius ideea, i will use that in v0.2 thx Quote
tysje Posted October 27, 2012 Author Posted October 27, 2012 i'm sorry for my bad english, yust say if it gets to bad :) Quote
tysje Posted November 4, 2012 Author Posted November 4, 2012 i'm well into gettin the first relese, with saving in files and reading them when starting. i will uppdate the post when i'm done. pleace come with feedback! :D Quote
theprolo Posted November 4, 2012 Posted November 4, 2012 Try the edit button mate, I'd hate to see you get warned after making something this, it's a pretty useful program. Quote
jackguo380 Posted November 7, 2012 Posted November 7, 2012 Cool, what kind of transport system is it? Tubes or pipes, Im a real fan of tubes, I tend to avoid pipes as much as possible (dont use them at all). I like the monitor idea, its cool good job on the programmingI could never hope to make something on CC Quote
tysje Posted November 8, 2012 Author Posted November 8, 2012 Cool, what kind of transport system is it? Tubes or pipes, Im a real fan of tubes, I tend to avoid pipes as much as possible (dont use them at all). I like the monitor idea, its cool good job on the programmingI could never hope to make something on CC i use ic2 pipes, diamond pipes and redstone pipes, but as long as you get a redstone pulse at the right color of the bundled cable annything will work I havent used tubes mutch and don't really know how to make them work, but i'm shure you could use them too :) Quote
theprolo Posted November 8, 2012 Posted November 8, 2012 It's Buildcraft pipes, by the way. You could make it work by replacing the diamond pipes with Sorting machines, and Redstonepipes with Item detectors. Quote
Linear_Spoon Posted November 9, 2012 Posted November 9, 2012 I like the idea behind this a lot, nice script I felt it could have been coded to be easier to expand or modify The monitor on the bottom is running the original script The monitor on the right is running my modified script (dynamically finds monitor, fixes crash if save files don't exist, as well as makes it much easier to add, remove, or edit items and the colors/emc values they are attributed to) My code: http://pastebin.com/gQyQQxUS You are free to use or modify any part of my code as you wish =) Quote
tysje Posted November 16, 2012 Author Posted November 16, 2012 I like the idea behind this a lot, nice script I felt it could have been coded to be easier to expand or modify The monitor on the bottom is running the original script The monitor on the right is running my modified script (dynamically finds monitor, fixes crash if save files don't exist, as well as makes it much easier to add, remove, or edit items and the colors/emc values they are attributed to) My code: http://pastebin.com/gQyQQxUS You are free to use or modify any part of my code as you wish =) i think (no homo) i love you :D Quote
tysje Posted November 16, 2012 Author Posted November 16, 2012 This was really good work Linear_Spoon this is wayy more advanced than i could ever imagine to create myself at the stage i'm at in lua. If it is ok for you i can uppdate the thread with this code, and ofc give you the credit for it. and thanks alot for all the extremly useful comments in the code This i will lern alot from :) Quote
Linear_Spoon Posted November 16, 2012 Posted November 16, 2012 You are free to use the code however you want. Let me know if you have any other questions =] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.