- ComputerCraft | Programmable Computers for Minecraft
- → KingofGamesYami's Content
KingofGamesYami's Content
There have been 51 items by KingofGamesYami (Search limited from 10-February 22)
#277518 [N00b] - Trouble using IO library
Posted by
KingofGamesYami
on 04 June 2018 - 09:10 PM
in
Ask a Pro
#277556 [N00B] Download audio files onto computer for Computronics
Posted by
KingofGamesYami
on 11 June 2018 - 11:23 PM
in
Ask a Pro
#277600 Need PROGRAM_FILES/JAVA/jre1.8.0_171
Posted by
KingofGamesYami
on 19 June 2018 - 01:38 AM
in
Ask a Pro
#277605 Need PROGRAM_FILES/JAVA/jre1.8.0_171
Posted by
KingofGamesYami
on 19 June 2018 - 11:34 AM
in
Ask a Pro
#277668 HELP! All my \13s are being converted to \10s
Posted by
KingofGamesYami
on 30 June 2018 - 01:52 AM
in
Ask a Pro
#277673 HELP! All my \13s are being converted to \10s
Posted by
KingofGamesYami
on 30 June 2018 - 07:47 PM
in
Ask a Pro
#277677 Why CraftOS is better than Windows
Posted by
KingofGamesYami
on 03 July 2018 - 12:06 AM
in
Media
#277680 Why CraftOS is better than Windows
Posted by
KingofGamesYami
on 04 July 2018 - 12:17 AM
in
Media
#277753 [SOLVED] string.gmatch seems to steal letters
Posted by
KingofGamesYami
on 12 July 2018 - 01:22 AM
in
Ask a Pro
#277760 [SOLVED] string.gmatch seems to steal letters
Posted by
KingofGamesYami
on 12 July 2018 - 09:05 PM
in
Ask a Pro
#277761 Melee turtles and os.pullEvent
Posted by
KingofGamesYami
on 12 July 2018 - 09:11 PM
in
Ask a Pro
#277763 the HTTP API and the cookies
Posted by
KingofGamesYami
on 12 July 2018 - 09:49 PM
in
Ask a Pro
Reference: https://github.com/d...TTPRequest.java
#277770 the HTTP API and the cookies
Posted by
KingofGamesYami
on 13 July 2018 - 01:32 AM
in
Ask a Pro
The builds available on https://cc.crzd.me should include it.
#277785 [SOLVED] string.gmatch seems to steal letters
Posted by
KingofGamesYami
on 14 July 2018 - 06:39 PM
in
Ask a Pro
#277803 [Plethora] Analog clock in your upper left corner using overlay glasses
Posted by
KingofGamesYami
on 15 July 2018 - 11:39 PM
in
Programs
#277834 Reading bytes
Posted by
KingofGamesYami
on 19 July 2018 - 09:56 PM
in
Ask a Pro
#277837 Reading bytes
Posted by
KingofGamesYami
on 20 July 2018 - 12:52 AM
in
Ask a Pro
#277873 Reading bytes
Posted by
KingofGamesYami
on 23 July 2018 - 11:57 PM
in
Ask a Pro
#277879 Reading bytes
Posted by
KingofGamesYami
on 24 July 2018 - 09:34 PM
in
Ask a Pro
#277965 Making a directory with multiple directories
Posted by
KingofGamesYami
on 02 August 2018 - 12:51 AM
in
Ask a Pro
#278057 [SOLVED] calling code from string
Posted by
KingofGamesYami
on 10 August 2018 - 12:23 AM
in
Ask a Pro
BrunoZockt, on 09 August 2018 - 07:58 PM, said:
First off, WHY? There is most likely a MUCH better solution to whatever problem you have than doing this (which is why the default behavior is to not allow it).
BrunoZockt, on 09 August 2018 - 07:58 PM, said:
It's actually very good, IMO.
Finally, neither example #1 nor example #2 work for me. A minimal reproduction is easy:
local foo = "Hello World" print( getfenv().foo ) --# nil
Unfortunately, it is completely impossible to get locally delcared variables in ComputerCraft. In regular Lua it is possible to do via the debug library, but this is disabled for security reasons.
The easiest workaround would be to not declare your stuff as local. But that is going to pollute the global env. and do various bad things. A better workaround is to pass all the required variables to the function when it is called. If this is impractical, you might want to consider a different approach to whatever problem you're attempting to solve.
#278065 computercrafts terminal
Posted by
KingofGamesYami
on 10 August 2018 - 08:37 PM
in
Ask a Pro
2. No.
#278091 computercrafts terminal
Posted by
KingofGamesYami
on 12 August 2018 - 03:25 PM
in
Ask a Pro
Ta©ti_Tac0Z, on 12 August 2018 - 01:16 PM, said:
Bomb Bloke, on 11 August 2018 - 02:37 PM, said:
wrong...:
the organges rgb color value is 2 (EDIT: not just the color index) as stated in the table: http://computercraft...ki/Colors_(API)
You are mistaken. "2" is not an RGB value.
ComputerCraft uses binary indexes (2^0,2^1,2^2 ... 2^15). This is primarily to support passing multiple colors as one number to bundled cables. For example, to turn on blue and green you would pass 2^11 + 2^13, or 10,240 in base 10.
The RGB value of colors.orange is, by default, red 242, green 178, blue 51, as shown in the Display column of the table you reference.
#278137 The ban game
Posted by
KingofGamesYami
on 18 August 2018 - 11:13 PM
in
Forum Games
Pokemon
#278164 Solar OS Help- How to
Posted by
KingofGamesYami
on 23 August 2018 - 01:48 AM
in
Ask a Pro
- ComputerCraft | Programmable Computers for Minecraft
- → KingofGamesYami's Content


