Inactive [ECON/RPG/FUN] TreasureHunt 0.8.2 - Randomly-placed treasure goodness! [1.2.4-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Taien, Sep 27, 2011.

  1. Offline

    Terrilp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I was hoping the update would work for me, i'm using cb1597.. And Still not generating a Config file. I add the .jar file to my plugins folder, and nothing happens. No folder is created. I read in an earlier post that someone just created the config files and then it worked. Does anyone have those config files, that i could add manually. I really wanted to try this out on my Server.
  2. Offline

    SullyTheUnusual

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, Taien! Thanks for the quick reply about DrawWeight, that totally makes sense now.

    Version 0.5e worked great on my CB1597 server, but I'm having all kinds of problems getting 0.6 to work. The config file isn't being generated properly. It doesn't contain any of the items and weights, so no chests are generated when typing "/starthunt". So, I used my old config file, and added the 3 new parameters to the bottom. Typing "/starthunt" at least gave me the help options for the command, but typing "/starthunt 5000" crashes my server.

    I have rolled back to version 0.5e, deleted the 3 new parameters from the config, and everything is fine now. Let me know if you want a list of my installed plugins or config files or anything.

    Thanks again for an awesome plugin!!
  3. Offline

    michael05242002

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    As I comprehend, taien.th.notify enables user to read
    "An EPIC treasure is spawned in somewhere" and "A player is very close to xxx treasure!".

    However, when I type /hunt list, players can read the answer message...
    It is possible to hide it and keeping them have permission to read the treasure spawning message?
  4. Offline

    Taien

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That is very odd. Could you provide me a copy of any errors you're getting in console?
  5. Offline

    Taien

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Having a bit of trouble understanding what you mean, but if you're asking if you can make it so they can't see when chests spawn and can only check how close they are with /hunt, or vice versa...then no, not yet. I could add that, though. A separate permission for each message is doable. I'll be updating the permission usage stuff to Vault's permission link too soon, so that should help alleviate problems people are having with those.
  6. Offline

    Terrilp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi Taien,
    Am I to Assume that you just don't know why my config file is not generating? That is fine, but a response to
    that effect might be nice:). This just sounded like a fun plugin for my server, but I have posted twice now, and
    not a response at all?
  7. Offline

    Taien

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You'd be correct. Are you getting an error message when you stop the server or reload? Does the plugin load correctly at least? If so, could you try '/hunt save' and see if that generates it?
  8. Offline

    Taien

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Btw guys, I realize there are some bugs, I'll get to it as soon as I can. I'm doing a major reprogram of my server's primary plugin right now and it's taking all my time. When it's done I'll fix the bugs here.
  9. Offline

    Gurkengelee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey Taien!

    Great plugin, seems to work very well and is a lot of fun to me.
    I just have one question: Can you disclose what kind of value the different kinds of chest hold? I ask because having a COMMON chest spawning three diamond tools is a bit too much for me but I would like to know what the values for the chests are before I mess with the config file.

    Thank you in advance!
  10. Offline

    Fauglir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi, I have this problem on my server:
    Code:
    2012-01-08 15:56:05 [WARNING] Task of 'TreasureHunt' generated an exception
    java.lang.NullPointerException
        at me.taien.THHunt.<init>(THHunt.java:80)
        at me.taien.TreasureHunt.startRandomHunt(TreasureHunt.java:493)
        at me.taien.THTimer.run(THTimer.java:24)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    TH at version 0.6, all running correctly (if I start manually a hunt it goes correctly, it seems something is broken with the timer, because I did /hunt setchance 1 and that error is appearing). Have you got any ideas? Thanks in advance and good work with this plugin ;)
  11. Offline

    xdeathoreox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Suggestion:

    Add a command that gives you hints as to where the treasure is. Like /hunt hint. It would tell you what biome the closest treasure is. Or maybe the direction of the treasure ( North, South, East, West )
  12. Offline

    GmK

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Uhm.

    /hunt
  13. Offline

    xdeathoreox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm dumb, I thought that was an OP only command. I'm stupid, and I should feel stupid
  14. Offline

    GmK

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Dont worry, happens to the best :D
  15. Offline

    Terrilp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you so much for responding! The plugin does not load correctly.. It does not generate the config files. I would try manually adding the necessary files via ftp, but i don't know what those necessary files are? It's ok, if you can't help me, I just appreciated the response. :)
  16. Offline

    mystique1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any ETA on when the fixes will come?
    I just started a new PVP server and would love to use this plugin (but config files are messed up).


    Also if possible it would be extremely awesome to make an option for minimum amount of players for it to generate chests? (I want at least 2 or 3 people online in order to start any treasure hunts).
  17. Offline

    Crafted_devil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, is it just me or does the '/starthunt here value command not work?
  18. Offline

    easton39

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You need to configure your plugin so Permissions 3.x will work.
  19. Offline

    stradan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi there,

    i really want to like this plugin, but i have a problem:
    This plugin needs about 30 percent of the CPU performance when i activate it. And after some time i always get the following error:

    Code:
    2012-01-13 13:36:16 [WARNING] Task of 'TreasureHunt' generated an exception
    java.lang.OutOfMemoryError: Java heap space
        at net.minecraft.server.ChunkProviderGenerate.getOrCreateChunk(SourceFile:218)
        at org.bukkit.craftbukkit.generator.NormalChunkGenerator.getOrCreateChunk(NormalChunkGenerator.java:39)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:72)
        at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:101)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:69)
        at me.taien.THHunt.<init>(THHunt.java:80)
        at me.taien.TreasureHunt.startRandomHunt(TreasureHunt.java:493)
        at me.taien.THTimer.run(THTimer.java:28)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-13 13:36:22 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:36:49 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:36:58 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:37:15 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:37:29 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:37:56 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:38:15 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:38:31 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-01-13 13:40:03 [SEVERE] Exception in thread "File IO Thread"
    2012-01-13 13:40:03 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2012-01-13 13:40:03 [SEVERE]     at java.lang.StringCoding$StringEncoder.encode(Unknown Source)
    2012-01-13 13:40:03 [SEVERE]     at java.lang.StringCoding.encode(Unknown Source)
    2012-01-13 13:40:03 [SEVERE]     at java.lang.String.getBytes(Unknown Source)
    2012-01-13 13:40:05 [SEVERE]     at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
    2012-01-13 13:40:05 [SEVERE]     at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source)
    2012-01-13 13:40:06 [SEVERE]     at java.io.File.exists(Unknown Source)
    2012-01-13 13:40:06 [SEVERE]     at net.minecraft.server.RegionFile.<init>(SourceFile:94)
    2012-01-13 13:40:08 [SEVERE]     at net.minecraft.server.RegionFileCache.a(SourceFile:63)
    2012-01-13 13:40:08 [SEVERE]     at net.minecraft.server.RegionFileCache.c(SourceFile:93)
    2012-01-13 13:40:09 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:131)
    2012-01-13 13:40:09 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.c(SourceFile:121)
    2012-01-13 13:40:11 [SEVERE]     at net.minecraft.server.FileIOThread.b(SourceFile:29)
    2012-01-13 13:40:11 [SEVERE]     at net.minecraft.server.FileIOThread.run(SourceFile:22)
    2012-01-13 13:40:12 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2012-01-13 13:40:12 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2012-01-13 13:40:14 [SEVERE]     at net.minecraft.server.NBTTagCompound.setShort(SourceFile:49)
    2012-01-13 13:40:14 [SEVERE]     at net.minecraft.server.ItemStack.b(ItemStack.java:105)
    2012-01-13 13:40:15 [SEVERE]     at net.minecraft.server.EntityItem.b(EntityItem.java:111)
    2012-01-13 13:40:15 [SEVERE]     at net.minecraft.server.Entity.d(Entity.java:947)
    2012-01-13 13:40:16 [SEVERE]     at net.minecraft.server.Entity.c(Entity.java:914)
    2012-01-13 13:40:16 [SEVERE]     at net.minecraft.server.ChunkLoader.a(SourceFile:125)
    2012-01-13 13:40:16 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:84)
    2012-01-13 13:40:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:152)
    2012-01-13 13:40:18 [SEVERE]     at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:201)
    2012-01-13 13:40:19 [SEVERE]     at net.minecraft.server.World.save(World.java:269)
    2012-01-13 13:40:19 [SEVERE]     at net.minecraft.server.World.doTick(World.java:1735)
    2012-01-13 13:40:20 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
    2012-01-13 13:40:22 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-01-13 13:40:22 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-13 13:40:22 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
        at net.minecraft.server.NBTTagCompound.setShort(SourceFile:49)
        at net.minecraft.server.ItemStack.b(ItemStack.java:105)
        at net.minecraft.server.EntityItem.b(EntityItem.java:111)
        at net.minecraft.server.Entity.d(Entity.java:947)
        at net.minecraft.server.Entity.c(Entity.java:914)
        at net.minecraft.server.ChunkLoader.a(SourceFile:125)
        at net.minecraft.server.ChunkRegionLoader.a(SourceFile:84)
        at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:152)
        at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:201)
        at net.minecraft.server.World.save(World.java:269)
        at net.minecraft.server.World.doTick(World.java:1735)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    I am also getting the
    [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    every few seconds or minutes when the plugin is running.
    Any idea how to solve this problem?
    If you need more information just ask.

    Thanks for your help!

    This post has been edited 2 times. It was last edited by stradan Jan 13, 2012.
  20. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Or... You should switch to an permissions plugin that actually are supported and not inactive. More and more plugins stop supporting Permissions 3 so you would only do yourself a favor to switch to one that is active.
  21. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    One thought about this plugin. I'm running a private server for me and a couple of friends. Since we're not many people playing (20 at most) and the map is quite big. Running around with rotten food is ok, but is it possible to make the plugin mark the spot on dynmap?

    Since the console prints out the exact coords when a new treasure is generated, it seems like it would be possible to make it use dymaps dmarker to mark it on the map. This way we on the server would actually compete to reach it first. :)

    Cheers
    Raycrash likes this.
  22. Offline

    easton39

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I AM NOT GOING TO SWITCH AS OTHERS DO NOT WORK.

    P.S. Your Avatar is scary... D:
  23. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My avatar is me, so I'm scary.

    If you're not going to switch permission you are going to have to live with a lot of plugins not working since your permissions plugin isn't updated any more. I've used permissionsBukkit and PEX and both works fine.

    But it's your choice. I don't think anyone making plugins will put down extra time to make them compatible with something that's inactive thought...

    EDIT: Just for you I changed my Avatar. Happy? :) (Still me thought)

    This post has been edited 1 time. It was last edited by Sketaful Jan 19, 2012.
  24. Offline

    Taien

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for your comments and ideas.

    First off, I might be able to add some dynmap stuff down the line, but for now it's not a priority since there are still issues with the plugin itself. But yes, it does seem as if it would be extremely easy to make it mark it :)

    On an upnote...
    Version 0.7 has been released. See changelog for details. I've basically moved to Vault for supporting various permissions and economy plugins. I'm sorry if some of you don't like Vault for whatever reason, but I've found it to be extremely efficient on my server and very helpful as a plugin coder. It basically allows me to support any permission/economy plugin without having to code huge subsections of code to handle that stuff. I highly recommend downloading it.
  25. Offline

    Fauglir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm going to try 0.7, if more errors appear I'll post here :p
  26. Offline

    easton39

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes, the avatar is better, and I was able to get PEX to work after 2 hours of messing around with it.
    Sketaful likes this.
  27. Offline

    Quixote22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks. Great plugin!
    • Is it possible to add some kind of SetCompass command (and permission)? I'm thinking that there would be some central starting place (HQ) that players would know about. Then when the hunt begins, they head to HQ where a CommandSign/ServerSign could set compass (for users that have a compass) to the location of the Treasure (or the Surface Location).
    • Also, is it possible to put a Min Player parameter in the configuration so the Hunt doesn't get triggered when there are too few players connected to the server.
    Do you prefer comments here or the BukkitDev thread?

    This post has been edited 1 time. It was last edited by Quixote22 Jan 31, 2012.
  28. Offline

    Zoon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I might just be missing it somewhere, but what do the values in the config file represent?
    I do not want people getting a stack of 20 'water' in the chests, and one chest had 5 stacks of feathers..
    Is there a way to set this config to regulate it some how ?
  29. Offline

    cheti1337

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i get a horrible 5 second lagspike, spamming with CANT KEEP UP, right before the chest generates... any way to fix that ?
  30. Offline

    sircoolkeen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When my players type /hunt it returns the message /hunt.

    Any Ideas To Fix It?

Share This Page