This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LewisTehMinerz's profile picture

Command Pocket Computer

Started by LewisTehMinerz, 27 July 2015 - 10:44 AM
LewisTehMinerz #1
Posted 27 July 2015 - 12:44 PM
So, we have command computers, why not command pocket computers?
Again, it would be uncraftable, but use a pocket computer + command block as the recipe. A portable command computer. Also, it should use coordinate tracking so relative coordinates ( ~ ) work (I was thinking about having it placeable so relative coords would work, but that wasn't a good idea). Everyone has seen the fun of command computers, why not a pocket computer that does the same? You could make a program that can play Connect-4 on the pocket computers while it's being done in-game (rednet and a command computer can make this possible, but then that could make for some really advanced code for the rednet). There's computers (non-color) with their pocket computer counterparts, There's advanced computers (color) with their counterparts, there's command computers (color + command execution) but no pocket computer! This could make more things possible!

(I'm sorry for the wall of text :P/>)

~LewisTehMinerz
SquidDev #2
Posted 27 July 2015 - 05:20 PM
Dan says maybe. Also 5 topics below this one was an identical topic. Search does work :P/>.
apemanzilla #3
Posted 27 July 2015 - 07:37 PM
Wasn't there an addon that did this? Or am I getting confused…
SquidDev #4
Posted 27 July 2015 - 08:20 PM
Wasn't there an addon that did this? Or am I getting confused…

At the bottom of the second topic there was this script. Not actually an addon but close enough. Also, congrats on 1000 posts!
Edited on 27 July 2015 - 06:20 PM
apemanzilla #5
Posted 28 July 2015 - 10:28 PM
Wasn't there an addon that did this? Or am I getting confused…

At the bottom of the second topic there was this script. Not actually an addon but close enough. Also, congrats on 1000 posts!
Ah, alright. I had seen that forum thread before but didn't remember it.

Thanks! If only you could still set custom titles at 1000 posts :(/>
SquidDev #6
Posted 29 July 2015 - 08:03 AM
Thanks! If only you could still set custom titles at 1000 posts :(/>

I wrote a Userscript (You'll need Greasemonkey (Firefox) or Tampermonkey (Chrome)):

// ==UserScript==
// @name		 CustomTitle
// @description  Adds custom titles to people
// @author	   SquidDev
// @include	  http://www.computercraft.info/forums2/index.php?/topic/*
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==

$(document).ready(function() {
  $('a[hovercard-ref=member]').each(function() {
	  var this$ = $(this);
	  if(this$.html() == "apemanzilla") {
		  this$.parents('div.post_wrap').find('div.author_info ul.basic_info').prepend('<li class="desc member_title">No clue what to put here.</li>');
	  }
  });
});
No, I don't normally use this :)/>.
Edited on 29 July 2015 - 06:04 AM
apemanzilla #7
Posted 29 July 2015 - 12:26 PM
Thanks! If only you could still set custom titles at 1000 posts :(/>

I wrote a Userscript (You'll need Greasemonkey (Firefox) or Tampermonkey (Chrome)):

// ==UserScript==
// @name		 CustomTitle
// @description  Adds custom titles to people
// @author	   SquidDev
// @include	  http://www.computercraft.info/forums2/index.php?/topic/*
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==

$(document).ready(function() {
  $('a[hovercard-ref=member]').each(function() {
	  var this$ = $(this);
	  if(this$.html() == "apemanzilla") {
		  this$.parents('div.post_wrap').find('div.author_info ul.basic_info').prepend('<li class="desc member_title">No clue what to put here.</li>');
	  }
  });
});
No, I don't normally use this :)/>.

Too bad no one else will see it :P/>
LuckyLuke #8
Posted 30 July 2015 - 05:13 AM
Little hint:

--[[ I'm a
Multiline
Comment
:)/>
]]--
flaghacker #9
Posted 30 July 2015 - 08:56 AM
Little hint:

--[[ I'm a
Multiline
Comment
:)/>/>
]]--

That's not lua, that's Janascript. It's like this:

/*
Multi
Line
Comment
*/
LuckyLuke #10
Posted 30 July 2015 - 09:07 AM
Little hint:

--[[ I'm a
Multiline
Comment
:)/>/>/>
]]--

That's not lua, that's Janascript. It's like this:

/*
Multi
Line
Comment
*/

Damn, mixed it up, sorry.
SquidDev #11
Posted 30 July 2015 - 12:08 PM
Little hint:

/* Random multiline comment */
Userscripts require a special header section - which is what you see there. It might work with a multiline comment but I'm really not bothered - this was a fun little script I hacked together. :)/>
HDeffo #12
Posted 30 July 2015 - 10:55 PM
As stated previously above my script for them has all the normal functions of a command computer and doesn't use rednet so it is just as effective as one you would get if it was an actual item. Would still be nice if they were added for real but until then it makes for a good substitute.
Konlab #13
Posted 22 September 2015 - 02:34 PM
I support both command pocket computers and command turtles, because creative only things are just awesome