[FUN/MECH] Lava Furnace - Furnaces that run on lava [BUKITDEV]

Discussion in 'Archived: Plugin Releases' started by Arcwolf, May 30, 2011.

  1. Offline

    Arcwolf

    Lava Furnace - Furnaces that run on lava:

    The basic idea of this plugin is to allow players to create a furnace that will run on lava but not consume buckets. It allows for customization by admins for fuel burn time, cook time, per player cook times and amount of furnaces per player. It is by default pretty balanced, but is customizable by admins for personal preference in balancing or even cheating if you so choose.

    Features:
    • User created Furnaces that consume only the lava not the bucket
    • Also can be used with regular fuel sources through the Minecraft furnace interface.
    • Potential to create infinitely fueled furnaces via config file
    • Can set furnace burn times up to 2147483647 via config
    • Can set furnace cook times from 1 to 4 x normal speed via config
    • Can define the blocks a furnace is created from via config
    • Works with multi-worlds
    • Permissions via PermissionsEX, GroupManager, nijikokun based permissions, bukkit permissions or OPs
    • Lava level is easily viewable through glass door and changes with burn time of furnace
    • Optional small or large Production Chests (*based on Zarius's idea)
    • Optional Custom Smelt-ables via config
    • Production chest smelt priority from TOP LEFT to BOTTOM RIGHT
    • Per user cook times, per item cook times from 1 to 4 x normal speed via commands
    • Per player group build limits
    Tutorial Video & Review (by ValBGaming)

    Production Chest Photo:
    [​IMG]
    Alternate Chest Setup (open)

    [​IMG]

    Alternate Furnace Layouts (open)

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    And you could just keep going with it.


    [​IMG] if you like this plugin and want to support me. Its much appreciated. :)
     
  2. Offline

    Jazy Lopez

    Thanks, I'll test it out again when I get a chance, and there is a small type in the lavablockfuel node (You put admin twice^^^)

    Love the plugin (Specially the speed change) :D[diamond]
     
  3. Offline

    Arcwolf

    :confused: huh... duno how that happened. Fixed ;)
     
  4. Offline

    Niemand

    Heyo. Your plugin seems to have issues with minecartmania. Obsidian-Blocks were not working as minecart-catchers until i disabled your plugin. would be cool if you could fix that. (I reported this at the minecart-mania-thread, too.)

    thank you!
     
  5. Offline

    Arcwolf

    I seriously doubt that. I dont do anything with Obsidian blocks other then listen to how they are arranged AFTER you place the [lavafurnace] sign. Beyond that you can do what ever you want to an obsidian block and my plugin couldnt care less. Thats just not in the code my friend. Barkin up the wrong tree :)
     
  6. Offline

    Niemand

    I dont know. They did not work, so i tried around a bit, thinking its been a problem in my configs of MCM. Reloaded the plugins a few times, restartet the server a few times, I even did two reboots of the v-Server while that. Then I remembered, that your plugin is the only other one thats using Obsidian-Blocks. I disabled it, reloaded the plugins and -eeech- minecart got catched by the obsidian-block again. I did not do ANY other changes, except taking out your plugin, that i really would love to re-enable.

    I have no Idea of programming but your plugin clearly bites MCM or the other way around. I don't wanna piss on your leg, i am just reporting. Maybe you can try to rebuild that error. Bukkit-version is 860, MCM-Version is 1.2.8, LavaFurnace version is... 1.2a (would be cool if you could write the version in the config-file, so you dont have to unzip the jar. ;) )
     
  7. Offline

    Arcwolf

    Minecart Mania core 1.2.8
    Minecart Mania Station 1.2.5
    LavaFurnace 1.2b
    Server 935


    There is no way it could be causing a problem. Here is why.​

    1) LavaFurnace uses a passive test for the obsidian blocks making up a furnace. Quite simply, if obsidian block is at x y z then allow furnace to operate.​
    2) I make extensive use of Minecart mania and LavaFurnace on my main server and have been since I first started development. They have been tested side by side for a month now. No problems ever with the two.​
    3) Like I show in the video you can run a minecart track across the top of the furnace and MM works fine. My furnace doesnt test for that and doesnt disable any functionality because of the minecart tracks or because MM is using them as obsidian station blocks.​

    I dont know why you are seeing what you are seeing but the only explanation is you have yet to find the actual cause of your problem. LF and MM conflicting is not the issue here. Its simply not possible. There is nothing for me to fix, because there is nothing broken on my side. So, thats the facts...​


    Dont worry about it, I jumped out of the way. :D
     
  8. Offline

    FireFreak111

    Minecart Mania has a build called 1.2.9-alpha2 of the core that was posted somewhere and it fixes that issue. People without Lava Furnace were having the issue.
     
  9. Offline

    TruthHurts

    Wow which was made first, this or dwarffroge, they are literly the same thing
     
  10. Offline

    Arcwolf

    Uploaded 1.3 for general consumption. No reports of major issues for a little while. I've been testing it and it seems ok.

    Quite a lot of new features to behold :)

    Stuff like, customizing the furnace block design, setting the cook time and increasing the burn time up above 32767... large production chests for those people who want to run a factory or something.

    Of course your config will have to be deleted when you update. Check the change log in the main post for full details.
     
  11. Offline

    ValBGaming

    Great to see all the new features out in 1.3, downloading now. :D

    EDIT: Was just reading the config info and when I read "and 2147483647 being nearly 7 years real time" I laughed, lol
     
  12. Offline

    Arcwolf

    Ok, new version. Changes:

    NOTE: Dont worry about your config files now. The plugin is smart enough now to know it needs to update it on its own.

    version 1.35
    Furnace Burn Event if fired when a furnace is fueled via the crucible
    Ability to create production chests that are closer to the furnace block if the belt blocks are turned off.
    Changed lavafurnace sign text from white to blue for easier readability with low-def fonts
    Config file will self repair if it detects damage or an old version.
    Explosions damage to the LavaFurnace can be turned off in the config. Default is prevent damage.
    Damage prevented 7 blocks out from center of the furnace. 2 blocks for the furnace 5 for the explosion radius of an unmodified minecraft tnt or creeper explosion.

    New chest example for belt blocks off.
    [​IMG]
     
  13. Offline

    Paradox256

    I'm a little confused. What would I have to change exactly to make it so I can make a lava furnace, just by putting down a normal furnace? It would basically be like making a normal furnace. You just make one, then place it.
     
  14. Offline

    Arcwolf

    Um, you cant... This plugin requires the construction of a furnace to include at least a 3x 3y 3z housing around the furnace block. Thats how this plugin was designed. If you are looking for just a furnace to plop down in front of some lava, I would suggest you look elsewhere.
     
  15. Offline

    Paradox256

    I guess I could make it like this, then. I just wanted to have like 4 of them right next to each other and not take up much space, lol. I'll make it like I should then.
     
  16. Offline

    Arcwolf

    Depending on how you construct the furnace it is possable to create a furnace which shares a side with another furnace.

    For example, a furnace facing west and a furnace facing east could share the back 9 blocks which would create a double furnace of 5x 3y 3z I believe. That would be valid if you turned off the belt blocks.

    Testing also shows that if you wished, you could even create a 5x 3y 5z furnace configuration of 2 west and 2 east... But they have to be created in order from left to right. Create one fuel it create another to the right then fuel it and so on. Each furnace will work and share 9 of their blocks on one side with the other. That is as close as you will get in space saving though. I leave the rest up to you. --- thats not a supported config though. So dont complain if it may have some quirks... just FYI :)
     
  17. Offline

    Manbeast77

    I think I have finally found a bug that you are unaware of, and that breaks the furnace! MUAHAHAHAHAH.
    Anyways, if you miss the pit that the lava goes in when filling the furnace, but some of it flows into the hole, the furnace closes and acts as if it's running. Here's the kicker though; it deletes what's in the furnace, deletes the script on the sign, and you have to break the furnace block as it is stuck in the "on" state. Tested this a few times to see if I could replicate, and was able to every time. Clumsiness FTW!!
     
  18. Offline

    Arcwolf

    I think this is something you will have to demonstrate with a video.. I just cant get it to do that. I put lava all over the furnace and if flowed into the crucible. Both with a lava block and with a bucket. The furnace never activated. I tried with 5 or 6 furnaces and never managed to get that to work.

    TBH, I am not really sure how that would even be possible though. Because the event that is fired is either a block place or a bucket empty event. Both listen for the player to place lava into the crucible. If you place it some where else then the furnace can not activate. The code is never triggered because the lava that was placed was not within the detection area. What you are describing should only happen with the blockfromto event. ie liquids. I dont use that event.

    What version are you using, what does your config look like? Demo video? pleaz :)

    also, I have an updated version with a small change. I doubt that it will fix it because I made the change before I saw your post...
     
  19. Offline

    Tagz

    Are there still issues with Falsebook?
    Curious if its just parts of Falsebook?

    Thanks
     
  20. Offline

    Arcwolf

    I dont know, I dont use false book and the issues reported are based on only one report. So, if you test it out do let me know so I can update the conflict list.
     
  21. Offline

    Tagz

    The only issues we've noticed with the two running at the same time is the
    Bridge and Door commands. But its not constant.
    Some times they work, sometimes they do not. Still trying to figure it out.
     
  22. Offline

    Arcwolf

    I just had a quick look at a decompile of falsebook's door and bridge and I dont see any reason for those two to conflict... I'm beginning to think some of these "conflicts" people are seeing are ghosts in the machine. Just random chance and coincidence. One would think that of the ~1000 people who have downloaded various versions of lavafurnace... if there truly were conflicts then I would see more then 0.1% of the population comment on them.

    A little peculiar don't you think? :confused:

    <sigh> Anyway, I do thank you for your testing. If you come up with something substantial and confirmed as repeatable then please be detailed and let me know.

    Thanks again :)
     
  23. Offline

    Tagz

    Ya I wouldn't have said anything at all had I not noticed it mentioned in the OP :)

    My guys love your plugin
     
  24. Offline

    Manbeast77

    I can try for the vid soon, bee working a lot. As far as when I did it, it was right after I had gone to the 1.7 update, and had updated all my plugins on the same day. Can't remember what day or version TBH.
     
  25. Offline

    Arcwolf

    I see... well, then I recommend updating again to the latest LavaFurnace and giving it a shot. It may be working ok now.
     
  26. Offline

    IncendiaDrakon

    I noticed the title says 952 rather than 953, will this still work if I'm running 953?

    Also, I'd like to suggest figuring out a way of supplying multiple types of fuel for the furnace. If possible, it would be nice to have a chest full of coal/planks/etc. to fuel the furnace in addition to the lava in the crucible and whatever may be in the furnace.
     
  27. Offline

    Zarius

    Howdy, not sure if this has been reported but my lavafurnaces keep running out and getting stuck on -2 for the fuel (last number in furnaces.dat). Also, destroying them doesn't seem to remove the lavafurnace.dat entry (I get the "you broke the furnace" message when destroying each block of the furnace).

    Manually removing the line and restarting the server works if they reenable the furnace.

    Have tested this on a fresh server with no plugins yet - hoping you might know what the problem is straight away. :)
     
  28. Offline

    Arcwolf

    -2 is by design. You wont see the data file update until a server restart or a furnace is deleted. I dont update the data file for every tick. The would be WAY to much disk IO to write the furnace power levels to disk every time they changed.

    I dont know how that would even be possible TBH. If the furnace is not constructed correctly on the next thread tick the furnace is deleted. Both from the database and from memory. There are enough checks in this plugin for correctly constructed furnaces that the plugin is just waiting for an excuse to delete a furnace. This plugin HATES furnaces... it deletes them for breakfast. IT HUNGERS!!! lol

    Anyway, when it says that it has been deleted, try refueling the furnace. If it doesnt do anything, then it is deleted. Regardless of what you may see in the dat. A look into the dat file is not a true look into the soul of this plugin.
    Typo, my bad. 953 is the recommended build right now, and so that is the build it works and was tested on.

    That wouldnt be hard, however, it is outside the scope of what this plugin was for. You can supply it with alternate fuels via the minecraft furnace interface or the crucible with lava. NOT via the production chests. Thats not something I want to change nor will I be changing.

    By the way, what does your config look like and what version of LF are you using...

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

    IronWill1991

    How long the burn time of 2147483647 in minutes?
     
  30. Offline

    Arcwolf

    Here is what I believe:

    2147483647 = ms
    2147483647 / 1000 = 2147483.647 sec

    So I'm thinking 35791 minutes... hmmmm, so 7 years claim is a little off huh :p damn'd if I didnt miscalculate somewhere lol. Maybe a decimal somewhere... oh well so 24.8 days is still a long time. hmmm... Or wait... I'll bet thats what it was, the old formula I was using WAS 7 years... but then I modified it and started calculating by ms instead of what ever I was before and never updated my notes... <grumble> )_) what ever,...

    ok so, its 35791 minutes. Good catch @IronWill1991

    edit---

    deciseconds = 6.8 years... but the formula was inaccurate because it was effected by simple things like resizing the console window or causing <server can not keep up errors> meaning it would drift WILDLY uber bad... anyway, ms worked better and so 7 years went bye bye.
     
  31. Offline

    IronWill1991

    So, the set timer number is in ms. I put 100,000 which makes 100 sec=1 min 40sec. How come the furnace burns more than an hour?
     

Share This Page