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

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.

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

    jeffro1001

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

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

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Course is finished.
    Check it out!!



  4. Offline

    Relicum

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  5. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.

    This post has been edited 2 times. It was last edited by jeffro1001 Apr 20, 2012.
  6. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  7. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 :)

    This post has been edited 1 time. It was last edited by jeffro1001 Apr 21, 2012.
  8. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  9. Offline

    randeri221

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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...
  10. Offline

    Feed_Dante

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  11. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.

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

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What is your port? Tried connecting and it wont let me. Is it open 24/7?
  13. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  14. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Great round.
    I was sweating there going into the back 9, but I pulled it out. hehe

    stop by any time
  15. Offline

    MaGicBush

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.

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

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Take a look at the known bugs on the OP.
  17. Offline

    MaGicBush

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It was actually a issue with me using a GUI, I just made a bat file and now it works correctly. However I have made a small hole to test it out and I get a permissions error for some reason. If someone could help make this work I would much appreciate it! I have the permissions.yml set to:

    Code:
    users:
        MaGicBush:
            groups:
            - admin
        BeRanDone:
            groups:
            - admin
    groups:
        admin:
            permissions:
                permissions.*: true
                GolfCraft.golf.spectate: true
                GolfCraft.golf.play: true
                GolfCraft.tp.play: true
                GolfCraft.tp.sign: true
                GolfCraft.tp.sign.others: true
                GolfCraft.golf.create: true
                GolfCraft.golf.sign: true
                GolfCraft.golf.ref: true
    And it says I have invalid permission when trying to use /golf create 1 2 ?
  18. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    All of your "GolfCraft" nodes need to be "golf".
  19. Offline

    MaGicBush

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the quick reply, just updated and tried that but still getting a "You do not have permission" error? Also I am not using essentials, only using two plugins currently: MCMMO and this one.

    Updated permission file:

    Code:
    users:
        MaGicBush:
            groups:
            - admin
        BeRanDone:
            groups:
            - admin
    groups:
        admin:
            permissions:
                permissions.*: true
                golf.spectate: true
                golf.play: true
                golf.tp.play: true
                golf.tp.sign: true
                golf.tp.sign.others: true
                golf.create: true
                golf.sign: true
                golf.ref: true
    Only two of us use this server, and I have tried every combination I can think of in the permission file but nothing will work?

    This post has been edited 4 times. It was last edited by MaGicBush Apr 22, 2012.
  20. Offline

    randeri221

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    finally did it lol!
    awesome plugin!
    for now made only 2 holes lol
  21. Offline

    MaGicBush

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There should be an explanation of how far each club shoots, as any I choose seems to shoot much further than I aim. The first hole I made we both landed within 67m of the hole yet any club we use way over shoots the hole and makes us land in the water hazard behind it no matter where we aim even if it's at our own feet?

    This post has been edited 3 times. It was last edited by MaGicBush Apr 23, 2012.
  22. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you want to aim your balls, then disable clubs in the config. If you have clubs enabled, then each club will have a fixed angle at which they shoot. Driver (1wood) shoots up to 130m, and I believe 8 iron is down around 60.
  23. Offline

    MaGicBush

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Alright thanks will try it disabled later!
  24. Offline

    navbarry

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this use alot
    of cpu/ram
  25. Offline

    Musaddict

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not that I've noticed. It really doesn't do anything till you shoot a ball anyway, and that isn't very resource-consuming at all.
  26. Offline

    jeffro1001

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How are the new developments coming along?


    Oh, I've started construction on a 2nd course.
  27. Offline

    FallenKnight666

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    so every time i create a new hole this error happens

    Code:
    2012-04-25 05:34:07 [INFO] [Golfcraft] Saving 2 holes...
    2012-04-25 05:34:07 [SEVERE] [Golfcraft] Unknown error saving Holes.
    2012-04-25 05:34:07 [SEVERE] java.lang.NullPointerException
    2012-04-25 05:34:07 [SEVERE] at musaddict.golfcraft.GcFiles.save(GcFiles.java:154)
    2012-04-25 05:34:07 [SEVERE] at musaddict.golfcraft.GcCommands.onCommand(GcCommands.java:288)
    2012-04-25 05:34:07 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2012-04-25 05:34:07 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    2012-04-25 05:34:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    2012-04-25 05:34:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
  28. Offline

    Deren909

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I get this error upon startup.
  29. Offline

    Feed_Dante

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    "Unsupported major.minor version 51.0" means you're running the server with Java 1.6, you need 1.7

    Halfway up this page is this exact same error and more info about it.
  30. Offline

    Deren909

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updatin' My Mac Right Now thanks

Share This Page