Inactive [FUN/ECON]MonsterHunt v1.5.1 - Who kills most mobs? [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Jan 29, 2011.

  1. Offline

    matejdro

    MonsterHunt

    Are your players building at day, but bunker into their houses, when night comes? Make them hunt monsters!

    This plugins adds another layer of fun against monsters. It's absolute must have, if you have monsters turned on.

    At night, when monsters come out, plugin will count how many monsters each player kills. At the end of the night, name of the player with most kills is announced globally.

    Additionally, you can enable reward to add another way of gathering stuff to the server or to simply motivate players to hunt monsters.


    (BIG thanks to @Samkio for the video)

    See BukkitDev page for more information and download links: http://dev.bukkit.org/server-mods/monsterhunt/
    (you can use your minecraft forum username and password on BukkitDev)
     
  2. Offline

    ReapKarmah

    Monster Hunt does indeed start at the real night.
    The problem that I'm facing is that Monster Hunt's "get ready, monster hunt will start soon" message displays at the first day instead of the appropriate second day.

    Know what I mean?
     
  3. Offline

    marshall007

    No, it's not in the main library, it's in /lib. If it is indeed required to be in the main directory, I'd suggest changing it to be consistent with other plugins. We don't need multiple sqlite jars.
     
  4. Offline

    Malix

    Could we have players automatically join the hunt? EnableSignup=false didn't do this at first glance
     
  5. Offline

    escape

    Not working for me, I have the sqlite jar in my root folder but it's still throwing classnotfound and NPE when I launch the server.
    Code:
    20:35:35 [SEVERE] java.lang.ClassNotFoundException: org.sqlite.JDBC
    20:35:35 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    20:35:35 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    20:35:35 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    20:35:35 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    20:35:35 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    20:35:35 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    20:35:35 [SEVERE]     at java.lang.Class.forName0(Native Method)
    20:35:35 [SEVERE]     at java.lang.Class.forName(Class.java:169)
    20:35:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:49)
    20:35:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:36)
    20:35:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:263)
    20:35:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:53)
    20:35:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    20:35:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    20:35:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    20:35:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    20:35:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    20:35:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    20:35:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    20:35:35 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    20:35:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    20:35:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    20:35:35 [SEVERE] null loading MonsterHunt v0.4.2 (Is it up to date?)
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:264)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:53)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  6. Offline

    ReapKarmah

    Try making sure MinimumPlayers: is set to 1 as well.
     
  7. Offline

    AnjoCaido

    SkipDays and StartChance seems not be working...

    Hunt happens everynight everytime.
     
  8. Offline

    Xylogeist

    For me the hunt never begins anymore... used to work, but doesn't seem to anymore. Every time night starts nothing happens.
     
  9. Offline

    thorncrown

    Hey there! Now everything works fine. Accept one thing: "StartChance". Our startchance is at 20%, but monsterhunt starts every single night. Whats wrong there? My config:

    Code:
    SkipDays: 0
    MinimumPlayers: 2
    EnableSignup: true
    MySQLPassword: password
    PointsSkeleton: 1
    PointsSlime: 1
    CountBows: false
    DeathPenalty: 30
    EnabledWorlds: scummisland
    PointsCreeper: 1
    MinimumPoints: 1
    RewardEveryone: false
    PointsGhast: 1
    OnlyCountMobsSpawnedOutside: false
    FinishTime: 23600
    EnableHighScores: true
    StartTime: 13000
    PointsGiant: 1
    MySQLConn: jdbc:mysql://localhost:3306/minecraft
    RewardParameters: 264 1-3;314 1-1;315 1-1;316 1-1;317 1-1;283 1-1;306 1-1;307 1-1;308 1-1;309 1-1;22 1-2;278 1-1;2257 1-1;2256 1-1;354 1-4;329 1-3, 265 20-20
    PointsSpider: 1
    Debug: false
    MySQLUsername: root
    RewardParametersEveryone: false
    PointsZombiePigman: 1
    SignUpPeriodTime: 5
    UseMySQL: false
    StartChance: 20
    PointsZombie: 1
    TellTime: true
    EnableReward: false
     
  10. Offline

    Puffs

    I got to thinking it would be awesome to have a common/uncommon/rare reward. I was going to ask to have a future version have percentage chance for each reward set you add but I realized it can be done with the current framework. if you are interested in really spicing up your reward system here is what I did.

    I wanted to create a common/uncommon/rare/ultra-rare reward set:
    40% common
    30% uncommon
    20% rare
    10% ultra-rare

    So I created 10 sets in my RewardParameters, with repeat sets. So the common reward is repeated 4 times, uncommon 3 times, etc... You could go 20 sets and break it down into 5% increments if you wanted to as well.

    The code I have is:

    RewardParameters: 14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;86 1-2,39 1-5,265 R0.2-0.5,264 1-1;86 1-2,39 1-5,265 R0.2-0.5,264 1-1;86 1-2,39 1-5,265 R0.2-0.5,264 1-1;48 5-20,49 1-3,21 2-6,264 3-5,42 1-1;48 5-20,49 1-3,21 2-6,264 3-5,42 1-1;322 1-1,57 1-1,18 64-64,42 1-3,354 1-1
    PointsSpider: 2
    Debug: false
    MySQLUsername: root
    RewardParametersEveryone: 265 R0.2-0.6,262 R0.5-1.5,37 1-2,38 1-2


    Code:
    RewardParameters: 14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;14 R0.1-0.3,40 1-5,260 1-3,262 R1-1;86 1-2,39 1-5,265 R0.2-0.5,264 1-1;86 1-2,39 1-5,265 R0.2-0.5,264 1-1;86 1-2,39 1-5,265 R0.2-0.5,264 1-1;48 5-20,49 1-3,21 2-6,264 3-5,42 1-1;48 5-20,49 1-3,21 2-6,264 3-5,42 1-1;322 1-1,57 1-1,18 64-64,42 1-3,354 1-1
    PointsSpider: 2
    Debug: false
    MySQLUsername: root
    RewardParametersEveryone: 265 R0.2-0.6,262 R0.5-1.5,37 1-2,38 1-2
    

    So everyone gets some iron and arrows and a couple flowers.
    All of the winner rewards have at least 4 items (so, yes people need to have inv spaces at end of hunt).
    common - gold ore, red apple, red mushroom, extra arrows
    uncommon - pumpkin, brown mushroom, extra iron, diamond
    rare - Moss stone, obsidian, lapiz, diamond, ironblock
    ultra-rare - golden apple, diamond block, leaves, ironblock, cake

    I should note I have Minecart Mania and mcMMO running so the need for iron (tracks and repair skill) is HUGE! If you are keeping the economy on your server slow you may want to tone back some rewards if you use this. This plugin has been the single easiest way for me to artificially introduce the materials that are just too scarce on the server.

    Thanks again matedjro for the awesome plugin!
     
    fneyret likes this.
  11. Offline

    AnjoCaido

    Code:
    12:33:21 [SEVERE] [MonsterHunt] Error while inserting new high score into DB! - No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
     
    ** BEGIN NESTED EXCEPTION **
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
    MESSAGE: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
    
    STACKTRACE:
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
            at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
            at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:96)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:174)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:248)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
            at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2431)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2882)
            ... 16 more
     
    ** END NESTED EXCEPTION **
     
    12:33:21 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
     
    ** BEGIN NESTED EXCEPTION **
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
    MESSAGE: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
    
    STACKTRACE:
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
            at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
            at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:96)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:174)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:248)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
            at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2431)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2882)
            ... 16 more
     
    ** END NESTED EXCEPTION **
     
    12:33:21 [SEVERE]       at sun.reflect.GeneratedConstructorAccessor56.newInstance(Unknown Source)
    12:33:21 [SEVERE]       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    12:33:21 [SEVERE]       at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    12:33:21 [SEVERE]       at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    12:33:21 [SEVERE]       at com.mysql.jdbc.Util.getInstance(Util.java:381)
    12:33:21 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
    12:33:21 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    12:33:21 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
    12:33:21 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1098)
    12:33:21 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4076)
    12:33:21 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4042)
    12:33:21 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:93)
    12:33:21 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:174)
    12:33:21 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:248)
    12:33:21 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    12:33:21 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
    12:33:21 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    12:33:21 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    12:33:21 [SEVERE] [MonsterHunt] Error while inserting new high score into DB! - No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
     
    ** BEGIN NESTED EXCEPTION **
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
    MESSAGE: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
    
    STACKTRACE:
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
            at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
            at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:96)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:174)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:248)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
            at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2431)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2882)
            ... 16 more
     
    ** END NESTED EXCEPTION **
     
    12:33:21 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
     
    ** BEGIN NESTED EXCEPTION **
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
    MESSAGE: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
    
    STACKTRACE:
    
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 30 ms ago.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
            at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
            at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:96)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:174)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:248)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
            at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2431)
            at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2882)
            ... 16 more
     
    ** END NESTED EXCEPTION **
     
    12:33:21 [SEVERE]       at sun.reflect.GeneratedConstructorAccessor56.newInstance(Unknown Source)
    12:33:21 [SEVERE]       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    12:33:21 [SEVERE]       at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    12:33:21 [SEVERE]       at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    12:33:21 [SEVERE]       at com.mysql.jdbc.Util.getInstance(Util.java:381)
    12:33:21 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
    12:33:21 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    12:33:21 [SEVERE]       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
    12:33:21 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1098)
    12:33:21 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4076)
    12:33:21 [SEVERE]       at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4042)
    12:33:21 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:93)
    12:33:21 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:174)
    12:33:21 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:248)
    12:33:21 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    12:33:21 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
    12:33:21 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    12:33:21 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  12. Offline

    matejdro

    @Xylogeist can you type /huntstatus?

    @Malix EnableSignup=false should work

    @Puffs nice find. Percentages also added to my todo list.

    @AnjoCaido it appears that MonsterHunt breaks connection with MySQL for some reason. Is your MySQL server working properly?

    Everyone with StartChance and SkipDays issues, what CB build are you using? I have latest recommended one and i cannot reproduce this problem.
     
  13. Offline

    Diet Taco

    Great Plugin! I love it and it is very useful for the way I have my server setup!
    Do you think it would be possible to restrict the messages displayed for MonsterHunt to only the players that have "monsterhunt.usercmd.hunt" because the way my server is setup only certain players are allowed to hunt, and it could get confusing if a player who can't hunt sees all of the messages for a hunt.
    Once again, great job on the plugin and I hope my suggestion makes since.
     
  14. Offline

    ReapKarmah

    CB 531
    Extend Day v1.3102102011 by Gyd. (Not original author due to absence)

    Extend Day settings:
    Code:
    nighttime-nights-long=1
    start-time=day
    daylight-days-long=2
    Monster Hunt settings:
    Code:
    SkipDays: 0
    MinimumPlayers: 1
    EnableSignup: false
    MySQLPassword: *Sensor*
    PointsSkeleton: 1
    PointsSlime: 4
    CountBows: false
    DeathPenalty: 0
    EnabledWorlds: Ecclesia
    PointsCreeper: 3
    MinimumPoints: 1
    RewardEveryone: true
    PointsGhast: 6
    OnlyCountMobsSpawnedOutside: true
    FinishTime: 23600
    EnableHighScores: true
    StartTime: 13000
    PointsGiant: 10
    MySQLConn: jdbc:mysql://localhost:3306/minecraft
    RewardParameters: 22 R0.1-0.2;41 R0.1-0.2;42 R0.1-0.2;49 R0.1-0.2;57 1-1;87 R0.1-0.2;88 R0.1-0.2;89 R0.1-0.2;341 R0.1-0.2
    PointsSpider: 2
    Debug: false
    MySQLUsername: root
    RewardParametersEveryone: 354 1-1
    PointsZombiePigman: 5
    SignUpPeriodTime: 5
    UseMySQL: false
    StartChance: 100
    PointsZombie: 1
    TellTime: true
    EnableReward: true
    I've tried:
    SkipDays: 1
    But it still didn't display the MessageSignUpPeriod at the proper day.


    Also, "OnlyCountMobsSpawnedOutside: true" may work, but it works very buggy-like...I know it must be hard to truly detect whether or not a player is inside a house or cave but is this the best the feature can perform? I could literally be out on a flat plain and all it takes to trigger this is if a monster was jumping in the air and in that split second I killed them.
     
  15. Offline

    AnjoCaido

    Yeah. I rarely have those... All my other plugins like iConomy BigBrother.... etc works nicely.
     
  16. Offline

    matejdro

    It appears that unofficial version of ExtendDay is not compatible with MonstterHunt and i cannot find source of that version, so i cannot fix it. I suggest you put your bets on SkipDays, after i hopefully fix it :)

    OnlyCountMobsSpawnedOutside means that only mobs that spawned outside will be counted. It does not have anything to do with jumping. This is still more like Beta feature, so i hope i can improve it. With enough feedback of course.

    @AnjoCaido Weird. I have no idea, what that error means. And i'm quite sure that it's not MonsterHunt.
     
  17. Offline

    Icemat99

    Hello really good plugin i love it! but i dont get it with the reward thing i want to but iron Rewardparameter=265 1-10 but i dont know where to but that line please make a photo of exaktly where i should place it cus i dont find Rewardparameter= somwehere :/
     
  18. Offline

    matejdro

    You should place it in config.yml inside plugins\MonsterHunt folder.
     
  19. Offline

    ReapKarmah

    So I'll have to wait for the Original Author of Extend Day to release a new version in order for it to properly work with Monster Hunt. That's fine, I'll manage Monster Hunt with other methods for now.

    I'd love to give any and all feedback that I can in order to help the development of this plugin.
    The OnlyCountMobsSpawnedOutside feature is quite interesting and I have a question or two about it.

    1)Based on the name, shall I assume it means that it only pertains to mobs that were originally spawned out in the open of the map?
    2) Why is it when I killed a mob outside (it was jumping btw) the feature decided to kick in and deny me points?

    Glad this feature exists because I for one used to abuse Monster Hunt on another server via Dungeons :p
     
  20. Offline

    matte54

    Using latest recommended build, tried disabling all other plugins with the same effect, everything about the plugin is working perfectly is just hunt happens every night regardless what i put in.
     
  21. Offline

    spock0001

    Same as above. Skipdays / Chance not working - hunt runs every night. No other problems.

    Great plugin!
     
  22. Offline

    dak393

    hunt starts every night like stated above and I can't use /huntstop (well I can but it doesn't do anything)
     
  23. Offline

    Ioncat

    Seems to be working fine for me, though I'm getting rewarded twice sometimes. Weird.
     
  24. Offline

    Xylogeist

    /huntstatus returns "Hunt is currently not active anywhere."

    Maybe using "/time day" or "/cast day" has interfered? I remember it working awhile back, but now it simply never attempts to start a hunt, regardless of time :p
     
  25. Offline

    mistresswitch

    Fabulous plugin! Even got a few of our non-PVE'ers to participate the other night. :)
    Sorry if I missed a post about this, I have problems reading the white background on here.

    We are in the process of setting up an arena area with spawners underneath, sand pit at the base level and seating stands overhead (think ancient Rome) and having competitions throughout the week & normal hunts on the normal day/night cycle.

    Is there a way to customise a report:
    Most kills
    Most kills by player
    Most kills of monster
    Most kills of monster by player
    Most deaths of player
    Most deaths of player by monster

    and so on? We can get the report daily, weekly and so on and create a forum (manually) posting of the records each week and have a leader board. This would exported to a log using an SQL/MySQL which we currently have installed.

    Is their currently a way that admins can see who the current leader is in the system?

    have a nice day :D
     
  26. Offline

    spock0001

    I like the idea of spacing hunts out quite far apart. It makes it more special, and more people tend to want to join then. Please can you look into the Skipdays/StartChance issue?

    SkipDays: 5
    StartChance: 25

    But hunt still starts every single night.

    Craftbukkit version 537.
    Current plugins:
    MonsterHunt
    MobControl 1.7.02
    Fishpeople 1.1
    Mobrider
    TimeAnnounce 1.0
     
  27. Offline

    matejdro

    updated
     
  28. Offline

    Zurm

    The hunt never starts on my server. I've tried /huntstart, and it asks for a world name. I tried world2 (which is the name of the world folder), but it says "There is no such world!"

    I also tried /huntstart 0, /huntstart normal, /huntstart world... none exist.

    Running MonsterHunt 0.4.1, bukkit 556

    Here's my config file:

    Code:
    SkipDays: 0
    MinimumPlayers: 2
    EnableSignup: true
    MySQLPassword: password
    PointsSkeleton: 3
    PointsSlime: 1
    CountBows: true
    DeathPenalty: 20
    EnabledWorlds: world2
    PointsCreeper: 7
    MinimumPoints: 40
    RewardEveryone: true
    PointsGhast: 5
    OnlyCountMobsSpawnedOutside: false
    FinishTime: 23600
    EnableHighScores: true
    StartTime: 13000
    PointsGiant: 10
    MySQLConn: jdbc:mysql://localhost:3306/minecraft
    RewardParameters: 264 1-1;306 1-1;307 1-1;308 1-1;309 1-1
    PointsSpider: 5
    Debug: false
    MySQLUsername: root
    RewardParametersEveryone: 265 R0.2-0.2,354 1-1
    PointsZombiePigman: 6
    SignUpPeriodTime: 5
    UseMySQL: false
    StartChance: 35
    PointsZombie: 5
    TellTime: true
    EnableReward: true
    

    Any ideas?
     
  29. Offline

    Ioncat

    Getting errors stating that it can't find sqlite when sqlite is in the lib folder. The errors are also stating that I'm using version 0.4.2, when I'm using o.4.3. Did you update the download correctly?
     
  30. Offline

    matejdro

    Damn, what is wrong with me? First jail, then MonsterHunt. Anyway, i have uploaded it into proper folder now :)

    Thanks for reminder.
     
    Ioncat likes this.
  31. Offline

    Ioncat

    Working great now, thanks matejdro. Keep it up!

    Nnngh. I take that back. Everything works fine, but I'm still getting two reward messeges and two rewards. Nothing else repeats and everything else works great! Any ideas?

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

Share This Page