Posts by xbony2

    Closed as in Closed Sourced. I know everybody's opened IC2 in JD-GUI before, but it's probably best not to post IC2 code unless you really have to. It's probably better to PM Player if you want to suggest a change to IC2.

    Probably not the best idea to do that in 1.6.4, there's a low enough amount of mods that add crops to go ahead and set a permeant ID. Making it configurable is also wise.

    I checked the code and i am totally confuesed. I think it is a NuclearControll bug... But not a coding bug that is a logical error...
    xBony2 what did you do there? O.o
    Normally i can read code really easiely. You almost write Like Elorram code... That confuses me...


    First why do you calculate at the averageCounter the energy flow and then add the energy?
    Also you do not need to calculate it every tick. Ok the Energy Income needed to calculate every tick but the displayed Measurement can be about every second that makes less packet sync and spam... However i think that is your bug.. Not IC2..


    And the RF Thing is properly a TE3 or the mod you use to send energy to the thing thing...

    Hey, that's how I feel in my codebase too! :D


    It is a bug from NC2, I am certain. And yep, the Average Counter can count RF.

    That list is kinda usefull^^"
    Thanks.

    Thanks :P it's not entirely updated for 1.6.4, so IC2 really uses 0-23 and GT uses 124-149, and the other mods don't exist. But the Mushroom CropCard addon that MistrX made uses 99 - 100.

    I have a question now to the Currently Working coder on this mod. I enjoy this mod so much that i planned to implement the blocks & guis & textures into the IC2 Classic mod.
    But for that i need the permission of the Code which is working on that mod currently. It will be not 100% his code but i use it as template.


    Do i need the permission for that?
    And if yes can i have the permission for that?

    You don't have permission, and I don't have permission either according to the license :P


    "Public distribution of modified versions of the mod require advance written permission of the owner and may be subject to certain terms."



    When I tweeted at the mod authors and stated I ported it, they didn't seem angry though.


    I think it would be fine if you did it, but it would be nice if you fixed the issues with my port that Chocohead described, so both versions could be stable. I would, but I'm lazy and have been working on other addons/mods.

    Well... I have to have something to complain about :P also there's a few things that should be javadocs but are instead just multi-line comments. And IKineticWindRotor doesn't have any javadocs.


    <!-- insert other comments here -->

    The IC2 API seems to be against it:


    Quote

    Auto-assign an ID to a plant and register it. Usage of this method is not recommended! Other plants could take your IDs and cause your plants to turn into other plants.

    (method Crops.instance.registerCrop(CropCard crop))

    Notice: newer version of IC2 don't use Crop IDs anymore. This list is kind of useless :P
    This is a small list of known addons/mods that use up crop IDs, and what they use.


    IC2 currently uses 0-23, but I'd avoid 0-39 for future expansion.
    IC2 Classic (Immibis) currently uses 0-21 (conflicting with IC2). There's probably not a need to worry about expansion.
    SkyTech Crops currently uses 40-59, but I'd avoid 40-80 for future expansion.
    GregTech currently uses 124-142 and 145-149, but I'd avoid 124-199 for future expansion (gap is because the red and brown mushroom were moved to IC2).
    IndustrialEx currently uses just 200, but I'm reserving 200-350 (I has big planz :3).


    Please alert me if I missed an addon (or another mod), or if you're working on a mod/addon, or if anything is incorrect. If you're working on a "secret project" you can PM (I totally will not tell anyone, unless they pay me big bucks :P)