RealFluids

Discussion in 'WIP and Development Status' started by mindless728, Feb 22, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    mindless728

    yeah, its turning into one of those years where everything that can go wrong does
     
  2. Offline

    Dominic

    Well, best of luck to you mindless!
     
  3. Any news on finite liquid or an alternative working with Bukkit? it's one of them plugins/mods I've been waiting to add to my server for months, if anyone has more info that would be be great.

    thanks
     
  4. Offline

    Maeyanie

    This is the only one I've discovered, but even in the demo stage it mostly works. Only real problems I've encountered have been with buckets not triggering flowing... which admittedly is a bit of a problem, but the source repository hints at the problem getting some attention just before the rewrite started, so hopefully they'll work after. :)
     
  5. Offline

    mindless728

    the problem is the lack of inventory hooks in bukkit, and it is not something i really want to write myself as they are planning on them at some point
     
  6. Offline

    Maeyanie

    That wouldn't help much, yeah. :) I just saw the (blank) onBucketFill and onBucketEmpty handlers, though, so figured you were trying something with those.
     
  7. Offline

    mindless728

    yeah, there was some extra meta data i was trying to keep with the buckets but without the inventory events i couldn't keep track of where the items should be, and going by item stack didn't seem to work as it looks like it is cached (the object kept changing on me so i couldn't keep track of it via hashmap)
     
  8. Offline

    Maeyanie

    Hm, tried using the durability or data fields? Not sure if the client would ignore those because buckets don't normally have them, or get extremely confused for the same reason.
     
  9. Offline

    mindless728

    haven't tried the durability, but i know the extra data is only a 1 byte field which is not enough space for me
     
  10. Offline

    Maeyanie

    Yeah, durability is only 2 bytes, but if that's still not enough could use it to store a unique ID to look it up later... assuming the world doesn't have more than 65535 different buckets in it at once. ;)

    Of course, this all depends on what the client does with it.
     
  11. Offline

    mindless728

    well with the 2 byte i could probably store the fluid level in that (as i don't see needing more than that), i will try a quick fix on the main line code and if it works i have something to try in the rewrite, if not no biggie
     
  12. Offline

    Maeyanie

    Would be great if it not only works but displays the little damage bar for the fluid level, but that might be hoping for too much. :)
     
  13. Offline

    mindless728

    i have no idea, though i think the bar will not show since there normally isn't one, could be wrong though
     
  14. Offline

    Dominic

    Still can't wait for this!! You can do it mindless! Woo! haha
     
  15. Offline

    smickles

    Oh I am so excited for the possibility of buckets working.

    One thing though, could you (as a stop-gap) let a bucket with water just have a full amount of water regardless of how much was in the source block? I think this would be great as a temp. measure (greatly improving the usefulness of the plugin) and on my server I'm not worried about people taking advantage of the potentially unlimited water this would create, especially considering that this would only last until you get it working properly.
     
  16. Offline

    mindless728

    i could release a small patch like that, i should be able to post that either today or tomorrow as the code is relatively easy, keep in mind i am reprogramming everything from the ground up (again again) to allow for anything to be a fluid and for different fluids to have a method of acting differently than the stock flow algorithm, this may also bring multi-threaded fluids to light as well (working on it)
     
  17. Offline

    smickles

    That would be awesome. I think i'd be able to run this on my main (as opposed to test) server if you did this. Keep up the good work, you're doing a great job!
     
  18. Offline

    jeffadkins51

    Look's good, I tested it out - Worked like a charm, just this could be used as such a monsterous griefing tool I had to remove it. But if you could get permission up in durr I will def. be using it.
     
  19. Offline

    mindless728

    i have a stance of not using permissions (don't want to use a 3rd party plugin for something that should be incorporated), hopefully a plugin will come out that uses SuperPerms

    though at the same time, there would have to be some interesting catching as i plan on catching explosions and making fluids flow into the holes they make, that is not easy to catch who did that

    all in all, this should not be installed on a live server, there are just too many issues ATM, mainly the fluids slowing down if there are too many flowing
     
  20. Offline

    Maeyanie

    I'm not really seeing RealFluids as a monstrous griefing tool... FluidPumps certainly could be, just put a red or blue wool on a tall mountain to flood the world, black at the bottom of the ocean to cripple the server, etc. But not really seeing how to cause much harm with fluids on their own.

    In other news, apparently CraftBukkit r1000 has some form of integrated permissions, so looks like your wish is answered. And FluidPumps certainly could use some form of limiting before it sees widespread use. But that can wait. :)
     
  21. Offline

    mindless728

    I don't know if any of you noticed, but i did silently include the minimal bucket hooks
     
  22. Offline

    Maeyanie

    Would you be so kind as to push that changeset to github? :)
     
  23. Offline

    mindless728

    sure, ill try to have that by tomorrow
     
  24. Offline

    Maeyanie

    Great, thanks!
     
  25. Offline

    mindless728

    newest version is pushed, thanks for reminding me as i forgot to do that, heaven forbid my VM crashed and i lost the changes (as minor as they were)
     
  26. Offline

    smickles

    I just tried to get this running on a fresh install and get this.
    Code:
    15:27:37 [INFO] Could not grab a storage object, disabling...
    15:27:37 [INFO] RealFluids version demo-snapshot-0.7 disabled
    I did grab blockstorage and the realfluids jars, any help?
     
  27. Offline

    mindless728

    idk, i just made a brand new server from scratch using all of the above plugins and it worked fine, maybe try re-downloading BlockStorage
     
  28. Offline

    smickles

    eh, not it. What CraftBukkit build are you using?

    ok, i don't suspect that's the issue anymore, but I'd like to know just so we're on the same page.

    Am I not remembering to do something (it was quite a while ago when I initially 'installed' RealFluids). I get craftbukkit setup, put BlockStorage and RealFluids in the plugins folder, run it. Then I get this at the console, (full output this time)
    Code:
    java -Xincgc -Xmx2G -Xms2G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    148 recipes
    16 achievements
    17:56:42 [INFO] Starting minecraft server version Beta 1.6.6
    17:56:42 [INFO] Loading properties
    17:56:42 [INFO] Starting Minecraft server on *:25565
    17:56:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    17:56:42 [INFO] Preparing level "world"
    17:56:42 [INFO] Preparing start region for level 0
    17:56:42 [INFO] Preparing start region for level 1
    17:56:43 [INFO] BlockStorage version 1.3 installed
    17:56:43 [INFO] Could not grab a storage object, disabling...
    17:56:43 [INFO] RealFluids version demo-snapshot-0.7 disabled
    17:56:43 [INFO] Done (0.070s)! For help, type "help" or "?"
    >
    
    A couple of notes, I don't usually run CB818, that was just the last one that I used while trying to get this to work. And, often times it shows a 'BlockStorage installed' early on, but not this time.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  29. Offline

    mindless728

    I use the newest RB (build 1000), ill try 818

    Edit: this is my console log from build 818
    Code:
    C:\Users\Colin Alexander Barr\Desktop\Minecraft Server>java -Xmx2G -Xincgc -jar
    CraftBukkit.jar nogui
    148 recipes
    16 achievements
    18:08:16 [INFO] Starting minecraft server version Beta 1.6.6
    18:08:16 [INFO] Loading properties
    18:08:16 [INFO] Starting Minecraft server on *:25565
    18:08:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    18:08:17 [INFO] Preparing level "world"
    18:08:17 [INFO] Preparing start region for level 0
    18:08:17 [INFO] BlockStorage version 1.3 installed
    18:08:18 [INFO] RealFluids version demo-snapshot-0.7 enabled
    18:08:18 [INFO] ScrapBukkit version 1.0.0 is enabled!
    18:08:18 [INFO] Done (0.082s)! For help, type "help" or "?"
    >
    
    EditEdit: turning on the nether and getting rid of scrap bukkit did not change this output
     
  30. Offline

    smickles

    Is blockstorage supposed to create any files? I have none in my plugins folder. RealFluids hasn't made it's files yet, but I suspect it needs blockstorage to be working before it does it's thing.
     
Thread Status:
Not open for further replies.

Share This Page