Register Register

Author Topic: Secret bonus to help the bot  (Read 1164 times)

Drifter

  • Corporal
  • *
  • Posts: 69
Secret bonus to help the bot
« on: 18 January 2022, 00:23:29 »
Does the bot get some type of secret bonus to hit location when a mech stands still I have noticed an increase chance to head hit with bots only if a mech stands still ?

Dr. Banzai

  • Master Sergeant
  • *
  • Posts: 276
  • No matter where you go, there you are.
    • Coming Soon!
Re: Secret bonus to help the bot
« Reply #1 on: 18 January 2022, 08:13:28 »
It might make be making a targeted roll...

BATTLEMASTER

  • Lieutenant
  • *
  • Posts: 1525
  • Lightning From Another Zip Code
Re: Secret bonus to help the bot
« Reply #2 on: 18 January 2022, 12:49:52 »
Doubtful.  I think you're just unlucky!  I don't think the bot can make aimed shots, plus you can't target the head unless the target is immobile, even with a targeting computer.
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

Drifter

  • Corporal
  • *
  • Posts: 69
Re: Secret bonus to help the bot
« Reply #3 on: 18 January 2022, 14:56:17 »
Ok so I did a test with player vs player and player vs bot and it seems the bot gets about 12% to 15% more head hits then players.   For the test I used custom mechs so all they had where ac2 and used a custom map to limit players movement.    When a players mech stands still the amount of head hits they take is increased, they seems to be mitigated if the players mech just turn one hex.  Next will run a bot vs bot test.

dgorsman

  • Captain
  • *
  • Posts: 1731
Re: Secret bonus to help the bot
« Reply #4 on: 18 January 2022, 15:56:14 »
No, that's just small sample size - I'm assuming you handled a few dozen shots.  This has been covered before, including someone taking a very large (somewhere around 10k) sample roll size and doing a statistical analysis on the results.  It rolls very, very close to what you would expect from physical dice.

I will say that the rolls can be a bit 'streaky' but over time it balances out.
Think about it.  It's what we do.
- The Society

Thunder LRMs: the gift that keeps on giving.  They're the glitter of the BattleTech universe.

Hammer

  • Numerorum Malleo
  • Moderator
  • Major
  • *
  • Posts: 3453
    • MegaMek Website
Re: Secret bonus to help the bot
« Reply #5 on: 18 January 2022, 16:10:23 »
Does the bot get some type of secret bonus to hit location when a mech stands still I have noticed an increase chance to head hit with bots only if a mech stands still ?

There are NO cheats or advantages programmed in for the bot. You are welcome to review our code as its fully visible on the repo.

No, that's just small sample size - I'm assuming you handled a few dozen shots.  This has been covered before, including someone taking a very large (somewhere around 10k) sample roll size and doing a statistical analysis on the results.  It rolls very, very close to what you would expect from physical dice.

I will say that the rolls can be a bit 'streaky' but over time it balances out.
This.
MegaMek Projects Wiki
Bug Trackers
MegaMek Tracker
MekHQ Tracker
MegaMekLab Tracker
New Units and RAT's aren't added until after the 2 month release moratorium is passed.


NickAragua

  • Master Sergeant
  • *
  • Posts: 366
Re: Secret bonus to help the bot
« Reply #6 on: 18 January 2022, 20:50:56 »
if (opposingPlayerName == "Drifter") {
botLocationHitRoll = head;
}

So just change your name to one that's not on the list; we only update it every release, not in real time. ;)

BATTLEMASTER

  • Lieutenant
  • *
  • Posts: 1525
  • Lightning From Another Zip Code
Re: Secret bonus to help the bot
« Reply #7 on: 18 January 2022, 21:49:47 »
if (opposingPlayerName == "Drifter") {
botLocationHitRoll = head;
}

So just change your name to one that's not on the list; we only update it every release, not in real time. ;)

 ;D
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

dgorsman

  • Captain
  • *
  • Posts: 1731
Re: Secret bonus to help the bot
« Reply #8 on: 19 January 2022, 02:49:53 »
...I don't think the bot can make aimed shots...

Pretty sure Princess can't, but the Testbot could - both with immobile targets and with TCOMPs.
Think about it.  It's what we do.
- The Society

Thunder LRMs: the gift that keeps on giving.  They're the glitter of the BattleTech universe.

Drifter

  • Corporal
  • *
  • Posts: 69
Re: Secret bonus to help the bot
« Reply #9 on: 19 January 2022, 02:57:36 »
Are Numbers for rolls generated on demand or in a batch

BATTLEMASTER

  • Lieutenant
  • *
  • Posts: 1525
  • Lightning From Another Zip Code
Re: Secret bonus to help the bot
« Reply #10 on: 19 January 2022, 06:42:45 »
I always imagined MegaMek rolling a giant box of doom of 1D6, 2D6, and 3D6 and assigning roll results in the order they happen in a turn.  I'm not sure if that's how the RNG works so I'm curious.  I think you can choose different RNGs in the game options as well.
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

Hammer

  • Numerorum Malleo
  • Moderator
  • Major
  • *
  • Posts: 3453
    • MegaMek Website
Re: Secret bonus to help the bot
« Reply #11 on: 19 January 2022, 14:02:16 »
Are Numbers for rolls generated on demand or in a batch
Rolled as called in the code.
MegaMek Projects Wiki
Bug Trackers
MegaMek Tracker
MekHQ Tracker
MegaMekLab Tracker
New Units and RAT's aren't added until after the 2 month release moratorium is passed.


Taharqa

  • Warrant Officer
  • *
  • Posts: 746
  • Look out, there is a monkey on your back!
Re: Secret bonus to help the bot
« Reply #12 on: 26 January 2022, 16:57:01 »
I always imagined MegaMek rolling a giant box of doom of 1D6, 2D6, and 3D6 and assigning roll results in the order they happen in a turn.  I'm not sure if that's how the RNG works so I'm curious.  I think you can choose different RNGs in the game options as well.

They are technically rolled on demand as needed, but from a philosophical point of view, there really is no difference between these.
MegaMek Dev and Bug Creator

The Flaming Devil Monkeys - The adventures of a band of misfit gladiators turned mercenary mechwarriors during the Word of Blake Jihad.
The Free Company of Oriente - No longer bound by the politics of the great houses, the Free Company of Oriente seeks its fate and fortune among the stars.
Ronin Cat Avengers - Fleeing the destruction of their Clan across an Inner Sphere at war, the Ronin Cat Avengers seek a new home ... and vengeance.

Make your own campaign website with the MekHQ Blog

CranstonSnord

  • Catalyst Demo Team
  • Warrant Officer
  • *
  • Posts: 695
Re: Secret bonus to help the bot
« Reply #13 on: 05 February 2022, 13:58:36 »
Also, you can enable RNG logging. You quickly find out there are 10 to 100 times more RNG calls than you thought there were, so the 8 12s the bot rolled this turn aren't so statistically improbable.