这是一个自动合卡插件,可以指定徽章合成的数量和种类。
可以随时关闭本标签页来停止插件的自动操作计算模式: 先扫描出每个徽章的可合成次数,扫描完毕后可以手动调整合成数量,再通过确认进行批量合卡。
极速模式: 先显示您的黑名单设置,确认后将直接合成所有可以用来合成的徽章,不会使用黑名单中的游戏卡牌,多数徽章只能合成一级不建议用此模式,该模式适合大多数徽章合成5次的情况。【由于已有steam原生批量合卡接口,这个功能已经被弃用了,请使用左侧扫描功能】
'; text.button1 = "开始统计可合成卡组(计算模式)"; text.buttonr1 = "不管那么多了,跳过扫描直接合卡!(极速模式)"; text.button2 = "确认无误后开始合卡"; text.button2no = "不合卡的吗?"; text.calculating = "计算中(输入想要合成的次数,计算过程中可以关闭本弹出窗口)"; text.calculated = "请在每个徽章前输入想要合成的次数,并确认合成"; text.crafting = "合成中,合成过程中可以关闭本弹出窗口"; text.crafted = "合成完毕"; text.list1 = '←输入合成套数'; text.list2 = '可升'; text.list3 = '级 (当前'; text.list4 = '级) 游戏:'; text.nosets1 = '想合卡?先去市场买来再说吧!
'; text.nosets2 = '这是一个悲伤地故事'; text.nosets3 = '虽Commentting on Community Guide(Great thanks for Aevoa!)、Greasy Fork for feedback.
Close this WEBPAGE when you want to stop crafting!
You can set intervals and blacklist badges in setting.
Calculation mode: Scan and calculate max badges you can craft first and you can regulating the number of card sets for specified bagdes. Then craft.
Rapid mode: Show you the setting of blacklist. Crafting immediately after you confirm it. It will use up ALL your available gamecard sets for crafting badges except the games whose APPID is in the blacklist. This mode is not recommended when most badges can only be crafted for one level. It\'s suitable for that most badges can be crafted 5 times.【This function is deprecated since Steam introducing the native bulk craft API. Please calculate first.】
'; text.button1 = "Calculate how many badges you can craft (before crafting)"; text.buttonr1 = "Craft now rapidly!"; text.button2 = "Start Crafting!"; text.button2no = "No Cards for Crafting!"; text.calculating = "Calculating, you can close this pop-up window in the process of calculation"; text.calculated = "Enter the number of cards sets you want to craft for the badges. Confirm and craft them by click the green button below"; text.crafting = "Crafting! You can close this pop-up window in the process of crafting"; text.crafted = "Finished!"; text.list1 = 'sets to craft'; text.list2 = 'can craft'; text.list3 = 'more (Level'; text.list4 = 'now) GAME:'; text.nosets1 = 'How could I craft without cards 🙄
'; text.nosets2 = 'So sad'; text.nosets3 = 'T" + text.nosets3 + "
"); $J('#start').addClass('start_2').removeClass('start_1'); $J('.craft_list').append("=========END=========
"); } $J(all_page).find('a.badge_craft_button').each(function(i) { ///if(i>1){return false;}//a.badge_craft_button//a.badge_row_overlay var badge_link = $J(this).attr('href'), badge_level = 0, count_min = 99999, issales=''; setTimeout(function() { $J.get(badge_link, function(html) { if (i === 0) { g_sessionID = html.match(/g_sessionID = "([^"]+)"/)[1]; } var gamename = $J(html).find('.badge_title').text(); var _badge = $J(html).find('.badge_current .badge_info_description>div:eq(1)'); var cards_sum=0,cards_num=0,after_stm; $J(html).find('.badge_card_set_card').each(function() { var count = $J(this).find('.badge_card_set_text_qty').text(); cards_num += 1; if (count) { count = parseInt(count.replace(/[()]/g, '')); cards_sum += count; if (count < count_min) { count_min = count; } } else { count_min = 0; } }); after_stm = (cards_sum/cards_num); if (_badge.length) { badge_level = parseInt(_badge.text().match(/\d+/)); } var _appid = badge_link.match(/\/([0-9]{1,7})\/$/); var _appid2 = badge_link.match(/\/([0-9]{1,7})\/\?border=1$/); if (!_appid) { _border = 1; __appID = _appid2[1]; _gappid = __appID + "b1"; if ($J.inArray(__appID, sales) >= 0) { badge_cap_level = config_cap_level == 0 ? 99999 : config_cap_level; issales='sales'; } else { badge_cap_level = 1; } } else { _border = 0; __appID = _appid[1]; _gappid = __appID + "b0"; if ($J.inArray(__appID, sales) >= 0) { badge_cap_level = config_cap_level == 0 ? 99999 : config_cap_level; issales='sales'; } else { badge_cap_level = config_cap_level == 0 ? 5 : config_cap_level; } } if($J.inArray(__appID*1, blacklist) >= 0){count_min=0;}//blacklist.include(__appID) var upgrade_sets = Math.min(count_min, Math.max((badge_cap_level - badge_level),0)); ///Math.min(count_min, (badge_cap_level - badge_level));//2; if(after_stm>count_min){ if(count_min" + text.list1 + " APPID:" + __appID + " " + text.list2 + " " + upgrade_sets + " " + text.list3 + " " + badge_level + " " + text.list4 + " " + gamename + after_stm + "
"); sum_sets += upgrade_sets; sum_badges += 1; $J('.calculate_dnum').html(sum_badges); if (i == (total_number - 1)) { ///2-1 $J('#start').html('' + sum_sets + ' sets ( ' + sum_badges + ' badges ) to craft! [ '+icon_raw(cur_lv)+' > '+icon_raw(tar_lv)+' ]
'); $J('.craft_list').append("=========END=========
"); } }); }, i * timer_scan); }); } function craft_do() { var queue = [], finished_count = {}, all_count = {}, sum_crafted = 0, sum_sets = 0; $J('.ready_to_craft').attr("disabled", true); $J('.craft_list').addClass("dischange"); $J('.ready_to_craft').each(function() { if ($J(this).val() > $J(this).attr("max")) { $J(this).val($J(this).attr("max")); } if ($J(this).val() > 0) { sum_sets += parseInt($J(this).val()); } }); $J('#start').html('" + text.nosets3 + "
"); $J('.craft_list').append("=========END=========
"); return; } window.queue_r=[]; $J(all_page).find('a.badge_craft_button').each(function(i) { var badge_link = $J(this).attr('href'); if (i === 0) { g_sessionID = $J(":root").html().match(/g_sessionID = "([^"]+)"/)[1]; } var _appid = badge_link.match(/\/([0-9]{1,7})\/$/); var _appid2 = badge_link.match(/\/([0-9]{1,7})\/\?border=1$/); if (!_appid) { _border = 1; __appID = _appid2[1]; _gappid = __appID + " Foil "; if ($J.inArray(__appID, sales) >= 0) { badge_cap_level = 99999; } else { badge_cap_level = 1; } } else { _border = 0; __appID = _appid[1]; _gappid = __appID + ""; if ($J.inArray(__appID, sales) >= 0) { badge_cap_level = 99999; } else { badge_cap_level = 5; } } if($J.inArray(__appID*1,blacklist)<0&&badge_cap_level>0){queue_r.push({appid:__appID,border:_border,gappid:_gappid,badge_cap_level:badge_cap_level*1});}//blacklist.include(__appID) }); var cur_lv = o_tar_lv = tar_lv = ivscc(cur_xp); $J('#start').before('Crafted: 0 sets [ '+icon_raw(cur_lv)+' > '+icon_raw(tar_lv)+' ]ℹ️
'); for(var a=0;a