Solved Make water wave

Discussion in 'Plugin Development' started by negative_codezZ, Jul 12, 2014.

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

    JBoss925

    Of course. I just didn't want to deal with rotation in a 3D plane.

    negative_codezZ fireblast709 Ok, I got all the math down, I just need to figure out how I'm supposed to get Packet63WorldParticles() so I can use the water particle. If you know please inform me.

    EDIT: Ok got it, forgot the huge packet renaming they did. Just gonna fine tune the code a bit more before I release it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  2. Offline

    negative_codezZ

    I have already done it, but thanks.
     
    JBoss925 likes this.
  3. Offline

    Slikey


    No. These are two functions. Basically the wave is moving and rotated so that if you spawn it as a player, it moves into the direction you are looking at. It has a custom height, width, arc-depth and arc-height etc..

    The two functions are applied to already rotated 3D coordinate systems. Also the performance is very good, since I only used vector math and these 2 functions. I also cache all vectors after creating the wave, to enhance perfmormance.

    If you'd apply 2 modifiers to my effect, you could do a collapsing wave, but that's hard to show on the image.
     
    CrystalxNeth, DSH105 and LCastr0 like this.
  4. Offline

    nuno1212sss

  5. Offline

    negative_codezZ

    Sorry, it's for MeepCraft, can't disclose such information. Sorry.
     
    KingFaris11 likes this.
  6. share4me meth2hard4me
     
  7. Offline

    bobacadodl

    KingFaris11
    I did the math out with 3 separate equations if youre interested.. I just used a sine function and 2 parabolas
     
    Anzio and KingFaris11 like this.
  8. Offline

    dsouzamatt

    Meth's a bit too much for anyone, really. Have you seen the health problems associated with it?
     
    KingFaris11 likes this.
  9. Offline

    Plo124

    M.A.T.H = Mental Abuse To Humans
     
    izarooni and teej107 like this.
  10. Offline

    TheHandfish

    M.A.T.H. = Mandatory Appliance for TheHandfish's Hobby (aka Bukkit)
     
    LCastr0 likes this.
  11. Offline

    fireblast709

    negative_codezZ you ask the community for help and then refuse to release the solution... Sounds a bit selfish to me.
    KingFaris11 I do not have access to a computer for the next few weeks, I'll write a public version when I do since people here seem to hate on open source
     
  12. Offline

    Garris0n

    ಠ_ಠ
     
  13. Offline

    CrystalxNeth

  14. Offline

    TheHandfish

    Garris0n
    He sort of stole the idea, too. ._.
     
  15. Offline

    negative_codezZ

    I would if I were not limited by MeepCraft, sorry :(
     
  16. Offline

    TheHandfish

    negative_codezZ: MeepCraft can stop you from posting a for loop? Really? You don't need to post the class file. Just post the part you made. It's your code.
     
  17. Offline

    Garris0n

    Maybe MeepCraft should limit you outsourcing your development to the Bukkit Forums...
     
  18. Offline

    xTrollxDudex

    Umm lol? A 13 year old can figure out the math for this. Eventually, the source will be public anyways, since everyone will be able to figure it out.
     
    Garris0n likes this.
  19. Offline

    tommyhoogstra

    Give that 13 year old a medal!
     
  20. Offline

    xTrollxDudex

    You are suppose to be introduced to parabolas in 8th grade, hence the age 13 (or 14).
     
    JBoss925 likes this.
  21. Offline

    tommyhoogstra

    I learnt it about then, but test me on it now and I would no doubt fail
     
  22. Offline

    Slikey

    To stop the flame against him:
    I gave him the source code of the wave from Hypixel, because he had the idea to make it. So it is not his fault, but I asked him to not disclose it.

    Sorry :/
     
  23. Offline

    Necrodoom

    Slikey
    1. Rereleasing code not belonging to you and breaking plugin license.
    2. Spoonfeeding without explanation, bad coding practices.
    3. Effectively private plugin request.
     
    indyetoile likes this.
  24. Offline

    Slikey

    Necrodoom Lol. I made the code entirely and it was just a compensate to the idea of him. I could have just stolen the idea and that's it. Sorry, but your arguments are invalid.
     
  25. Offline

    Necrodoom

    Slikey Decide, its either hypixel's source code, or your code, in which case it can be public.
     
  26. Offline

    Luke_Lax

    This is silly, anything you do on a public minecraft server can be replicated just from looking at it. If you don't want to give the solution then fine, be selfish, that's some people in life. Eventually someone will want to make a resource about it and perhaps improve it.
     
    L33m4n123 likes this.
  27. Offline

    DevRosemberg

    Everyone You are being harsh to Slikey and negative_codezZ Its their decision to make whatever they want with the code, if slikey told him not to disclose it then let it be. Someone said he will make a public version and bobacadodl said he had the maths, just ask him for it and do the particle spawning yourselves.
     
    Zupsub likes this.
  28. Offline

    mythbusterma

    DevRosemberg

    If you're not gonna disclose it just don't post it at all. Furthermore, as part of this being a public forum, we ask that if you get the completed code you post it. If the OP doesn't post the finished math for this he really shouldn't be asking for help here (given, it really isn't that difficult).
     
    ZodiacTheories and extended_clip like this.
  29. Offline

    negative_codezZ

    Okay, I don't know if you've ever worked for a server developing PRIVATE plugins. Slikey was kind enough to provide me with the code to compensate for the idea, which will be used both on Hypixel and on MeepCraft. Neither of us are allowed to release the code for the server to the public. We are sorry.
     
  30. Offline

    mythbusterma

    negative_codezZ

    Did you actually SIGN a non-disclosure agreement? If not, you're not legally obligated to anything. We're just pointing out how extremely unhelpful "yea, I've done this for a private plugin, but I'm not going to share" is.
     
Thread Status:
Not open for further replies.

Share This Page