This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Every hunt, whether manual or automatic2.3.
What is the expected output? What do you see instead?Hunt is supposed to stop at dawn, announce winners, give rewards, and end.Hunt doesn't stop or announce winners. Awards seem to be sporadically given, then timer resets and hunt continues.
What version of the product are you using?MH 1.5, CB 1597
Do you have an error log of what happened?Here's the error I got when I tried manual stop.2011-12-20 21:35:41 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'huntstop' in plugin MonsterHunt v1.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.valueOf(Unknown Source) at com.matejdro.bukkit.monsterhunt.RewardManager.Reward(RewardManager.java:137) at com.matejdro.bukkit.monsterhunt.RewardManager.RewardWinners(RewardManager.java:61) at com.matejdro.bukkit.monsterhunt.MonsterHuntWorld.stop(MonsterHuntWorld.java:79) at com.matejdro.bukkit.monsterhunt.commands.HuntStopCommand.run(HuntStopCommand.java:37) at com.matejdro.bukkit.monsterhunt.commands.BaseCommand.execute(BaseCommand.java:30) at com.matejdro.bukkit.monsterhunt.MonsterHunt.onCommand(MonsterHunt.java:83) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
No error occurred at automatic stop time. Time just reset and hunt continued.Please provide any additional information below.
Here's the contents of my config file: global.txt SkipDays: 0 MinimumPlayers: 3 EnableSignup: true Database: MySQLConn: jdbc:mysql://localhost:3306/minecraft UseMySQL: false MySQLPassword: password MySQLUsername: root DeathPenalty: 30 EnabledWorlds: ncl MinimumPointsEveryone: 1 OnlyCountMobsSpawnedOutside: true StartTime: 13000 OnlyCountMobsSpawnedOutsideHeightLimit: 0 AnnounceLead: true SelectionTool: 268 Value: Creeper: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 MushroomCow: General: 0 Player: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Chicken: General: 0 Sheep: General: 0 MagmaCube: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Giant: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Slime: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Silverfish: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Spider: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Blaze: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Pig: General: 0 CaveSpider: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 EnderDragon: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 TamedWolf: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 SnowGolem: General: 0 ZombiePigman: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Villager: General: 0 Enderman: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 ElectrifiedCreeper: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Squid: General: 0 WildWolf: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Zombie: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Cow: General: 0 Ghast: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 Skeleton: Snowball: 20 General: 10 Arrow: 4 Wolf: 7 '283': 20 AllowSignUpAfterStart: false AnnounceSignUp: true Debug: false OnlyCountMobsSpawnedOutsideBlackList: true SkipToIfFailsToStart: -1 Rewards: RewardEveryone: false RewardParametersPlace2: 266 6-12,0 500,357 12 RewardParametersPlace3: 266 2-6,0 250,357 1-8,263 0-1 RewardParametersPlace1: 264 1-2,266 1-3,0 1000,357 12-16,2256 0-1, 2257 0-1,260 0-2 EnableRewardEveryonePermission: false NumberOFWinners: 3 RewardParametersEveryone: 3 1-1 EnableReward: true HuntZoneMode: false HuntZone: SecondCorner: 0,0,0 World: ncl FirstCorner: 0,0,0 TeleportLocation: 0,0,0 Messages: MessageAlreadySignedUp: You are already signed up! MessageHuntStatusNotInvolvedLastHunt: You were not involved in last hunt in this world MessageHuntTeleNoHunt: You cannot teleport to hunt zone when there is no hunt! MessageHuntStatusNotActive: Hunt is currently not active anywhere HighScoreMessage: 'You have reached a new high score: <Points> points!' StartMessage: '&2Monster Hunt have started in world <World>! Go kill those damn mobs!' MessageTooLateSignUp: Sorry, you are too late to sign up. More luck next time! MessageStartNotEnoughPlayers: 'Monster Hunt was about to start, but unfortunately there were not enough players signed up. ' FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished in world <World>! Unfortunately nobody killed enough monsters, so there is no winner. MessageSignUpPeriod: Sharpen your swords, strengthen your armor and type /hunt, because Monster Hunt will begin in several mintues in world <World>! SignupAtHuntMessage: You have signed up for the hunt in in world <World>. Now hurry and kill some monsters! SignupBeforeHuntMessage: You have signed up for the next hunt in world <World>! RewardMessage: Congratulations! You have received <Items> MessageHuntStatusCurrentScore: Your current score in this world's hunt is <Points> points! Keep it up! KillMessageArrow: You got only <MobValue> points because you used bow when killing <MobName>. You have <Points> points so far. Keep it up! DeathMessage: You have died, so your Monster Hunt score is reduced by 30%. Be more careful next time! MessageHuntStatusLastScore: Your last score in this world was <Points> points MessageHuntStatusTimeReamining: Keep up the killing! You have only <Timeleft>% of the night left in this world! KillMessageSnowball: You got <MobValue> points for killing <MobName> with a snowball!. You have <Points> points so far. Keep it up! FinishMessageNotEnoughPlayers: Sun is rising, so monster Hunt is finished in world <World>! Unfortunately there were not enough players participating, so there is no winner. MessageHuntTeleNotSignedUp: You cannot teleport to hunt zone if you are not signed up to the hunt! KillMessageWolf: You got <MobValue> points because your wolf killed <MobName>. You have <Points> points so far. Keep it up! KillMobSpawnedInsideMessage: Your kill was not counted. Stop grinding in caves and go outside! SignUpAnnouncement: <Player> has signed up for the hunt in world <World>! MessageHuntStatusHuntActive: Hunt is active in <Worlds> FinishMessageWinners: 'Sun is rising, so monster Hunt is finished in world <World>! Winners of the today''s match are: [NEWLINE] 1st place: <NamesPlace1> (<PointsPlace1> points) [NEWLINE] 2nd place: <NamesPlace2> (<PointsPlace2> points) [NEWLINE] 3rd place: <NamesPlace3> (<PointsPlace3> points)' MessageLead: <Player> has just taken over lead with <Points> points! KillMessageGeneral: You got <MobValue> points from killing that <MobName>. You have <Points> points so far. Keep it up! MessageHuntStatusNoKills: You haven't killed any mob in this world's hunt yet. Hurry up! SignUpPeriodTime: 5 StartChance: 50 TellTime: true EndTime: 23600 MinimumPointsPlace2: 5 MinimumPointsPlace3: 5 MinimumPointsPlace1: 5
did you ever get a reaction ?
I'm having the same problem. The debug returns this: MonsterHunt][Debug][MonterHunt][DEBUG: - NEVEREND]Stop Time
I have my time set to the default and I turned rewards off just to make sure that wasn't the problem, but it still won't stop.
To post a comment, please login or register a new account.