[IC2 Exp][1.7.10] IHL Tools & Machines


  • By the way, after a bit of testing i couldnt tell exactly what makes the sack produce sap faster/slower. So, can you tell me what makes it produce more or less?


    Its pretty simple - script count brightness level of leaves in square 5x5 from sack position to +12 blocks. Script does not bother - if light source is artificial, or it is sunlight.
    More leaves in that range - more rubber tree sap. More light level - more rubber tree sap.
    About missing "R":

    Code
    fluidRubberTreeSap = (new Fluid("fluidrubbertreesap"))


    It seems, that Gregs code somehow transform liquid name from registry. Probably it cut 6 first letters (expecting fluid.rubbertreesap or something).

  • I call Fluid.getLocalizedName() to get the Name. If your implementation of that Function is broken by not having a Localized Name assigned to it, then it is your Problem.


    I have not make a new class for that fluid. All, what have been written is:

    Code
    fluidRubberTreeSap = (new Fluid("fluidrubbertreesap")).setDensity(1200).setUnlocalizedName("fluidrubbertreesap");


    But it seems, i have to do so now:


    Greg, i'm reading that:

    Quote

    If your implementation of that Function is broken by not having a Localized Name assigned to it, then it is your Problem.

    and imagine you clenching your teeth in anger. You may just write "I call Fluid.getLocalizedName() to get the Name.". I'm not accuse you in anything. I never do so, except a moments, when i died from hot tubes on kirara. But only for a short moment. ^^ Anyway, your comment is helpful to make this addon more compatable with GregTech, so thank you.

  • You havent done it properly. Do you know the output of "getUnlocalizedName()"? It is "fluid." + FluidName. Guess why your Translation didn't work. No need for a new Fluid Class. Also every unlocalized Name must have at least 1 Dot in order to sort them properly by category (in this case "fluid." for Fluids or "tile." for Blocks or "item." for Items).

  • You havent done it properly. Do you know the output of "getUnlocalizedName()"? It is "fluid." + FluidName. Guess why your Translation didn't work. No need for a new Fluid Class. Also every unlocalized Name must have at least 1 Dot in order to sort them properly by category (in this case "fluid." for Fluids or "tile." for Blocks or "item." for Items).


    I doesn't known that. :S Time to rewrite code again.

  • It's the whole point of having a such a rich addon range, so that things that currently aren't in IC2 can still be there in your game via addons :)

    145 Mods isn't too many. 9 types of copper and 8 types of tin aren't too many. 3 types of coffee though?

    I know that you believe that you understood what you think I said, but I am not sure you realise that what you read was not what I meant.

    ---- Minecraft Crash Report ----
    // I just don't know what went wrong :(

    I see this too much.

  • Hello, i have this kind of crash with 0.502a-1.7.2 when trying to use rubber bag + evaporator. Any way to fix?

    Display Spoiler

    ---- Minecraft Crash Report ----
    // This doesn't make any sense!

    Time: 24.08.14 11:16
    Description: Ticking block entity

    java.lang.NullPointerException: Ticking block entity
    at ihl.crop_harvestors.ElectricEvaporatorTileEntity.canFill(ElectricEvaporatorTileEntity.java:423)
    at ihl.crop_harvestors.SackTileEntity.func_145845_h(SackTileEntity.java:159)
    at net.minecraft.world.World.func_72939_s(World.java:1888)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:500)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:621)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:670)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
    at ihl.crop_harvestors.ElectricEvaporatorTileEntity.canFill(ElectricEvaporatorTileEntity.java:423)
    at ihl.crop_harvestors.SackTileEntity.func_145845_h(SackTileEntity.java:159)

    -- Block entity being ticked --
    Details:
    Name: sackTileEntity // ihl.crop_harvestors.SackTileEntity
    Block type: ID #223 (tile.sackBlock // ihl.crop_harvestors.SackBlock)
    Block data value: 0 / 0x0 / 0b0000
    Block location: World: (133,81,345), Chunk: (at 5,5,9 in 8,21; contains blocks 128,0,336 to 143,255,351), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Actual block type: ID #223 (tile.sackBlock // ihl.crop_harvestors.SackBlock)
    Actual block data value: 0 / 0x0 / 0b0000
    Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1888)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:500)

    -- Affected level --
    Details:
    Level name: Test
    All players: 1 total; [EntityPlayerMP['cosmodruid'/86, l='Test', x=136,12, y=79,00, z=346,70]]
    Chunk stats: ServerChunkCache: 768 Drop: 0
    Level seed: 7674477519680479376
    Level generator: ID 00 - default, ver 1. Features enabled: true
    Level generator options:
    Level spawn location: World: (164,64,216), Chunk: (at 4,4,8 in 10,13; contains blocks 160,0,208 to 175,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 8884 game time, 8884 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 115931 (now: false), thunder time: 130647 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
    Stacktrace:
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:621)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:670)

    -- System Details --
    Details:
    Minecraft Version: 1.7.2
    Operating System: Mac OS X (x86_64) version 10.9.4
    Java Version: 1.6.0_65, Apple Inc.
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
    Memory: 290085680 bytes (276 MB) / 936275968 bytes (892 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    AABB Pool Size: 1905 (106680 bytes; 0 MB) allocated, 1370 (76720 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP v9.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 Optifine OptiFine_1.7.2_HD_D3 17 mods loaded, 17 mods active
    mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    AppliedEnergistics2-Core{rv0-stable-9} [AppliedEnergistics2 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CodeChickenCore{1.0.2.12} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NotEnoughItems{1.0.2.34} [Not Enough Items] (NotEnoughItems-1.7.2-1.0.2.34-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Backpack{2.0.0} [Backpack] (backpack-2.0.0-1.7.x.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    IC2{2.1.484-experimental} [IndustrialCraft 2] (industrialcraft-2-2.1.484-experimental.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    IC2NuclearControl{1.7.2.05} [Nuclear Control] (ic2nc-1.7.2-1.7.2.05.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ihl{0.502} [IHL Tools & Machines for IC2V2] (ihl-tools_n_machines-0.502a-1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    TwilightForest{2.2.3} [The Twilight Forest] (twilightforest-1.7.2-2.2.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    appliedenergistics2{rv0-stable-9} [Applied Energistics 2] (appliedenergistics2-rv0-stable-9.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    thebombzenapi{2.4.1} [ThebombzenAPI] (ThebombzenAPI-v2.4.1-mc1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    enchantview{4.0.3} [EnchantView] (EnchantView-v4.0.3-mc1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    gregtech{MC172} [GregTech] (gregtech-1.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    inventorytweaks{1.58-147-645ca10} [Inventory Tweaks] (InventoryTweaks-1.58-147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    simplefluidtanks{1.7.2-1.1.1.4} [Simple Fluid Tanks] (simplefluidtanks-1.7.2-1.1.1.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    AE2 Version: stable rv0-stable-9 for Forge 10.12.1.1060
    AE2 Integration: RotaryCraft:OFF, IC2:ON, RC:OFF, BC:OFF, MJ5:OFF, MJ6:OFF, RF:OFF, RFItem:OFF, MFR:OFF, DSU:OFF, FZ:OFF, Waila:OFF, CLApi:OFF, RB:OFF, InvTweaks:ON, NEI:ON, CraftGuide:OFF, FMP:OFF
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 3482 (194992 bytes; 0 MB) allocated, 1506 (84336 bytes; 0 MB) used
    Player Count: 1 / 8; [EntityPlayerMP['cosmodruid'/86, l='Test', x=136,12, y=79,00, z=346,70]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'

  • cosmodruid, of course. Thank you for bugreport.
    Here is a new version 0.503 (i mean, attached at first page). Also fixed upgrade slots in 1.7.2, infinite powerless work bug at blower, rewrited an about 30% of collectors code. But still i don't recommend to use collectors. Sometimes they acting really strange. Fixed GregTech recipe for rubber tree sap. And, of course, fixed that bug you reported.

  • cosmodruid, of course. Thank you for bugreport.
    Here is a new version 0.503 (i mean, attached at first page). Also fixed upgrade slots in 1.7.2, infinite powerless work bug at blower, rewrited an about 30% of collectors code. But still i don't recommend to use collectors. Sometimes they acting really strange. Fixed GregTech recipe for rubber tree sap. And, of course, fixed that bug you reported.

    Thanks for your help!

  • Yes, It does work correct now. Also adding possibility to input ruber tree sap to evaporator with gregtech fluid pipes might be a good idea. All the more sack already supports export of sap to pipes.
    P.S. You can't craft electric evaporator in this version.

  • Also adding possibility to input ruber tree sap to evaporator with gregtech fluid pipes might be a good idea.


    You mean, there is no such possibility now?

    All the more sack already supports export of sap to pipes.
    P.S. You can't craft electric evaporator in this version.


    This is intended and only if addon used with GT. Use GT cenrifuge instead.