Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...
Dismiss Notice
Have some great ideas for Wynncraft? Join the official CT (content team) and help us make quests, builds, cinematics and much more!

World 1.12, Loops, Functions And How It Could Improve Wynncraft

Discussion in 'General Suggestions' started by Jbip, Aug 8, 2017.

?

Is this a good idea?

  1. Yes

    62.2%
  2. No

    5.4%
  3. "m8 1.12 isn't coming anytime soon"

    32.4%
Thread Status:
Not open for further replies.
  1. Jbip

    Jbip yea QA GM

    Messages:
    2,886
    Likes Received:
    8,839
    Trophy Points:
    207
    Creator Karma:
    Guild:
    Minecraft:
    Disclaimer: I know wynncraft is still in 1.8 but they will eventually drop that version of the game!
    Also, if you didn't know, I'm french, expect some mistakes

    FUNCTIONS

    Heya! I'm here to talk about the recently added functions, and how Wynncraft could use them.
    I assume that not much people around here know about functions, so allow me to explain!

    Functions allow players to run a list of command using text files, in one command. They were added in 1.12.
    For example, I can do this:
    1. say hi
    2. say 1
    3. say 2
    You can save this as a .mcfunction file, and then you can instantly run it using /function world:filename and it will run these commands without the need of any command blocks.

    With this addition comes another great one, the gameloop function. What this basically does is repeating a function over and over, with barely any lag (depending on what you do, overflowing your world with cows will sure make your world lag).

    Now that I briefly explained what a function is, I can get back to Wynncraft.
    If wynncraft replaces some of their systems with functions, it'll make for a more enjoyable experience.
    Why? They could replace tripwires. New players are often disturbed by the sounds they make.
    But most importantly, by replacing tripwires, players in dungeons/other teleporters won't get stuck for example. All with a simple /tp in the looping function!

    The quests cutscenes will be more of a surprise, when you hear the click of a tripwire, you always expect that something is gonna happen.

    Now, you probably think that this is gonna cause lag. Wynncraft made it clear that they don't like clocks!
    Except that functions are extremely optimized, and with the upcoming 1.13 it'll run better than ever (but this is for another day, we still got time)

    Tripwires aren't a real source of lag in Wynncraft, but I feel like they're kinda annoying (personal opinion). Functions are an easy way to replace them, with still no command blocks.
    Command blocks will still be used in various occasions, like buttons, cutscenes(?) or else. Even though some of these could be replaced with functions once again (not looped function, just a single one)

    Why do I want to replace command blocks?
    Compared to functions, command blocks aren't greatly optimized and can cause lag, which is why Wynncraft doesn't allow clocks. (Also they're still using 1.8 so that's kinda outdated)

    Your gameplay experience won't change much, and that could only be an improvement to Wynncraft. This could also allow for better hoppers.

    Pros:
    +Fix the dungeon parties problems
    +Less sound, less annoying
    +Easy to implement (I suppose)
    +Shouldn't cause lag
    +Will allow for more stuff


    Cons:
    -Will be hard for the CMDs to work with a single function for all the server, however doing a Google Docs to work would work
    -Also harder for the CMDs to try out their stuff, as you need to /reload when changing functions (the devs could create a command and make it useable by CMDs?)
    -Add cons here, I probably forgot stuff!


    oh boy i never did such a long thread

    TL;DR:
    • When Wynn updates to 1.12, will allow usage of functions
    • They can replace tripwires and fix dungeon parties
    • Allow all sort of cool stuff
    • Optimized and probably wouldn't cause lag
    I am fairly certain I forgot important stuff as always, so please tell me if something is wrong so I can change the thread!
    oh also let me tag @Aarontti i'm pretty sure he's interested in that
     
    Last edited: Aug 8, 2017
    carlossey, D7, Clickbaitz and 12 others like this.
  2. orange0404

    orange0404 corkus is actually here HERO

    Messages:
    3,893
    Likes Received:
    3,559
    Trophy Points:
    192
    Guild:
    Minecraft:
    They can probably transfer the 1.12 features if jumla doesn't spill his coffee
     
  3. Mr_Philly

    Mr_Philly hi there HERO

    Messages:
    903
    Likes Received:
    875
    Trophy Points:
    123
    Minecraft:
    Sounds pretty cool, I've never really looked into functions! +1!
     
  4. Dohdo

    Dohdo I'm back. Cancer in it's purest form.

    Messages:
    3,276
    Likes Received:
    2,200
    Trophy Points:
    123
    Guild:
    Minecraft:
    I dont know if the cmds will say no cuz its too hard or if they would agree

    But that doesnt really matter, Dab on them haters
     
    ThomAnn100 likes this.
  5. NinjaPro8000

    NinjaPro8000 Famous Adventurer

    Messages:
    1,454
    Likes Received:
    1,391
    Trophy Points:
    128
    Minecraft:
    Coffee only mildly affects the forums.

    You know, if we had a really good CT, they could figure out a way to make this work in 1.8.

    From what I can tell, this is just a kind of interface so you don't have to do any java coding.

    Could be possible with java.
     
  6. Jbip

    Jbip yea QA GM

    Messages:
    2,886
    Likes Received:
    8,839
    Trophy Points:
    207
    Creator Karma:
    Guild:
    Minecraft:
    This could work, but maybe it wouldn't be as optimized? And maybe it'd take time to implement that feature in 1.8, but yes that could work
    and to do a function you could just open your usual text editor it works with everything

    The CMDs can still work with the command blocks for their puzzles and stuff, but it'd be easier to implement tps and replacing future tripwires
     
  7. Dohdo

    Dohdo I'm back. Cancer in it's purest form.

    Messages:
    3,276
    Likes Received:
    2,200
    Trophy Points:
    123
    Guild:
    Minecraft:
    For performance reasons, they dont want the files to be repeating themselves constantly, meaning if you want it to be run only once, tripwires are the way to go. A ton of performance issues fixed right there.
     
  8. Jbip

    Jbip yea QA GM

    Messages:
    2,886
    Likes Received:
    8,839
    Trophy Points:
    207
    Creator Karma:
    Guild:
    Minecraft:
    the point was that functions are optimized in a good ways, if the requirement is not met (player is in x position), the command will just skip itself, it causes no lag
     
  9. Dr Zed

    Dr Zed Famous Adventurer

    Messages:
    5,209
    Likes Received:
    6,538
    Trophy Points:
    192
    Minecraft:
    sounds good to me, though I highly doubt they would skip 3 updates just to do this. Grian said the major reason they don't update is that the commands for command blocks change with each update, so they would have to re implement a lot of stuff in the game.
     
  10. Chigo_

    Chigo_ wtf is a chigo QA

    Messages:
    1,808
    Likes Received:
    1,346
    Trophy Points:
    115
    Minecraft:
    there is only 1 problem with this suggestion don't only admin's have console and are the only ones able to add these functions?
     
  11. Jbip

    Jbip yea QA GM

    Messages:
    2,886
    Likes Received:
    8,839
    Trophy Points:
    207
    Creator Karma:
    Guild:
    Minecraft:
    that's up to the staff to know how they manage this, they could trust the cmd I don't think there's any "traitors" in the team? Or they could simply do a thing where the CMDs have access ONLY to the functions part of the world

    fair point, that is definitely possible considering that even in 1.13 most of the commands will change (but according to Dinnerbone, they probably won't change after 1.13)
     
  12. Dr Zed

    Dr Zed Famous Adventurer

    Messages:
    5,209
    Likes Received:
    6,538
    Trophy Points:
    192
    Minecraft:
    I stopped following mine craft updates after 1.9, so I have no idea what they add.
     
    ThomAnn100 likes this.
  13. Kraetys

    Kraetys Hater of Catipalism - Certified Nyanarchist HERO

    Messages:
    2,342
    Likes Received:
    2,220
    Trophy Points:
    173
    Guild:
    Minecraft:
    They're working on this right now it's just gonna take a while™.
     
    Jbip likes this.
  14. Thomka

    Thomka CMD

    Messages:
    167
    Likes Received:
    921
    Trophy Points:
    73
    Minecraft:
    AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
    ________________________________
    But for real now:
    1.
    We can't use clocks. Cmds are already #1 lag issue, lets not make it worse. We dont really know how well functions are optimized.
    2.
    Problem #1: 1.12 (lol)
    Problem #2: you need some shitty ways to open that .mcfunction file... ew... Cmbs are much easier: you just place blocks and paste commands
     
    Last edited: Aug 9, 2017
    ThomAnn100 likes this.
  15. Jbip

    Jbip yea QA GM

    Messages:
    2,886
    Likes Received:
    8,839
    Trophy Points:
    207
    Creator Karma:
    Guild:
    Minecraft:
    Yeah I said in the OP that clocks are a nono for Wynn, it's written somewhere in the CMD application website I believe?

    For the past year we've been getting some 1.9 features, so they're doing stuff to update. Once they update to 1.9, the newer versions should get there faster than 1.8->1.9. In fact, they can even skip 1.10, nothing changed!

    I'm not saying that it'll come tomorrow tho. But I expect that in a year or two, there's a chance that the server will be 1.9+?

    Functions are pretty clean and feel like you're really coding stuff. You can use great text editors (Sublime, Notepad++), nothing else. It's just that they're a lot more optimized than command blocks, especially with the loop function.

    Maybe it'd work on Wynn, maybe not. I just thought this was worth giving a try! :D

    Command blocks are better for some stuff, and some people prefer to «code» physically into the game and that's okay :)
     
  16. DerVillager

    DerVillager Famous Adventurer HERO

    Messages:
    1,091
    Likes Received:
    878
    Trophy Points:
    128
    Minecraft:
    shots have been fired, 4 to be count
     
  17. Ackro

    Ackro The true Elite Quadbrid! HERO

    Messages:
    3,090
    Likes Received:
    5,587
    Trophy Points:
    215
    Minecraft:
    I'd like to mention that this is very, very, very, very similar to a thing we already have, called WynnScript. You can get a taste of it in the newer Corkus quests, for example.
     
    CookedPelvis, Thomka, Jbip and 6 others like this.
  18. Seth_

    Seth_ Well-Known Adventurer HERO

    Messages:
    252
    Likes Received:
    578
    Trophy Points:
    70
    Minecraft:
    Spot on jolly old fellow!
     
  19. Dohdo

    Dohdo I'm back. Cancer in it's purest form.

    Messages:
    3,276
    Likes Received:
    2,200
    Trophy Points:
    123
    Guild:
    Minecraft:
    Jesus christ you guys have your own programming language to?
     
    Ackro likes this.
  20. colin350

    colin350 The Best Admin (duh) HERO CHAMPION

    Messages:
    473
    Likes Received:
    3,999
    Trophy Points:
    277
    Minecraft:
    I find it humorous that we had something super similar to this suggestion many months before 1.12 even came out. (and it's more efficient in terms of unit testing)
     
Thread Status:
Not open for further replies.