[ADMN][FUN] SpoutFlight 0.10 - Zombe-Like Flying With Spout [Spout] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by olloth, Aug 27, 2011.

  1. Offline

    olloth

  2. Offline

    efstajas

    Well, TheYeti said he's working on Permissions again... I already had PermissionsBukkit configured and then this sh*t deleted the whole config. I'm pretty mad. But you're right, PermissionsEx is good, I'll see.
     
  3. Offline

    RGadelha

    So give it to us, the way it's now like "you press space, it goes right up to the top (as if you were holding it)
    same for shift, but the opposite" is unacceptable. You've said you have it working great in your teste server, let me test it too, please?
     
  4. Offline

    parker_digg

    PEX doesn't work with this plugin.
     
  5. Offline

    Lunar Delta

    @parker_digg

    Yes it does. I just tested it. Not that I needed to. Why wouldn't it work with this plugin? Care to share your reasoning with me?
     
  6. Offline

    olloth

    Permissions EX uses SuperPerms, it should work fine. I would also suggest using that if you like the old permissions style.

    Hmm, I expected an RB by now. You are right, I will release an update. It will required the latest working dev build of Spout and Spoutcraft. Use with caution. Give me a few minutes.

    Version 0.10
    • Uses setGravityMultiplier in order to 'fly' up and down, so verticle movement is clientside
    • Uses setAirSpeedModifier now instead of setVelocity, so horizontal movement is clientside
    • Added configurable keybinding for toggling flight with /sfbind
    • Added configurable flight speed with /sfspeed
    • Added default speed in config.yml
    • Saves keybindings per player to flatfile
    • Saves if you are flying or not to flatfile
    • You no longer drift after you let go of the keys
    This version REQUIRES the latest working dev builds of Spout and Spoutcraft which may or may not be stable. Use with caution on live servers. When Spout updates to it's next RB which was supposed to be soon, you should no longer need dev builds and should be stable on that. I will also update the thread and call it 1.0 release, with any new bug fixes between now and then.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  7. Offline

    parker_digg

    Because I tried it, and it didn't. But maybe with this update.
     
  8. Offline

    thestriker095

    Could you make it so when "Fly" mode is enabled there is text in the top left corner of the screen like the real zombe mod and so people know when its enabled?
    That would be great!
     
  9. Offline

    morizuki

    suggestion.. when u are flying.. add a God Mode :D
     
  10. Offline

    desht

    v0.10 seems to be working fine with Spoutcraft 1.0.5.262 and Spout 1.0.5.227. Great job!

    Some humble suggestions:
    • /sfspeed throws an ArrayIndexOutOfBoundsException if called with no arguments. Might be nicer to have it display the current speed? And perhaps a feedback message when you successfully change your current speed?
    • It would be nice if the movement keys (especially W - forward) also moved you vertically based on your current pitch. That would make it a lot easier to fly to a particular location. Although maybe that's a subjective preference...
    • Agree with @thestriker095 - a visual indicator when fly mode is active would be really nice.
    • Just noticed - speed 1 is fastest, and 9 is slowest. A bit counterintuitive?
     
  11. Offline

    RGadelha

    Thank you SO much, I'm flying like a bird now :D
     
  12. Offline

    olloth

    Yeah I forgot about that error, thanks.

    The second point, it USED to work like that, but it used player.setVelocity which runs completely serverside. I preferred that flight control as well. When we get clientside addons I will make it able to use both methods.

    I can probably make some kind of visual indicator easily.

    Speed 10 should be the fastest and 1 the slowest, I'm not sure what is happening there, are you positive? I will test that further later.

    There are plenty of other plugins that manage health and such for god mode. I guess I could add this but it's kind of low priority.

    EDIT: However I will be removing knockback from damage 'knocking' you out of the air (If you fly up again immediately you stop falling)

    Version 0.11
    • Added permissions 3.1.6 support thanks to @ags131
    • Fixed /sfspeed, now tells you your current speed if you don't give it an argument
    • Made /sfspeed print out the speed you set it to, instead of working silently
    Enjoy

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  13. Offline

    Penjuin3

    I don't seem to be able to fly, I've rebinded to the F key, still doesnt work, and yes, I am using Spout and SpoutCraft. :p
    Any help please?
     
  14. Offline

    Activat0r

    Request:

    Could you smooth the movement when keys are released, or at add an option to switch between? I need rather stable flight (for camera scenes, etc).

    Anyways, the best flight plugin I have seen yet. +10
     
  15. Offline

    Grimmy777

    where did you get v.10? I only see v 9 and v 11
     
  16. Offline

    olloth

    I removed it when I updated, 0.11 works on the same exact versions of spout that 0.10 does, however 0.9 does not so I left that one there just in case. Normally I only have the latest version available. You can find all the versions on the BukkitDev page for it though if you really want.
     
  17. Offline

    Activat0r

    Also, an error to report:

    Code:
    2011-08-30 12:33:48 [WARNING] Failed to handle packet: java.lang.ClassCastException: org.getspout.spout.block.mcblock.CustomBlock cannot be cast to net.minecraft.server.BlockFlower
    java.lang.ClassCastException: org.getspout.spout.block.mcblock.CustomBlock cannot be cast to net.minecraft.server.BlockFlower
        at net.minecraft.server.WorldGenFlowers.a(SourceFile:21)
        at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:543)
        at org.bukkit.craftbukkit.generator.NormalChunkGenerator.getChunkAt(NormalChunkGenerator.java:45)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:177)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:107)
        at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
        at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
        at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:141)
        at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:138)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:362)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:592)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    after flying for a few minutes.

    Using:
    Spout 1.0.5.247
    Spoutcraft 1.0.5.262
    SpoutFlight 0.11

    A Spout dev build issue?
     
  18. Offline

    olloth

    Yup, sorry. Out of my hands
     
  19. Offline

    Grimmy777

    I ask because I am getting a ton of errors from moment one with ever key press I make(getting errors server side)
    I can post them if you like. I have the most current spoutcraft dev and spoutdev builds and am still getting this error. =/
     
  20. Offline

    olloth

    Yeah please post your errors here from your log (If they are the same only post one full iteration of it)
     
  21. Offline

    Grimmy777

    I did get it to work while trying to pull this for you. It looks like I had two copies of the plugin installed. I do get another error between this plugin and CFbanner. Attached below.
    Code:
    2011-08-30 22:16:58 [SEVERE] Could not pass event CUSTOM_EVENT to CFBanner
    java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.GenericLabel.setHexColor(I)Lorg/getspout/spoutapi/gui/Label;
        at me.cain.cfbanner.SpoutL.addText(SpoutL.java:42)
        at me.cain.cfbanner.SpoutL.onSpoutCraftEnable(SpoutL.java:23)
        at org.getspout.spoutapi.event.spout.SpoutListener.onCustomEvent(SpoutListener.java:40)
        at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.java:862)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.getspout.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.java:81)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:121)
        at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  22. Offline

    RGadelha

    Is there a way to stop or to avoid completely that irritating repeating stepping sound when we land?
    I second that, really :D
     
  23. Offline

    parker_digg

    Then it wouldn't be as useful for build because you would have to look straight-on if you wanted to hover. You couldn't line-up with anything above you.
     
  24. Offline

    celestria

    great job love this shit!
     
  25. Offline

    olloth

    That is purely a CFBanner error, it hasn't been updated for the latest methods in Spout. setHexColor has changed. @CainFoool will need to fix it

    I have it in known issues, there is no way to fix that that sound yet, sorry.

    I can't have it go towards where you are pointing, I used to have it run like that but it eats up a ton of server resources. It will have to wait until clientside addons with Spoutcraft API

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  26. Offline

    RGadelha

    Oh, I see, thanks.
    I have to say that your flying plug-in is the best flying plug-in around, thank you very much :D
     
  27. Offline

    CainFoool

    CFBanner no longer has Spout support, I removed that weeks ago. The person you rt'ed to needs to update it.
     
  28. Offline

    iffa

    Good to see this come up.
     
  29. Offline

    olloth

  30. Offline

    Sh4d0w

    it run very buggy if i change the direction whil the flight.
     
  31. Offline

    AVirusC

    Is there a way to speed up flying up and down, or remove the pause or whatever is happening there? If you are flying forward and you fly up or down it seems to pause a bit which is a huge adjustment when you are used to the way zombe seems to move the same speed in any direction without pause. Is it starting you out at a speed and accelerating you up to the max?
     

Share This Page