- ComputerCraft | Programmable Computers for Minecraft
- → xuma202's Content
xuma202's Content
There have been 115 items by xuma202 (Search limited from 29-March 23)
#120121 [1.4.7] [CC 1.481] CCRedbus - control Redbus devices (like Sortron) with Comp...
Posted by xuma202 on 23 May 2013 - 11:00 AM in Peripherals and Turtle Upgrades
#117267 [mc 1.6.2] [cc 1.56] Applied Energistics Peripheral
Posted by xuma202 on 12 May 2013 - 11:38 AM in Peripherals and Turtle Upgrades
#117110 [MC 1.2.5/1.3.2 ] [CC 1.4x] Easy Signalling
Posted by xuma202 on 11 May 2013 - 04:08 PM in Peripherals and Turtle Upgrades
EDIT: Sorry just saw this is already a feature of MiscPeripherals
#116971 [1.4.7] [CC 1.481] CCNoise - generate custom sounds
Posted by xuma202 on 11 May 2013 - 06:38 AM in Peripherals and Turtle Upgrades
#116673 [1.4.7] [CC 1.481] CCNoise - generate custom sounds
Posted by xuma202 on 09 May 2013 - 04:48 PM in Peripherals and Turtle Upgrades
#116496 Rate the Above User's Avatar!
Posted by xuma202 on 09 May 2013 - 05:33 AM in Forum Games
Professor Doc sweet idea ;-)
#116375 Rate the Above User's Avatar!
Posted by xuma202 on 08 May 2013 - 02:36 PM in Forum Games
[EDIT]
argh too late...
That human is a 7/10
#114149 [MC 1.6.4] CCLights2 v0.4.1
Posted by xuma202 on 01 May 2013 - 11:47 AM in Peripherals and Turtle Upgrades
#114073 [MC 1.6.4] CCLights2 v0.4.1
Posted by xuma202 on 01 May 2013 - 06:40 AM in Peripherals and Turtle Upgrades
Sariaz, on 18 April 2013 - 07:03 PM, said:
You can find instructions and more on this mod here: http://www.minecraft...rs-gpus-eau-my/
#96106 [CC 1.481][MC 1.4.7] Turtle NBT Editor 1.1
Posted by xuma202 on 12 March 2013 - 01:30 AM in Peripherals and Turtle Upgrades
gamax92, on 11 March 2013 - 04:29 AM, said:
Thanks for your feedback. Sure you send me the texture if you want.
Simon, on 01 March 2013 - 01:22 PM, said:
Hello Simon, unfortunately it's currently not possible to change the NBT Data of Mobs.
#91609 [CCGPU] Analog Clock [v1.0.3]
Posted by xuma202 on 27 February 2013 - 05:17 AM in Programs
maximouli, on 26 February 2013 - 09:43 AM, said:
The important line is line 158
time = os.time()
When it's for example 8:37 the function will os.time() will return 8.6166666...
If you can manage to get the real world time into a variable you'll just have to manipulate this line or these lines: (160&161)
hours = math.floor(time) minutes = math.floor((time-hours)*60)
hours must contain the hours [0-11] and minutes must contain the minutes [0-59] so you can modify lines 158-161.
However afaik you can't read the real wolrd time with a CC function so you maybe have to use the http api or something else.
#86945 [CC 1.48 - 1.5] ccDB - Connect With Real Databases
Posted by xuma202 on 14 February 2013 - 07:07 AM in Peripherals and Turtle Upgrades
Espen, on 13 February 2013 - 11:47 PM, said:
xuma202, on 10 February 2013 - 11:33 AM, said:
I've found a bug. When you connect the ccDB to a computer via Xfels peripheral cables it'll crash minecraft and break your world.
Here is the log:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\cw\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-09_23.35.14-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT 8b2027cb --------
Full report at:
C:\Users\cw\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-09_23.35.14-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 09.02.13 23:35
-- Head --
Stacktrace:
at espen.ccdb.LuaAPILoader.mountLuaAPI(LuaAPILoader.java:82)
at espen.ccdb.TileEntityDBConnector.attachActions(TileEntityDBConnector.java:201)
at espen.ccdb.TileEntityDBConnector.attach(TileEntityDBConnector.java:234)
at xfel.mods.cccable.common.blocks.TileCableServer.doAttachPeripheral(TileCableServer.java:203)
at xfel.mods.cccable.common.blocks.TileCableServer.updateConnections(TileCableServer.java:156)
at xfel.mods.cccable.common.blocks.TileCableServer.g(TileCableServer.java:76)
-- Tile entity being ticked --
Details:
Name: PeripheralCable // xfel.mods.cccable.common.blocks.TileCableServer
Block type: ID #0
Block data value: Unknown? (Got -1)
Block location: World: (-266,4,-1189), Chunk: (at 6,0,11 in -17,-75; contains blocks -272,0,-1200 to -257,255,-1185), Region: (-1,-3; contains chunks -32,-96 to -1,-65, blocks -512,0,-1536 to -1,255,-1025)
Stacktrace:
at yc.h(World.java:2155)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: New World
All players: 0 total; []
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: -2467386767151028590
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options: 2;7,2x3,1;1;
Level spawn location: World: (-207,4,-1147), Chunk: (at 1,0,5 in -13,-72; contains blocks -208,0,-1152 to -193,255,-1137), Region: (-1,-3; contains chunks -32,-96 to -1,-65, blocks -512,0,-1536 to -1,255,-1025)
Level time: 1907263 game time, 2297553 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 14350 (now: false), thunder time: 110438 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:679)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:598)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_13, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2231167096 bytes (2127 MB) / 3181838336 bytes (3034 MB) up to 3181838336 bytes (3034 MB)
JVM Flags: 3 total; -Xbootclasspath/a:F:\\mysql-connector-java-5.1.22-bin.jar -Xms3072m -Xmx3072m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.25 FML v4.6.17.515 Minecraft Forge 6.5.0.489 36 mods loaded, 36 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RPTweaks [RedPower Tweaks] (rptweaks.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ComputerCraft [ComputerCraft] (ComputerCraft1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CCTurtle [ComputerCraft Turtles] (ComputerCraft1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerCore [RedPower] (RedPowerCore-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerBase [RP Base] (RedPowerCore-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerWiring [RP Wiring] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ASTU [Aperture Science Turtle Upgrades] (ASTU.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Core [BuildCraft] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Builders [BC Builders] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Energy [BC Energy] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Factory [BC Factory] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Transport [BC Transport] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Silicon [BC Silicon] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_CameraStudio [mod_CameraStudio] (CameraStudioV2.6(1.4.6-1.4.7).zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CCCable [ComputerCraft Peripheral Cables] (cccable-1.4.1-universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ccDB [ccDB - Database peripheral for ComputerCraft] (ccDB_2.0 beta_mc1.4.6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CCLights [CCLights] (CCLights1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
NBTEdit [In-game NBTEdit] (Forge_NBTEditv1.4.6.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ImmibisCore [Immibis Core] (immibis-core-52.3.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ImmibisPeripherals [Immibis's Peripherals] (immibis-peripherals-52.0.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IC2 [IndustrialCraft 2] (industrialcraft-2_1.112.170-lf.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.6-4.5.1.199 (1).zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
OCS [OpenCCSensors] (OpenCCSensors-0.1.3-r1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Railcraft [Railcraft] (Railcraft_1.4.6-6.12.2.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerMachine [RP Machine] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerCompat [RP Compat] (RedPowerCompat-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerLogic [RP Logic] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerLighting [RP Lighting] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerWorld [RP World] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerControl [RP Control] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_turtleNBTEditor [Turtle NBT Editor] (xuma.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at espen.ccdb.LuaAPILoader.mountLuaAPI(LuaAPILoader.java:82)
at espen.ccdb.TileEntityDBConnector.attachActions(TileEntityDBConnector.java:201)
at espen.ccdb.TileEntityDBConnector.attach(TileEntityDBConnector.java:234)
at xfel.mods.cccable.common.blocks.TileCableServer.doAttachPeripheral(TileCableServer.java:203)
at xfel.mods.cccable.common.blocks.TileCableServer.updateConnections(TileCableServer.java:156)
at xfel.mods.cccable.common.blocks.TileCableServer.g(TileCableServer.java:76)
at yc.h(World.java:2155)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:679)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:598)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 45bbfd03 ----------
Edit:
This doesn't look like a conflict with CCCable, but it seems that ccDB didn't find its Lua-API.
May I ask how you installed the peripheral? Have you put the archive into the mods folder, or have you extracted it?
Also can you check if the archive contains the folder 'lua' ?
I've just created a new MC with only forge, CC, CCCable and ccDB. I got the same error again. I've placed the unzipped file into the mods folder and it created a directory named ccDB with another directory named lua with file called ccDB on its own.
#86498 [HOW TO] How to call a peripheral method with a list
Posted by xuma202 on 12 February 2013 - 09:54 AM in Peripheral Help and Discussion
#85934 [CC 1.48 - 1.5] ccDB - Connect With Real Databases
Posted by xuma202 on 10 February 2013 - 11:33 AM in Peripherals and Turtle Upgrades
I've found a bug. When you connect the ccDB to a computer via Xfels peripheral cables it'll crash minecraft and break your world.
Here is the log:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\cw\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-09_23.35.14-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT 8b2027cb --------
Full report at:
C:\Users\cw\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-09_23.35.14-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 09.02.13 23:35
-- Head --
Stacktrace:
at espen.ccdb.LuaAPILoader.mountLuaAPI(LuaAPILoader.java:82)
at espen.ccdb.TileEntityDBConnector.attachActions(TileEntityDBConnector.java:201)
at espen.ccdb.TileEntityDBConnector.attach(TileEntityDBConnector.java:234)
at xfel.mods.cccable.common.blocks.TileCableServer.doAttachPeripheral(TileCableServer.java:203)
at xfel.mods.cccable.common.blocks.TileCableServer.updateConnections(TileCableServer.java:156)
at xfel.mods.cccable.common.blocks.TileCableServer.g(TileCableServer.java:76)
-- Tile entity being ticked --
Details:
Name: PeripheralCable // xfel.mods.cccable.common.blocks.TileCableServer
Block type: ID #0
Block data value: Unknown? (Got -1)
Block location: World: (-266,4,-1189), Chunk: (at 6,0,11 in -17,-75; contains blocks -272,0,-1200 to -257,255,-1185), Region: (-1,-3; contains chunks -32,-96 to -1,-65, blocks -512,0,-1536 to -1,255,-1025)
Stacktrace:
at yc.h(World.java:2155)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: New World
All players: 0 total; []
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: -2467386767151028590
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options: 2;7,2x3,1;1;
Level spawn location: World: (-207,4,-1147), Chunk: (at 1,0,5 in -13,-72; contains blocks -208,0,-1152 to -193,255,-1137), Region: (-1,-3; contains chunks -32,-96 to -1,-65, blocks -512,0,-1536 to -1,255,-1025)
Level time: 1907263 game time, 2297553 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 14350 (now: false), thunder time: 110438 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:679)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:598)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_13, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2231167096 bytes (2127 MB) / 3181838336 bytes (3034 MB) up to 3181838336 bytes (3034 MB)
JVM Flags: 3 total; -Xbootclasspath/a:F:\\mysql-connector-java-5.1.22-bin.jar -Xms3072m -Xmx3072m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.25 FML v4.6.17.515 Minecraft Forge 6.5.0.489 36 mods loaded, 36 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RPTweaks [RedPower Tweaks] (rptweaks.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ComputerCraft [ComputerCraft] (ComputerCraft1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CCTurtle [ComputerCraft Turtles] (ComputerCraft1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerCore [RedPower] (RedPowerCore-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerBase [RP Base] (RedPowerCore-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerWiring [RP Wiring] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ASTU [Aperture Science Turtle Upgrades] (ASTU.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Core [BuildCraft] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Builders [BC Builders] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Energy [BC Energy] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Factory [BC Factory] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Transport [BC Transport] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
BuildCraft|Silicon [BC Silicon] (buildcraft-A-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_CameraStudio [mod_CameraStudio] (CameraStudioV2.6(1.4.6-1.4.7).zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CCCable [ComputerCraft Peripheral Cables] (cccable-1.4.1-universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ccDB [ccDB - Database peripheral for ComputerCraft] (ccDB_2.0 beta_mc1.4.6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CCLights [CCLights] (CCLights1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
NBTEdit [In-game NBTEdit] (Forge_NBTEditv1.4.6.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ImmibisCore [Immibis Core] (immibis-core-52.3.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ImmibisPeripherals [Immibis's Peripherals] (immibis-peripherals-52.0.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IC2 [IndustrialCraft 2] (industrialcraft-2_1.112.170-lf.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.6-4.5.1.199 (1).zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
OCS [OpenCCSensors] (OpenCCSensors-0.1.3-r1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Railcraft [Railcraft] (Railcraft_1.4.6-6.12.2.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerMachine [RP Machine] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerCompat [RP Compat] (RedPowerCompat-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerLogic [RP Logic] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerLighting [RP Lighting] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerWorld [RP World] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
RedPowerControl [RP Control] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_turtleNBTEditor [Turtle NBT Editor] (xuma.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at espen.ccdb.LuaAPILoader.mountLuaAPI(LuaAPILoader.java:82)
at espen.ccdb.TileEntityDBConnector.attachActions(TileEntityDBConnector.java:201)
at espen.ccdb.TileEntityDBConnector.attach(TileEntityDBConnector.java:234)
at xfel.mods.cccable.common.blocks.TileCableServer.doAttachPeripheral(TileCableServer.java:203)
at xfel.mods.cccable.common.blocks.TileCableServer.updateConnections(TileCableServer.java:156)
at xfel.mods.cccable.common.blocks.TileCableServer.g(TileCableServer.java:76)
at yc.h(World.java:2155)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:679)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:598)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 45bbfd03 ----------
#85802 [MC 1.6.4] CCLights2 v0.4.1
Posted by xuma202 on 10 February 2013 - 03:38 AM in Peripherals and Turtle Upgrades
ds84182, on 07 February 2013 - 02:00 PM, said:
CoolisTheName007, on 07 February 2013 - 08:02 AM, said:
Feature-request:
what I talk about here: basically many drawPixel calls in one call using Lua varargs since tables can't be passed around.
Textures are an improvement, though.
My proposed function name would probably be drawPixelBatch(x,y,(r,g, <- repeated hundreds of times.)
I have tried this for my mod but I had a multidimensional array and therefore wrote my own onpack() which called itself recursively. It worked but once I ran into trouble because lua was not able to handle my function as a function. So I guess there is a limit with parameters.
2nd:
Can you please allow placing the Light Grids facing upwards/downwards?
People have asked for this with CC Monitors many times. And it would enable creating a DISCO or holodeck thingy.
#85595 [HOW TO] How to call a peripheral method with a list
Posted by xuma202 on 09 February 2013 - 01:48 PM in Peripheral Help and Discussion
here I want to tell you about a concept I came up with about how to send a list from lua to Java.
As you know you can't call a peripherals function with a list as a parameter.
But for my peripheral http://www.computerc...-nbt-editor-10/ I wanted to do this.
I've tried many ways but none did really work well.
The concept I ended up which was working and an ok solution was this:
I used a JSON library for lua http://regex.info/blog/lua/json and an api function turned my table into a JSON string.
Because sending this String to Java didn't work for some reason. I had to make my api saving it into a file. Next I called the peripherals function with the filename. In java I opened the file and parsed it using this JSON parser http://wiki.fasterxm...JacksonDownload into a HashMap. Back in lua I deleted the temporary file.
That's it.
So hope this helps you if you have to pass a multidimensional array to a peripheral.
#85573 [Question] Monitor [SOLVED]
Posted by xuma202 on 09 February 2013 - 01:03 PM in Ask a Pro
call monitor.setTextScale(1)
to set the monitors TextScale to 1 you can use anything from 0.5 to 5
#85523 [1.32] CCGPU - A GPU addon for ComputerCraft
Posted by xuma202 on 09 February 2013 - 10:50 AM in Peripherals and Turtle Upgrades
I don't know if he or someone else will do another one but because of the heavy changes in MC since then it would probably make more sense recoding the whole project.
#85424 Turtle NBT editor Peripheral [Suggestion][WIP]
Posted by xuma202 on 09 February 2013 - 06:27 AM in Suggestions
#85419 [CC 1.481][MC 1.4.7] Turtle NBT Editor 1.1
Posted by xuma202 on 09 February 2013 - 06:18 AM in Peripherals and Turtle Upgrades
This peripheral allows you to edit and read the NBT Data of TileEntitys.
Because I had no of how to make texture looking there currently is no texture. But I'm open for suggestions.
How to use:
Craft a NBT Editor Turtle with a Bottle o' Enchanting
Place down the Turtle.
You can now use
- nbtEditor.getNBTData()
- nbtEditor.getNBTDataUp()
- nbtEditor.getNBTDataDown()
Example of a table retured by nbtEditor.getNBTData() (in JSON format):
http://pastebin.com/4a65FGC5
You can now modify this table. (Delete tags, edit tags or add tags)
When you're done you can write the table to a Tile Entity's NBT Data.
- nbtEditor.setNBTData(table)
- nbtEditor.setNBTDataUp(table)
- nbtEditor.setNBTDataDown(table)
Screenshots:
Warning:
YOU CAN BREAK YOUR MINECRAFT WORLD WHIT THIS!
I AM NOT RESPONSIBLE FOR ANY DAMAGES. USE THIS AT YOUR OWN RISK.
YOU CAN USE THIS ON THIS ON MULTIPLAYER SERVER.
HOWEVER, IT IS NOT RECOMMENDED USING THIS MOD ON A PUBLIC SERVER.
Note:
- Sometimes you modification won't show an effect and the NBT Data will be automatically restored. This is out of my influence and caused by the Tile Entity itself.
Turtle NBT Editor v 1.1
How to install:
Unzip the mod into your mods directory.
The zip contains the jackson-all-1.9.11.jar and a slightly modified version of http://regex.info/blog/lua/json
#85370 Turtle NBT editor Peripheral [Suggestion][WIP]
Posted by xuma202 on 09 February 2013 - 03:05 AM in Suggestions
I've tried different stuff some of which I didn't liked from the beginning on. I tried a JSON String but it didn't work for some reason. What I ended up with is not the prettiest and best solution but it works and is an ok compromise.
How it works (may be interesting for other modders as well:
I use a lua JSON api to convert my table into a JSON string. (http://regex.info/blog/lua/json)
Next I save the table to a file and call my peripheral function with the name of that file.
In Java I load the file and convert it to a HashMap (http://wiki.fasterxm...onInFiveMinutes)
String p = ModLoader.getMinecraftInstance().getMinecraftDir() + "\\saves\\" + myTurtle.getWorld().getWorldInfo().getWorldName() + "\\computer\\" + (String) arguments[0]; File f = new File(p); Map m1 = new ObjectMapper().readValue(f, HashMap.class);
Now I recursively turn this HashMap into an NBTTag which I then write to the TileEntity.
In lua I now delete the temporary file.
For the non-developers:
You can now simply manipulate the table and call a function from the api
Now I'll quickly write an api and make a separate thread in the peripheral section.
#85232 http api post
Posted by xuma202 on 08 February 2013 - 02:59 PM in Ask a Pro
PixelToast, on 08 February 2013 - 02:49 PM, said:
http://www.computerc.../HTTP_%28API%29
To debug POST requests you can use Postman for Google Chrome. (https://chrome.googl...chrome-ntp-icon)
However sometimes you're forced to use POST parameters.
Back to topic:
Use this function http://computercraft.../wiki/Http.post and layout the content of the postdata like so: "key=value&key2=value2" ...
#85231 How to Make a Computer print to a monitor
Posted by xuma202 on 08 February 2013 - 02:54 PM in Ask a Pro
monitor = peripheral.wrap("top")
assuming the monitor is placed above the computer. You can use left,right back,front and bottom instead too.
now call monitor.write("Hello")
to find out about the other methods read this:
http://computercraft...heral_Functions
- ComputerCraft | Programmable Computers for Minecraft
- → xuma202's Content