Inactive [FUN] GolfCraft v1.5.3 - Play golf with a bow and golf(snow)balls! [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Musaddict, Apr 11, 2012.

  1. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I realized that the distances in minecraft golf are a bit smaller than real life.

    I hit my course today to set up some distance markers 100 yard, 150 yard 200 yard and quickly realized that what looks like a par 4 hole actually measures out to what a par 3 would be.

    I think that the best thing to do at this point would be have the maximum shot you can take with your driver equal what the maximum distance you can shoot normally.

    Not only would a distance increase make the arrow despawn before it hit, ( like you found out ) it would force me to complete re-design my course, to take into account the increased distances.
    Thats the last thing I want to do, since most of my course are already in place and the current design wouldnt allow for me to expand.

    I say, tone down the velocity to what it was at the beginning, taking the maximum ( non modified ) bow shot as the top end benchmark for the driver and work down from there.
  2. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Will do! just need to figure out the pitch problem im having, then I can release 1.4.0 :) but first, dinner!
  3. Offline

    hammale

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    wow got to give u points for originality :D
  4. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Solved my issue! Just about done with 1.4.0 :)
  5. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated to 1.4.0! This update adds a lot more realism to the game.

    Added clubs! These clubs work mainly like they would in real life. The all have set angles that they WILL hit the ball in. This means you can't aim you ball like a gun anymore :p

    Also added hole-start signs for any golfer with "golfcraft.play" to use!
  6. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    sweet! I've got some RL work to take care of this morn but I'll dl 1.4.0 and give it a go
  7. Offline

    Newpoman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    whats this. I get it quiet often
    2012-04-14 11:39:19 [SEVERE] Could not pass event ProjectileHitEvent to Golfcraft
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at net.minecraft.server.EntityArrow.F_(EntityArrow.java:195)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1264)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1246)
    at net.minecraft.server.World.tickEntities(World.java:1153)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:542)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at musaddict.golfcraft.GcEntityListener.onProjectileHit_Func(GcEntityListener.java:189)
    at musaddict.golfcraft.GcEntityListener.onProjectileHit(GcEntityListener.java:52)
    at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 10 more
  8. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Clubs are working great.
    There is one thing I think that needs tweaking though, and that's the putter.

    The 'fixed loft' setting needs to be removed for that club, allowing you to aim the angle yourself. ( like before )
    The max velocity that's set on it should remain though.


    All the other clubs should remain just how they are.

    Awesome job!!!
  9. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looks like you're running an out of date version. If you download 1.4.0 (or 1.4.1 here in a little bit), that error should no longer persist.

    Fixed :) Uploading now.
  10. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome!

    Grabbin it now.
  11. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm loving it Musaddict.

    Awesome job.

    The putter seems a little on the weak side, but it isn't anything that can't be worked around by using the wedge.

    I got the signs working now too, with 12 holes completed.
  12. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Glad to hear it :) I can up the putter a lil. Also, Feed_Dante (contributor) is working HARD to figure out realistic mechanics, and getting snowballs to shoot out of bows. When we're done, snowballs should fire out of golfers' bows, AND they should bounce around before they create their sign.

    Never thought this much math would be involved :confused:
  13. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    lol sweet. I cant wait to see it in action.
  14. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated to 1.5.0 :) Good lord... took us 7 hours to figure out everything... Snowballs were easy. Bouncing was reDICulous...

    Also added some handy special-event messages, like if your club was more or less efficient based on the terrain. Not too much of them tho, mainly only enough help teach beginners what should and should not be used when and where.
  15. Offline

    Gingerninjaprsn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This. Is. Epic. 'Nuff said. Now I don't have to play minigolf, I can do the real thing! Love the permission nodes, so only VIPs can do this. Awesome job!
    G
  16. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated to 1.5.1. Updated the physics to accurately represent bouncing velocities off of different materials. Also, added number of bounces in the config (2-5).
  17. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is so awesome.

    I can't believe how this has developed.
    My hat is off to you Musaddict and the snowball master Feed_Dante.

    You guys have taken this simple idea and turned it into something epic!

    I'll be grabbing 1.5.1 now and give it a shot.

    Just finished up hole #16. When I get the course completed you all will have to come play a round.
  18. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Cant wait :)
  19. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You guys have done an un-believable job.

    The snowballs are so realistic. The way it moves on the green, and drops into the hole is so cool.
    :)

    There is only 1 thing that I think needs to be improved upon.

    When you create a hole, is it possible to save your directional orientation, so that when people use the sign to tee up they are facing the correct direction?

    The way it works now is not a show stopper, but it's just a little disorienting.
  20. Offline

    randeri221

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have an error with the loading:
    Code:
    17:08:53 [SEVERE] Could not load 'plugins\GolfCraft.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError
    : musaddict/golfcraft/Golfcraft : Unsupported major.minor version 51.0
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:150)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: musaddict/golfcraft/Golfcraft
    : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:139)
            ... 8 more
    plz help :)
  21. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Read the known bugs and you'll find your answer :)

    I'll see what I can figure out. Tried to get it to work before, but I had no luck. I know it's possible, I think I'm just overlooking something, lol.

    This post has been edited 1 time. It was last edited by Musaddict Apr 16, 2012.
  22. Offline

    Feed_Dante

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm pretty sure to do this you need to set the pitch and/or yaw on a location then use the location to teleport the player.

    This post has been edited 1 time. It was last edited by Feed_Dante Apr 16, 2012.
  23. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok, just ran into something that I think was changed on the last update.

    Club debuffs.

    I can understand the driver getting a debuff if used on anything but the teeing ground, but the other woods should not.

    Suggestion:

    Driver:
    Gets debuff if used on anything other than teeing ground ( wood )

    3 wood
    Gets debuff if used on anything other than teeing ground, or fairway.

    5 wood
    Gets debuff if used on anything other than teeing ground, fairway, or grass.
  24. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Whats about irons in sand traps? And I thought the rough naturally decreased speeds by at least a small percentage.

    This post has been edited 1 time. It was last edited by Musaddict Apr 17, 2012.
  25. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, yea I see your point about the rough. ( grass )
    It should slow it down regardless of the club.

    The 3 wood and the 5 wood are designed to be used from the fairway though, and should not get a debuff if used on that.

    I like the sand wedge buff out of sand ( with the message )

    I also like the HOLE IN ONE!! message. That was a nice surprise.

    I also caught a typo in the driver debuff message.

    Here is a video if a few holes on the back 9
  26. Offline

    randeri221

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i updated my java to 1.7 and it still doesnt work
  27. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you paste the error?
  28. Offline

    randeri221

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    20:41:00 [SEVERE] Could not load 'plugins\GolfCraft.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError
    : musaddict/golfcraft/Golfcraft : Unsupported major.minor version 51.0
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:150)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:305)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:230)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: musaddict/golfcraft/Golfcraft
    : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:139)
            ... 8 more
  29. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I just caught something that youll need to update ( on the forum )

    youll need to add:
    golfcraft.play

    to the list of perms.

    It's in the change log, but not in the node list.

    I had someone try to use the signs last night and they wouldnt work for them.

    After I removed OP from me they stopped working.

    After some head scratching and cussing at Essentials ( and a goods night rest ) I figured it out.

    hehe
  30. Offline

    Feed_Dante

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @randeri221
    No, you're still running java v1.6.
    "Unsupported major.minor version 51.0" is the giveaway.

    If you're not sure what java version you have just run "java -version" from the console.

    This post has been edited 1 time. It was last edited by Feed_Dante Apr 18, 2012.

Share This Page