Jump to content


Frederikam's Content

There have been 125 items by Frederikam (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#146099 The Ctrl+V Game

Posted by Frederikam on 22 September 2013 - 01:21 AM in Forum Games

What an interesting advertising strategy going on at one of the local banks; bringing me free breakfast to the door over the night.

Delicious breakfast this morning.



#140891 ComputerCraft App Store - Input Wanted

Posted by Frederikam on 20 August 2013 - 02:57 AM in General

By decomentation I also meant things like having a description of some sort, so people get a rough idea of what they get.



#140707 ComputerCraft App Store - Input Wanted

Posted by Frederikam on 19 August 2013 - 02:44 AM in General

But what about documentation? What if a program (or api) is really complicated to use?



#138954 [mc 1.6.x] Openperipheral

Posted by Frederikam on 09 August 2013 - 01:05 AM in Peripherals and Turtle Upgrades

View PostMikeemoo, on 08 August 2013 - 08:27 AM, said:

snip

Thank you, I think I figured it all out.



#138841 [mc 1.6.x] Openperipheral

Posted by Frederikam on 08 August 2013 - 08:23 AM in Peripherals and Turtle Upgrades

View Posttheoriginalbit, on 08 August 2013 - 07:32 AM, said:

View PostFrederikam, on 08 August 2013 - 07:27 AM, said:

The text color is black, where '1' would normally stand for white. If I would be to use 32768 instead of 1 I would get green text, where 32768 is black.
That is because this does not use the ComputerCraft/minecraft colouring system of just 16 colours.... you can have all 16,777,216 colours (256^3, rgb, I'm ignoring alpha)... this is because it uses the HEX colour system where the colour is formatted as #RRGGBB... each set of two is a hex number between 00 (dec 0) and FF (dec 255)... I've created a useful function if you know some RGB values that converts from RGB into hex...


local function rgbToHex( _r, _g, _b )
  return bit.bor(bit.blshift(bit.bor(bit.blshift(_r, 8), _g), 8), _B)/>/>/>/>
end

View PostFrederikam, on 08 August 2013 - 07:27 AM, said:

Also every time I clear the glasses to rewrite a line I get a flicking effect, is there any way to avoid that?
Don't clear it! If you store the returned object from the addText/addBox call there are setters for it that allow you to change it without causing a flicker

I haven't gotten to the object yet, but what format do I put the hex code in? I tried using #FFFFFF but for obvious reasons that's read as an attempt to get the size of a string/table that doesn't exist.



#138834 [mc 1.6.x] Openperipheral

Posted by Frederikam on 08 August 2013 - 07:27 AM in Peripherals and Turtle Upgrades

I'm having a bit of problem with the colors on the terminal glasses, I.E. if i type in;

terminalGlassesBridge.addText(0, 0, "Hello World", 1)

The text color is black, where '1' would normally stand for white. If I would be to use 32768 instead of 1 I would get green text, where 32768 is black.

Also every time I clear the glasses to rewrite a line I get a flicking effect, is there any way to avoid that? I'm using code similar to this;

glasses = peripheral.wrap("left")
while true do
    glasses.clear()
    glasses.addText(0, 0, "Hello World", 1)
    os.sleep(0.5)
end



#138463 Where Is Lua Used, Outside Of Minecraft?

Posted by Frederikam on 06 August 2013 - 03:41 AM in General

I have a couple examples.
  • You can make games in Roblox using Lua scripts.
  • The man that introduced me to Java had some contact to this director for Ubisoft. This director almost demanded him to learn Lua.



#138196 Post Your Internet Speed!

Posted by Frederikam on 05 August 2013 - 02:22 AM in General

Posted Image

My area offers cheap internet and television. Yet it's pretty good.



#128889 Guess Who's Below

Posted by Frederikam on 24 June 2013 - 01:48 PM in Forum Games

I presume cloudy is busy bringing home his daughter.

Engineeeeer



#127222 Guess Who's Below

Posted by Frederikam on 18 June 2013 - 07:38 AM in Forum Games

Nope

I summon the hellkid



#127018 Guess Who's Below

Posted by Frederikam on 17 June 2013 - 12:30 PM in Forum Games

Nope

Ironwiccan?



#127007 Guess Who's Below

Posted by Frederikam on 17 June 2013 - 12:03 PM in Forum Games

Nej. (No in Danish)


Mackan?



#126900 Guess Who's Below

Posted by Frederikam on 17 June 2013 - 03:31 AM in Forum Games

Nope
Jesusthekiller



#126895 Guess Who's Below

Posted by Frederikam on 17 June 2013 - 03:03 AM in Forum Games

Nope

Hellkid



#125592 Corrupt-A-Wish!

Posted by Frederikam on 12 June 2013 - 04:39 AM in Forum Games

View PostMackan90096, on 12 June 2013 - 12:46 AM, said:

Granted. It has your least favourite flavor.

I wish I had money for a gaming computer.

Granted, but it is incompatible with BIOS, somehow.

I wish someone coded a peripheral that makes turtles able to dig.



#124570 IRC chat down?

Posted by Frederikam on 08 June 2013 - 02:43 AM in General

View Postironwiccan, on 08 June 2013 - 02:26 AM, said:

View PostLyqyd, on 08 June 2013 - 12:54 AM, said:

The IRC is up. It works just fine. The webchat interface is/was down, though. You'll have to connect through a different client.
how?

The IRC chat can run on several different channels. Espernet has these servers you can use, and they all got exactly the same Computercraft channel.



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

Posted by Frederikam on 07 June 2013 - 02:56 AM in Peripherals and Turtle Upgrades

I agree with what RichardG just said. It's too much of a hassle to do a lot of work for very few people. He's not your personal servant he's a modder.



#124018 What's this?

Posted by Frederikam on 06 June 2013 - 08:07 AM in Forum Discussion

View PostBubba, on 06 June 2013 - 06:23 AM, said:

View PostFrederikam, on 06 June 2013 - 04:37 AM, said:

Did you hust read it and clicked the "go back" button in your browser (I.E. in chrome it's in the top left corner)? In that case the page is not refreshed.

If that were the case, I don't believe it would show that he had posted.

Yeah, you make a good point of that.



#123969 What's this?

Posted by Frederikam on 06 June 2013 - 04:37 AM in Forum Discussion

Did you just read it and clicked the "go back" button in your browser (I.E. in chrome it's in the top left corner)? In that case the page is not refreshed.



#123730 Guess Who's Below

Posted by Frederikam on 05 June 2013 - 02:45 AM in Forum Games

Stop the duck thing.
Mackan



#123495 The Ctrl+V Game

Posted by Frederikam on 04 June 2013 - 08:06 AM in Forum Games

I have absolutely no idea of what i am about to post :D



Seems like nothing was on there.

Meh this post is pointless now.



#123485 Guess Who's Below

Posted by Frederikam on 04 June 2013 - 07:47 AM in Forum Games

Nope.
(ninja'in) Duck?



#123462 Guess Who's Below

Posted by Frederikam on 04 June 2013 - 02:51 AM in Forum Games

Meh

Duck?



#122945 Guess Who's Below

Posted by Frederikam on 02 June 2013 - 01:12 PM in Forum Games

Nope.

KingOfNoobs



#120016 Guess Who's Below

Posted by Frederikam on 23 May 2013 - 04:21 AM in Forum Games

Wrong

KingOfNoobs