Author Topic: My DK mis-calculated an 800 point award  (Read 4831 times)

0 Members and 1 Guest are viewing this topic.

Offline YesAffinity

  • Spring Jumper
  • *
  • Posts: 578
    • Awards
My DK mis-calculated an 800 point award
« on: August 10, 2015, 08:08:18 pm »
I had a feeling that something was wrong with the score upon completion of L1-1.  I actually thought I had somehow been awarded more points than I earned.  When I went back and reviewed, I found that was shorted points.

At 12:29 I jump two barrels while leaching a fireball.  An 800 point award displays at the jump.  My score goes from 4700 to 5200 upon the award of points.

http://www.twitch.tv/yesaffinity/v/10463613

I'm tired, my daughter's been sick for the last two days, and I'm hoping I'm just a bit delerious from lack of sleep.  Am I seeing the above correctly?  If I'm not hallucinating, has anybody else every seen their DK board do this?

Hopefully xelnia or some of the other score submission reviewers will be kind enough to chime in, as I'm sure you would have seen this if it is a normal occurrence...or maybe worse, it is an indication of a problem with my board.  :-[

Hopefully this does not disqualify my cabinet from score submissions and immediately invalidate my verified scores.  FailFish Please help, fellow DK enthusiasts!

I did not review further, after L1-1, but I posted the entire game, and invite anybody that is inclined to review it to find any other instances of point mis-calculation.
Matthew 21:22

DK Arcade PB (verified): 970,200 KS
DK Start PB (verified): 126,600
DK L1-1 PB (verified): 11,400
DK PB 1st Man: 622,000

Donkey Kong Direct Feed How-To - http://donkeykongforum.net/index.php?topic=1413.0
^Now outdated, see instead: http://donkeykongforum.net/index.php?topic=2471.0
Member for 9 Years DK Killscreener Blogger Twitch Streamer

lakeman421

  • Guest
Re: My DK mis-calculated an 800 point award
« Reply #1 on: August 10, 2015, 08:45:23 pm »
When jumping 3+ barrels or jumping 2 and leeching the fireball it will display 800 but reward you only 500. This is the norm on all DK boards. But if you smash a blue barrel or fireball and it says 800, you actually get 800 points. That's impressive you noticed this on your own. Some of us including myself have been kill screen players before we knew that. Wes was practically a 1.1 player when he learned that.

Offline YesAffinity

  • Spring Jumper
  • *
  • Posts: 578
    • Awards
Re: My DK mis-calculated an 800 point award
« Reply #2 on: August 10, 2015, 08:56:12 pm »
Whew.  Okay, thank you for confirming, Robbie.  I'm honored to have gotten confirmation from the best in the game.  ;D

So should I delete the twitch video?  Is this one of those secrets that the pro players keep under wraps?  <stirpot>

:edit: Now that I've had a minute to digest this, it raises some other questions.

1) Is there evidence in the code that awarding only 500 points is intentional?  It seems either the 800 displaying or the 500 awarding is a glitch.
2) Although probably less frequent of an occurrence, does the same happen on the pie factory?
« Last Edit: August 10, 2015, 09:44:48 pm by YesAffinity »
Matthew 21:22

DK Arcade PB (verified): 970,200 KS
DK Start PB (verified): 126,600
DK L1-1 PB (verified): 11,400
DK PB 1st Man: 622,000

Donkey Kong Direct Feed How-To - http://donkeykongforum.net/index.php?topic=1413.0
^Now outdated, see instead: http://donkeykongforum.net/index.php?topic=2471.0
Member for 9 Years DK Killscreener Blogger Twitch Streamer

lakeman421

  • Guest
Re: My DK mis-calculated an 800 point award
« Reply #3 on: August 10, 2015, 10:20:45 pm »
The 800 pie smash on a pie factory will reward you 800 points.  I'm not an expert on the code or why it's like this, but I am sure there was something overlooked in the code before they mass produced the game.

Offline ChrisP

  • Spring Jumper
  • *
  • Posts: 1764
  • I'm going to jump next to your leg.
    • Donkey Blog
    • Awards
Re: My DK mis-calculated an 800 point award
« Reply #4 on: August 11, 2015, 01:56:43 am »
1) Is there evidence in the code that awarding only 500 points is intentional?  It seems either the 800 displaying or the 500 awarding is a glitch.

From the commented code posted elsewhere, here's part of the score-awarding stuff for jumping objects:

LD      DE,#0001        ; 100 points
LD      B,#7B           ; sprite for 100
RRA                     ; is the score set for 100 ?
JP      NC,#1E28        ; yes, award points

LD      E,#03           ; else set 300 points
LD      B,#7D           ; sprite for 300
RRA                     ; is the score set for 300 ?
JP      NC,#1E28        ; yes, award points

LD      E,#05           ; else set 500 points [bug, should be 800]
LD      B,#7F           ; sprite for 800
JP      #1E28           ; award points


I think that the commenter is making an assumption here when he says that setting for 500 points is a "bug, should be 800".

The mistake is either the "#05" (the value of the point award - 500) or the "#7F" (the location of the 800 sprite in the sprite table).

IMO, the intention was to award 500 points (as the game does), and the sprite location the code means to reference is #7E, which is the 500 sprite, but it mistakenly references #7F, the 800.

Why do I think it's meant to be 500? Because the progression just makes more logical sense - 100 for a single, 200 points more (300) for a double, and 200 points more than that (500) for a triple.

It also just seems that a human putting this code together would be more likely to reference the wrong sprite than he would be to directly type in the wrong value ("5" instead of "8"). Wrong sprite would just be an easier mistake to make.

The code above calls #7B, #7D, and #7F respectively, for 100, 300, 800.

Since 7D is 2 up from 7B, and 7F is 2 up from 7D, he might have been thinking in "200 points between each award, so two sprite-locations between each award" terms. The error of course is that there's no 400 point sprite. Interestingly though, there IS a never-used "200" sprite at #7C. You can see that yourself by running the game in MAME, hitting F4, hitting Enter, and then the "]" key. There you can see the mysterious 200 sprite. Check out #4C as well. That falling pie sprite (which is never used in the game) was actually the initial seed of inspiration for Jeff Kulczycki to make D2K.

What I find most interesting of all though is that, even through 5 total versions of the game (3 Japan, 2 US), released over the course of more than half a year from first to last, this bug was never caught. :)

2) Although probably less frequent of an occurrence, does the same happen on the pie factory?

Only the barrel board offers a "multiple jumped objects" award. On the other boards, if you jump and there's an object in the "scan area", you get 100 points and that's it. It doesn't matter if there's more than one. Point pressing on the other boards would actually be way more complex if you could do combo-leeching...

« Last Edit: August 11, 2015, 02:39:06 am by ChrisP »
http://donkeykongblog.blogspot.com

4 Quarters :-* - 800K Avg. Per Qtr. :o - No Restarts 8) - No Proof :'(

7/26/2013   Coin 35,946   710,800   18-1
7/28/2013   Coin 35,947   903,700   22-1
8/16/2013   Coin 35,948   694,100   17-6
8/17/2013   Coin 35,949   893,100   22-1

3,201,700: the $1 World Record?
Member for 11 Years DK Masters - Rank D DKJR Killscreener IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member IGBY 2014 DKF Team Member Blogger Twitch Streamer DK Killscreener CK Killscreener

Offline timhett

  • Senior Member
  • *
  • Posts: 230
    • Awards
Re: My DK mis-calculated an 800 point award
« Reply #5 on: August 11, 2015, 05:23:30 am »
ChrisP, that's interesting about no multiple object jumps on other boards.  Always wondered why people weren't getting more points when leeching fireball on spring board since at least sometimes you'd be also "jumping" the spring.
Millipede defaults - 1,902,984
Millipede TGTS - 360,827
Hi Score List -
https://docs.google.com/spreadsheets/d/1EVdor6Be4FNA9pV-mTIT8JpZWMKjhWPsTzqkG8RASyM/edit?usp=sharing
Member for 10 Years Blogger Twitch Streamer

Offline YesAffinity

  • Spring Jumper
  • *
  • Posts: 578
    • Awards
Re: My DK mis-calculated an 800 point award
« Reply #6 on: August 11, 2015, 12:25:08 pm »
Good info all around.  Thanks guys! :cheers:
Matthew 21:22

DK Arcade PB (verified): 970,200 KS
DK Start PB (verified): 126,600
DK L1-1 PB (verified): 11,400
DK PB 1st Man: 622,000

Donkey Kong Direct Feed How-To - http://donkeykongforum.net/index.php?topic=1413.0
^Now outdated, see instead: http://donkeykongforum.net/index.php?topic=2471.0
Member for 9 Years DK Killscreener Blogger Twitch Streamer

DadsGlasses

  • Guest
Re: My DK mis-calculated an 800 point award
« Reply #7 on: August 11, 2015, 04:46:29 pm »
Fascinating read. Thanks.

Offline YesAffinity

  • Spring Jumper
  • *
  • Posts: 578
    • Awards
Re: My DK mis-calculated an 800 point award
« Reply #8 on: August 12, 2015, 07:26:38 pm »
ChrisP, I completely agree with your logic.  Question: did this language also exist in the older versions of the DK code?  We know they fixed the ladder trick.  I'm guessing it went completely unnoticed from first release to final release, but it would be interesting to know for sure.
Matthew 21:22

DK Arcade PB (verified): 970,200 KS
DK Start PB (verified): 126,600
DK L1-1 PB (verified): 11,400
DK PB 1st Man: 622,000

Donkey Kong Direct Feed How-To - http://donkeykongforum.net/index.php?topic=1413.0
^Now outdated, see instead: http://donkeykongforum.net/index.php?topic=2471.0
Member for 9 Years DK Killscreener Blogger Twitch Streamer