Jump to content


Kilobyte's Content

There have been 98 items by Kilobyte (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#147211 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 29 September 2013 - 03:20 PM in Peripherals and Turtle Upgrades

Sorry to say: but atm i have too many other projects to work on this :/

So update may not come soon.
I have my IRC Bot to work on and i am helping a bit with MultiMC - so yeah. Maybe in a few weeks again :)



#141802 [Question] How Do We Use Table.insert And Table.remove Correctly?

Posted by Kilobyte on 26 August 2013 - 11:47 AM in Ask a Pro

You can also specify an index to third argument. Then it will insert at that index and not the end.



#141801 Turtle Placing Stairs

Posted by Kilobyte on 26 August 2013 - 11:43 AM in Ask a Pro

I am pretty sure there is no way (yet)



#141799 Webinterfaces From Kilobyte's Peripherals

Posted by Kilobyte on 26 August 2013 - 11:26 AM in Tutorials

That's also planned :) meh, I'm on vacation atm so can't code, but I will be able to next week.



#141759 Webinterfaces From Kilobyte's Peripherals

Posted by Kilobyte on 26 August 2013 - 05:06 AM in Tutorials

Should I add udp? :)



#141757 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 26 August 2013 - 04:48 AM in Peripherals and Turtle Upgrades

Ok, small status update: I will do the 1.6 port after I finish the current WIP items.



#139570 Startup not working correctly

Posted by Kilobyte on 12 August 2013 - 12:30 PM in Ask a Pro

so, are there any error messages? Or just no executation?



#139532 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 12 August 2013 - 06:07 AM in Peripherals and Turtle Upgrades

Theres your documentation... and an update...



#139228 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 10 August 2013 - 07:25 AM in Peripherals and Turtle Upgrades

View PostThib0704, on 29 July 2013 - 06:33 PM, said:

Good ,but could you make a wiki on how to use your blocks?
Thank's
In theory there is. I promise to update it within this week :) After i get all the bugs fixed

EDIT: Working on getting a bugfix release out. Depending on my time it might happen today or tomorrow.
EDIT 2: Documentation is coming along nicely so far, will give out link when i release next update



#137808 People Answering Questions, Please Read

Posted by Kilobyte on 03 August 2013 - 05:04 AM in Ask a Pro

Would some moderator mind to sticky this?



#137807 Help With Command Decoder Using String.gmatch() Iteration

Posted by Kilobyte on 03 August 2013 - 04:58 AM in Ask a Pro

Don't put local infront of table element assignations. commands is already local so no need to redeclare it as local.

=> remove the local on line 13



#137062 Locals? What Use Are They?

Posted by Kilobyte on 30 July 2013 - 04:17 PM in Ask a Pro

View PostLord_Spelunky, on 29 July 2013 - 02:00 PM, said:

Ahhhhh, so they become like 1 time variables, thank you :) you helped a lot. +1 for both of you!
Sounds misunderstandable so let me clarify it.
They are only visible to the 'block' and its 'subblocks'. they can be written or read as often as you want. a nested function for example can access upvalues of its parent.

Example:
local function makeHello(who)
    return function()
	    print "Hello "..who
    end
end
-- call it
local h = makeHello("World")
h() -- prints 'Hello World'
as you see, functions can also be declared as local



#137059 How do I do this?

Posted by Kilobyte on 30 July 2013 - 04:09 PM in Ask a Pro

You should indent your code properly (you tried in first part, but failed in second. ALWAYS do it. it makes your and others life much easier when reasing the code). also the linebreaks inbetween each line are really annoying. And last of all you should choose a more specific title. 'How do i do this' is too general as it fits to pritty much all questions in this section



#135697 Unable To Install Computercraft - Need Help

Posted by Kilobyte on 24 July 2013 - 07:22 PM in Ask a Pro

Hey, 1. Can't really help you on that issue. Did not try any modding with 1.6.x. HOWEVER i really like this idea. Small note: i am german myself and i would kinda like to see your teaching material :P So, you should maybe sharte it, who knows how useful it will be for others, maybe even other teachers :D



#135383 My First Program Won't Work:(

Posted by Kilobyte on 23 July 2013 - 01:51 PM in Ask a Pro

why even
if x == 0 then do
if needs no do. you basicly made an infinite loop. let me restructure and fix it:

while rs.getInput("left") do -- you can pretty much always leave out == true.
  x = x - 1
  print (x.. " Till countdown")
  sleep(60)
  if x == 0 then -- here was a 'do' too much
	rs.setOutput("right", true)
	sleep(4)
	rs.setOutput("right", false)
  end
end
-- cut off 2 ends whch were too much

EDIT:
Also, i assume you defined x as local :P (you don't need to, but it makes your code look better and its better coding style.
Also, you should always make sure your code you post it a valid extract or, better, post your entire code. if its a large chunk use Gist or pastebin. Gist has the advantage of allowing you to have multiple files on one URL



#133256 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 13 July 2013 - 09:49 AM in Peripherals and Turtle Upgrades

Regarding CCDesk: I tried to do stuff. However theres some bug in CCDesk. I already talked to AfterlifeLochie and he fixed it, but he seems to not have released it yet.

EDIT: It looks like he still did not update. i gonna double check now though.



#130799 Webinterfaces From Kilobyte's Peripherals

Posted by Kilobyte on 02 July 2013 - 12:51 PM in Tutorials

Sorry, those bugs were my bad :(

Its fixed now. any further stuff can be reported on issue tracker. It works now


View PostElvishJerricco, on 16 June 2013 - 01:03 PM, said:

Just FYI, calling this Websockets is a bit misleading since there is a socket protocol called WebSockets that's basically just an AJAX replacement for web apps by allowing the browser to connect via a special socket.
I totally agree



#130793 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 02 July 2013 - 12:42 PM in Peripherals and Turtle Upgrades

1. Will check issue tracker to be public
EDIT: Fixed
2. Somehow i depred up download link, sorry, will fix
EDIT: Fixed

If anything doesn't work, please redownload



#125721 Webinterfaces From Kilobyte's Peripherals

Posted by Kilobyte on 12 June 2013 - 01:52 PM in Tutorials

Wait, is it really sockets_listen? *checks repo* *swears since he forgot to commit*
meh, if it is really sockets_listen, then thats a bug and will be fixed once i get my computer back. i will prob keep sockets_listen for at least one release though for backwards compatibility

Also, in the PONG line you forgot the newline ;)

Otherwise very good work. +1 Cookie for you :3

Also, you might wonder why there is socket(s)_listen(). basicly i am going to add hooks to read from the stream => you have binary support. it will probably be something like socket_read(handle, amountOfBytes). it won't be a blocking call. so if there is less data received than you want to read it will only return what it already read.



#125719 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 12 June 2013 - 01:47 PM in Peripherals and Turtle Upgrades

View PostPixelToast, on 11 June 2013 - 11:20 AM, said:

Very cool :D
*hands some cookies to PixelToast*
regarding the rednet thing: what did you mean?



#125402 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 11 June 2013 - 08:41 AM in Peripherals and Turtle Upgrades

View PostPixelToast, on 10 June 2013 - 05:24 PM, said:

RedNet to steam it?
:D
Whatcha mean?

View PostPixelToast, on 10 June 2013 - 05:24 PM, said:

gona make a tutorial because Wiiplay123 was having a verry hard time
Very nice :D
Gimme linky when you are done so i can add it to initial post :D



#125123 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 10 June 2013 - 01:39 AM in Peripherals and Turtle Upgrades

ok, guys, due to my laptop being repaired it is unlikely that there will be any development in the next 2 - 3 weeks. sorry :(. however i am working on more nice mfr interaction stuff :). hint: prc mem cards are awesome! lets see who gets the hint first :). oh, and i am open for suggestions :)



#123547 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 04 June 2013 - 12:00 PM in Peripherals and Turtle Upgrades

View PostPixelToast, on 04 June 2013 - 09:00 AM, said:

halp
http://pastebin.com/G67WQp2z
EDIT:
MFR is causing it
Fixed.



#121419 [Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh...

Posted by Kilobyte on 28 May 2013 - 08:18 AM in Peripherals and Turtle Upgrades

Ok, due to multiple requests i posted a beta. this is not balanced and may be buggy. link for issue tracker is in first post. ENJOY! :P



#113333 Tables in peripheral argument lists

Posted by Kilobyte on 22 April 2013 - 09:09 PM in Suggestions

Hello together,

i just realized that you can't pass tables to peripheral functions. i am now requesting this to be added for multiple reasons:
  • Its unexpected behaviour to not to allow tables
  • If you got arbritrary data, having an argument list is much less convenient to use and makes it unecessarily confusing.
  • We can also return tables or pass them as event args, so why not accept them as args?
Would really apreciate to get this added

Greetz, Kilobyte