Code for instant badge check after a new score in the arcade. Will be added to next release of badge awards as well.
For SMF 2.0
Open Sources/Subs-Arcade.php
Find
cache_put_data('arcade-stats', null, 120);
Add After
// Badge Awards
global $sourcedir, $modSettings;
if (!empty($modSettings['badgeawards_enable']))
{
global $sourcedir, $user_info;
require_once($sourcedir . '/badgeawards2.php');
if ($member['id'] != 0)
Badges_CheckMember($member['id']);
}
// End Badge Awards
For the arcade master badge issue was I had the code set to 25 instead of 10
Hot fix open sources/badgeawards2.php
Find
if (!in_array($badgeAction,$currentBadges) && $totalRow['total'] >= 25)
Change to
if (!in_array($badgeAction,$currentBadges) && $totalRow['total'] >= 10)