Jump to content




TheOriginalBIT's Programs, APIs, and Utilities

turtle api utility

  • You cannot reply to this topic
349 replies to this topic

#41 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 05 February 2013 - 08:55 PM

View Postsuperaxander, on 05 February 2013 - 08:52 PM, said:

ccConfig realy is cool.
Thanx :) Got the idea from one of my current projects where I needed config files for key bindings :)

#42 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 07 February 2013 - 01:35 AM

View PostTheOriginalBIT, on 24 January 2013 - 11:58 PM, said:

Simple Advanced GUI Maker
lol that makes soooo much sense :D

View PostTheOriginalBIT, on 24 January 2013 - 11:58 PM, said:

Extended String Library
this is REALLY cool. if you added metatable support it would be incredible (in metatable set __charAt=function(self,index) return alternatestuff end and when they call charAt(yourtable,index) it will call the metatable instead or return a string if the metatable is set to that)

it would be really easy to implement. just add
if type(str)=="table" and type(getmetatable(str))=="table" and getmetatable(str).__charAt then
  return type(getmetatable(str).__charAt)=="function" and getmetatable(str).__charAt(str,index) or getmetatable(str).__charAt
else
  --your other code
end


#43 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 07 February 2013 - 01:47 AM

View PostKaoS, on 07 February 2013 - 01:35 AM, said:

View PostTheOriginalBIT, on 24 January 2013 - 11:58 PM, said:

Simple Advanced GUI Maker
lol that makes soooo much sense :D
It was meant to be an oxymoron :P

View PostKaoS, on 07 February 2013 - 01:35 AM, said:

View PostTheOriginalBIT, on 24 January 2013 - 11:58 PM, said:

Extended String Library
this is REALLY cool. if you added metatable support it would be incredible (in metatable set __charAt=function(self,index) return alternatestuff end and when they call charAt(yourtable,index) it will call the metatable instead or return a string if the metatable is set to that)

it would be really easy to implement. just add
if type(str)=="table" and type(getmetatable(str))=="table" and getmetatable(str).__charAt then
  return type(getmetatable(str).__charAt)=="function" and getmetatable(str).__charAt(str,index) or getmetatable(str).__charAt
else
  --your other code
end
Ok you lost me on that one. I've really only done basic stuff with the metatables, I've been meaning to do more research into them and use the full power of them, but you know what, I'm lazy :P

#44 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 07 February 2013 - 02:18 AM

View PostTheOriginalBIT, on 07 February 2013 - 01:47 AM, said:

I've been meaning to do more research into them and use the full power of them, but you know what, I'm lazy :P

trust me. it will be one of the most rewarding techniques you will ever learn

#45 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 07 February 2013 - 03:09 AM

View PostKaoS, on 07 February 2013 - 02:18 AM, said:

trust me. it will be one of the most rewarding techniques you will ever learn
Any suggested resources other than the PIL?

#46 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 07 February 2013 - 03:23 AM

the second google result is where I learned a lot

http://nova-fusion.c...ables-tutorial/

#47 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 07 February 2013 - 04:16 AM

View PostKaoS, on 07 February 2013 - 03:23 AM, said:

the second google result is where I learned a lot

http://nova-fusion.c...ables-tutorial/
Cool thanx, I'll take a look.

#48 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 08 February 2013 - 03:33 PM

CCTube almost at it's public release!

Over the last few weeks/month. TheOriginalBit and I have been rewriting LightTube from the ground up! With a full web service to be available, including a community with user profiles and commenting, not to mention the very required ranking system! CCTube will set new ground for video players in ComputerCraft!

Tell me more!
We have invented a binary video format from scratch, with support for multiple codecs and media types allowing rapid multimedia streaming! We currently offer a transcoding tool that will allow you to convert supported formats to ours, so you can conserve disk space ( Tests show that our file format is on average, 70-650% smaller than other formats ), and watch video while it streams from your file system, a Rednet Stream Server, or the internet over http!

The format also supports expansion for future media types! This includes, but certainly isn't limited to; cinematic lighting, and audio!

I want it now!
Hold on there! I love your enthusiasm, but we are still polishing it up for it's big debut!
CCTube's core functionality is ready! Hence this promo post! Over the next few days we'll be tidying it and removing all those print statements that somehow manage to end up in the strangest places during debugging, and getting ready to ship it off to you lovely people!


Keep your eyes open and ears listening, because CCTube could be available new ( as in, new ), and improved ( as in, so much better than anything before! ), before you know it!

CCTube
A milestone for a multimedia community

#49 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 09 February 2013 - 03:06 AM

View PostNeverCast, on 08 February 2013 - 03:33 PM, said:

CCTube almost at it's public release!

Over the last few weeks/month. TheOriginalBit and I have been rewriting LightTube from the ground up! With a full web service to be available, including a community with user profiles and commenting, not to mention the very required ranking system! CCTube will set new ground for video players in ComputerCraft!

Tell me more!
We have invented a binary video format from scratch, with support for multiple codecs and media types allowing rapid multimedia streaming! We currently offer a transcoding tool that will allow you to convert supported formats to ours, so you can conserve disk space ( Tests show that our file format is on average, 70-650% smaller than other formats ), and watch video while it streams from your file system, a Rednet Stream Server, or the internet over http!

The format also supports expansion for future media types! This includes, but certainly isn't limited to; cinematic lighting, and audio!

I want it now!
Hold on there! I love your enthusiasm, but we are still polishing it up for it's big debut!
CCTube's core functionality is ready! Hence this promo post! Over the next few days we'll be tidying it and removing all those print statements that somehow manage to end up in the strangest places during debugging, and getting ready to ship it off to you lovely people!


Keep your eyes open and ears listening, because CCTube could be available new ( as in, new ), and improved ( as in, so much better than anything before! ), before you know it!

CCTube
A milestone for a multimedia community
Can't wait

#50 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 09 February 2013 - 03:11 AM

View Postsuperaxander, on 09 February 2013 - 03:06 AM, said:

View PostNeverCast, on 08 February 2013 - 03:33 PM, said:

CCTube almost at it's public release!
Can't wait
Me either!!!! :P :P :P

#51 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 09 February 2013 - 03:23 AM

Is the title meant to be programs, programs ...


Theoriginalbit's Programs, Programs, Api's And Utilities — New: CConfig – Configuration Utility for CC — Coming Soon: Remote Control Turtle


Only saw that now o.o

#52 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 09 February 2013 - 03:24 AM

View PostremiX, on 09 February 2013 - 03:23 AM, said:

Is the title meant to be programs, programs ...
Theoriginalbit's Programs, Programs, Api's And Utilities — New: CConfig – Configuration Utility for CC — Coming Soon: Remote Control Turtle
Only saw that now o.o
It used to have computer and turtle in there... clearly I made a mistake when shortening it :P

EDIT: Fixed

#53 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 09 February 2013 - 02:22 PM

Late Update
Forgot to mention the other day, I added a key bindings example to CConfig's 'Usage Examples'
Soon to be added Language Pack example

#54 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 12 February 2013 - 03:43 AM

News Time

With the release of CCTube coming near it has come to the attention of NeverCast and myself that a lot of what we are doing for the CCTube GUI is exactly what we were planning for the Graphics API. So expect that to be not far behind the release of CCTube :)

CCTube is extremely close now. NeverCast and I are both working diligently to bring you the best we can provide. The update we will be releasing in a few days will have local playback and online playback, but the online community will be a little behind as there are some more areas of improvement needed with it. Please be mindful that CCTube will no longer support direct playback of LightShot, or other formats, of videos but instead these videos will needed to be run through our converter, this reduces file size and makes the video 100% virus free...

So keep an eye out for a new topic in the near future for CCTube and the Graphics API here shortly after that.

#55 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 12 February 2013 - 04:31 AM

View PostTheOriginalBIT, on 12 February 2013 - 03:43 AM, said:

News Time

With the release of CCTube coming near it has come to the attention of NeverCast and myself that a lot of what we are doing for the CCTube GUI is exactly what we were planning for the Graphics API. So expect that to be not far behind the release of CCTube :)/>

CCTube is extremely close now. NeverCast and I are both working diligently to bring you the best we can provide. The update we will be releasing in a few days will have local playback and online playback, but the online community will be a little behind as there are some more areas of improvement needed with it. Please be mindful that CCTube will no longer support direct playback of LightShot, or other formats, of videos but instead these videos will needed to be run through our converter, this reduces file size and makes the video 100% virus free...

So keep an eye out for a new topic in the near future for CCTube and the Graphics API here shortly after that.
Can't wait

#56 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 12 February 2013 - 04:34 AM

View Postsuperaxander, on 12 February 2013 - 04:31 AM, said:

Can't wait
I noticed that you starred the git repo... what u think so far?

#57 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 12 February 2013 - 09:06 PM

Can't wait for CCtube 2.0 (Or whatever version it is)! Seems awesomesauce!

#58 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 12 February 2013 - 11:03 PM

View PostTheOriginalBIT, on 12 February 2013 - 04:34 AM, said:

View Postsuperaxander, on 12 February 2013 - 04:31 AM, said:

Can't wait
I noticed that you starred the git repo... what u think so far?
Well thanks to your project code I now understand a bit more about binary files.
Oh well it will realy help with my own solo project wich is secret yet but

OFF TOPIC:
I just created a license a bit based on yours. English is not my main language. Could you check it to see if I have made any mistakes?
http://code.google.c.../browse/LICENSE

EDIT: by the way i did it on google code cause git is more manual just to force myself to learn git better.

Edited by superaxander, 12 February 2013 - 11:04 PM.


#59 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 12 February 2013 - 11:17 PM

View Postsuperaxander, on 12 February 2013 - 11:03 PM, said:

Well thanks to your project code I now understand a bit more about binary files.
Oh well it will realy help with my own solo project wich is secret yet but
Thats good :)

View Postsuperaxander, on 12 February 2013 - 11:03 PM, said:

OFF TOPIC:
I just created a license a bit based on yours. English is not my main language. Could you check it to see if I have made any mistakes?
Februari <- end's in a y

looks ok for content, the definitions could do with a little bit of a reword, and you may want to remove some of your permission clauses, they contradict the paragraph before the list (which makes a contract null and void)

#60 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 12 February 2013 - 11:27 PM

View PostTheOriginalBIT, on 12 February 2013 - 11:17 PM, said:

View Postsuperaxander, on 12 February 2013 - 11:03 PM, said:

OFF TOPIC:
I just created a license a bit based on yours. English is not my main language. Could you check it to see if I have made any mistakes?
Februari <- end's in a y

looks ok for content, the definitions could do with a little bit of a reword, and you may want to remove some of your permission clauses, they contradict the paragraph before the list (which makes a contract null and void)
I changed it a bit. Would you mind looking it over again?





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users