Author Topic: Top 5 Suspicions I'd Like to Confirm in the DK Code  (Read 8400 times)

0 Members and 1 Guest are viewing this topic.

Offline stella_blue

  • High Score Moderator
  • Spring Jumper
  • *
  • Posts: 1530
    • Awards
Top 5 Suspicions I'd Like to Confirm in the DK Code
« on: September 16, 2013, 08:45:37 am »
  • Does an active hammer, and the point at which it will expire, have any influence on fireball behavior?
  • See item #1
  • See item #1
  • See item #1
  • You know the drill by now.  Do I really have to type it again?

« Last Edit: September 16, 2013, 08:54:19 am by stella_blue »
DK High Score 
1,064,500
  (L22-1)
DK Level 1-1 
13,400
DK No Hammer 
535,300
  (L15-2)
Member for 11 Years Most Time Online DK 1M Point Scorer DK Killscreener Blogger Twitch Streamer

Offline LMDAVE

  • Spring Jumper
  • *
  • Posts: 639
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #1 on: September 16, 2013, 09:01:03 am »
I love trying to figure out code without even looking at code.

Given when you do get a hammer you usually see fireballs change to a "scare" mode, now towards the end of the hammer the hammer starts flashing, so there is obviousy a flag/timer that knows this point to tell it to start flashing, my "guess" is that same flag that starts the hammer flashing also releases the fireballs from "scare" mode.
Donkey Kong (Arcade): 1,108,100

Donkey Kong 1-1: 12,900

http://twitch.tv/LMDAVE
Member for 11 Years DK 1.1M Point Scorer Winner of a community event Blogger DK 1M Point Scorer DK Killscreener Former DK Level 1-1 World Record Holder Twitch Streamer

Offline danman123456

  • Spring Jumper
  • *
  • Posts: 810
    • Twitch TV Stream
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #2 on: September 16, 2013, 09:04:45 am »
It HAS to have an influence on the fireballs. So many times on the barrel stage right when the hammer is going out the fireball decides its time to climb up the broken ladder on the right and try and trap me on the 5th girder. It does it so much there HAS to be so logic in the code for it to just be random.
DK High : 1,059,700 (Lvl 22-1 KS!);
DK KS Speedrun : 1 Hr 16 Min 40 Sec - World Record!
DK Lvl 1 - 1: 12,400
Fix-It Felix Jr - 297,000 (World Record)
Fix-IT Felix Jr 1 Hour Limit - 177,000
Fix-It Felix Jr KS Speedrun - 1h33
Member for 11 Years IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member DK 1M Point Scorer Winner of a community event IGBY 2014 DKF Team Member DK Killscreener CK Killscreener Blogger

hchien

  • Guest
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #3 on: September 16, 2013, 09:19:27 am »
I swear the fireballs run away from you as soon as you grab the hammer on rivets (especially the first/mid-left hammer).

Actually I don't really believe that, but it does seem that way.  My bet is the hammer has no influence on the fireball AI-- it's all in our heads.  But I'm willing to listen if anyone does a code analysis.

Jeffw

  • Guest
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #4 on: September 16, 2013, 10:24:07 am »
I've read the fireball algorithm and there was nowhere that I saw in which the hammer status has an impact on fireball behavior. Specifically, the probability of reversing direction appears to be fixed at 50% for each decision point and not dependent on hammer status or anything else. Similarly, the decision of whether or not to climb a ladder also appears to be fixed at 25% probability when it is moving right (but 0% when moving left) as long as taking the ladder is permitted but not forced.

There are still two possibilities in which hammer status could have an impact on fireball behavior. The first is the possibility that the programmers put the code for this behavior is some other area of the code outside of the fireball AI routine, which is unlikely. The second possibility is that there is a bug that causes hammer status to affect fireball behavior. While it is possible for such a bug to exist, in general behavior that is both complex and coherent is unlikely to be produced by a bug. In this case, the behavior described by both Dave and Dan is complex in the sense that the fireball behavior would require knowledge of where the fireball is, where Mario is, which direction is towards Mario and how long before the hammer expires and would need to affect each of the 5 fireballs individually in order to produce the appropriate behavior. The behavior is also coherent in the sense that it is behavior that might have feasibly been intentionally programmed in. So with this in mind I think you can have fairly high confidence that behavior like Dave and Dan describe does not exist.

Offline LMDAVE

  • Spring Jumper
  • *
  • Posts: 639
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #5 on: September 16, 2013, 11:53:46 am »
Yeah Jeff, I found that old thread where you posted some fireball movement code and couldn't see anything, and yes I get quickly reminded on how trival/random the movement of them are. But, without reading code and just observing, one may believe that there is complex behavior behind them. It's funny how that happens. For example, it almost looks like sometimes two fireballs on rivet act as a team to trap mario. This is just one of those aspects of DK that I prefer believing in the complex because it makes the game more fun and playable. LOL



Donkey Kong (Arcade): 1,108,100

Donkey Kong 1-1: 12,900

http://twitch.tv/LMDAVE
Member for 11 Years DK 1.1M Point Scorer Winner of a community event Blogger DK 1M Point Scorer DK Killscreener Former DK Level 1-1 World Record Holder Twitch Streamer

Offline danman123456

  • Spring Jumper
  • *
  • Posts: 810
    • Twitch TV Stream
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #6 on: September 16, 2013, 04:44:17 pm »
I know there shouldnt be but how many times do you grab the hammer on the rivets and they all immediately take off and climb the far ladder on the right? How many times does the fireball come up at the LAST second of your hammer? Why wouldnt the code know where you are and how much hammer is left? :)
DK High : 1,059,700 (Lvl 22-1 KS!);
DK KS Speedrun : 1 Hr 16 Min 40 Sec - World Record!
DK Lvl 1 - 1: 12,400
Fix-It Felix Jr - 297,000 (World Record)
Fix-IT Felix Jr 1 Hour Limit - 177,000
Fix-It Felix Jr KS Speedrun - 1h33
Member for 11 Years IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member DK 1M Point Scorer Winner of a community event IGBY 2014 DKF Team Member DK Killscreener CK Killscreener Blogger

Offline stella_blue

  • High Score Moderator
  • Spring Jumper
  • *
  • Posts: 1530
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #7 on: September 16, 2013, 05:08:28 pm »
Why wouldnt the code know . . . how much hammer is left? :)

The code has no business prying into my personal life.   ;)

DK High Score 
1,064,500
  (L22-1)
DK Level 1-1 
13,400
DK No Hammer 
535,300
  (L15-2)
Member for 11 Years Most Time Online DK 1M Point Scorer DK Killscreener Blogger Twitch Streamer

Offline JCHarrist

  • Spring Jumper
  • *
  • Posts: 643
    • Donkey Kong Forum
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #8 on: September 16, 2013, 05:34:03 pm »
The fireball's natural tendency is to go up and to the right. They do it all the time. I think you are just a lot more likely to notice it right after you get the hammer.
Member for 11 Years DKF Founder Former CK World Record Holder - Arcade CK Killscreener DK Killscreener

Offline up2ng

  • Senior Member
  • *
  • Posts: 242
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #9 on: September 16, 2013, 05:42:28 pm »
The fireball's natural tendency is to go up and to the right. They do it all the time. I think you are just a lot more likely to notice it right after you get the hammer.

This is why it's absolutely amazing to me how often the fireballs flee up the LEFT side ladder immediately upon grabbing the TOP hammer on the rivets.  I mean, it's really beyond ridiculous.
Donkey Kong:  1,206,800  Kill Screen
Donkey Kong:  898,600     16-5
D2K:                 380,200     L=9
Donkey Kong Junior:  In Progress
Member for 11 Years DK 1.2M Point Scorer Winner of a community event Wildcard Rematch Champion Blogger Former DK Level 1-1 World Record Holder Former DK No-Hammer World Record Holder DK 1.1M Point Scorer Individual Board Record Holder DK Killscreener DK 1M Point Scorer Former DK World Record Holder - MAME Twitch Streamer

Offline danman123456

  • Spring Jumper
  • *
  • Posts: 810
    • Twitch TV Stream
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #10 on: September 16, 2013, 08:54:10 pm »
Yeah but im talking about tonight. 3 times in one game the fireball game up the broken ladder on the right  JUST as the hammer was ending on the barrel stage. Trying to pinch me in the corner. I mean literally JUST as the hammer ends he is up missing getting smashed by what 1 frame? I know maybe it just seems like a coincidence but damn....

Plus like Dean said why do they go up the left side so often too the minute the hammer is grabbed and they change directions as well. I'm certain there is some affect on them other then nothing we just need to find it. Otherwise DK has more moods then ZK ever thought of having ;)
DK High : 1,059,700 (Lvl 22-1 KS!);
DK KS Speedrun : 1 Hr 16 Min 40 Sec - World Record!
DK Lvl 1 - 1: 12,400
Fix-It Felix Jr - 297,000 (World Record)
Fix-IT Felix Jr 1 Hour Limit - 177,000
Fix-It Felix Jr KS Speedrun - 1h33
Member for 11 Years IGBY 2016 DKF Team Member IGBY 2015 DKF Team Member DK 1M Point Scorer Winner of a community event IGBY 2014 DKF Team Member DK Killscreener CK Killscreener Blogger

Offline LMDAVE

  • Spring Jumper
  • *
  • Posts: 639
    • Awards
Re: Top 5 Suspicions I'd Like to Confirm in the DK Code
« Reply #11 on: September 17, 2013, 08:52:46 am »
Donkey Kong (Arcade): 1,108,100

Donkey Kong 1-1: 12,900

http://twitch.tv/LMDAVE
Member for 11 Years DK 1.1M Point Scorer Winner of a community event Blogger DK 1M Point Scorer DK Killscreener Former DK Level 1-1 World Record Holder Twitch Streamer