1. JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    So, as I've seen a lot of commotion over whether or not they can cause lag. Here's a general explanation of why they lag the server, in not so technical terms. So here's a post from a development POV about how they really really do cause lag.

    Situation: Cooking pots checking the blocks around it once a sign with [Cook] on the second line is placed.

    Every time a sign was placed with [Cook] on the second line, the plugin would check the block it was on, and check if it was netherrack, if it was, then it would check if the block above it was fire, and if it was, it would check if the block above it was a chest, if it was, it would add it to a giant list of cookpots, this would happen again, every tick. 20 times per second. Lag. All the lag.


    Situation: Cooking pots all over the server.

    Each cooking pot that there is on ECC, has to check it's inventory every tick, which is 1/20th of a second. It has to poll through every single slot that there is possible. And it has to do this. Every. Single. Tick.
    Now, this wouldn't be really an issue, except that there are thousands, if not tens of thousands of them on the server. Each one individually polling each inventory slot for an item, and if it does find an item, it then checks if it is smeltable.

    Now, imagine this happening 20 times per second. The amount of lag that this would cause, as well as the compute time on the processor of the server, is immense. Let alone the amount of RAM that this would eat up.

    Now. For some FAQ:

    Q: If this did so much to help the server, then why am I still getting X fps.
    A: Client side FPS is not entirely influenced by the server, it's influenced by your computer and how it performs. Not caused by server lag. However, if you had block lag or rubberbanding, that could possibly be the server side.

    Q: This is so unfair!!!ONE1ELEVENTYONE
    A: In the great words of andrewkm. Deal with it. It's final.


    Post any more questions you have, and I'll answer them from a development POV.
     
    • Like x 4
    • Winner x 3
    • List
  2. zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    Tell that to the poeple online now :)
     
  3. Pobelter Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Apr 27, 2014
    Messages:
    214
    Trophy Points:
    26,790
    Gender:
    Male
    Ratings:
    +195
    well now its time for thousands of furnaces lol. the furnace revolution is upon us. brace yourself.
     
    #3 Pobelter, Mar 15, 2015
    Last edited: Mar 15, 2015
  4. Jess_T_Jericho Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Mar 8, 2013
    Messages:
    1,165
    Trophy Points:
    30,840
    Gender:
    Male
    Ratings:
    +317
    so does this mean more scams will happen ow that people can't use a public cooking pot i could see this being a bigger prob then lag.
     
  5. zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    This is probably less of a scam than cookpots. In public cookpots, can't people just take their stuff?! its just like ereps. Just trust who you want to smelt your stuff.
     
    #5 zr2002, Mar 15, 2015
    Last edited: Mar 15, 2015
  6. 314 Irrational Moderator, former ServerAdmin
    SuperMod EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    How do cook pots relate to scamming?

    Jamie, thanks for this post. I wish it was actually possible to give more than one rating. :D
    *Gives winner, agree, useful, like and informative rating*
     
    #6 314, Mar 15, 2015
    Last edited: Mar 15, 2015
  7. Avaina1918 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jan 14, 2013
    Messages:
    894
    Trophy Points:
    28,290
    Gender:
    Male
    Ratings:
    +122
    Guys there are people like me and nicit who do free /smelt or have a chest to place stuff in for it to be smelted. Like e-repairs. Deal with it and ask people who have /smelt and pay the fee like a regular human being.
     
  8. zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
  9. mortezaseyfi63 Builder
    Builder ⛰️ Ex-Builder ⚒️

    Joined:
    Mar 5, 2015
    Messages:
    1
    Trophy Points:
    14,080
    Ratings:
    +0
    Mod Edit - Vulgarity in non english language
     
    #9 mortezaseyfi63, Mar 16, 2015
    Last edited by a moderator: Mar 17, 2015
  10. Vintage_Gamer Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jun 18, 2013
    Messages:
    3,802
    Trophy Points:
    53,710
    Gender:
    Male
    Ratings:
    +1,219
     
  11. knears2000 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jan 3, 2013
    Messages:
    4,031
    Trophy Points:
    46,590
    Gender:
    Male
    Ratings:
    +1,958
    I have two issues with this.

    1. There should have been a warning is out the removal. Saying and taking them away out of the blue wasn't cool.
    2. Now we'll have furnaces all over. Will the lag be as severe? I doubt, but it still will have a prescence.
     
  12. JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    I agree with #1 completely, but I understand why not, considering the amount or rioting over it, there would have been so much beforehand, it would have been immense.
    2. TileEntities, can cause lag, however, there is a rule in the Wiki about large amounts of furnaces. This I believe will be dealt with by staff.
     
  13. IceFireXD Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jan 22, 2015
    Messages:
    55
    Trophy Points:
    15,160
    Gender:
    Male
    Ratings:
    +45
    I'll post my idea that I mailed to @JamieSinn in-game.

    Why not rework how cookpots work? I've done a bit of java scripting in the past, so with the limited knowledge that I have of java, I believe this should work.

    Instead of having the cookpot constantly checking the contents of the chest, and the blocks that the sign is on and all that... Simply make a cookpot a chest and a sign. Nothing more. Slap a sign on a chest with [cook] on the 2nd line, and you have a cookpot.

    This new style of cookpot would also behave differently. Instead of doing constant checks on the contents of the chest, it will ONLY check when the chest is opened.

    The chest is opened, changing the state of the chest (the trigger).
    30 second delay.
    The sign checks if there are any smeltable items in the chest.
    If yes, the sign checks if there is fuel in the sign.
    If yes, begin cooking.

    Like this, there should be minimal lag caused by cookpots, as a cookpot not in use causes as much lag as a normal chest and sign. Obviously, there would have to be a lock-out script during the 30 second delay to prevent someone from spamming a cookpot to cause lag.

    I'm very curious as to how feasible something like this is, so feedback from those who have more experience with java, and minecraft plugins.
     
  14. JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    Still the same issue. Checking for the chest to be opened is still a lag issue, as well as polling through the inventory.
    As andrewkm said, it will not be added back.
     
  15. stoler202 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Aug 3, 2012
    Messages:
    1,701
    Trophy Points:
    32,660
    EcoDollars:
    $0
    Ratings:
    +471
    I am pissed. No way i am waiting 5 mins for every /smeltall. And even less chance i will use furnaces. It costs coal!
     
  16. KMaxwell Crazy Cat Lady that Crochets
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐ Premium Upgrade

    Joined:
    Jul 24, 2012
    Messages:
    5,484
    Trophy Points:
    88,160
    Gender:
    Female
    EcoDollars:
    $0
    Ratings:
    +1,614
    If you have pyro+ you can use /fill lava in a bucket and use that as fuel instead of coal. Blaze rods will also work.
     
  17. 314 Irrational Moderator, former ServerAdmin
    SuperMod EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    Mining mcmmo 1000 = Smelting mcmmo 1000 = Fuel efficiency multiplier: 4x = 2 coal suffice for a full stack. Another reason for some people to get 1000 mining now. :)
     
  18. stoler202 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Aug 3, 2012
    Messages:
    1,701
    Trophy Points:
    32,660
    EcoDollars:
    $0
    Ratings:
    +471
    I do, but buckets? You need a starting amount! Also too big a wait and too many required.
     
  19. KMaxwell Crazy Cat Lady that Crochets
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐ Premium Upgrade

    Joined:
    Jul 24, 2012
    Messages:
    5,484
    Trophy Points:
    88,160
    Gender:
    Female
    EcoDollars:
    $0
    Ratings:
    +1,614
    There are plenty of options available to you for smelting, in terms of the /smelt, furnaces with various fuel items (even logs/planks work, too)... but it seems you are determined to find fault with all of them rather than accepting this shift, which is better for the server as a whole in terms of performance, just because you have to wait a little bit of time to smelt things instead of almost instant gratification.
     
    • Like x 1
    • Winner x 1
    • List
  20. IceFireXD Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jan 22, 2015
    Messages:
    55
    Trophy Points:
    15,160
    Gender:
    Male
    Ratings:
    +45
    Don't forget about flux mining with Flux Pickaxes at mining level 250. 1 in 3 chance of mining an iron bar instead of an iron ore. With this, you can get 3 iron bars to make a bucket without any need for smelting fuels.