The Dink Network

Updated Files: Malachi and Achievements

September 18th 2014, 08:23 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
As CocoMonkey played through the last D-Mods of 2003 (in his ever-excellent write-ups of all the D-Mods), he also found time to fix a few bugs in a couple of his recent releases.

First up, Malachi the Jerk. It has been updated to version 1.3, which fixes a few issues revolving gold count, experience granted for boss battles, secret ending animation, and an occasional bug involving Dink's speed when leaving or entering the mud walk (amongst other fixes like an updated walkthrough and a corrected typo).

Second, Dink Smallwood: Achievement Unlocked Edition has been updated to fix a freeze bug when talking to a guard, and it also fixes the 'Powerful Pugilist' achievement.

September 18th 2014, 08:50 PM
custom_coco.gif
CocoMonkey
Bard He/Him United States
Please Cindy, say the whole name each time. 
Thanks, Dan.

On Malachi the Jerk: I originally intended to wait until Robj finished posting the Let's Play to update this DMOD, but in retrospect that was a dumb idea anyway.

I finally figured out the problem with the Mudwalk speed change that people have been complaining about since right after the initial release - at least, I hope I have. I could never reproduce the bug myself anyway.

Here's what I think the problem was: Before changing Dink's speed, I would check to see whether he was wearing the Herb Boots. For some reason, I did this by checking Dink's actual speed, like this:

int &dinky = sp_speed(1, -1)

if (&dinky == 3)
{
set_dink_speed(4)
sp_frame_delay(1, 75)
}

if (&dinky == 6)
{
//they've got the herb boots on, so make speed normal
set_dink_speed(3)
sp_frame_delay(1, 0)
}


This usually worked - and it always did for me - but I don't think sp_speed is designed to directly report the value from set_dink_speed, so it's unreliable. I changed it to what I would have done in the first place if I weren't crazy. If you know anything about DinkC, you already know what I changed it to:

int &dinky = compare_weapon("item-bt")

if (&dinky == 0)
{
set_dink_speed(4)
sp_frame_delay(1, 75)
}

if (&dinky == 1)
{
//they've got the herb boots on, so make speed normal
set_dink_speed(3)
sp_frame_delay(1, 0)
}


Yup, it took me this long to figure out that I should have done it the obvious way instead of the dumb way. I have no idea why.