diff --git a/branch/latest/md5.js b/branch/latest/md5.js index b2d94cd..c5d03b0 100644 --- a/branch/latest/md5.js +++ b/branch/latest/md5.js @@ -6,7 +6,7 @@ // 兼容nodejs, 要不然 window = {}; 会崩 // 使用 global.window 修复了这个问题, 还是 strict 舒服 -let name_input = "test\ntest2+aa"; +let name_input = "!test!\natest\ntest2+aa"; let assets_data = { lang: null, gAd: null, @@ -25,7 +25,7 @@ let logger = { debug: function (...msg) { if (run_env.from_code) { // 上个色 - console.log("\x1b[32mlogger: ", ...msg, "\x1b[0m") + console.log("\x1b[32mlogger:", ...msg, "\x1b[0m") } }, info: function (...msg) { @@ -5689,11 +5689,9 @@ var A = { l = $.lO() m.toString // if (l == null) H.throw_expression(H.R(l)) - console.log("reaching weapon zone") // if (H.iF(m, l, 0)) { if (m.includes("+")) { k = C.String.aT(m, $.lO()) - console.log("reach inner weapon zone", ) // j = C.String.dF(C.String.ay(m, k + $.i())) j = C.String.trim_name(C.String.ay(m, k + $.i())) l = C.String.af(m, 0, k) @@ -12307,13 +12305,14 @@ L.iR.prototype = { } }, O() { - // 胜率评分 + // 胜率评分 主循环 + logger.debug("胜率主循环") var async_goto = 0, async_completer = P._makeAsyncAwaitCompleter(t.d), some_q, this_ = this, o, n, m, l, k, j, i, h, g, f, e, d - var $async$O = P._wrapJsFunctionForAsync(function (a, b) { - if (a === 1) return P.async_rethrow(b, async_completer) + var $async$O = P._wrapJsFunctionForAsync(function (async_error_code, async_result) { + if (async_error_code === 1) return P.async_rethrow(async_result, async_completer) while (true) switch (async_goto) { case 0: d = this_.x @@ -12338,7 +12337,7 @@ L.iR.prototype = { async_goto = 5 return P._asyncAwait(T.inner_main(h), $async$O) case 5: - g = b + g = async_result f = null case 6: // if (!true) { @@ -12348,7 +12347,7 @@ L.iR.prototype = { async_goto = 9 return P._asyncAwait(g.O(), $async$O) case 9: - e = b + e = async_result if (e == null) { async_goto = 8 break @@ -12511,6 +12510,8 @@ V.iV.prototype = { if (q.length === 1) l.x = q[0] }, O() { + // 实力评分 主循环 + logger.debug("评分 主循环") var async_goto = 0, async_completer = P._makeAsyncAwaitCompleter(t.d), q, this_ = this, @@ -12731,6 +12732,8 @@ X.iW.prototype = { } }, O() { + // 另一个评分主循环 + logger.debug("评分2 主循环") var async_goto = 0, async_completer = P._makeAsyncAwaitCompleter(t.d), q, this_ = this, @@ -16435,6 +16438,7 @@ T.fo.prototype = { }, O() { // 运行时? + logger.debug("运行 主循环") var async_goto = 0, async_completer = P._makeAsyncAwaitCompleter(t.d), result_, p = [], @@ -20894,7 +20898,6 @@ function main() { m = window.sessionStorage.getItem(LangData.eQ("k")) l = X.f4(m, 0) k = LangData.oC(false) - console.log("k:", k) a8 = t.i j = H.b([], a8) J.rr(j, H.b([1, 3, 0, 9], a8)) @@ -20996,5 +20999,5 @@ function main() { return P._asyncStartSync($async$iE, async_completer) } -main() // 执行main函数 +logger.debug("running main:", main()) // 执行main函数 logger.debug(X.k("?`C3ou}R1L", 67)) \ No newline at end of file