From 6a3a9098a466b5d8dc52a6b2a3974dd659e23b7f Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Mon, 18 Mar 2024 22:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=AA=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- node_run/static/md5.js | 8 ++++---- node_run/test.js | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/node_run/static/md5.js b/node_run/static/md5.js index 996b17a..a8fa941 100644 --- a/node_run/static/md5.js +++ b/node_run/static/md5.js @@ -3282,9 +3282,9 @@ return result }, get_obfuscated_value(a) { - var s = $.hashmap_str_str.h(0, a) - if (s == null) return "" - return s + var result = $.hashmap_str_str.h(0, a) + if (result == null) return "" + return result }, out_load_lan(a) { J.lY(a, new LanData.load_lan()) @@ -12360,7 +12360,7 @@ } q = new T.aq(n, l) - + output(p.current_count, p.target_count, p.win_count * 100 / p.current_count) //捕获胜率 if (p.current_count >= config[stage].count) { const { diff --git a/node_run/test.js b/node_run/test.js index a5d02d9..87af207 100644 --- a/node_run/test.js +++ b/node_run/test.js @@ -37,7 +37,7 @@ async function test(str){ resources: 'usable', beforeParse(window) { window.FakelocalStorage = localStorageMock; - window.config =[{"count":5000,"score":10}]; + window.config =[{"count":11000,"score":10}]; window.name_input = str; window.stage = 0; window.skillData = []; @@ -45,7 +45,10 @@ async function test(str){ console.log(args); resolvePromise(args); window.close(); - } + }; + window.output = (...message) => { + console.log('From the page:', message); + }; } });