Decided Against In-game chat calculator for all servers

Discussion in 'Archive (Suggestion and Feedback)' started by kamild_, Apr 9, 2016.

?

Yes or no?

  1. Yes

  2. No

Results are only viewable after voting.
  1. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    12:37 AM
    if he hasn't tried anything above 2^1024, i'm amazed his calculator could hold it, as the plugin can only handle up to that or else it crashes from what i've seen
     
  2. kamild_

    kamild_ Well-Known Member

    Messages:
    209
    Likes Received:
    32
    Local Time:
    6:37 AM
  3. johnfg10

    johnfg10 Well-Known Member

    Messages:
    2,430
    Likes Received:
    200
    Local Time:
    5:37 AM
    aka easy to crash :p so lets not add this random crashy stuffs :p
     
  4. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    12:37 AM
    I haven't been testing it, but i'm looking at source, appears i'm wrong because it is complying with standard java formats and catching exceptions, but it isn't very useful for most calculations as you've got things such as Microsoft Mathematics - Wikipedia, the free encyclopedia that work much better for your cases and are more useful
     
  5. kamild_

    kamild_ Well-Known Member

    Messages:
    209
    Likes Received:
    32
    Local Time:
    6:37 AM
    But I don't expect a server plugin to solve logarithms or help with trigonometry :D Just basic operations - multiplying etc.
    By the way, you definitely seem to know more about calculations on computers. So if you know any expressions that could crash the plugin/server, send them to me and I'll be glad to try them out.
     
  6. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    12:37 AM
    nah, none can crash, the guy is actually using try { } catch { } operations here in the right places, but seriously, since there's no infinite equations to compute, the most massive problem is probably ram, because of how java works
     
  7. johnfg10

    johnfg10 Well-Known Member

    Messages:
    2,430
    Likes Received:
    200
    Local Time:
    5:37 AM
    more that java doesnt work very well with ram :p
     
  8. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    12:37 AM
    it's because of how java handles garbage collection, basically you can only "suggest" that java collects garbage at a certain time, rather than force it to, it also doesn't collect a LOT of objects in its sweep, which doesn't help much at all
     
    johnfg10 likes this.
  9. kamild_

    kamild_ Well-Known Member

    Messages:
    209
    Likes Received:
    32
    Local Time:
    6:37 AM
    Aren't the servers restarted regularily? Doesn't that clean up the RAM? Or would such plugin generate enough "garbage" to lower the performance over enough time?
     
  10. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    12:37 AM
    It would generate enough garbage to lower performance, that is correct, but 4 hours gets alot of garbage, and each bit used for the number is an extra byte of data overall, as it's stored in binary but represented in hex, so large, LARGE numbers add up over time
     
  11. aD0UBLEj

    aD0UBLEj Well-Known Member

    Messages:
    138
    Likes Received:
    17
    Local Time:
    5:37 AM
    I see no need for this, as others have said, and I do regularly, just use Google/phone/whatever. I don't really see what maths you want to do that is so important you can't tab out for like 2 seconds.
     
    johnfg10 likes this.
  12. Mouro

    Mouro Well-Known Member

    Messages:
    1,583
    Likes Received:
    325
    Local Time:
    5:37 AM
    Wow, I'm lazy but not that much. If your phone is busy, you have calculators. The ones that it's used on schools.
     
    profrags and SirWill like this.
  13. MrDietPeppsi

    MrDietPeppsi Newbie

    Messages:
    62
    Likes Received:
    6
    Local Time:
    12:37 AM
    Yeah i think it is a bit over the top but a good idea at the roots.
     
  14. mrminesheeps

    mrminesheeps Helper

    Messages:
    975
    Likes Received:
    237
    Local Time:
    9:37 PM
    i think the argument is closed. besides, poll is in favor of not having the calculator, 11-4. let's end it here, tired of getting more of these responses my email won't shutup.
     
    johnfg10 likes this.
  15. knoxz

    knoxz Well-Known Member

    Messages:
    612
    Likes Received:
    183
    Local Time:
    6:37 AM
    No client side only mod available?
     
  16. johnfg10

    johnfg10 Well-Known Member

    Messages:
    2,430
    Likes Received:
    200
    Local Time:
    5:37 AM
    if not it should be fairly easy to do
     
  17. kamild_

    kamild_ Well-Known Member

    Messages:
    209
    Likes Received:
    32
    Local Time:
    6:37 AM
  18. johnfg10

    johnfg10 Well-Known Member

    Messages:
    2,430
    Likes Received:
    200
    Local Time:
    5:37 AM
    the main issue is generaly plugins are used to mange the server and just adding random plugins that could in fact have virus (ye ik this doesnt) but it is possible and if staff start adding this stuff then everyone will want there plugin put on the network and that is simply not practical also the fact that you could do a stupid number and kill the (or lower tps) is not good also good to keep in mind i think most of us are thinking "really does it take that long to get your phone or open windows calculator" because its true yes it takes a few second but really thats not much :) i see that you really wanted this and its unfortunate but this is how a public server works :) think of it this way at least you dont have to pay to play and the staff are amazing
     
  19. Slind

    Slind Founder

    Messages:
    8,332
    Likes Received:
    3,018
    Local Time:
    6:37 AM
    We don't add plugins/mods lightly, every plugin we use, we consider essential.

    When you operate a big server or even a network every small part gets important. Meaning with a small server you don't care if its 10 plugins or 100, if it takes 30 seconds to start or 300, if it crashes once every 1000 hours of playtime or every 100, if it is used by 50% or 5%...

    We have around 50 plugins which load 30-40 seconds, which have known bugs in the hundreds, which have incompatibilities, which add to the load of the server... and all of those are either admin tools used on a daily basis or used by at least 80% of the players.
     
    LunaBlossoms and johnfg10 like this.
  20. kamild_

    kamild_ Well-Known Member

    Messages:
    209
    Likes Received:
    32
    Local Time:
    6:37 AM
    It still amazes me, how much of the load could a simple calculator plugin cause on the server...
    So I guess that's about it, it's not going to happen. Feel free to close this thread then.
     

Share This Page