m0de-60 / super-duckhunt-bot

Super DuckHunt IRC Bot v1.1.4
GNU General Public License v3.0
8 stars 2 forks source link

Maybe the gun shouldn't get jammed every 2-3 shots #7

Closed marthellius closed 3 months ago

marthellius commented 3 months ago

This is something that I've been noticing in the past few days: every 2 or 3 shots, then gun gets jammed.

I am aware that you can get better/more reliable guns as you earn more XP and progress in the game (which is actually a nice feature). And I understand that this is a game and not a hunting simulator. But what kind of gun gets jammed every 2 shots?

I can see the point of randomly jamming guns for delaying some players and letting others shoot too (otherwise, most of the time the first one to shoot would kill the duck). But jamming guns every 2/3 shots seems a bit excessive , doesn't it?

I noticed that there's a reliability parameter, that according to the user manual represents the odds of the gun getting jammed (I quote below):

Reliability: Current gun reliability (jamming odds)

So, if my gun reliability is 75% (as reported by !duckstats), does that mean that it will work fine 75% of the time (on average), and it will get jammed 25% of the time?

I ask this because the jamming frequency seems to be quite higher than what's reported in the Reliability field.

Perhaps it would be a good idea to expose all the gun reliability settings and thresholds through duckhunt.cnf (with some sensible defaults), so that botmasters deploying the game can tweak them as they wish.

m0de-60 commented 3 months ago

Apart from having to clean your gun with !shop 3 from time to time, you can also buy gun grease to lower jamming odds (24hrs) with !shop 6.

When you first start out the guns are designed to suck, it's entry level. You have to earn xp and buy upgrades for your gun from the shop to make it perform better.

Reliability is a threshold that is designed to represent the cleanliness and performance level of your gun. The more you shoot it the more current reliability will drop. Using gun grease (mentioned above) will help reliability last longer but the ultimate remedy is to use gun upgrades with !shop 7, each gun upgrade increases total reliability and accuracy by 5% until 100% is reached. The closer you are to 100% the better the gun will perform.

There is also a online user documentation (separate from the operator's manual) that explains the game and how it works, you can get it from using !help in the duckhunt channel, or here is the link: https://m0de-60.github.io/super-duckhunt-web/super-duckhunt-help.htm

The documentation is not totally completed yet and needs revisions but describes commands and functions as well as a detailed shop menu and gun upgrading info

m0de-60 commented 3 months ago

For documentation purposes, here is an example of shooting ducks with a fully upgraded gun.

[14:51:24] <~Neo_Nemesis> !duckstats

[14:51:25] -PyDuck- [DuckStats: Neo_Nemesis] [SCORE] Best Time: 0.67 | Level: 15 | xp: 15873 | Ducks: 376 | Golden Ducks: 129 | Befriended Ducks: 211 | Accidents: 230 [GUN STATS] Status: OK | Rounds: 2/12 | Magazines: 1/5 | Accuracy: 100% | Current Reliability: 100% | Max Reliability: 100%

[14:51:25] -PyDuck- [BREAD BOX] Bread Pieces: 4/12 | Loaf: 3/3 [EFFECTS] None

[14:51:25] -PyDuck- [HUNTING BAG] None

[14:51:36] <+PyDuck> -.,¸¸.-·°''°·-.,¸¸.-·°''°· _O< QUACK

[14:51:36] <+PyDuck> -.,¸¸.-·°''°·-.,¸¸.-·°''°· _O< QUACK

[14:51:37] <+PyDuck> -.,¸¸.-·°''°·-.,¸¸.-·°''°· _O< QUACK

[14:51:37] <+PyDuck> -.,¸¸.-·°''°·-.,¸¸.-·°''°· _O< QUACK

[14:51:37] <~Neo_Nemesis> !bang

[14:51:37] <~Neo_Nemesis> !bang

[14:51:38] <+PyDuck> Neo_Nemesis > BANG you shot down the duck in 1.64 seconds. _X< KWAK [+15 xp] [TOTAL DUCKS: 377]

[14:51:38] <~Neo_Nemesis> !bang

[14:51:38] <+PyDuck> Neo_Nemesis > BANG you shot down the duck in 1.58 seconds. _X< KWAK [+15 xp] [TOTAL DUCKS: 378]

[14:51:38] <+PyDuck> Neo_Nemesis > By searching the bushes around the duck, you find a golden duck feather. [+150 xp]

[14:51:38] <+PyDuck> Neo_Nemesis > CLICK EMPTY MAGAZINE | Rounds: 0/12 | Magazines: 1/5

[14:51:39] <~Neo_Nemesis> !reload

[14:51:40] <+PyDuck> Neo_Nemesis > CLACK CLACK You reload. | Rounds: 12/12 | Magazines: 0/5

[14:51:40] <~Neo_Nemesis> !bang

[14:51:41] <+PyDuck> Neo_Nemesis > BANG you shot down the duck in 4.15 seconds. _X< KWAK [+15 xp] [TOTAL DUCKS: 379]

[14:51:42] <~Neo_Nemesis> !bang

[14:51:43] <+PyDuck> Neo_Nemesis > BANG you shot down the duck in 6.03 seconds. _X< KWAK [+15 xp] [TOTAL DUCKS: 380]