xulai1001 / akdata

MIT License
37 stars 11 forks source link

Site not correctly loading #10

Open Kinpaku opened 1 year ago

Kinpaku commented 1 year ago

I don't really know if you support english troubleshoot but i'll try anyway, when i enter on viktorlab, the site does not load, even after manually reloading, i tried on Chrome, Edge and Opera, even with 2 different networks. Viktorlab

neon1300 commented 1 year ago

I am having the same issue. I tried at least 20 times to manually update (手动刷新) it on both Edge and Chrome. Sometimes it works partially and allows me to select operators from the list, however it doesn't calculate the data and leave the result sections blank. Most of the times it just returns me to the page you posted after I pressed the manual update button.

xulai1001 commented 1 year ago

Please provide the F12 debug message. Mostly it's the CDN issue I think

neon1300 commented 1 year ago

Thanks for the reply, here are the screenshots.

Chrome:

alternatetext

Edge:

alternatetext
Kinpaku commented 1 year ago

I'm not able to provide the screenshot right now but I remember it was basically the same as neon1300 posted

xulai1001 commented 1 year ago

Thank you. Seems like the char_patch_table.json is not loaded correctly.I' ll look into this.

xulai1001 commented 1 year ago

When the data file is not properly loaded the char_patch_table.json would report an error. In fact, the data file is stored in 3 mirrored locations: viktorlab.cn, github and aliyun oss. akdata.js will try to load them in a race condition, and return when any one of them is successful.

Now these mirrors are synced to the latest version, I still need to test if all the data files work well.

xulai1001 commented 1 year ago

532aad9 changed the data file policy. Still needs to test The correct loading info should be like this... QQ截图20230414000704

Kinpaku commented 1 year ago

I tried and it is working for me now, thanks a lot. image

neon1300 commented 1 year ago

Thank you Xulai, mine also works now.

xulai1001 commented 1 year ago

8.2 暂时删除local源,仅使用github与aliyun 载入游戏数据和资源