Denied /wild (biome)

Discussion in 'Suggestions' started by FBI_account_1, Jan 29, 2018.

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

    FBI_account_1 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Oct 1, 2015
    Messages:
    14
    Trophy Points:
    10,165
    Ratings:
    +2
    i think we should be able to type a /wild command that makes it so we can go to spacific biomes examples: /wild jungle, /wild desert, /wild birch forest. i think it would help to get spacific blocks players need better.
    on the other hand i might be used for farming at rare biomes such as mushroom or clay, i only care about this because its a big inconvinence to me and probably a few other players. welp thats the end of this thread so bye!
     
  2. LaggyTryHard

    LaggyTryHard ♛Exalted Builder♛
    EcoLeader ⛰️⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ I ⭐ Premium Upgrade

    Joined:
    Jun 15, 2017
    Messages:
    1,361
    Trophy Points:
    52,160
    Gender:
    Male
    Ratings:
    +964
    It would kinda ruin the point of adventure
    It would also be easy to get super rare items like sea lanterns as you can just warp to the location.
    Not a good idea
     
  3. Scamazon

    Scamazon monkey
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 1, 2017
    Messages:
    666
    Trophy Points:
    27,090
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +2,157
    -1 It's like x-ray, you've literally got everything with it. Ruins the fun.

    I'd much rather adventure around, it's more fun and I feel more satisfied when I find the thing I'm looking for.
     
    #3 Scamazon, Jan 30, 2018
    Last edited: Jan 30, 2018
  4. 314

    314 Irratioπal President, former ServerAdmin
    President ⛰️⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    6,961
    Trophy Points:
    81,660
    EcoDollars:
    $18,000,000
    Ratings:
    +4,859
    Here's the issue I see with this.

    Based on a forum post from 2015, this is how /wild appears to work at the moment (if I recall it correctly):
    Code:
    Choose a random coordinate within the world limits and get the top block.
    If the block is not on land, start over. (Unless you use /wild water [in which case it's vice versa] or /wild all.)
    If the block is located in a town, start over.
    If the block is not safe (e.g. lava), start over.
    Teleport the player to this location.
    
    Here's how this suggestion would work:
    Code:
    Choose a random coordinate within the world limits and get the top block.
    If the block is not located in the required biome, start over.
    If the block is located in a town, start over.
    If the block is not safe (e.g. lava), start over.
    Teleport the player to this location.
    
    Now imagine the following situation: /wild mesa in a mining world that doesn't have a mesa within its 5000x5000 area, which is actually a pretty likely situation. Depending on how the code is written, the command execution will either run forever and eat server resources or it will be forcibly stopped via a StackOverflowError. It doesn't even require the complete absence if a biome; it could suffice to choose a rare biome.

    Of course it's possible to avoid that, but I'm not exactly a fan of completely rewriting a command for a single feature.

    As always, I'm basing my technical post on other technical posts I've seen on the forum before; I might have made mistakes or remembered something incorrectly.
     
  5. JamieSinn

    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
    /wild is dangerous to modify, as it's laggy when done a lot.
    Something like this would 100% cause server lag as it's filtering the blocks based on yet another criteria.
     
  6. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,349
    Trophy Points:
    102,160
    Ratings:
    +15,056
    Due to the coding of wild, this has the potential of killing the server and fully crashing it, in a one off rare scenario. Won't happen.
     
Thread Status:
Not open for further replies.