[Question] Is it enough to mod on server side?

  • Hiyo! Soon starting up a server, and wanted to change a little in the
    mechanics of some IC items, just for that server. Specifically, I'd like to
    alter the water mill to count running water blocks rather than all
    water blocks, and to limit how many waterblocks/how much power you could
    get from it. I think I can figure out how to do the modding in
    question, but I wonder two things:




    1. Will such a change require clients to have a modded version as well,
    or will calculations like that reside with the server? (Since no block
    id's and such are changed I figured it might be possible)


    2: Am I allowed to do that on a server other people can access, or have the creators of IC forbidden modifications?




    If this thread is against the forum rules (didn't seem so but might be an unwritten one), please lock it.


    Thanks for any help

    • Official Post

    1. Will such a change require clients to have a modded version as well,
    or will calculations like that reside with the server? (Since no block
    id's and such are changed I figured it might be possible)

    I think only Serverside.

    2: Am I allowed to do that on a server other people can access, or have the creators of IC forbidden modifications?

    Not directly forbidden. You just cant decompile/recompile IC² correctly without hacking the Sourcecode.



    The change itself for the flowing Water is easy, but Limiting EU/t even more is not recommended (roundingerrors making it 0)


    public void updateWaterCount() {
    ...
    if (this.worldObj.getBlockId(var2, var3, var4) == Block.waterMoving.blockID || this.worldObj.getBlockId(var2, var3, var4) == Block.waterStill.blockID)
    ...
    }

  • Thanks for answering! Yeah, the change to only flowing water is easy, it's the other bit I find a bit tricky ;) Well now, I wasn't JUST going to limit the max - water mills are far too weak as they are. My plan is to increase the power gain from each block to 0.03 instead of 0.4 and maxing it out to 10 blocks - so max power goes from .25 to .4, and you can pack them a bit closer. So they're a little more efficient than solar panels, but require much more setup and space. That's the idea anyways. It's for a medium-tech steampunkish server where geothermals will be nerfed and nuclear and solars both banned, so I figured I'd give water mills a little boost.


    I'm having issues though, as I don't really know how to program... Or rather, the decompilation/recompilation part. I'm not bad at learning languages, just bad at getting my computer to do what I want. Trying to get a working decompiler/recompiler yesterday resulted in having to format the disc because Java just crapped itself and couldn't be reinstalled... Oh well. I'll just post the idea in the suggestions area and hope someone wants to do it as an addon or something, that I could download.