1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
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 [124 Supporters | ~93% Agrees ] Mage Teleport Location Should Be Calculated Through 1.13 Ray-casting

Discussion in 'General Suggestions' started by Runaiic, Dec 16, 2018.

?

yaya?

  1. yay

    125 vote(s)
    82.8%
  2. non

    10 vote(s)
    6.6%
  3. wat

    16 vote(s)
    10.6%
  1. Runaiic

    Runaiic Page of Mind, Taurza, INTP 5w4

    Messages:
    104
    Likes Received:
    132
    Trophy Points:
    61
    Have you ever encountered this before?

    [​IMG]
    Well, fear not! Because thanks to a brand new innovative feature blessed upon us from Mojang, we may no longer have to deal with this trauma-inducing teleporting system anymore. Let me introduce: Ray-casting.

    Ray-casting fixes the problem of the Mage's awkward teleportation skill. Allow me to explain how ray-casting works. Ray-casting is something Minecraft version 1.13 supports (which Wynncraft is currently running on, not 1.12), it detects the direction the player is looking at, and sends "rays" into that direction until it hits a block. This is not a flawed system unlike what Wynncraft currently uses for teleportation. It will never clip through a block, fence, or glass pane, it will, with perfect accuracy, land on the farthest block in range of the player. You can watch the video to get a better grasp of it.



    Another explanation here. Ray-casting is a very good solution to the problem that Mage players recurringly chronically face as well as the Wynncraft developers themselves. It is simpler, more intuitive, easier for players to grasp (huh, my magic spell doesn't seem to like being around blocks?), uses less code, and is a more elegant system than the current teleportation system. But what if you don't want a player to teleport over 100 blocks in one teleport? Well, you can easily set parameters to prevent a player from teleporting outside a certain radius.

    The benefits are obvious, it would fix mages being unable to teleport near blocks or while being submerged underwater (note: so long as there are blocks you can teleport to) and also tremendously increasing accuracy of a Teleport spell, and it will completely get rid of the mysterious cheat that causes Teleport to clip through certain edges of blocks. In fact, the current Teleport is so bad that it doesn't even need to be abused on purpose to get outside of the map, it is possible to get outside of the map completely by accident.

    Edit: So if no limits are set to teleporting, you could teleport vertically as pointed out by @hppeng. So to solve that, if one were to teleport facing Y above 60 degrees, the Teleport's Y-direction would be automatically be set to 60 degrees. This prevents teleporting directly vertically upwards. Thanks @hppeng for telling me about the flaw!
    [​IMG]
    The dotted line is what it would be without this fix, but with this, the angle is calculated only after it has been set to the 60 degrees limit, preventing clipping or unexpected results. Note that it is still possible to teleport vertically downwards.

    milestones:
    50 supporters - yes
    100 supporters - yEEEeeE
    150 supporters - nop
    200 supporters - no
    250 supporter - non
    300 supporters - not
    350 supporters - never

    10 likes - ye
    20 likes - double ye
    30 likes - yes x3
    40 likes - (yes)(2^2)
    50 likes - no
    60 likes - no
    70 likes - no
    80 likes - no
    90 likes - no
    100 likes - definitely no
    what the vote means in case its unclear
    yay = + support, non = - support, wat = neutral.
     
    Last edited: Aug 10, 2019
    2Dg, Señor TopHat, syrun97 and 43 others like this.
  2. Mac N Cheese Man

    Mac N Cheese Man First Official Member Of The Mac N Cheese Club

    Messages:
    607
    Likes Received:
    530
    Trophy Points:
    119
    Call me stupid, but I don't understand any of what you just said, is there any way you could explain it more clearly to people like me? Or no, I'd be fine with that as well...
     
    alizardguy likes this.
  3. seeksery

    seeksery Wybel Photographer VIP+

    Messages:
    571
    Likes Received:
    1,182
    Trophy Points:
    89
    Minecraft:
    Make TP shoot an invisible projectile with no gravity that goes theoretically infinitely fast, and tp the player to where the projectile lands OR is if it didn't hit any blocks after reaching the max tp range
    Kinda like:
     
    JohnnyNubPotato, Druser and Runaiic like this.
  4. TheRelicHunter

    TheRelicHunter Member of the wynncast

    Messages:
    845
    Likes Received:
    367
    Trophy Points:
    95
    Minecraft:
    Actually, you know I really like this idea. If you implement what Seek said in his comment I feel like you might have a very strong idea here.

    Additionally, spell damage could increase this max tp distance
     
    2Dg, Runaiic and WilsonKry like this.
  5. Mac N Cheese Man

    Mac N Cheese Man First Official Member Of The Mac N Cheese Club

    Messages:
    607
    Likes Received:
    530
    Trophy Points:
    119
    THanks
     
  6. TheStormLizard

    TheStormLizard Well-Known Adventurer HERO

    Messages:
    469
    Likes Received:
    292
    Trophy Points:
    72
    Minecraft:
    I accidentally glitched out of tbe map three times on my mage going 1-100, and had to /kill multiple other times when i got stuck from teleport XD
     
  7. BerriiBunnii

    BerriiBunnii Sleepy Little Devil

    Messages:
    19
    Likes Received:
    10
    Trophy Points:
    17
    Minecraft:
    bump~ failed teleports and accidentally teleporting out of the map is so annoying smh
     
  8. Runaiic

    Runaiic Page of Mind, Taurza, INTP 5w4

    Messages:
    104
    Likes Received:
    132
    Trophy Points:
    61
    Renamed thread title to "Mage Teleport Location should be calculated through ray-casting.", hopefully people will understand it better.
     
    2Dg likes this.
  9. Axliuz

    Axliuz Just call me Ax HERO

    Messages:
    1,611
    Likes Received:
    506
    Trophy Points:
    69
    Guild:
    Minecraft:
    Oh this would be very helpful for my new mage character
     
    2Dg likes this.
  10. RazorGuild

    RazorGuild requiem is saved...!!!! HERO

    Messages:
    776
    Likes Received:
    1,144
    Trophy Points:
    148
    Minecraft:
    I see no reason for this not to be implemented, unless somebody brings an argument against raycasting.
     
    2Dg likes this.
  11. Skyreach

    Skyreach Uncompressed fury of a raging japanese shoutbox VIP+

    Messages:
    4,673
    Likes Received:
    4,880
    Trophy Points:
    194
    Minecraft:
    yes this is good
     
  12. Ninjaraisen

    Ninjaraisen Sneaky Boi

    Messages:
    9
    Likes Received:
    2
    Trophy Points:
    45
    This is a great idea; However, I don't think it will be in the game anytime soon. Wynncraft, like Hypixel and a few other servers, is flexible with versions. The lowest version you can use to play right now is 1.9 (Might be wrong, if so plz correct me), and ray-casting would limit players to 1.13 and up.

    The first solution I can think of would be to give anyone playing on 1.12 or below the non-updated spell, while 1.13 players get the version with ray-casting. Idk if this is even do-able though.
     
    2Dg likes this.
  13. Muchwag

    Muchwag Don’t call me Poliwhirl!

    Messages:
    711
    Likes Received:
    626
    Trophy Points:
    125
    Guild:
    Minecraft:
    While this is a good idea like it would be great +1
    I think (not 100%) that wynn is not coded in 1.13 format so then like everything would have to be changed and to do it just for this isn’t practical.

    Someone correct me if i’m wrong
     
  14. Runaiic

    Runaiic Page of Mind, Taurza, INTP 5w4

    Messages:
    104
    Likes Received:
    132
    Trophy Points:
    61
    All the command blocks, functions, and plugins would be server-side, so it won't matter what version the client is on

    jpresent has said that the server's inner workings are based on some kind of 1.7 - 1.13 command block and function hybrid, it was in an old thread from a few months ago, way before Economy Update was announced.
     
    Last edited: Feb 4, 2019
    Druser likes this.
  15. Ninjaraisen

    Ninjaraisen Sneaky Boi

    Messages:
    9
    Likes Received:
    2
    Trophy Points:
    45
    Im not sure what this means or how it works o_o
     
  16. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer

    Messages:
    215
    Likes Received:
    122
    Trophy Points:
    69
    Minecraft:
    I mean the guy in the video was clearly able to move only 1 black in the direction he was facing. I'm sure the devs could make it teleport you a maximum distance if the target block is not within range.
     
  17. Runaiic

    Runaiic Page of Mind, Taurza, INTP 5w4

    Messages:
    104
    Likes Received:
    132
    Trophy Points:
    61
    Should I count 'wat' as support or at least a +0.5 support?
     
  18. Behem07h

    Behem07h Skilled Adventurer

    Messages:
    23
    Likes Received:
    21
    Trophy Points:
    30
    Just as a FYI, raycasting has existed way before 1.13. I believe it existed as old as 1.8 (armorstand raycasting), although it wasnt usually as accurate as 1.13’s raycasting using the relative directions since there needed to be a set of command blocks for each direction. By 1.9 it already became much more efficient too, since there were the 3 types of command blocks added.
     
    Runaiic likes this.
  19. Stormarend

    Stormarend Toa of Earth

    Messages:
    1,206
    Likes Received:
    1,794
    Trophy Points:
    153
    Minecraft:
    Nah because people have already voted it so then it would be counted as +0.5 support even if the person who chose that option didn't intend it to.
     
  20. Bluescreen

    Bluescreen The Questions Crusader who replied on your post.

    Messages:
    2,312
    Likes Received:
    2,913
    Trophy Points:
    186
    Minecraft:
    Great idea, I mostly play mage so
    I GET STUCK A LOT
    Thanks, random holes. Thanks, COTL trees.

    Also that art is magnificent
     
    Runaiic likes this.