MWIAlchemyCalc

显示炼金收益和产出统计 milkywayidle 银河奶牛放置

< Feedback on MWIAlchemyCalc

Question/comment

§
Posted: 2025-04-30
Edited: 2025-04-30

I installed 'Mooket' before running 'MWIAlchemyCalc', just like it seemed I was supposed to. But something feels a bit off. A few days ago, before the latest updates, these 'NAN' values and any other different options just weren't even showing up. Now it looks like at least the transmute thing has started working. Am I doing something wrong?

IOMisakaAuthor
§
Posted: 2025-05-01

in your screenshot,it looks like the price of some essences got NaN causing the result NaN,maybe the price data of that item was corrupted or error occured.any errors in devtools console?new version updated with translations,you can try it first

if refreshing page not working,you can try to delete the localStorage manually through the DevTools of browsers(F12),the saved data name is "MWICore_marketData", it should work
i'll try to find the reason and make this more rubost.

§
Posted: 2025-05-01

Thanks for the translation and for the quick reply! I installed the new version and even cleared the localStorage for milkwayidle.com, but the problem is still there. Then, since you mentioned it could be something with the 'essence' variable, I decided to delete it from the profit calculation (profit = input + tea + output + rare + catalyst;). Something changed! It looks like some values are showing up now, but they don't really seem to make much sense. (if I tick 'rares', it goes back to showing NaN again)

I got this on Console:
mooket.user.js:1998 MWIAPI_JSON updated: 01/05/2025, 12:15:02
mooket.user.js:175 patching:https://www.milkywayidle.com/static/js/main.df415310.chunk.js
MWIAlchemyCalc.user.js:257 observing "body"
mooket.user.js:156 MWICore injecting: 注入语言翻译对象
mooket.user.js:156 MWICore injecting: 注入游戏对象
mooket.user.js:156 MWICore injecting: 注入buff计算对象
mooket.user.js:156 MWICore injecting: 注入炼金计算对象
mooket.user.js:156 MWICore injecting: 注入动作管理对象
mooket.user.js:165 MWICore patched successfully.
VM4260:2


GET https://connect.facebook.net/en_US/fbevents.js net::ERR_BLOCKED_BY_CLIENT
Node.insertBefore @ VM4260:2
init @ 2.0d62dd60.chunk.js:2
Ep @ VM4260:2
as @ 2.0d62dd60.chunk.js:2
js @ 2.0d62dd60.chunk.js:2
Su @ 2.0d62dd60.chunk.js:2
yl @ 2.0d62dd60.chunk.js:2
bl @ 2.0d62dd60.chunk.js:2
gl @ 2.0d62dd60.chunk.js:2
ul @ 2.0d62dd60.chunk.js:2
Ui @ 2.0d62dd60.chunk.js:2
cl @ 2.0d62dd60.chunk.js:2
(anônimo) @ 2.0d62dd60.chunk.js:2
Ql @ 2.0d62dd60.chunk.js:2
(anônimo) @ 2.0d62dd60.chunk.js:2
(anônimo) @ VM4260:2
i @ game?characterId=295339:1
t @ game?characterId=295339:1
r @ game?characterId=295339:1
(anônimo) @ VM4260:2
patchScript @ mooket.user.js:164
await in patchScript
(anônimo) @ mooket.user.js:177
VMcote33494fb.MutationObserver.observe.childList @ mooket.user.js:171
mooket.user.js:2729 mooket 初始化完成
VM4260:2 WebSocket Client Connected
mooket.user.js:1853 MWICoreInitialized
mooket.user.js:1896 WebMooket connected
MWIAlchemyCalc.user.js:233 Uncaught TypeError: Cannot read properties of null (reading 'itemDetailMap')
at getItemDataByHrid (MWIAlchemyCalc.user.js:233:27)
at handleAlchemyDetailChanged (MWIAlchemyCalc.user.js:495:24)
at MWIAlchemyCalc.user.js:264:45
getItemDataByHrid @ MWIAlchemyCalc.user.js:233
handleAlchemyDetailChanged @ MWIAlchemyCalc.user.js:495
(anônimo) @ MWIAlchemyCalc.user.js:264
setTimeout
delayCall @ MWIAlchemyCalc.user.js:264
(anônimo) @ MWIAlchemyCalc.user.js:286
(anônimo) @ MWIAlchemyCalc.user.js:269
childList

IOMisakaAuthor
§
Posted: 2025-05-02

it's so weired, Cannot read properties of null (reading 'itemDetailMap') means no initClientData loaded,it's form localStorage.getItem("initClientData")
all things won't work without that, check if the storage value named "initClientData" exists
and i changed this code to use mooket's data,it's from both localStorage and init_client_data message

Post reply

Sign in to post a reply.