[INACTIVE][MECH] ClassicFluids v3.1 - Make fluids behave like Minecraft Classic [740]

Discussion in 'Inactive/Unsupported Plugins' started by mindless728, Jan 18, 2011.

  1. Offline

    mindless728

    Inactive, will be posting ClassicFluids using my new fluid system FluidFlow, it will be a few days
     
    Loomis and SAMDAN like this.
  2. Offline

    Teem85

    please add a feature that water above the standard waterline behaves like normal smp water to prevent that my whole world will be flooded
     
  3. Offline

    mindless728

    will do, added to the to do list
     
    SAMDAN likes this.
  4. Offline

    Nodren

    looks great! how come you have separate options for classic/smp water if neither can be on or off at the same time?
     
  5. Offline

    mindless728

    so that way you can shut off either (ie no fluids flow at all)

    i also plan when i do the max height that the SMPFluids on/off will toggle flowing water above that height as well
     
    SAMDAN likes this.
  6. Offline

    Nodren

    oooh fancy.

    you could probably do something like
    water=classic, beta, or no-flow
    too... just a suggestion :)
     
  7. Offline

    anon

    Could U make so water (id 8) anb water buckets behave normally, but the stationary water (id 9) behave as classic water? That way users wouldnt flood everything as they dont have access to stationary water blocks.
     
  8. Offline

    mindless728

    Sure, that shouldn't be a problem
    EDIT: might be a little harder since placing id 9 acts weird in a way that makes it want to spread id 8 first then id 9

    good call
    EDIT: though there still might be extra configurations since it needs to toggle any flow above the max flow height
     
    SAMDAN likes this.
  9. Offline

    mindless728

    updated to version 2.0

    EDIT: tested against newest builds and it works [Bukkit-66 CraftBukkit-107]
     
    SAMDAN likes this.
  10. Offline

    Dominic

    Hey mindless! I love this plugin but I need some help :|. I'm not sure what I'm doing wrong but no matter how I mess with the settings, the water acts as if NO_FLOW is on. I'm not getting any errors ...could I be doing something wrong?
     
  11. Offline

    mindless728

    could you post the configuration file for me to look at, without looking at it, maybe you didn't add the correct blocks the the overwrite list

    ie
    Code:
    blocksToOverwrite: 0 false 50 true
    
    would overwrite air blocks(0) that wouldn't drop items and torches (50) that would drop the items

    EDIT: also the file is case sensitive
     
  12. Offline

    Dominic

    Ahhh! The case sensitve part got me, I had "False" for air haha :| Thanks for the quick reply man!
     
  13. Offline

    mindless728

    not a problem, i was up and decided to check the status of the thread, though it is time for bed, 4am here

    also i would like to point out there is a bit of a bug with the fluid now always wanting to flow, and i don't think its a bug in my code (still making sure it isn't)
     
  14. Offline

    kilimasdb

    I do not download

    ...
     
  15. Offline

    Dominic

    I heard of this. It's not a bug with your code as far as I'm conserned with, it's a bug with Bukkit where the blocks around the water have to be updated in order for the water to continue. (For example if you place a torch next to the "stuck" classic water it will continue on it's path as intended) I don't believe there is a fix for this yet...Maybe a silly work around somehow but I'm not sure.
     
  16. Offline

    mindless728

    i have tried a few tricks but nothing worth publishing in the plugin itself, if i had access to the event queue i could do it correctly myself
     
  17. Offline

    FatesOMG

    is it possible to increase the flow of water, to make it nearly impossible to swim upstream?
     
  18. Offline

    mindless728

    not as far as i know, and it would probably also require a client mod
     
  19. Offline

    Azraeil

    Wonderful! Is it possible to have another option of water flowing in the classic infiniminer sense? http://www.youtube.com/watch?v=Cd-eUIMPIjI

    I think the algorithm is something along the lines of..
    Block will not fill air in the x or z dimension unless the block directly below is not air/fluid.
     
  20. Offline

    mindless728

    Sure, i'll put it in the next release
     
  21. Offline

    RealSpArTeN

    So...how would 1 flood their minecraft server? i cant get mine to flood...
     
  22. Offline

    mindless728

    config for everything floods (lava and water, no height discrimination)
    Code:
    waterFlowChangeHeight: 64
    waterFlowBelowHeight: CLASSIC
    waterFlowAboveHeight: CLASSIC
    lavaFlowChangeHeight: 32
    lavaFlowBelowHeight: CLASSIC
    lavaFlowAboveHeight: CLASSIC
    blocksToOverwrite: 0 false 6 true 37 true 38 true 39 true 40 true 50 true 51 false 55 true 66 true 75 true 76 true 78 false
    commandsEnabled: true
    
    also posting you config file would be tremendous
     
  23. Offline

    Azraeil

    I just realized that would be pretty detrimental in some situations :p.
    While I still think that would be cool, I think the fluids would ideally flow in the path of least resistance. (or at least do a pathfinding search in a specified radius) Not sure how likely that would be.
     
  24. Offline

    mindless728

    usually finding paths of any sort are computationally heavy, usually polynomial time (O(n^2) to be more exact), so on a game like minecraft, lagtastic

    though looking at water flow properties of infiniminer i will put it in as it is simple and fast to compute
     
  25. Offline

    David PRitchett

    Hey there. I love the sound of this plugin!

    I likely don't understand the full purpose, but here's my problem.

    I've installed the plugin on my multiplayer server. It says it's loading upon start. I don't see it making a difference. Shouldn't the attached screenshot area be flooding in with the properties I'm using?

    [​IMG]

    Here is my properties file

    waterFlowChangeHeight: 64
    waterFlowBelowHeight: CLASSIC
    waterFlowAboveHeight: CLASSIC
    lavaFlowChangeHeight: 32
    lavaFlowBelowHeight: CLASSIC
    lavaFlowAboveHeight: CLASSIC
    blocksToOverwrite: 0 false 6 true 37 true 38 true 39 true 40 true 50 true 51 false 55 true 66 true 75 true 76 tru$
    commandsEnabled: true

    Thanks so much!
     
  26. Offline

    mindless728

    if the water has all ready flooded before the plugin was installed, the water won't move as it needs a block update to work so it tries to use the onFlow hook

    afaik, there is still a small flow bug right now near an edge case where the water doesn't seem to fill up entire areas
     
  27. Offline

    Gesh

  28. Offline

    mindless728

  29. Offline

    Azraeil

    I think I would love a custom scripting language. I know it would be expensive to compute, but I think pathfinding infiniminer water (with a maxpath of 14 or so) would just be awesome.

    Or.... Imagine an explosive lava source, expanding in all directions.

    I think I would most prefer a specific area that you could toggle classic fluids on/off. With the custom scripting, you should be able to read coordinates. That way I could have a box built where people could play the good ole classic lava game (lava from the sky after a few minutes of building) without flooding the entire earth.
     
  30. Offline

    mindless728

    actually i was going to take the script file, turn it into a java file, compile it then load it, so it wouldn't have to run through the script and just had to run a java method
     

Share This Page