dodying / UserJs

MIT License
310 stars 120 forks source link

Idle arena not working. #108

Open Zephyrothzero opened 2 years ago

Zephyrothzero commented 2 years ago
  1. 如果是Bug

    • 网址: 在哪个网址发生了错误
    • 重现: 具体做了什么操作
    • 日志: 在页面内按键Shift+Ctrl+i 或 通过点击三条杠/三个点内相应菜单 打开开发者助手 => 切换到Console面板 => 判断一下哪个是当前脚本报错 => 截图(推荐,更直观)复制发到这里
  2. 如果是建议

    • 网站: 要作用的网址
    • 意图: 想做什么
Zephyrothzero commented 2 years ago

English mode idle arena don't work at all.

Zephyrothzero commented 2 years ago

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 commented 2 years ago

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)

kannerban commented 2 years ago

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.

Zephyrothzero commented 2 years ago

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 commented 2 years ago

https://ibb.co/rfnSDgW picture

Zephyrothzero commented 2 years ago

update: Idle arena it work only in isekai.

rdmareborn commented 2 years ago

113 should fix it

Zephyrothzero commented 2 years ago

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: @.***>