[CC1.53][MC1.5.2] MiscPeripherals 3.3
#461
Posted 19 January 2013 - 03:30 AM
Are there any plans to make it possible to interact with the Sortron(RP2) using one of your amazing peripherals?
I know Eloraam generally doesn't like it when people do stuff with/to Redpower, but i still feel i need to ask this...
There are a lot of people who have a hard time understanding Forth, but have no problems using lua. (myself partly included, the stack based, Assembler like way Forth is coded is very alien to me)
Don't get me wrong, i love the work Eloraam does, but for a very high percentage of the Minecraft users lua is probably far easier to understand and use than Forth is.
#462
Posted 19 January 2013 - 04:11 AM
[19:01] <@Elo|coding> no. i won't allow CC/redbus.
[10:08] <Elo|eh> but i don't want it talking to redbus [10:08] <Elo|eh> keep running into people who would use any API i release to, say, connect the sortron to CC ;)/>
Can the influx of requests stop now?
#463
Posted 19 January 2013 - 05:37 AM
Mostly it just stopped after 70-200 blocks, but one time it continued very long (I stopped it at over 6000 blocks, the chunks werent generated before).
Is that a bug? How shoud it be? If the chunks shouldn't be generated, maybe a function like detectExisting() or so would be nice to detect if the world before the turtle is already generated.
Also: Does the turtle automatically boot if the server/client restarts and the turtle is in an unloaded chunk?
Edit: I'm playing on Feed The Best with the latest MindCrack pack
#464
Posted 19 January 2013 - 08:05 AM
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 1/18/13 12:01 AM
Description: Failed to start game
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: basiccomponents/BasicComponents
at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:661)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
at net.minecraft.client.Minecraft.a(Minecraft.java:456)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: basiccomponents/BasicComponents
at miscperipherals.proxy.ProxyUniversalElectricity.<init>(ProxyUniversalElectricity.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at cpw.mods.fml.common.event.FMLPostInitializationEvent.buildSoftDependProxy(FMLPostInitializationEvent.java:28)
at miscperipherals.core.MiscPeripherals.onLoaded(MiscPeripherals.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:660)
... 5 more
Caused by: java.lang.ClassNotFoundException: basiccomponents.BasicComponents
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 39 more
Caused by: java.lang.NullPointerException
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.6.0_31, Sun Microsystems Inc.
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
Memory: 504404168 bytes (481 MB) / 676659200 bytes (645 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
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.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 Optifine OptiFine_1.4.6_HD_U_B4 36 mods loaded, 36 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
mod_InvTweaks [Inventory Tweaks] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
mod_AdvancedHud [mod_AdvancedHud] (Advanced Hud 4.8.1 [1.4.6].zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
BasicComponents [Basic Components] (BasicComponents_v1.2.3.331.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
AssemblyLine [Assembly Line] (AssemblyLine_v0.2.3.57.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
AtomicScience [Atomic Science] (AtomicScience_v0.3.3.130.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
BlastCraft [BlastCraft] (BlastCraft_v0.6.1.23.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
ComputerCraft [ComputerCraft] (ComputerCraft1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
CCTurtle [ComputerCraft Turtles] (ComputerCraft1.481.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
ElectricExpansion [Electric Expansion] (ElectricExpansion_v1.3.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Liquid Mechanics [Liquid Mechanics] (Fluid-Mechanics_v0.2.5.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
ICBM [ICBM] (ICBM_v1.0.2.126.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
IronChest [Iron Chest] (ironchest-universal-1.4.7-4.5.4.217.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
mmmPowersuits [MachineMuse Modular Powersuits] (MachineMuseModularPowerSuits-v0.1.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Mekanism [Mekanism] (Mekanism-v5.0.11.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
MekanismGenerators [MekanismGenerators] (MekanismGenerators-v5.0.11.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
MekanismTools [MekanismTools] (MekanismTools-v5.0.11.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
MiscPeripherals [MiscPeripherals] (miscperipherals-2.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Errored
ObsidiPlates [Obsidian Pressure Plates] (obsidiplates-universal-1.2.0.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Railcraft [Railcraft] (Railcraft_1.4.6-6.14.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerCore [RedPower] (RedPowerCore-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerBase [RP Base] (RedPowerCore-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerMachine [RP Machine] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerCompat [RP Compat] (RedPowerCompat-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerWiring [RP Wiring] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerLogic [RP Logic] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerLighting [RP Lighting] (RedPowerDigital-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerWorld [RP World] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
RedPowerControl [RP Control] (RedPowerMechanical-2.0pr6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
WR-CBE|Core [WR-CBE Core] (WR-CBE Core 1.3.2.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
WR-CBE|Addons [WR-CBE Addons] (WR-CBE Addons 1.3.2.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
WR-CBE|RedPower [WR-CBE RedPower] (WR-CBE RedPower 1.3.2.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
LWJGL: 2.4.2
OpenGL: ATI Mobility Radeon HD 4250 GL version 3.2.9751 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
#465
#466
Posted 19 January 2013 - 08:58 AM
How does the pullevent command work?
#467
Posted 19 January 2013 - 10:34 AM
#468
#469
Posted 19 January 2013 - 03:36 PM
I've copied direwolf's exact code found here: http://www.youtube.c...qrcyh_Y#t=1413s
m = peripheral.wrap("front")
data = m.get()
for i, j in pairs(data) do
print(tostring(i)..": "..tostring(j))
end
and I'm getting test:2: attempt to index ? (a nil value)Did I screw something up in the code, or any idea what happened?
**Nevermind! I had a energycell where my gate reader should be. Man do those look alike. ^^;
Edited by Kittychanley, 19 January 2013 - 03:42 PM.
#470
Posted 19 January 2013 - 04:09 PM
RichardG867, on 19 January 2013 - 10:42 AM, said:
Great idea thanks for taking the time to look through these.
Pre-logout:
Here I logged in, took a regular turtle (was previously a rether turtle) and combined it with a cheated in rether module to create a rether turtle, placed it in the world and logged out.
Post-Logout:
Here I logged back in and opened the interface on the now non-rether turtle.
Attached Files
#471
Posted 19 January 2013 - 05:32 PM
Komoden, on 19 January 2013 - 03:30 AM, said:
FORTH is a massive pain in the buttocks- I'd bet the only reason Elo chose it was because it's fast and was easy to port to the 65el02. I think it seriously de-values the awesomeness of Redpower Control, having it as the only built-in means of operating the computer.
Try Redpower BASIC (easily found with a quick Google search). It's leauges easier to use, and is much more like an actual operating system than an esoteric embedded system controller- indeed, it's a direct port of the operating system (Stickler's note: I'm not sure if MS-BASIC fits the actual definition of the term 'operating system', but I can't think of a better one) that was on more or less every home computer in the 80s. Eventualy I might actually get around to writing an actual operating system (that is, a program that allows the user to store, move, and execute programs and data) after I get my current backlog of projects done. Or maybe before, since writing this post has gotten me a little psyched up for it...
#472
Posted 19 January 2013 - 10:55 PM
Haven't read through the whole thread so excuse me if this has already been reported but I'm experiencing a bug with your inventory module.
Setup : chest with empty buckets, turtle with inventory module next to it.
If I do a .suck(x), to suck an unspecified number of buckets from slot x in the chest (there is only 1 empty bucket in each slot), it puts a full stack of empty buckets in the turtle, in other words it creates an additional 15 buckets. This seems to also happen with other items. I just tried it with an egg and it did the same thing. Pulled out 1 egg (since there was only one in there) but placed 16 in the turtle, and same when pulling 2 sand; it put 64 in the turtle.
I'm running the DW20 FTB pack v4 atm, but it seems that with this bug your awesome module (which really imho should be part of the basic CC api) is unusable in most cases, as it will create massive dupe problems in any situation where you can't know the exact size of the stack you're pulling.
#473
Posted 20 January 2013 - 02:45 AM
2013-01-18 21:56:03 [SEVERE] [ForgeModLoader] A TileEntity turtleex(dan200.turtle.shared.RedPowerTileEntityTurtleExpanded) has thrown an exception during loading, its state cannot be restored. Report this to the mod author java.lang.NullPointerException at dan200.turtle.shared.TileEntityTurtle.getRealSelf(TileEntityTurtle.java:2982) at dan200.turtle.shared.TileEntityTurtle.getWorld(TileEntityTurtle.java:336) at miscperipherals.peripheral.PeripheralWirelessRedstone.<init>(PeripheralWirelessRedstone.java:34) at miscperipherals.upgrade.UpgradeWirelessRedstone.createPeripheral(UpgradeWirelessRedstone.java:51) at dan200.turtle.shared.TileEntityTurtle.updatePeripheralUpgrades(TileEntityTurtle.java:881) at dan200.turtle.shared.TileEntityTurtle.a(TileEntityTurtle.java:1119) at any.c(TileEntity.java:150) at aam.a(AnvilChunkLoader.java:418) at aam.a(AnvilChunkLoader.java:103) at aam.a(AnvilChunkLoader.java:83) at im.f(ChunkProviderServer.java:182) at im.c(ChunkProviderServer.java:118) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:310) at bdz.a(IntegratedServer.java:84) at bdz.c(IntegratedServer.java:100) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458) at fy.run(SourceFile:849)
That's what I was looking for, thanks!
#474
Posted 20 January 2013 - 09:06 AM
Eisfreak7, on 19 January 2013 - 05:37 AM, said:
Mostly it just stopped after 70-200 blocks, but one time it continued very long (I stopped it at over 6000 blocks, the chunks werent generated before).
Is that a bug? How shoud it be? If the chunks shouldn't be generated, maybe a function like detectExisting() or so would be nice to detect if the world before the turtle is already generated.
Also: Does the turtle automatically boot if the server/client restarts and the turtle is in an unloaded chunk?
Edit: I'm playing on Feed The Best with the latest MindCrack pack
Sorry that i push my own question, but I'm writing a strip miner and I'm really interested in it. It's kinda hard to test that things because when you want to go to the turtle, the chunks generate so you cant see the error happening.
#475
Posted 20 January 2013 - 09:59 AM
(I'm wrapping the peripheral correctly and calling methods on that object) Is this just broken?
(And inventory turtles are enabled in the config)
One odd thing is that if I then do turtle.suck() after trying the peripheral.suck(), it returns true but adds no item to the turtle (and the item disappears from the chest)
Only the first time though, after the first broken suck it'll go back to false. and it doesn't seem to affect stacks, only single items.
#476
Posted 21 January 2013 - 01:35 AM
Secondly there might be an issue with steve's carts (rev 44)
Error message on client side
#477
Posted 21 January 2013 - 02:22 AM
#478
Posted 21 January 2013 - 09:55 AM
#479
Posted 21 January 2013 - 07:55 PM
Did you change the recipe for the Chunk Loader Module in 3.0b6?
It requires a Disk Drive and a World Anchor now instead of a Wireless Modem and a World Anchor.
It's not possible to craft a Wireless Chunk Loader Mining Turtle...
#480
Posted 21 January 2013 - 10:03 PM
I just noticed the shearing turtle can only use the turtle.attack() command - which means i can only shear sheep right in front of it.
Is there any chance you could also make this work with the turtle.attackDown() and turtle.attackUp() command?
I'd reduce the amount of movements needed to make a working sheep farm
Thanks!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









