UserJs icon indicating copy to clipboard operation
UserJs copied to clipboard

Idle arena not working.

Open Zephyrothzero opened this issue 3 years ago • 9 comments

  • 脚本: 示例: 示例脚本
  • 类型: Bug, 建议等
  • OS: 操作系统
  • 浏览器: 浏览器及类型
  • 扩展: Greasemonkey/Tampermonkey/Violentmonkey 及 版本
  1. 如果是Bug
  • 网址: 在哪个网址发生了错误
  • 重现: 具体做了什么操作
  • 日志: 在页面内按键Shift+Ctrl+i 或 通过点击三条杠/三个点内相应菜单 打开开发者助手 => 切换到Console面板 => 判断一下哪个是当前脚本报错 => 截图(推荐,更直观)复制发到这里
  1. 如果是建议
  • 网站: 要作用的网址
  • 意图: 想做什么

Zephyrothzero avatar Feb 01 '22 05:02 Zephyrothzero

English mode idle arena don't work at all.

Zephyrothzero avatar Feb 01 '22 06:02 Zephyrothzero


userscript.html?namebe-b3a73d518479:110
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'textContent') at init (chrome-extension://db3a73d518479:110:79) at Window.tms_4ba2a87f_6af6_4e66_92be_b3a73d518479 (chrome-extension://d-b3a73d518479:146:2) at <anonymous>:4:80 at eval (chrome-extension://de-b3a73d518479:1:95) at eval (chrome-extension://d-b3a73d518479:1:681) at eval (chrome-extension://db3a73d518479:2726:6) at eval (chrome-extension://db3a73d518479:2728:3) at eval (<anonymous>) at <anonymous>:4:80 at Object.t [as F_c] (<anonymous>:3:191)
  init @ userscript.html?name…be-b3a73d518479:110
  tms_4ba2a87f_6af6_4e66_92be_b3a73d518479 @ userscript.html?name…be-b3a73d518479:146
  (anonymous) @ VM7041:4
  eval @ userscript.html?name…92be-b3a73d518479:1
  eval @ userscript.html?name…92be-b3a73d518479:1
  eval @ userscript.html?name…e-b3a73d518479:2726
  eval @ userscript.html?name…e-b3a73d518479:2728
  (anonymous) @ VM7041:4
  t @ VM7041:3
  (anonymous) @ VM7041:4
  eval @ VM7043:67
  create @ VM7043:69
  c @ VM7043:7
  runListeners @ VM7043:7
  eval @ VM7043:70
  v @ VM7041:13

Zephyrothzero avatar Feb 01 '22 06:02 Zephyrothzero

script involve idle arena:at Window.tms_4ba2a87f_6af6_4e66_92be_b3a73d518479 (userscript.html?name=%5BHV%5DAutoAttack.user.js&id=4ba2a87f-6af6-4e66-92be-b3a73d518479:146:2)

Zephyrothzero avatar Feb 01 '22 06:02 Zephyrothzero

i try comment this out

if (!g('option').restoreStamina && gE('#stamina_readout .fc4.far.fcb>div').textContent.match(/\d+/)[0] * 1 <= g('option').staminaLow) return;

it work but stamina condition broke.

kannerban avatar Feb 01 '22 08:02 kannerban

i try comment this out

if (!g('option').restoreStamina && gE('#stamina_readout .fc4.far.fcb>div').textContent.match(/\d+/)[0] * 1 <= g('option').staminaLow) return;

it work but stamina condition broke.

but i dont use stamina condition.

Zephyrothzero avatar Feb 02 '22 02:02 Zephyrothzero

https://ibb.co/rfnSDgW picture

Zephyrothzero avatar Feb 02 '22 02:02 Zephyrothzero

update: Idle arena it work only in isekai.

Zephyrothzero avatar Mar 31 '22 09:03 Zephyrothzero

#113 should fix it

rdmareborn avatar Jun 04 '22 23:06 rdmareborn

Thanks

ในวันที่ อา. 5 มิ.ย. 2022 เวลา 06:43 rdmareborn @.***> เขียนว่า:

#113 https://github.com/dodying/UserJs/pull/113 should fix it

— Reply to this email directly, view it on GitHub https://github.com/dodying/UserJs/issues/108#issuecomment-1146703819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQBAUSPDH5ZSKR5KJNITLDVNPSYNANCNFSM5NIGKBWA . You are receiving this because you authored the thread.Message ID: @.***>

Zephyrothzero avatar Jun 08 '22 10:06 Zephyrothzero