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 10, 2012.

  1. Offline

    Musaddict

    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.
     
  2. Offline

    Gingerninjaprsn

    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
     
  3. Offline

    Musaddict

    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).
     
  4. Offline

    jeffro1001

    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.
     
  5. Offline

    Musaddict

    Cant wait :)
     
  6. Offline

    jeffro1001

    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.
     
  7. Offline

    randeri221

    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 :)
     
  8. Offline

    Musaddict

    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.
     
  9. Offline

    Feed_Dante

    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.
     
  10. Offline

    jeffro1001

    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.
     
  11. Offline

    Musaddict

    Whats about irons in sand traps? And I thought the rough naturally decreased speeds by at least a small percentage.
     
  12. Offline

    jeffro1001

    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
     
  13. Offline

    randeri221

    i updated my java to 1.7 and it still doesnt work
     
  14. Offline

    Musaddict

    Can you paste the error?
     
  15. Offline

    randeri221

    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
     
  16. Offline

    jeffro1001

    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
     
  17. Offline

    Feed_Dante

    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.
     
  18. Offline

    Musaddict

    Lol k, thanks for the heads up. Oh, and apparently I forgot to update this thread to version 1.5.2, lol. It's uploaded on BukkitDev tho.

    Edit: wait, it's already in the list of permissions, lol.
     
  19. Offline

    jeffro1001


    golf.play is in the list

    golfcraft.play is not, and that's the actual node. :)

    On a side note, I just finished up hole 18. There are a few changes I still need to do to make it perfect though, so expect an invitation to come play a round, prob this weekend.
     
  20. Offline

    jeffro1001

    Course is finished.
    Check it out!!



     
  21. Offline

    Relicum

    Great Plugin would it be possible to actually have a competition mode like real golf. Admins created a course for the players, then four,three,two players could go round together and it keeps the scores on a score board to avoid cheating. then at the end of the round it displays each players total score for the round. So people like myself are super competitive at golf and could spend hours playing with friends trying to beat them.

    Great plugin.
     
  22. Offline

    jeffro1001

    Musaddict,

    Thanks for all the work you've done on this.

    The bukkit community is truly awesome.


    There are a few more suggestions I'd like to make.

    After playing my first round, I've come to realize that the shots you take are just too... accurate.

    Would it be possible to modify the club distances to have a maximum distance, and a minimum distance, and that your shot will end up somewhere in between?

    Not just distance either, have the actual trajectory have a slight variance as well, so that the ball would randomly end up left or right to where you actually aimed.

    This side to side variance would be more pronounced the longer the club. Meaning the driver would have the highest variance ( landing 4 to 5 blocks left or right from where you initially aimed, and the shortest clubs ( wedges ) landing 1 block left or right )

    leaving the putter as the only club that goes exactly where you pointed it.
     
  23. Offline

    Musaddict

    Yes. That will be a simple alteration. How much variance were you thinking for distance variances? I was thinking 7.5%, so anywhere from 85% to 100%

    Yaw variance will be a lil' trickier, but doable. Question tho, the amount you specified is only a 0.5% variance (±2°). That seems a little small. Are you sure that you don't want like... a 1.5% variance (±6°)? That would make drivers hit up to 10-15 blocks from the aiming point.
     
  24. Offline

    jeffro1001

    The distance variance sounds good.

    I dont think that the driver yaw variance should vary more than 10 blocks.


    The shorter the club, the less the variance should be.

    Sorry for taking so long to reply, Friday night is raid night :)

    The course is open to the public!

    76.114.254.63

    Musaddict / Feed_dante ,

    Let me know if / when you plan on playing so I can join you.

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

    randeri221

    i did it and it says:
    Code:
    java version "1.7.0_03"
    Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
    Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
    it says that my java is 1.7 and still it the golfcraft doesnt work...
     
  26. Offline

    Feed_Dante

    If the server was truly being run with 1.7 then you would not see "Unsupported major.minor version 51.0".

    If you still see that error and the console reports java as 1.7 then my best guess is that you have both installed.

    Check whatever commands you use to start the server and make sure it isn't pointed directly to the 1.6 JRE.

    If none of that works remove all versions of java and reinstall 1.7.
     
  27. Offline

    Musaddict

    If you are using Java 1.7, then you need to specify it in your RUN.bat file. Right click it, "Edit", and change it to this:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    Sorry for making this difficult, lol. I'm used to using 1.7, so I assume everyone will have the same, smooth experience.

    What is your port? Tried connecting and it wont let me. Is it open 24/7?

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

    jeffro1001

    Musaddict,

    I was having some trouble with the world spawn. The new folks that were connecting today were spawning in a field somewhere... so it's been down for the last 15 minutes so i could tweak homespawnplus.

    I'm back up and running now.

    Great round.
    I was sweating there going into the back 9, but I pulled it out. hehe

    stop by any time

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

    MaGicBush

    Hey I am trying to use this plugin with the last stable bukkit build and I get the error:

    8:22:40 PM [SEVERE] Could not load 'plugins\GolfCraft.jar' in folder 'plugins'
    8:22:40 PM org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: musaddict/golfcraft/Golfcraft : Unsupported major.minor version 51.0

    Followed by quite a few lines, any help would be appreciated!

    Also I tried updating to the latest java, and the issue still exists.
     
  30. Offline

    Musaddict

    Take a look at the known bugs on the OP.
     

Share This Page