- ComputerCraft | Programmable Computers for Minecraft
- → xXLeNinjaXx's Content
xXLeNinjaXx's Content
There have been 27 items by xXLeNinjaXx (Search limited from 10-February 22)
#180764 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 26 May 2014 - 11:57 PM
in
Turtle Programs
#180713 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 26 May 2014 - 04:19 PM
in
Turtle Programs
#160522 Flowos (Open Source) - 13.9.27Dp
Posted by
xXLeNinjaXx
on 13 January 2014 - 09:54 AM
in
Operating Systems
#160462 Pastebin Installer
Posted by
xXLeNinjaXx
on 12 January 2014 - 08:14 PM
in
APIs and Utilities
EDIT: Fixed
#160451 Pastebin Installer
Posted by
xXLeNinjaXx
on 12 January 2014 - 06:52 PM
in
APIs and Utilities
CometWolf, on 12 January 2014 - 05:49 PM, said:
if "http/pastebin" == true then
print("Downloaded it as: "..name)
os.reboot()
elseif "http/pastebin" == false then
print("Pastebin Failed!")
os.reboot()
end
Lol this isnt supposed to be a major cc-software ur supposed to use...
and yes i did test it it just dint accour to me to find whats working and whats not...
so like i said if people use it (probably not) i would continue to update it and make it better (and neatin up the code)
#160436 Pastebin Api
Posted by
xXLeNinjaXx
on 12 January 2014 - 04:35 PM
in
APIs and Utilities
#160434 [1.4] Andale's Auto Updater w/ Startup
Posted by
xXLeNinjaXx
on 12 January 2014 - 04:33 PM
in
APIs and Utilities
#160431 Pastebin Installer
Posted by
xXLeNinjaXx
on 12 January 2014 - 04:18 PM
in
APIs and Utilities
#160428 Pastebin Installer
Posted by
xXLeNinjaXx
on 12 January 2014 - 04:02 PM
in
APIs and Utilities
CometWolf, on 12 January 2014 - 03:48 PM, said:
Also, would this part even work?
shell.run("http/pastebin","get",URL,name)
LOL i relised i made a paste-bin of getting pastebins xDDDD but the
shell.run("http/pastebin","get",url,name
accualy works xD
#160427 Automatically Update Pastebin Programs
Posted by
xXLeNinjaXx
on 12 January 2014 - 04:00 PM
in
Ask a Pro
i dint quite understand the posts
#160421 Pastebin Installer
Posted by
xXLeNinjaXx
on 12 January 2014 - 03:21 PM
in
APIs and Utilities
First Post:
first time i did this i deleted it
I Havent seen much of a "Pastebin topic" so i had some time and made a simple pastebin program
hope you use it and dont hate
V4: pastebin get vNd0Jyw8 Paste-menu
Why do i keep updateing this O_O?,
- Added Muli Upload
V3: pastebin get rbN0eZMa paste
- Added menu (Menu From SunShineX)
- Added Pastebin (get) (pastebin upload)
- Some Bug Fixes
V2: pastebin get sDFpsfkD Paste-menu
V1 pastebin get yAXXfVNd Paste-menu
Future Updates:
DONE:
TO DO:
- Add a "Back" Butten in "Multi" Upload
- Bug Fixes
- Spamming of pastebin
ShoutOuts:
- oeed - Multi Upload
#160415 [first] basic turtle door
Posted by
xXLeNinjaXx
on 12 January 2014 - 02:54 PM
in
Turtle Programs
#160404 Overworld Gold-Farm Netherportal Builder :3
Posted by
xXLeNinjaXx
on 12 January 2014 - 01:29 PM
in
Turtle Programs
#160401 mobTower program
Posted by
xXLeNinjaXx
on 12 January 2014 - 01:15 PM
in
Turtle Programs
"Turtle will build forward & to the right of starting spot, placing blocks the level below it."
but if you read it for a while you'll get it
somewhat....
#160312 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 11 January 2014 - 07:07 PM
in
Turtle Programs
#160279 [cc1.5.x][build 16] Gps Tower Builder
Posted by
xXLeNinjaXx
on 11 January 2014 - 04:54 PM
in
Turtle Programs
#160274 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 11 January 2014 - 04:14 PM
in
Turtle Programs
Too Much?
Or Too Little?
#160265 Aware API v1.0
Posted by
xXLeNinjaXx
on 11 January 2014 - 03:34 PM
in
Turtle Programs
#160241 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 11 January 2014 - 11:57 AM
in
Turtle Programs
#160239 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 11 January 2014 - 11:32 AM
in
Turtle Programs
EDIT: Maybe you guys could add an install launcher that downloads everything you need to each one?
#160163 [cc1.5.x][build 16] Gps Tower Builder
Posted by
xXLeNinjaXx
on 10 January 2014 - 09:22 PM
in
Turtle Programs
EDIT: Figured it out did not understand it at first
#160129 Maniac Storage - Sort, Retrieve, Craft, etc...
Posted by
xXLeNinjaXx
on 10 January 2014 - 08:01 PM
in
Turtle Programs
EDIT: i allways get an error 393 Expected String
#159550 [1.3+][OS] WolfOS 1.3.3
Posted by
xXLeNinjaXx
on 06 January 2014 - 04:33 PM
in
Operating Systems
#159543 Monitor Scrolling text
Posted by
xXLeNinjaXx
on 06 January 2014 - 04:19 PM
in
Ask a Pro
toxicwolf, on 01 April 2012 - 09:23 PM, said:
function scrollText(tStrings, nRate)
nRate = nRate or 5
if nRate < 0 then
error("rate must be positive")
end
local nSleep = 1 / nRate
width, height = mon.getSize()
x, y = mon.getCursorPos()
sText = ""
for n = 1, #tStrings do
sText = sText .. tostring(tStrings[n])
sText = sText .. " | "
end
sString = "| "
if width / string.len(sText) < 1 then
nStringRepeat = 3
else
nStringRepeat = math.ceil(width / string.len(sText) * 3)
end
for n = 1, nStringRepeat do
sString = sString .. sText
end
while true do
for n = 1, string.len(sText) do
sDisplay = string.sub(sString, n, n + width - 1)
mon.clearLine()
mon.setCursorPos(1, y)
mon.write(sDisplay)
sleep(nSleep)
end
end
end
Note that the variable "mon" can be set to a monitor using "mon = peripheral.wrap(sSide)", or can be replaced with "term" to write all text to a terminal.I created an example news board script as well:
mon = peripheral.wrap("left")
function lineBreak()
x, y = mon.getCursorPos()
if y ~= 1 then
y = y + 1
end
mon.setCursorPos(1, y)
width, height = mon.getSize()
mon.write("+" .. string.rep("-", width - 2) .. "+")
end
function printString(sString)
x, y = mon.getCursorPos()
y = y + 1
mon.setCursorPos(1, y)
mon.write(sString)
end
function printStringCentre(sString)
x, y = mon.getCursorPos()
y = y + 1
mon.setCursorPos(1, y)
width, height = mon.getSize()
nStringCentre = math.floor(string.len(sString) / 2)
nMonitorCentre = math.floor(width / 2)
x = math.floor(nMonitorCentre - nStringCentre)
mon.setCursorPos(x, y)
mon.write(sString)
end
function printStringRight(sString)
width, height = mon.getSize()
x, y = mon.getCursorPos()
y = y + 1
x = math.ceil(width - string.len(sString))
mon.setCursorPos(x, y)
mon.write(sString)
end
function scrollText(tStrings, nRate)
nRate = nRate or 5
if nRate < 0 then
error("rate must be positive")
end
local nSleep = 1 / nRate
width, height = mon.getSize()
x, y = mon.getCursorPos()
sText = ""
for n = 1, #tStrings do
sText = sText .. tostring(tStrings[n])
sText = sText .. " | "
end
sString = "| "
if width / string.len(sText) < 1 then
nStringRepeat = 3
else
nStringRepeat = math.ceil(width / string.len(sText) * 3)
end
for n = 1, nStringRepeat do
sString = sString .. sText
end
while true do
for n = 1, string.len(sText) do
sDisplay = string.sub(sString, n, n + width - 1)
mon.clearLine()
mon.setCursorPos(1, y)
mon.write(sDisplay)
sleep(nSleep)
end
end
end
mon.clear()
mon.setCursorPos(1, 1)
lineBreak()
printStringCentre("|News Board|")
lineBreak()
printString("")
lineBreak()
tScrollText = {}
tScrollText[1] = "BREAKING NEWS"
tScrollText[2] = "Giant cookies falling from sky"
x, y = mon.getCursorPos()
y = y - 1
mon.setCursorPos(1, y)
scrollText(tScrollText)
The scrollText function can support any amount of table entries or any length of string from what I've seen so far in testing.Hope this helps!
could you make it so if u have layers of computers it shows multipul like
[Line One] the cookies are falling ]
[Line Two]
[Line Three]
etc..
make the top scrolling but bewlow it it shows solid text
#158365 Behold, I give you... Fire! [demo]
Posted by
xXLeNinjaXx
on 28 December 2013 - 04:39 PM
in
Programs
- ComputerCraft | Programmable Computers for Minecraft
- → xXLeNinjaXx's Content


