[MECH] BigCatch v0.7 - making Fishing more interesting. [818]

Discussion in 'Inactive/Unsupported Plugins' started by spoonikle, Feb 20, 2011.

  1. Offline

    spoonikle

    BigCatch - Fishing, Made fun:

    I dont have much time for MC, or coding for fun. So i am going to have to throw in the towel. Anyone is welcome to Pick up the plug-in if they would like. I am just to busy for this kind of work. Here is the source <3

    by: Spoonikle
    with special thanks to...
    Yurij - great code
    FullWall - Good advice, and spotting big problems before they hurt my head
    darknesschaos - Words of encouragement
    Edward Hand - great code
    and to Samkio - For his Tutorials and helping me when my head hurt
    the most.

    Version: v0.7

    BigCatch, adds to the Fishing mechanic in Minecraft. With random catch events, and making it easier to get a fish, even when the server is laggy. Using the plug-in is simple, just throw it in your plug-in folder. when ever a player starts fishing, its working!

    All events are simple, there is no gold - or unobtainable items - in fact most of the fishing events created in BigCatch are well balanced for any traditional survival server.

    BigCatch Makes a great and FUN addition to any server!

    Features:
    • Added random events, such as catching a leather hat, with a fish inside.
    • Added the BIG CATCH, where a player gets 4 fish for the price of 1!
    • Events range from Saving a drowning Pig, to catching a Squid!!
    When a player has been fishing for 10 seconds, and fails to catch a fish he is then given a 45% chance to catch a fish, and then a range of other random events.

    but, if a player has been fishing for 5 seconds or more, and catches a fish, they will receive a BIGCATCH - 3 additional fish.

    The Drop Table (open)
    "item" - "chance"
    dirt and failure - 2 in 30
    Leather boots - 1 in 10
    leather boots and a fish - 2 in 30
    a fish - 5 in 40
    a leather hat - 1 in 10
    a leather hat with a fish - 1 in 30
    a fish and a bone - 1 in 30
    a fish and 2 bones - 1 in 30
    BigCatch (3 fish) - 1 in 90
    nothing - 1 in 10
    a squid - 2 in 60
    a squid with a fish - 1 in 90
    String - 2 in 30
    A skeleton - 0.333%
    a near miss with a skeleton and broken bones - 2.997 %
    a pig - 0.666%
    The pig drowns and you get a piece of pork - 2.667%

    Planned additions:
    • More random events.
    • Configurable parameters
    • Configurable events, and event messages
    • Even more, cooler Fishing events! Keep sending them to me!
    known bugs:
    • Event catches involving mobs do not work properly (minor)
    Download BigCatch! v0.7 for Craftbukkit!

    Source Code

    Changelog:

    Version 0.7
    • Made the migration to latest CB-RB
    • Ate your Cake, it was delicious.
    • fixed DropFish bug - again
    • increased the distance away water can be from a players cross-hair and still be considered fishing. (now = 20 blocks)
    • reduced time required for BigCatch and Catch Event calculations
    • Fixed bug that stacked 3 fish in the inventory instead of 3 separate fish during a BigCatch
    • Tested method of catching radioactive woolly Mammoths with new quantum entanglement tangle angler and uranium 238 tackle box, to make space holes - failed
    • redesigned the Miscast, improper fishing line use, check.
    • Conformed to new ItemPickup standards
    • Ignored government regulations that apply to human testing
    Version 0.5
    • Fixed a bug where players fishing at the same time, would interferer with each-others event calculations.
    • Fixed a glitch that would occur when you cast a line at dirt, then reeled in facing water.
    • Fixed a glitch that would allow the generation of an insane number of timer threads by anyone with a large amount of fish.
    • Added miss cast checks to the fishing rod.
    • increased the overall efficiency of the program
    Version 0.4
    • Major Bug fix, warranting new version number. Fixed Major exploit.
    • Added wooden Bowls and gold to the table. (A tribute to my new plug-in project)
    Version 0.3_1
    • Fixed minor bug - Skeleton spawning instead of a pig :p surprise!
    Version 0.3
    • Removed TSLPC
    • conformed to new Drop item event standards
    • BigCatch! event confirmed to be 100% operational!!
     
    Undrtakr, Litt, Montag and 2 others like this.
  2. Offline

    neogeek23

    Just want to voice encouragement :) - Would love to see this released for the 1.4 MC version :)
     
  3. Offline

    UndeadLex

    Latest rec build is now 677 which "Fixed an oversight allowing players to set invalid positions."
    Dunno if this pertains to any of the issues in your current build.. but just throwing that out there.
     
  4. Offline

    sintri

    Code:
    2011-04-14 10:47:32 [SEVERE] Could not pass event PLAYER_INTERACT to BigCatch
    java.lang.NullPointerException
        at com.hotmail.spoonikle.bigcatch.RodActivation.onPlayerInteract(RodActivation.java:35)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:477)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    677
     
  5. Offline

    Kahl

    We need this updated.
     
  6. Offline

    Montag

    I would also love to see an update. Keep up the good work!
    (Using CB617)
     
  7. Offline

    EwMeep

    Please, Please update!
     
  8. Offline

    MrObject

    Keep up the good work. I know your trying your hardest to get a 617+ update working.

    Just think though, in a week 1.5 will be out, and a new CB build will be released to break all the plugins again :p
     
    gilbz likes this.
  9. Offline

    Horia0310

  10. Offline

    kahlilnc

    Can you add a chance to catch money in hats and boots. iConomy.
     
  11. Offline

    Nytemare3701

    A treasure chest would indeed be a fun thing to find. Of course, it would have to be configurable to allow amount of money, % chance of finding it, etc.
     
    kahlilnc likes this.
  12. Offline

    Dysalot

    Worst pun of the month incoming...

    I am waiting with baited breath for this.
     
  13. Offline

    spoonikle

    oh geezz i have been really busy lately. I will try to tap out a working version today.

    no matter which way i look at it, i can't see whats wrong. T-T
     
  14. Offline

    Marius8

    did you check if any of the pointers has been changed?
    I've heard that there have been some changes because of the wolves.
     
  15. Offline

    spoonikle

    I have refreshed my library's, i am missing something other than that. I think i need to run something after i check for a fishing rod.
     
  16. Offline

    Kitteh

    Yes you are using an old event type. I've fixed and annotated the changes for you it's just a few lines;
    Download JAR - Tested with CraftBukkit 684

    Download Source - Tested with Craftbukkit 684 and bukkit 654
     
    dak393 likes this.
  17. Offline

    MrObject

    703 is the current stable build. We'll see if they stop there for now :p
     
  18. Offline

    Kitteh

    684 was latest at the time, are people waiting for an update for 703? Because i can update it if they still use this
     
  19. Offline

    baunegaard

    i still got lots of errors with your version of bigcatch. but if you can make it work for 1.5 bukkit please do so :)
     
  20. Offline

    Horia0310

    Make the last build (712 I think)
     
  21. Offline

    spoonikle

    ug so many builds
    i will decompile and check it out. Thanks for the help.
     
  22. Offline

    Kitteh

    Player drop item and player pickup item need to be changed as well, i can take a look if you like just let me know
     
  23. Offline

    spoonikle

    really? why did they change those!? bums.
     
  24. Offline

    Kitteh

    I believe extra hooks have been added to those events also Player_interact is a broader event, therefore you need to validate the event before casting/using it.
     
  25. Offline

    spoonikle

    I have added -

    Code:
    if (!(event.getAction().equals(Action.RIGHT_CLICK_AIR))) {
                return;
          }
    to check the event, will that work?

    also i know nothing about Player drop item and player pickup item, care to help me on that one? here is the latest source (this lacks the above mentioned addition.)

    http://dl.dropbox.com/u/19143385/bigcatch src.rar
     
  26. Offline

    Onza40

    Can we get a 705+ compatible build, and an update on the first post to show what the latest version of the plugin is please.
    Much appreciated.
     
  27. Offline

    Horia0310

    I get enable thingy but no cfg?
     
  28. Offline

    spoonikle

  29. Offline

    baunegaard

    i am getting this error:


    2011-04-27 16:38:50 [SEVERE] Could not load 'plugins/bigcatchtest.jar' in folder 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:59)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  30. Offline

    m5k

    This, I can not wait for! Great plugin, used to use it when it was working. Making it a LC addon would allow permissions and exp. That's all my poor fishermen want.
     
    mbsuperstar1 likes this.
  31. Offline

    spoonikle

    in my haste is forgot the plugin.yml

    My mistake. I have added it to the file http://dl.dropbox.com/u/19143385/bigcatchtest.jar

    I am glad to hear support for a LC version of BigCatch. Rewriting BigCatch for LC would actually be easier than patching this version :p.
     
    mbsuperstar1 likes this.

Share This Page