Jump to content


kamnxt's Content

There have been 80 items by kamnxt (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#31866 [Cc: 1.48] [Mc: 1.4.7] Aperture Science Turtle Upgrades

Posted by kamnxt on 14 September 2012 - 11:40 AM in Peripherals and Turtle Upgrades

How do the batch turtles work? Is it like you can make your real computer run .bat files? and what with Linux and Mac?



#6829 [CC 1.33] [Beta 1.8.1] CCInput 0.27 (Big update!) - Play games on your gi...

Posted by kamnxt on 29 March 2012 - 09:50 PM in Peripherals and Turtle Upgrades

Yay! My remote is a keyboard! :o/>
Btw:
- Do you use the questionMark.png file?
- Why does the block give off light?
:o/>



#6710 [CC 1.33] [Beta 1.8.1] CCInput 0.27 (Big update!) - Play games on your gi...

Posted by kamnxt on 29 March 2012 - 10:45 AM in Peripherals and Turtle Upgrades

Can you add an option in the config to choose item name and block name? So you can set it to controller, remote, keyboard or something else? :o/>



#6150 [CC 1.33] [Beta 1.8.1] CCInput 0.27 (Big update!) - Play games on your gi...

Posted by kamnxt on 25 March 2012 - 02:15 PM in Peripherals and Turtle Upgrades

I made a keyboard! :(/> Nice mod btw. :)/>
Attached Image: kbd.png



#6614 [CC 1.33] [Beta 1.8.1] CCInput 0.27 (Big update!) - Play games on your gi...

Posted by kamnxt on 28 March 2012 - 05:07 PM in Peripherals and Turtle Upgrades

If you want to use my keyboard, just download it and put it into your_minecraft_dir/mods/CCInput/IBlock/Knive.png :o/>

Edit: Made IBlock textures. I don't know how the keyboard is connected to the block, so i used bluetooth (Maybe it should be Redtooth? :o/>).
IBlockTop.png: Attached Image: IBlockTop.png
IBlockBottom.png: Attached Image: IBlockBottom.png
IBlockSide.png: Attached Image: IBlockSide.png

To install, replace the files in your_minecraft_dir/mods/CCInput/filename.png :)/>

Edit 2: redtooth! :)/>
IBlockSide.png Attached Image: IBlockSide.png



#31864 rednet frequencies

Posted by kamnxt on 14 September 2012 - 11:19 AM in Suggestions

Awesome idea!
The rednet could be open, so hackers could read your messages...
It would be a nice challenge, because if you don't want hackers to read your messages (and send new) easily, you can just secure it! ROT13, base64...
And... broadcasting like APs: you could make the rednet modem broadcast it's name and frequency, and you could find them on other computers! And maybe mac addresses... and ip addresses...
And you could add auth systems!



#54566 Rednet Satellites - RedSat?

Posted by kamnxt on 27 November 2012 - 04:54 AM in Suggestions

It could be similar to a normal computer, but without a screen and with a built in rednet modem, so to make it work you would first have to connect it to a computer to program it. When programming it, you would need to either make it possible to control it using rednet, or make a program that works alone and doesn't need to be modified.

And there could be a config option to make them have some TNT inside... It could be fun with the rednet frequencies suggestion... Someone could hack it and make it explode! :P
Or use creative to launch hundreds and... FIREWORKS! :D



#9202 AVION ComputerCraft Server (whitelist/1.2.4)

Posted by kamnxt on 13 April 2012 - 09:18 PM in General

IGN: kamnxt :P/>



#9267 Minecraft Chess

Posted by kamnxt on 14 April 2012 - 10:05 AM in Games

Maybe you could make multiplayer client-server-client, so you could connect a monitor to the server?



#6145 [1.4] cable

Posted by kamnxt on 25 March 2012 - 01:51 PM in Suggestions

There could be a lavaconnector(?). You connect it like this:
[C][L][W][W][L][P]
C = computer, L = lavaconnector, W = lavawire, P = peripheral.
The lavaconnectors could have:
1. Colors (a dye in the recipe?)
2. Unique IDs
3. IDs you could set from a computer
If they would be colored, the lavawire would change the color to the color of the lavaconnector connected to the computer. It would only connect to lavaconnectors and lavawires with the same color. The cables would call the peripherals like this:
m = peripheral.wrap("back") --The lavaconnector
disk.eject(m.disk1) -- ejects the disk from the first disk drive...
m.monitor1.write("Monitor") --Writes "Monitor" to the first monitor...
They would label them like a computer labels disks.



#12482 [MC 1.2.5] ccSpeaker 1.0

Posted by kamnxt on 14 May 2012 - 04:54 PM in Peripherals and Turtle Upgrades

Maybe you could make it download sounds from the server? The server stores all the sounds and the client downloads them when connecting, so every client would be able to play them.



#5973 Codex Of Error Slaying -2

Posted by kamnxt on 24 March 2012 - 07:38 PM in Tutorials

undefinedFunction() -- This will error.
myFucntions = {}
myFunctions.undefinedFunction() -- This will also error.
Did you mean myFunctions?
You wrote myFucntions....



#8496 [CC 1.33 | MC 1.2.5] CCPDA [1.0.1] - make a GUI for everithing

Posted by kamnxt on 08 April 2012 - 10:57 AM in Peripherals and Turtle Upgrades

I get an error:
Spoiler

EDIT: Oops, i have minecraft 1.2.4... Can you make a 1.2.4 version?
EDIT 2: And i'm using CC 1.32... I must read the title first :P/>



#8671 [CC 1.33 | MC 1.2.5] CCPDA [1.0.1] - make a GUI for everithing

Posted by kamnxt on 09 April 2012 - 05:05 PM in Peripherals and Turtle Upgrades

Thanks for updating! :P/>



Don't try this code:
side = "top"
pda = peripheral.wrap(side)
pda.registerAsEventListener()
pda.createGui()
while true do
os.pullEvent()
pda.displayGui()
end
It makes it impossible to close the PDA GUI...



#31746 Turtles interacting with buttons and levers

Posted by kamnxt on 13 September 2012 - 09:03 PM in Suggestions

And lever codes! Player enters correct code, goes in, and then a turtle comes out and resets the levers so noone else can see what the code is!



#6472 bios:267: error

Posted by kamnxt on 27 March 2012 - 02:08 PM in Ask a Pro

To wait for items, use:
while turtle.getItemCount(slot) < 18 do
sleep(1)
end
This code makes it wait until there are 18 or more items in the slot.
You can connect redpower tubes so the turtle builds, comes back, takes items and continues to build.
You can make it switch slot by using:
currentSlot = 1
function pd()
if turtle.getItemCount(currentSlot) > 0 then
turtle.placeDown()
else
if currentSlot < 9 then
currentSlot = currentSlot + 1
print("Selecting slot #"..currentSlot..".")
turtle.select(currentSlot)
else
print("No materials.")
end
end
for i=1, 100 do
pd()
turtle.forward()
end
This code makes the turtle place 100 blocks in a straight line :o/> and when there are no items in slot 1, it uses slot 2.
You can't use
if something then
print("Something")
else
print("Something else")
else
print("This stops the program from working.")
end
That gives an error (no end).
But you can use this:
if something then
print("Something")
elseif somethingElse then
print("Something else.")
else
print("...")
end
or
if something then
print("Something")
else
if somethingElse then
print("Something else!")
end -- You can use else here
print("...") --This will always print if something is false.
end



#5996 bios:267: error

Posted by kamnxt on 24 March 2012 - 08:54 PM in Ask a Pro

Line 2: There is no function called "Print(text)", but there is one called "print(text)".
Rest: You should use "turtle.someAction()", not "function turtle.someAction() something() turtle.someAction() something() end".



#6011 bios:267: error

Posted by kamnxt on 24 March 2012 - 09:49 PM in Ask a Pro

Fixed and compacted :(/>:

function fwd()
ok = false
while not ok do
ok = turtle.forward()
print("...")
end
end
function pd()
if turtle.getItemCount(1) > 0 then
turtle.placeDown()
else
print("No materials.")
end
end
for i=1, 20 do
fwd()
pd()
end



#6370 bios:267: error

Posted by kamnxt on 26 March 2012 - 05:00 PM in Ask a Pro

The
for i=1, 20
part is a "for" loop. It loops 20 times, each time increasing the value of the "i" variable.



#6431 bios:267: error

Posted by kamnxt on 26 March 2012 - 10:06 PM in Ask a Pro

Use buildcraft pipes/redpower tubes :o/>



#6429 bios:267: error

Posted by kamnxt on 26 March 2012 - 09:59 PM in Ask a Pro

You can use a boolean variable in a loop. If the variable == true then you go right, else you go left. And after that you set the variable to the opposite.
Like this:
for i=1, 10 do
if b then
turtle.turnLeft()
else
turtle.turnRight()
end
turtle.forward()
turtle.placeDown()
b = not b
end
You can also set how many times you want to turn (left + right). :o/>
Or you can just do this:
for i=1, 10 do
turtle.turnLeft()
turtle.forward()
turtle.placeDown()
turtle.turnRight()
turtle.foward()
turtle.placeDown()
But if you are coding a big program, the first way makes the program shorter.



#5500 Automated Computer startup

Posted by kamnxt on 22 March 2012 - 05:56 PM in Ask a Pro

If your computers are next to each other, you can use:
c = peripheral.wrap("side")
c.turnOn()
to turn a computer on. You can add it to startup so when you turn on the first one, all of them turn on.



#5864 Automated Computer startup

Posted by kamnxt on 24 March 2012 - 09:15 AM in Ask a Pro

View PostLiraal, on 23 March 2012 - 01:57 PM, said:

you're right, i could just remove the target computer and have the turtle do its part.

But when the server shuts down, the turtle stops where your normal computer was, and you get the same problem....



#6142 [1.31] Rightclicking disk drives with a disk

Posted by kamnxt on 25 March 2012 - 01:32 PM in Suggestions

View Post6677, on 25 March 2012 - 09:58 AM, said:

View Postkamnxt, on 24 March 2012 - 08:19 PM, said:

Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :(/>
Not a bad idea although there is the disk.eject() function. You could just have it so once the floppy disk is read it gets ejected in code.
So maybe a new function: disk.setFastInsert(true)(?) ?



#5981 [1.31] Rightclicking disk drives with a disk

Posted by kamnxt on 24 March 2012 - 08:19 PM in Suggestions

Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :(/>