The Ctrl+V Game
#841
Posted 17 February 2015 - 03:47 AM
#842
Posted 17 February 2015 - 03:59 AM
Aah. LuaIDE.
#843
Posted 08 March 2015 - 11:21 PM
Making a systemd-like init.
#844
Posted 10 March 2015 - 06:11 PM
I Don't want to advertise. so i censored the adress.
#845
Posted 14 March 2015 - 07:41 AM
#846
Posted 19 March 2015 - 09:16 PM
--Lets calculate Fibonacci numbers! do local a, b = 1 fur i = 0, 100, -1 do a, b = a, a+b end for end print(a)]
I was doing Code Cleanup.. Don't ask lol
Edited by Lua.is.the.best, 19 March 2015 - 09:20 PM.
#847
Posted 19 March 2015 - 09:19 PM
something about enjin that for some reason I decided to copy-paste
#848
Posted 24 March 2015 - 12:37 PM
Umm... i was browsing pastebin, and found this link. Some sort of steam peak...
#849
Posted 26 March 2015 - 12:42 AM
#850
Posted 26 March 2015 - 02:13 AM
#852
Posted 26 March 2015 - 09:14 AM
Australia got Netflix, giving the details to a friend. (YAYAYAYAYYAYA)
#853
Posted 26 March 2015 - 09:16 AM
#854
Posted 29 March 2015 - 08:55 PM
#855
Posted 30 March 2015 - 10:00 PM
Atenefyr, on 19 March 2015 - 09:19 PM, said:
something about enjin that for some reason I decided to copy-paste
It was ran by a bunch of 5 year olds...
1... 3... 7... 4.... 2.... 60.... looks like time is up!
#856
Posted 30 March 2015 - 11:19 PM
#858
Posted 30 March 2015 - 11:54 PM
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
-- Edits the programs to program the side they are on
if fs.exists("config") then
shell.run("bg","edit","config") -- DASH THESE OUT AFTER CONFIG'D
shell.run("bg","edit","startup")
end
--------------------------------------------------------------------------------------------
-- Starts the programs.
os.loadAPI("config")
--shell.run("bg","watcher") -- remove -- after configing
--shell.run("bg","toggle") -- remove -- after configing
-- Removes any possible prior versions of the Watcher and Toggle
shell.run("rm","watcher")
shell.run("rm","toggle")
shell.run("rm","button")
-- Installs them on the computer if you don't have them already.
shell.run("pastebin","get","uvg9ktcc", "watcher") -- watcher
shell.run("pastebin","get","l63ffyhb", "toggle") -- toggle
shell.run("pastebin","get","B94vQ7Yj", "button") -- button api
shell.run("pastebin","get","363RpEGY", "config") -- config api
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
term.clear()
term.setCursorPos(1,1)
print("RESTART IF YOU GOT:")
print("startup:32: attempt to index ? (a nil value)")
print("AND CONFIG THE FILES OPENED.")
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
local m = peripheral.wrap(config.ManageMon) -- Monitor for Management (5 long 3 wide)
local r = peripheral.wrap(config.Reactor) -- Big Reactors, Reactor
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
os.setComputerLabel("Noob's Reactor Controller")
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
m.clear()
term.clear()
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
term.setCursorPos(1,1)
term.setTextColor(colors.lime)
print("===================================================")
print("| Big Reactor Monitor 1.5 [By: Noobular] |")
print("| |")
print("| Monitor Cleared. |")
print("| |")
print("| Scripts up to date! |")
print("| |")
print("| Ready to Use. |")
print("===================================================")
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
ExtraNumber = 1
i=1
ypos = 1
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
while ypos ~= 20 do
m.setTextColor(colors.cyan)
-- Y POSITION
m.setCursorPos(1,ypos)
m.write("|")
m.setCursorPos(50,ypos)
m.write("|")
m.setCursorPos(27,ypos)
m.write("|")
ypos = ypos +1
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
while i ~= 51 do
-- X POSITION
m.setCursorPos(i,2)
m.write("-")
m.setCursorPos(i,19)
m.write("-")
i = i + 1
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
function Title()
m.setCursorPos(7,1)
m.setTextColor(colors.cyan)
m.write("Big Reactor Monitor 1.5 [By: Noobular]")
m.setTextColor(colors.white)
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
function Bar(text,func,y)
m.setCursorPos(3,y+ExtraNumber)
m.setTextColor(colors.white)
m.write(text)
m.setTextColor(colors.lime)
m.write(func)
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
function Bar2(text,func,y)
m.setCursorPos(29,y+ ExtraNumber)
m.setTextColor(colors.white)
m.write(text)
m.setTextColor(colors.lime)
m.write(func)
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
function Bar3(text,func,y)
m.setCursorPos(3,y+ExtraNumber)
m.setTextColor(colors.white)
m.write(text)
m.setTextColor(colors.lime)
m.write(func)
m.write(" / ")
m.write(r.getFuelAmountMax())
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
while true do
-----------------------
EStored = math.floor(r.getEnergyStored()/1000)
Rodl = 15
if r.getActive() then
ActiveValue = "true "
else
ActiveValue = "false"
end
Title()
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("Currently Active: ",ActiveValue,2)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("Energy Stored: ",EStored,4)
m.setCursorPos(23,4+ExtraNumber)
m.write("k ")
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("Fuel: ",r.getFuelAmount().." / "..r.getFuelAmountMax(),6)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("Fuel Used/S: ",r.getFuelConsumedLastTick() * 20,8)
m.setCursorPos(22,8+ExtraNumber)
m.write(" ")
m.setTextColor(colors.cyan)
m.write("| ")
m.setTextColor(colors.white)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("Fuel Used/T: ",r.getFuelConsumedLastTick(),10)
m.setCursorPos(22,10+ExtraNumber)
m.write(" ")
m.setTextColor(colors.cyan)
m.write("| ")
m.setTextColor(colors.white)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("RF/S: ", math.floor(r.getEnergyProducedLastTick() * 20),12)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("RF/T: ", math.floor(r.getEnergyProducedLastTick()),14)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar("Waste: ",r.getWasteAmount(),16)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar2("Fuel Reactivity: ", r.getFuelReactivity(),2)
m.setCursorPos(49,2+ExtraNumber)
m.write("%")
m.setTextColor(colors.cyan)
m.write("|")
m.setTextColor(colors.white)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar2("Yellorium Rods: ",r.getNumberOfControlRods(),4)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar2("Casing Temp: ", math.floor(r.getCasingTemperature()),6)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar2("Fuel Temp: ", math.floor(r.getFuelTemperature()),8)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar2("Cooled: ",r.isActivelyCooled(),10)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Bar2("Rod Level 1: ",r.getControlRodLevel(0),12)
Bar2("Rod Level 2: ",r.getControlRodLevel(1),13)
Bar2("Rod Level 3: ",r.getControlRodLevel(2),14)
Bar2("Rod Level 4: ",r.getControlRodLevel(3),15)
Bar2("Rod Level 5: ",r.getControlRodLevel(4),16)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
if r.getControlRodLevel(0) == 0 then
m.setCursorPos(42,12+ExtraNumber)
m.write("0.0 ")
m.setCursorPos(42,13+ExtraNumber)
m.write("0.0 ")
m.setCursorPos(42,14+ExtraNumber)
m.write("0.0 ")
m.setCursorPos(42,15+ExtraNumber)
m.write("0.0 ")
m.setCursorPos(42,16+ExtraNumber)
m.write("0.0 ")
end
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
m.setTextColor(colors.white)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
sleep(.1)
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
end
#859
Posted 31 March 2015 - 12:12 AM
( My program is putting all my previous clipboards onto my Ctrl-V... welp )
#860
Posted 31 March 2015 - 12:21 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









