shilba / KamiHime-scripts

Content scripts for browser game KamiHime Project.
0 stars 9 forks source link

Developers changed url of main menu #1

Open theStoni opened 6 years ago

theStoni commented 6 years ago

New path is: https://cf.g.kamihimeproject.dmmgames.com/front/cocos2d-proj/components-pc/mypage_quest_party_guild_enh_evo_gacha_present_shop_epi_acce_detail/app.html or https://cf.r.kamihimeproject.dmmgames.com/front/cocos2d-proj/components-pc/mypage_quest_party_guild_enh_evo_gacha_present_shop_epi_acce_detail/app.html

ToDo:

Line 7+8: // @include https://cf.g.kamihimeproject.dmmgames.com/front/cocos2d-proj/components-pc/mypage_quest_party_guild_enh_evo_gacha_present_shop_epi_acce_detail/app.html // @include https://cf.r.kamihimeproject.dmmgames.com/front/cocos2d-proj/components-pc/mypage_quest_party_guild_enh_evo_gacha_present_shop_epi_acce_detail/app.html

function waitBeforeStart: (Line depends on Settings) function waitBeforeStart() { if (location.host == "cf.r.kamihimeproject.dmmgames.com"){ href = "https://cf.r.kamihimeproject.dmmgames.com/front/cocos2d-proj/components-pc/mypage_quest_party_guild_enh_evo_gacha_present_shop_epi_acce_detail/app.html"; } else { href = "https://cf.g.kamihimeproject.dmmgames.com/front/cocos2d-proj/components-pc/mypage_quest_party_guild_enh_evo_gacha_present_shop_epi_acce_detail/app.html"; } if (location.pathname === "/front/cocos2d-proj/components-pc/scenario/app.html" ||//skip scenario location.pathname === "/front/cocos2d-proj/components-pc/mi/app.html" || //skip panel location.pathname === "/front/cocos2d-proj/components-pc/top/app.html"){//skip start refreshPage(); return; } if (has(kh,"createInstance")) { if (location.hash.startsWith("#!quest/q_003_1")){ setTimeout(refreshPage,10000); return; } else { getQuestInfo(); } } else { setTimeout(waitBeforeStart,1000); } }

Paiin9x commented 6 years ago

I have a question does the script for doing auto quest work? It's not really working correctly for me. Goes to the wrong raids and dosen't do any quests.

Could you maybe help me? If you know why it isn't working?