DarkCastleMUD / DarkCastle

Dark Castle is a text-based MUD (multi-user dungeon) that was originally based on DIKU MUD around 1995. It has been running since then.
https://www.dcastle.org/
GNU Lesser General Public License v2.1
12 stars 11 forks source link

Bug: Starting a hunt for over 50 items causes it to glitch out and start handing out empty prizes after ~54 or so #179

Closed dmhenderson76 closed 2 years ago

dmhenderson76 commented 2 years ago

What it says on the tin. In "huntstart", the game states that you can run a hunt for up to 60 items for a maximum of 60 minutes however, if you run a hunt for more than 50 items, the game stops handing out rewards shortly after you cross 50. Either A) fix this so hunts can go to 60 items and still pass out items or B) drop the maximum number of items to 50.

TehDreadPirateRoberts commented 2 years ago

Maybe change the 50 to a 60 in lines 1707 and 1713 of wizard.cpp? I tried to test this on my own computer but was unable to do so, I think I am missing some files for huntitems.

TehDreadPirateRoberts commented 2 years ago

Lowered hunt limit to 50 since huntitems.txt only has 50 items in it (this is what was causing the problem).