Posts by RawCode

    i decided to write small mod that will add any recipe you like as UUM scannable, there is source code, you can compile it yourself or ask someone (including me).



    it require config file to be created at proper dir manually.


    syntax for config file is:


    ITEMORBLOCKID#UUM COST#EUCOST

    8 colors with semicomplex connection rules a lot better then covers and other stuff, they easy as hell and provide same overall functionality.


    SpwnX
    there is no limits on storing data inside NBT tags on items, but ANY difference in such data makes item UNSTACK, anyone who use something like this for wirework will end with full inventory of "different" cables that does not stack.


    in case of 8 colors you will have cable and 8 painters on your hotbat (total 9 slots) and nothing will take additional ones.


    in my ruleset, link cabled does not connect to machines, you just place your power line, if you want to skip machine, you just place link cable at ajucent location (red powerline, yellow cable and machine skipped), if you want to skip multiple machines in row - select other route, if some actual reasons for this, white cable is placeholder actually, it can be set to not connect to machines and not connect to main colors but connect to any link color, i will post demomod and updated rules as soon as got some time for mod development.


    when you place cables - they all black, soo they does not connect to each other, other cables or machines, as long as you not appoved you decicion to place cable here, by switching slot to proper painter you wont burn anything

    1) First of all, tech limits, as you may know, there is no valid viable way to stack items with different ID's or meta or NBT tags, this is main reason why cables that keep color is bad.
    2) Human limits, believe me, you dont want ability to color your cables inside full 32 bit spectrum, only 8 colors shoud remain;


    4 colors that connect to themself and 4 color that only connect to other colors:


    operator section:
    A) White - it connect to red, blue, green and white, default color for machines.
    B) Black - does not connect to anything, default color for wires.


    main section:
    C) RED - connect to red, yellow and magneta, and white.
    D) GREEN - connect to green, yellow and cyan, and white.
    E) BLUE - connect to blue, cyan and magneta, and white.


    link section:
    X) YELLOW - connect to red or green
    Y) CYAN - connect to green and blue
    Z) MAGNETA - connect to blue and red


    This is EVERYTHING you need for ultimate wiring.


    i can explain how to wire ANY situation with describes set of wires\rules, it does not matter how many colors you want, block have only 8 sides

    sorry, but actual lines that effect generation cost located inside attemptGeneration() method and embedded (inlined) into code and cannot be changed without ASM, UNSAFE or recompilation, that line indicate capacity of emachine instance.


    also you can try http://set.ee/jbe/ or something similar to edit class directly, also you shoud ignore unnamed fields and methods they are OK.


    most effective method to hack such changes is:


    extend tilematter, override attemptGeneration() (you dont need full decompilation\recompilation for this)
    override classreference of initial tilematter with your custom one, this may require reflection and in some cases ASM or UNSAFE
    this will work as forgemod and wont change initial JAR.

    there is no packets possible in system with realistic energyflow, optimization of such system done relatively easy:


    each energy source and energy sink linked via network and linkage information stored inside hashtable, link is permanent, cable always have "flow" inside, ever both sink and source stay inactive, power does not flow over cables, it just teleport from source to destination with losses based on link total resistance.


    lowtech devices shoud provide constant voltage.


    hightech devices shoud provide variable power, if voltage loss over link is 20% and max destination voltage 100, hightech source shoud send 122 volts, to minimize loss, energy sent in constant flow without packets, all losses percent based.

    jad+eclipce, just recomile it with different stats, or a bit more advanced method - hack it directly with hex editor, or ever more advanced method - compile your own mod, that will use ASM library and alter that value at codeloading stage.


    last one is "legit" way to alter other's mods.