Jump to content


Zoinky's Content

There have been 143 items by Zoinky (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#139151 Post Your Internet Speed!

Posted by Zoinky on 09 August 2013 - 11:06 PM in General

View PostMissionFirewall, on 09 August 2013 - 09:40 PM, said:

This has got to be a lie considering I cant watch a 10 min youtube video.

Probably due to your ISP having cache servers that suck (I'm guessing, not a pro :3)

Edit: My Results
Posted Image



#134647 Printer Levels Finder

Posted by Zoinky on 20 July 2013 - 12:58 AM in Ask a Pro

You need to concatenate the strings. You can do this simply by adding the concatenation operator "..". So your print lines should be:

print("There are "..paper.." page(s) left")
print("You have "..ink.." ink left.")

EDIT: Ninja'd



#129645 [CC1.53][MC1.5.2] MiscPeripherals 3.3

Posted by Zoinky on 27 June 2013 - 02:32 AM in Peripherals and Turtle Upgrades

View PostShadow_Assailant, on 27 June 2013 - 01:24 AM, said:

I don't understand the chunk loader peripheral... Is there any API associated with the chunk loading turtle? I don't understand how to change the size of the area the turtle keeps loaded.
I'm pretty sure the purpose is to keep the turtle loaded (Which it does). So, there's no need to change the size.



#117153 [SOLVED] Issue with conditionals

Posted by Zoinky on 11 May 2013 - 07:25 PM in Ask a Pro

View Postretrotails, on 11 May 2013 - 04:54 PM, said:

Also is input always a string?

Yep.



#116933 monitors flashing different colors for teleport

Posted by Zoinky on 11 May 2013 - 02:22 AM in Ask a Pro

View PostOmegaVest, on 11 May 2013 - 01:01 AM, said:

Actually, using monitor_4 is correct for a wired modem connection. Since grabbing "top" would grab the modem(were that the side the wire was on), you have to use its name as the side. Everything else was right in Zoinky's post.

Oh, sorry. I haven't got to use wired modems yet :S



#116916 monitors flashing different colors for teleport

Posted by Zoinky on 10 May 2013 - 11:16 PM in Ask a Pro

You've wrapped the monitor incorrectly. You need to tell it what side the monitor is on, so

local mon = peripheral.wrap("monitor_4")

Should be:

local mon = peripheral.wrap("top") -- "Top" is the side that the monitor is on (Just an example)

Also, Lua is case sensitive. So line 36 should be

mon2.setBackgroundColor(colors.lightBlue) -- Notice the capital B, every word after the first usually has a capital letter.

EDIT: One more thing, just use sleep() instead of os.sleep()



#116491 PHP - html - javascript

Posted by Zoinky on 09 May 2013 - 04:51 AM in General

This might help. It's pretty easy to use! :3



#115268 won't get stuck in a loop

Posted by Zoinky on 04 May 2013 - 11:48 PM in Ask a Pro

View Postwarfar, on 04 May 2013 - 11:31 PM, said:

nvm fixed it
What was wrong? Lol



#115249 won't get stuck in a loop

Posted by Zoinky on 04 May 2013 - 11:02 PM in Ask a Pro

View Postwarfar, on 04 May 2013 - 10:56 PM, said:

it is
i did test it

Well, that's weird. Try change it to turtle.suck() and see what happens. Otherwise, I have no clue.


EDIT: Oh, so it's working now?
EDIT #2: Woops, sorry about the repost. Accident :3



#115248 won't get stuck in a loop

Posted by Zoinky on 04 May 2013 - 11:00 PM in Ask a Pro

View Postwarfar, on 04 May 2013 - 10:56 PM, said:

it is
i did test it

Well, that's weird. Try change it to turtle.suck() and see what happens. Otherwise, I have no clue.



#115245 won't get stuck in a loop

Posted by Zoinky on 04 May 2013 - 10:55 PM in Ask a Pro

Make it print something after turtle.suckUp(). So you know it's actually running.



#114351 how do you make a program to modify if your os is craftos?

Posted by Zoinky on 02 May 2013 - 12:27 AM in Ask a Pro

You can use fs.copy().



#114036 Creating A Bsod, Error Handling And Custom Errors

Posted by Zoinky on 01 May 2013 - 12:10 AM in Tutorials

Very nice tutorial! Good work :D



#113696 Luaforge Pre2: Write Forge Mods In Lua!

Posted by Zoinky on 23 April 2013 - 09:40 PM in General

Erm... Wiki, forums and 1.5 links are all broken.



#112879 Command block peripheral & iterator for loop

Posted by Zoinky on 21 April 2013 - 08:42 PM in Ask a Pro

For the first one, you need to set enableCommandBlock to true in the config.
No idea. Double check? You might not've saved? Lol, I need to read through more thoroughly :S



#106128 quick question

Posted by Zoinky on 04 April 2013 - 04:33 PM in Ask a Pro

local function empty()
 if turtle.getItemCount(16) < 15 then
  turtle.select(1)  
  turtle.placeUp()
  for i = 1, 16 do
   turtle.select(i) 
   turtle.dropUp()
  end
  turtle.select(1)
  turtle.digUp()
 end
end



#102623 My developing environment

Posted by Zoinky on 27 March 2013 - 09:09 PM in Tutorials

Nice work! +1



#100719 [Lua][Question] How do I add things into sub-tables?

Posted by Zoinky on 23 March 2013 - 04:18 PM in Ask a Pro

View PostKingdaro, on 23 March 2013 - 04:12 PM, said:

I'm guessing you want to do this?

-snip-

Lol, thanks. Derp on my part. :P



#100711 [Lua][Question] How do I add things into sub-tables?

Posted by Zoinky on 23 March 2013 - 04:04 PM in Ask a Pro

Hey, I was messing around with tables and I stumbled upon a problem. I'm not sure how to add things into "sub-tables".

Eg. If I had a table like so:

local exampleTable  = {
 {
   var1 = "Test"
 }
}

How would I add var2 into exampleTable[1]?

I've tried using table.insert() but I can't get it to put things inside the second table. Also, I'm really bad at explaining things. So this might not make any sense.



#97813 Help me with os.time() please

Posted by Zoinky on 16 March 2013 - 02:01 PM in Ask a Pro

Could we see the code for your OS? You can't have the code pause, because then the function won't be executed until later.



#90270 Advanced Door Locking

Posted by Zoinky on 22 February 2013 - 06:59 PM in Programs

View PostR167, on 22 February 2013 - 05:46 PM, said:

Looked through the code really quickly and found a quick little bug. You can set all of the passwords to the same thing. This might be something to fix. Just saying. Also, you might add a three try before lockout function. Just an idea. Looks good though

There's no need to double post. Just use the 'Edit' button.



#84535 AI program

Posted by Zoinky on 06 February 2013 - 05:44 PM in Programs

Some of the code is from my old troll AI (I know it's not a AI, it was a joke). Plus, I think this is a modified version of a modified version of my code (Which was some really bad base code anyway).



#84512 <eof> error at else

Posted by Zoinky on 06 February 2013 - 04:34 PM in Ask a Pro

Tested Hellkid98's snippet on ccemu. Nothing wrong. Something has probably gone wrong while you were copying/pasting. You should look over the code you have.



#84505 [Lua] [Question] Is there a way to encrypt a program on CC?

Posted by Zoinky on 06 February 2013 - 04:19 PM in Ask a Pro

You can use programs people have created like Encer. But, obviously, you can't encrypt files then run them. You need to decrypt them when you want to use them.



#84159 [Bugs and derps!]EnderCalc v2.0

Posted by Zoinky on 05 February 2013 - 07:00 PM in Programs

I took a look at the code and noticed that you used recursion to restart your program, keep in mind that after many calculations the calculator will error. You should try use loops instead of recursions to fix this. Although, it's likely nobody will make over 200 calculations it's still probably something that would be good to fix. Anyway, nice program.