├── Luadec51.exe ├── README.md ├── fzqb_decrypt.exe ├── fzqb_res.bat ├── fzqb_unlua.bat ├── res_decrypt ├── ConsoleApplication1.cpp ├── ConsoleApplication1.vcxproj ├── ConsoleApplication1.vcxproj.filters ├── ConsoleApplication1.vcxproj.user ├── ReadMe.txt ├── fzqb_tool.sln ├── stdafx.cpp ├── stdafx.h ├── targetver.h ├── xxtea │ ├── xxtea.c │ └── xxtea.h └── zip_support │ ├── ZipUtils.cpp │ ├── ZipUtils.h │ ├── adler32.c │ ├── compress.c │ ├── crc32.c │ ├── crc32.h │ ├── deflate.c │ ├── deflate.h │ ├── infback.c │ ├── inffast.c │ ├── inffast.h │ ├── inffixed.h │ ├── inflate.c │ ├── inflate.h │ ├── inftrees.c │ ├── inftrees.h │ ├── ioapi.cpp │ ├── ioapi.h │ ├── ioapi_mem.cpp │ ├── ioapi_mem.h │ ├── trees.c │ ├── trees.h │ ├── uncompr.c │ ├── unzip.cpp │ ├── unzip.h │ ├── zconf.h │ ├── zlib.h │ ├── zutil.c │ └── zutil.h ├── script_decompile ├── build │ ├── .gitignore │ ├── MSVC │ │ ├── .gitignore │ │ ├── Luadec51.VC.db │ │ ├── Luadec51.sln │ │ └── Luadec51 │ │ │ ├── Luadec51.vcxproj │ │ │ └── Luadec51.vcxproj.filters │ └── Makefile ├── compare │ ├── compare.rb │ └── luadecguess.rb ├── lua │ ├── .gitignore │ ├── CONTENTS │ └── src │ │ ├── Makefile │ │ ├── lapi.c │ │ ├── lapi.h │ │ ├── lauxlib.c │ │ ├── lauxlib.h │ │ ├── lbaselib.c │ │ ├── lcode.c │ │ ├── lcode.h │ │ ├── ldblib.c │ │ ├── ldebug.c │ │ ├── ldebug.h │ │ ├── ldo.c │ │ ├── ldo.h │ │ ├── ldump.c │ │ ├── lfunc.c │ │ ├── lfunc.h │ │ ├── lgc.c │ │ ├── lgc.h │ │ ├── linit.c │ │ ├── liolib.c │ │ ├── llex.c │ │ ├── llex.h │ │ ├── llimits.h │ │ ├── lmathlib.c │ │ ├── lmem.c │ │ ├── lmem.h │ │ ├── loadlib.c │ │ ├── lobject.c │ │ ├── lobject.h │ │ ├── lopcodes.c │ │ ├── lopcodes.h │ │ ├── loslib.c │ │ ├── lparser.c │ │ ├── lparser.h │ │ ├── lstate.c │ │ ├── lstate.h │ │ ├── lstring.c │ │ ├── lstring.h │ │ ├── lstrlib.c │ │ ├── ltable.c │ │ ├── ltable.h │ │ ├── ltablib.c │ │ ├── ltm.c │ │ ├── ltm.h │ │ ├── lua.c │ │ ├── lua.h │ │ ├── luac.c │ │ ├── luaconf.h │ │ ├── lualib.h │ │ ├── lundump.c │ │ ├── lundump.h │ │ ├── lvm.c │ │ ├── lvm.h │ │ ├── lzio.c │ │ ├── lzio.h │ │ └── print.c └── luadec │ ├── StringBuffer.c │ ├── StringBuffer.h │ ├── guess.c │ ├── ldprint.c │ ├── luadec.c │ ├── output.c │ ├── output.h │ ├── print.h │ ├── proto.c │ ├── proto.h │ ├── structs.c │ └── structs.h └── scripts ├── common ├── 360sdkcfg.lua ├── 6kwsdkcfg.lua ├── 6kwyybsdkcfg.lua ├── alisdkcfg.lua ├── alyxsdkcfg.lua ├── amazonsdkcfg.lua ├── amigosdkcfg.lua ├── baidusdkcfg.lua ├── basesdkcfg.lua ├── chudongsdkcfg.lua ├── const.lua ├── danglesdkcfg.lua ├── fileOpt.lua ├── func.lua ├── games37sdkcfg.lua ├── games63sdkcfg.lua ├── gameusdkcfg.lua ├── helper.lua ├── hwsdkcfg.lua ├── iap.lua ├── kaopusdkcfg.lua ├── kpsdkcfg.lua ├── lenovosdkcfg.lua ├── leseesdkcfg.lua ├── m4399sdkcfg.lua ├── mrgamesdkcfg.lua ├── msdkcfg.lua ├── mzsdkcfg.lua ├── mzwsdkcfg.lua ├── onestoresdkcfg.lua ├── opposdkcfg.lua ├── play800sdkcfg.lua ├── samsungsdkcfg.lua ├── sdkcfg.lua ├── shortcutmgr.lua ├── txsdkcfg.lua ├── ucsdkcfg.lua ├── utf8.lua ├── view.lua ├── vivosdkcfg.lua ├── wufansdkcfg.lua └── xmsdkcfg.lua ├── config.lua ├── config ├── achievement.lua ├── activity.lua ├── activitylogin.lua ├── activitypoker.lua ├── arena.lua ├── arenamarket.lua ├── assistrank.lua ├── battlerewards.lua ├── blackmarket.lua ├── brave.lua ├── bravemarket.lua ├── bravenode.lua ├── brokenboss.lua ├── buff.lua ├── camp.lua ├── cdkeygift.lua ├── christmaswish.lua ├── dailyrewards.lua ├── dailytask.lua ├── dare.lua ├── darestage.lua ├── displace.lua ├── endrewards.lua ├── equip.lua ├── exphero.lua ├── exppet.lua ├── expplayer.lua ├── faq.lua ├── floatland.lua ├── fort.lua ├── friendstage.lua ├── fx.lua ├── gamble.lua ├── gambleup.lua ├── gift.lua ├── guildboss.lua ├── guildexp.lua ├── guildfire.lua ├── guildflag.lua ├── guildskill.lua ├── guildstore.lua ├── guildwar.lua ├── head.lua ├── help.lua ├── hero.lua ├── herobag.lua ├── herolist.lua ├── heromarket.lua ├── herotask.lua ├── homeworld.lua ├── hooklock.lua ├── item.lua ├── krword.lua ├── lifechange.lua ├── limitgift.lua ├── link.lua ├── loadingtips.lua ├── luckymarket.lua ├── mail.lua ├── merge.lua ├── midas.lua ├── mill.lua ├── milllv.lua ├── monster.lua ├── monthlogin.lua ├── monthlyactivity.lua ├── monthlymarket.lua ├── online.lua ├── pet.lua ├── petskill.lua ├── poker.lua ├── robot.lua ├── sealland.lua ├── seallandmarket.lua ├── sharetreasure.lua ├── skill.lua ├── spacegacha.lua ├── specialactivity.lua ├── spk.lua ├── spkdrug.lua ├── spktrader.lua ├── spkwave.lua ├── stage.lua ├── store.lua ├── strings │ ├── ar │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── cn │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── de │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── es │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── fr │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── it │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── jp │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── kr │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── ms │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── pt │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── ru │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── th │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── tr │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── tw │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ ├── us │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua │ └── vi │ │ ├── achievement.lua │ │ ├── arena.lua │ │ ├── brave.lua │ │ ├── buff.lua │ │ ├── dailytask.lua │ │ ├── equip.lua │ │ ├── faq.lua │ │ ├── fort.lua │ │ ├── global.lua │ │ ├── guildskill.lua │ │ ├── help.lua │ │ ├── hero.lua │ │ ├── herotaskname.lua │ │ ├── item.lua │ │ ├── itemgetways.lua │ │ ├── loadingtips.lua │ │ ├── mail.lua │ │ ├── pet.lua │ │ ├── petskill.lua │ │ ├── shortcut.lua │ │ ├── skill.lua │ │ ├── spkdrug.lua │ │ └── vipdes.lua ├── talen.lua ├── talenreturn.lua ├── treasuremap.lua ├── tutorial.lua ├── tutorial_2.lua ├── txgift.lua ├── vip.lua ├── wavetrial.lua └── word.lua ├── data ├── 3v3arena.lua ├── achieve.lua ├── activity.lua ├── activitylimit.lua ├── airisland.lua ├── appsflyer.lua ├── arena.lua ├── arenashop.lua ├── bag.lua ├── blackmarket.lua ├── brave.lua ├── braveshop.lua ├── casino.lua ├── cd.lua ├── chat.lua ├── christmas.lua ├── dare.lua ├── frdarena.lua ├── friend.lua ├── friendboss.lua ├── gacha.lua ├── gboss.lua ├── gskill.lua ├── guild.lua ├── guildmarket.lua ├── guildmill.lua ├── gvar.lua ├── head.lua ├── heartbeat.lua ├── herobook.lua ├── heromarket.lua ├── heros.lua ├── herotask.lua ├── highcasino.lua ├── hook.lua ├── luckymarket.lua ├── mail.lua ├── midas.lua ├── monthlogin.lua ├── monthlyactivity.lua ├── monthlymarket.lua ├── online.lua ├── pet.lua ├── player.lua ├── preventaddiction.lua ├── pubs.lua ├── push.lua ├── rateus.lua ├── sealland.lua ├── shaders.lua ├── shop.lua ├── skinbook.lua ├── solo.lua ├── takingdata.lua ├── task.lua ├── toutiao.lua ├── trial.lua ├── tutorial.lua ├── userdata.lua └── videoad.lua ├── dhcomponents ├── ClassEx.lua ├── DroidhangComponents.lua ├── EditorComponent.lua ├── NativeUpdateComponent.lua ├── NeverUpdateData.lua ├── data │ ├── 392b7b4b570a442d8b653ba4932d9e51.lua │ ├── 3cc2b3b69e1f68a096002c76ff84156e.lua │ ├── 5ff7372faca03be6a8dcb6b261798a9d.lua │ ├── FileList.lua │ ├── a9f575c5fae142c7bbd51d51b689c1e1.lua │ ├── c6136a25f3fb5eea39f84adc5b4b9229.lua │ ├── d58c01abd4cd3a43b3138745deeff077.lua │ ├── e740dd734974c17869a05f9bb3ba5930.lua │ ├── ed5a64afad0de47e6b570cf102e8a2bf.lua │ ├── edd5396fa9790cc3987ed06e6da40eb5.lua │ ├── efbab323002f6157defbc3f341d9ed6c.lua │ └── userdata.lua ├── layers │ ├── EditorAttributeNode.lua │ ├── EditorLayer.lua │ ├── EditorSettingNode.lua │ └── ListenerLayer.lua ├── tools │ ├── List.lua │ ├── SchedulerUtil.lua │ ├── String.lua │ ├── UICreate.lua │ └── UIHelper.lua └── ui │ ├── UIButton.lua │ └── UIScrollView.lua ├── fight ├── airisland │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── base │ ├── loading.lua │ ├── lose.lua │ ├── uiloading.lua │ ├── video.lua │ └── win.lua ├── brave │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── broken │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── dare │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── frdboss │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── frdpk │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── gboss │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── grayboss │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── group.lua ├── gwarrep │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── hairisland │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── helper │ ├── attr.lua │ ├── buff.lua │ ├── fx.lua │ └── hero.lua ├── hurts.lua ├── loadingbg │ ├── bg1.lua │ ├── bg2.lua │ ├── bg3.lua │ └── bgx.lua ├── pve │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── pvp │ ├── loading.lua │ ├── lose.lua │ ├── lucky.lua │ ├── video.lua │ └── win.lua ├── pvp3 │ ├── final.lua │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── pvp3rep │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── pvpf3 │ ├── final.lua │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── pvpf3rep │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── pvpgmill │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── pvprep │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── sealland │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── solo │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── trial │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua └── trialrep │ ├── loading.lua │ ├── lose.lua │ ├── video.lua │ └── win.lua ├── libprotobuf ├── containers.lua ├── decoder.lua ├── descriptor.lua ├── encoder.lua ├── listener.lua ├── proto_func.lua ├── protobuf.lua ├── text_format.lua ├── type_checkers.lua └── wire_format.lua ├── main.lua ├── net ├── dhTcpAgent.lua ├── eventName.lua ├── httpClient.lua ├── netClient.lua ├── protoGenerator.lua └── protoParser.lua ├── protocol ├── dr2_comm_pb.lua ├── dr2_logic_pb.lua └── dr2_login_pb.lua ├── res ├── audio.lua ├── i18n.lua ├── img.lua ├── json.lua ├── lbl.lua └── particle.lua ├── sdk └── sdk.lua ├── tools └── adrichtext.lua ├── ui ├── 3v3arena │ ├── main.lua │ ├── pickRival.lua │ ├── player.lua │ ├── rank.lua │ ├── records.lua │ ├── rewards.lua │ ├── select.lua │ └── videoDetail.lua ├── achieve │ └── main.lua ├── activity │ ├── asylum.lua │ ├── awakingGlory.lua │ ├── ban.lua │ ├── bell.lua │ ├── blackbox.lua │ ├── blackcard.lua │ ├── buybroken.lua │ ├── cdkey.lua │ ├── crushboss1.lua │ ├── crushboss2.lua │ ├── crushboss3.lua │ ├── crushbossfight.lua │ ├── crushbossrank.lua │ ├── crushreward.lua │ ├── dinner.lua │ ├── dwarf.lua │ ├── elementAltar.lua │ ├── exchange.lua │ ├── fish.lua │ ├── follow.lua │ ├── forge.lua │ ├── fridaycard.lua │ ├── fridayhappy.lua │ ├── fridayvip.lua │ ├── hallowmasparty.lua │ ├── heroSummon.lua │ ├── main.lua │ ├── midautumn.lua │ ├── midautumngift.lua │ ├── midautumnlogin.lua │ ├── monthlygift.lua │ ├── nationaldaylogin.lua │ ├── newyear.lua │ ├── pumpkin.lua │ ├── scoreCasino.lua │ ├── scoreFight.lua │ ├── scoreSpesummon.lua │ ├── scoreSummon.lua │ ├── scoreTarven.lua │ ├── spring.lua │ ├── summon.lua │ ├── tenchange.lua │ ├── thanksgift.lua │ ├── tinysnowman.lua │ ├── treasures.lua │ ├── valuePack.lua │ ├── weekbox.lua │ ├── weeklygift.lua │ ├── weeklygift_ba.lua │ └── winter.lua ├── activityhome │ ├── activity.lua │ ├── limit.lua │ ├── main.lua │ ├── monthly.lua │ └── topbar.lua ├── activitylimit │ ├── grade.lua │ ├── level.lua │ ├── main.lua │ └── summon.lua ├── airisland │ ├── bossline.lua │ ├── buildUI.lua │ ├── enegybuy.lua │ ├── fightmain.lua │ ├── frdhelp.lua │ ├── itembar.lua │ ├── lvMaxUI.lua │ ├── main.lua │ ├── main1.lua │ ├── npcline.lua │ ├── propertyUI.lua │ ├── upgradeUI.lua │ └── upmaintower.lua ├── arena │ ├── buy.lua │ ├── entrance.lua │ ├── main.lua │ ├── pickRival.lua │ ├── records.lua │ ├── rewards.lua │ └── shop.lua ├── bag │ ├── bag.lua │ ├── main.lua │ ├── mainui.lua │ ├── summonshow.lua │ └── treasureshow.lua ├── blackmarket │ └── main.lua ├── brave │ ├── gateinfo.lua │ ├── levelrewards.lua │ ├── main.lua │ ├── map.lua │ ├── precamp.lua │ └── select.lua ├── braveshop │ └── main.lua ├── casino │ ├── chip.lua │ ├── log.lua │ ├── main.lua │ ├── selectcasino.lua │ └── shop.lua ├── chat │ ├── main.lua │ └── setting.lua ├── christmas │ ├── card.lua │ ├── dressup.lua │ ├── dressupexchange.lua │ ├── dressupexchangebox.lua │ ├── dressupexchangeribbon.lua │ ├── gift.lua │ └── socks.lua ├── dare │ ├── main.lua │ └── stage.lua ├── devour │ ├── filtertips.lua │ └── main.lua ├── dialog.lua ├── empty.lua ├── firstpay │ └── main.lua ├── frdarena │ ├── createteam.lua │ ├── enemyinfo.lua │ ├── helptips.lua │ ├── inputpd.lua │ ├── invided.lua │ ├── invidefrd.lua │ ├── main.lua │ ├── mbrinfo.lua │ ├── rank.lua │ ├── records.lua │ ├── rewards.lua │ ├── selecfight.lua │ ├── selectenemy.lua │ ├── setteamline.lua │ ├── teaminfo.lua │ ├── teaminfotips.lua │ ├── teaminvited.lua │ ├── teammain.lua │ └── videoDetail.lua ├── friends │ ├── enemyline.lua │ ├── frdsweepshow.lua │ ├── injuryrank.lua │ ├── main.lua │ ├── scorerank.lua │ └── scorereward.lua ├── gotoShopDlg.lua ├── guild │ ├── appliers.lua │ ├── board1.lua │ ├── board2.lua │ ├── create.lua │ ├── flag.lua │ ├── gitem.lua │ ├── gname.lua │ ├── log.lua │ ├── main.lua │ ├── members.lua │ ├── modify.lua │ ├── rank.lua │ ├── recommend.lua │ ├── recruit.lua │ └── search.lua ├── guildFight │ ├── demoFight.lua │ ├── final_16.lua │ ├── final_2.lua │ ├── final_4.lua │ ├── final_8.lua │ ├── guildFightMain.lua │ ├── guildFightcamp.lua │ ├── lineCreate.lua │ ├── rank.lua │ ├── records.lua │ ├── rewards.lua │ ├── settingLineup.lua │ ├── teamDetail.lua │ └── videoDetail.lua ├── guildVice │ ├── board.lua │ ├── drop.lua │ ├── graydrop.lua │ ├── grayrank.lua │ ├── info.lua │ ├── main.lua │ ├── shop.lua │ ├── skill.lua │ ├── stats.lua │ ├── vice.lua │ └── vicecontinue.lua ├── guildmill │ ├── drank.lua │ ├── drecord.lua │ ├── harry.lua │ ├── hrecord.lua │ ├── main.lua │ ├── order.lua │ └── upgrade.lua ├── help.lua ├── hero │ ├── crystal.lua │ ├── equip.lua │ ├── info.lua │ ├── karma.lua │ ├── main.lua │ ├── skin.lua │ ├── talenskill.lua │ ├── talentips.lua │ ├── transchange.lua │ ├── uphero.lua │ └── upherotips.lua ├── heroforge │ └── main.lua ├── herolist │ ├── herobook.lua │ └── main.lua ├── heromarket │ └── main.lua ├── herotask │ ├── finish.lua │ ├── main.lua │ ├── speed.lua │ └── start.lua ├── highcasino │ ├── log.lua │ └── main.lua ├── hook │ ├── drops.lua │ ├── fight.lua │ ├── main.lua │ ├── map.lua │ ├── powerTip.lua │ ├── rank.lua │ ├── stage.lua │ └── team.lua ├── inputlayer.lua ├── levelUplayer.lua ├── lineScroll.lua ├── login │ ├── accelerometer.lua │ ├── auth.lua │ ├── forget.lua │ ├── gate.lua │ ├── home.lua │ ├── input.lua │ ├── loading.lua │ ├── logo.lua │ ├── notice.lua │ ├── protocol.lua │ ├── txlogin.lua │ ├── update.lua │ └── warning.lua ├── loginreward │ └── main.lua ├── mail │ └── main.lua ├── mcard │ └── main.lua ├── midas │ ├── crystal.lua │ └── main.lua ├── minicard │ └── main.lua ├── moneybar.lua ├── monthlogin │ └── main.lua ├── monthlyactivity │ ├── main.lua │ └── market.lua ├── payConfirm.lua ├── payDlg.lua ├── pet │ ├── card.lua │ ├── main.lua │ ├── mainui.lua │ ├── petBattle.lua │ ├── petBattle3v3.lua │ ├── petDetails.lua │ ├── petInfo.lua │ └── scrollUI.lua ├── player │ ├── changehead.lua │ ├── changename.lua │ └── main.lua ├── pops │ └── vp.lua ├── progressbar.lua ├── rateus │ └── main.lua ├── remark.lua ├── resloading.lua ├── reward.lua ├── sealland │ ├── buychallenge.lua │ ├── buysweep.lua │ ├── main.lua │ ├── shop.lua │ └── sweep.lua ├── selecthero │ ├── camp.lua │ ├── campLayer.lua │ ├── herolist.lua │ ├── info.lua │ └── main.lua ├── setting │ ├── board.lua │ ├── change.lua │ ├── faq.lua │ ├── feed.lua │ ├── fix.lua │ ├── help.lua │ ├── language.lua │ ├── notice.lua │ ├── option.lua │ ├── register.lua │ ├── roles.lua │ ├── server.lua │ └── switch.lua ├── shop │ ├── buylayer.lua │ ├── main.lua │ ├── payment.lua │ ├── privacy.lua │ ├── subscribe.lua │ └── viplayer.lua ├── skin │ ├── forgetips.lua │ ├── main.lua │ ├── preview.lua │ └── skinshow.lua ├── smith │ └── main.lua ├── solo │ ├── main.lua │ ├── monsListUI.lua │ ├── noStartUI.lua │ ├── rankUI.lua │ ├── recordUI.lua │ ├── rewardUI.lua │ ├── selectHeroes.lua │ ├── shopUI.lua │ ├── sweepUI.lua │ ├── traderClassifyUI.lua │ ├── traderUI.lua │ └── useDrugUI.lua ├── summon │ ├── info.lua │ ├── main.lua │ └── tipsdialog.lua ├── summonspe │ ├── main.lua │ ├── replacehero.lua │ ├── selecthero.lua │ └── spsummon.lua ├── suredialog.lua ├── task │ └── main.lua ├── tips │ ├── attrdetail.lua │ ├── campbuff.lua │ ├── confirm.lua │ ├── equip.lua │ ├── getway.lua │ ├── gift.lua │ ├── hero.lua │ ├── item.lua │ ├── itemlist.lua │ ├── player.lua │ ├── player1.lua │ ├── reward.lua │ ├── sell.lua │ ├── skill.lua │ ├── skin.lua │ └── summon.lua ├── toast.lua ├── town │ ├── IdCardVerifyDialog.lua │ ├── PreventAddictionDialog.lua │ ├── gotoEnter.lua │ ├── gotoHelper.lua │ ├── main.lua │ └── mainui.lua ├── treasure │ └── upgrade.lua ├── trial │ ├── buy.lua │ ├── main.lua │ ├── rank.lua │ ├── record.lua │ └── stage.lua ├── tutorial.lua ├── unlockFunclayer.lua ├── videoad │ └── main.lua ├── vip │ ├── main.lua │ ├── mcard.lua │ ├── minicard.lua │ └── subscribe.lua └── waitnet.lua └── version.lua /Luadec51.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/Luadec51.exe -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # dhgametool 2 | 游戏<放置奇兵>破解工具 3 | 4 | 5 | ## 1.解密资源
6 | `fzqb_res.bat 资源目录`
7 | 资源目录一般来说就是apk包解压后的`assets` 8 | 9 | ## 2.lua脚本编译
10 | `fzqb_unlua.bat 脚本目录`
11 | 12 | 13 | 注:该游戏修改过lua虚拟机操作码,不能用网上通用的lua字节码反编译工具!
14 | 15 | ### 参考:
16 | 1.lua字节码反编译(https://github.com/sztupy/luadec51) 17 | -------------------------------------------------------------------------------- /fzqb_decrypt.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/fzqb_decrypt.exe -------------------------------------------------------------------------------- /fzqb_res.bat: -------------------------------------------------------------------------------- 1 | for /r %1 %%i in (*) do ( fzqb_decrypt.exe %%i ) 2 | echo "done!" 3 | -------------------------------------------------------------------------------- /fzqb_unlua.bat: -------------------------------------------------------------------------------- 1 | for /r %1 %%i in (*) do ( 2 | Luadec51.exe %%i > %%ic 3 | move /Y %%ic %%i 4 | ) 5 | echo "done!" 6 | -------------------------------------------------------------------------------- /res_decrypt/ConsoleApplication1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/res_decrypt/ConsoleApplication1.cpp -------------------------------------------------------------------------------- /res_decrypt/ConsoleApplication1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | d:\skin.png 5 | WindowsLocalDebugger 6 | 7 | -------------------------------------------------------------------------------- /res_decrypt/fzqb_tool.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28307.645 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fzqb_decrypt", "ConsoleApplication1.vcxproj", "{089488D4-AA08-4F96-967F-783EBCF9BBC5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Debug|x64.ActiveCfg = Debug|x64 17 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Debug|x64.Build.0 = Debug|x64 18 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Debug|x86.Build.0 = Debug|Win32 20 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Release|x64.ActiveCfg = Release|x64 21 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Release|x64.Build.0 = Release|x64 22 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Release|x86.ActiveCfg = Release|Win32 23 | {089488D4-AA08-4F96-967F-783EBCF9BBC5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {3D97D37F-F9F2-413A-93BD-78948A7F95DC} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /res_decrypt/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // ConsoleApplication1.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /res_decrypt/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include "targetver.h" 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | 16 | // TODO: reference additional headers your program requires here 17 | extern "C" { 18 | #include "xxtea/xxtea.h" 19 | } 20 | 21 | 22 | // TODO: reference additional headers your program requires here 23 | -------------------------------------------------------------------------------- /res_decrypt/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /res_decrypt/zip_support/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /script_decompile/build/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | luadec 3 | -------------------------------------------------------------------------------- /script_decompile/build/MSVC/.gitignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | ipch 4 | *.sdf 5 | *.opensdf 6 | *.suo 7 | *.user 8 | -------------------------------------------------------------------------------- /script_decompile/build/MSVC/Luadec51.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/script_decompile/build/MSVC/Luadec51.VC.db -------------------------------------------------------------------------------- /script_decompile/build/MSVC/Luadec51.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Luadec51", "Luadec51\Luadec51.vcxproj", "{914AC0D5-379E-42AE-BDC4-3031CD6FBADD}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {914AC0D5-379E-42AE-BDC4-3031CD6FBADD}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {914AC0D5-379E-42AE-BDC4-3031CD6FBADD}.Debug|Win32.Build.0 = Debug|Win32 14 | {914AC0D5-379E-42AE-BDC4-3031CD6FBADD}.Release|Win32.ActiveCfg = Release|Win32 15 | {914AC0D5-379E-42AE-BDC4-3031CD6FBADD}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /script_decompile/lua/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !CONTENTS 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /script_decompile/lua/CONTENTS: -------------------------------------------------------------------------------- 1 | Please put the contents of the lua source distribution folder in this directory. The whole project should look like this: 2 | 3 | / 4 | |-- build # luadec build scripts 5 | |-- compare # compare ruby scripts 6 | |-- lua # lua's distribution 7 | | |-- doc 8 | | |-- etc 9 | | |-- src # lua distribution source files 10 | | +-- test 11 | +-- luadec # luadec source files 12 | 13 | 14 | -------------------------------------------------------------------------------- /script_decompile/lua/src/lapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions from Lua API 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lapi_h 8 | #define lapi_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /script_decompile/lua/src/ldebug.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: ldebug.h,v 2.3.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions from Debug Interface module 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef ldebug_h 8 | #define ldebug_h 9 | 10 | 11 | #include "lstate.h" 12 | 13 | 14 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) 15 | 16 | #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) 17 | 18 | #define resethookcount(L) (L->hookcount = L->basehookcount) 19 | 20 | 21 | LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, 22 | const char *opname); 23 | LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2); 24 | LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1, 25 | const TValue *p2); 26 | LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1, 27 | const TValue *p2); 28 | LUAI_FUNC void luaG_runerror (lua_State *L, const char *fmt, ...); 29 | LUAI_FUNC void luaG_errormsg (lua_State *L); 30 | LUAI_FUNC int luaG_checkcode (const Proto *pt); 31 | LUAI_FUNC int luaG_checkopenop (Instruction i); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /script_decompile/lua/src/lfunc.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lfunc.h,v 2.4.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Auxiliary functions to manipulate prototypes and closures 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lfunc_h 8 | #define lfunc_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | #define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \ 15 | cast(int, sizeof(TValue)*((n)-1))) 16 | 17 | #define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \ 18 | cast(int, sizeof(TValue *)*((n)-1))) 19 | 20 | 21 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); 22 | LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); 23 | LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); 24 | LUAI_FUNC UpVal *luaF_newupval (lua_State *L); 25 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 26 | LUAI_FUNC void luaF_close (lua_State *L, StkId level); 27 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); 28 | LUAI_FUNC void luaF_freeclosure (lua_State *L, Closure *c); 29 | LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv); 30 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, 31 | int pc); 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /script_decompile/lua/src/linit.c: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: linit.c,v 1.14.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Initialization of libraries for lua.c 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | 8 | #define linit_c 9 | #define LUA_LIB 10 | 11 | #include "lua.h" 12 | 13 | #include "lualib.h" 14 | #include "lauxlib.h" 15 | 16 | 17 | static const luaL_Reg lualibs[] = { 18 | {"", luaopen_base}, 19 | {LUA_LOADLIBNAME, luaopen_package}, 20 | {LUA_TABLIBNAME, luaopen_table}, 21 | {LUA_IOLIBNAME, luaopen_io}, 22 | {LUA_OSLIBNAME, luaopen_os}, 23 | {LUA_STRLIBNAME, luaopen_string}, 24 | {LUA_MATHLIBNAME, luaopen_math}, 25 | {LUA_DBLIBNAME, luaopen_debug}, 26 | {NULL, NULL} 27 | }; 28 | 29 | 30 | LUALIB_API void luaL_openlibs (lua_State *L) { 31 | const luaL_Reg *lib = lualibs; 32 | for (; lib->func; lib++) { 33 | lua_pushcfunction(L, lib->func); 34 | lua_pushstring(L, lib->name); 35 | lua_call(L, 1, 0); 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /script_decompile/lua/src/lstring.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lstring.h,v 1.43.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** String table (keep all strings handled by Lua) 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lstring_h 8 | #define lstring_h 9 | 10 | 11 | #include "lgc.h" 12 | #include "lobject.h" 13 | #include "lstate.h" 14 | 15 | 16 | #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char)) 17 | 18 | #define sizeudata(u) (sizeof(union Udata)+(u)->len) 19 | 20 | #define luaS_new(L, s) (luaS_newlstr(L, s, strlen(s))) 21 | #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 22 | (sizeof(s)/sizeof(char))-1)) 23 | 24 | #define luaS_fix(s) l_setbit((s)->tsv.marked, FIXEDBIT) 25 | 26 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); 27 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); 28 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 29 | 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /script_decompile/lua/src/ltable.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: ltable.h,v 2.10.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Lua tables (hash) 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef ltable_h 8 | #define ltable_h 9 | 10 | #include "lobject.h" 11 | 12 | 13 | #define gnode(t,i) (&(t)->node[i]) 14 | #define gkey(n) (&(n)->i_key.nk) 15 | #define gval(n) (&(n)->i_val) 16 | #define gnext(n) ((n)->i_key.nk.next) 17 | 18 | #define key2tval(n) (&(n)->i_key.tvk) 19 | 20 | 21 | LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); 22 | LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); 23 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 24 | LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); 25 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); 26 | LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 27 | LUAI_FUNC Table *luaH_new (lua_State *L, int narray, int lnhash); 28 | LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize); 29 | LUAI_FUNC void luaH_free (lua_State *L, Table *t); 30 | LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); 31 | LUAI_FUNC int luaH_getn (Table *t); 32 | 33 | 34 | #if defined(LUA_DEBUG) 35 | LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); 36 | LUAI_FUNC int luaH_isdummy (Node *n); 37 | #endif 38 | 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /script_decompile/lua/src/ltm.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: ltm.h,v 2.6.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Tag methods 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef ltm_h 8 | #define ltm_h 9 | 10 | 11 | #include "lobject.h" 12 | 13 | 14 | /* 15 | * WARNING: if you change the order of this enumeration, 16 | * grep "ORDER TM" 17 | */ 18 | typedef enum { 19 | TM_INDEX, 20 | TM_NEWINDEX, 21 | TM_GC, 22 | TM_MODE, 23 | TM_EQ, /* last tag method with `fast' access */ 24 | TM_ADD, 25 | TM_SUB, 26 | TM_MUL, 27 | TM_DIV, 28 | TM_MOD, 29 | TM_POW, 30 | TM_UNM, 31 | TM_LEN, 32 | TM_LT, 33 | TM_LE, 34 | TM_CONCAT, 35 | TM_CALL, 36 | TM_N /* number of elements in the enum */ 37 | } TMS; 38 | 39 | 40 | 41 | #define gfasttm(g,et,e) ((et) == NULL ? NULL : \ 42 | ((et)->flags & (1u<<(e))) ? NULL : luaT_gettm(et, e, (g)->tmname[e])) 43 | 44 | #define fasttm(l,et,e) gfasttm(G(l), et, e) 45 | 46 | LUAI_DATA const char *const luaT_typenames[]; 47 | 48 | 49 | LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); 50 | LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, 51 | TMS event); 52 | LUAI_FUNC void luaT_init (lua_State *L); 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /script_decompile/lua/src/lualib.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lualib.h,v 1.36.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Lua standard libraries 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | 8 | #ifndef lualib_h 9 | #define lualib_h 10 | 11 | #include "lua.h" 12 | 13 | 14 | /* Key to file-handle type */ 15 | #define LUA_FILEHANDLE "FILE*" 16 | 17 | 18 | #define LUA_COLIBNAME "coroutine" 19 | LUALIB_API int (luaopen_base) (lua_State *L); 20 | 21 | #define LUA_TABLIBNAME "table" 22 | LUALIB_API int (luaopen_table) (lua_State *L); 23 | 24 | #define LUA_IOLIBNAME "io" 25 | LUALIB_API int (luaopen_io) (lua_State *L); 26 | 27 | #define LUA_OSLIBNAME "os" 28 | LUALIB_API int (luaopen_os) (lua_State *L); 29 | 30 | #define LUA_STRLIBNAME "string" 31 | LUALIB_API int (luaopen_string) (lua_State *L); 32 | 33 | #define LUA_MATHLIBNAME "math" 34 | LUALIB_API int (luaopen_math) (lua_State *L); 35 | 36 | #define LUA_DBLIBNAME "debug" 37 | LUALIB_API int (luaopen_debug) (lua_State *L); 38 | 39 | #define LUA_LOADLIBNAME "package" 40 | LUALIB_API int (luaopen_package) (lua_State *L); 41 | 42 | 43 | /* open all previous libraries */ 44 | LUALIB_API void (luaL_openlibs) (lua_State *L); 45 | 46 | 47 | 48 | #ifndef lua_assert 49 | #define lua_assert(x) ((void)0) 50 | #endif 51 | 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /script_decompile/lua/src/lundump.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lundump.h,v 1.37.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** load precompiled Lua chunks 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lundump_h 8 | #define lundump_h 9 | 10 | #include "lobject.h" 11 | #include "lzio.h" 12 | 13 | /* load one chunk; from lundump.c */ 14 | LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name); 15 | 16 | /* make header; from lundump.c */ 17 | LUAI_FUNC void luaU_header (char* h); 18 | 19 | /* dump one chunk; from ldump.c */ 20 | LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); 21 | 22 | #ifdef luac_c 23 | /* print one chunk; from print.c */ 24 | LUAI_FUNC void luaU_print (const Proto* f, int full); 25 | #endif 26 | 27 | /* for header of binary files -- this is Lua 5.1 */ 28 | #define LUAC_VERSION 0x51 29 | 30 | /* for header of binary files -- this is the official format */ 31 | #define LUAC_FORMAT 0 32 | 33 | /* size of header of binary files */ 34 | #define LUAC_HEADERSIZE 12 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /script_decompile/lua/src/lvm.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** $Id: lvm.h,v 2.5.1.1 2007/12/27 13:02:25 roberto Exp $ 3 | ** Lua virtual machine 4 | ** See Copyright Notice in lua.h 5 | */ 6 | 7 | #ifndef lvm_h 8 | #define lvm_h 9 | 10 | 11 | #include "ldo.h" 12 | #include "lobject.h" 13 | #include "ltm.h" 14 | 15 | 16 | #define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o))) 17 | 18 | #define tonumber(o,n) (ttype(o) == LUA_TNUMBER || \ 19 | (((o) = luaV_tonumber(o,n)) != NULL)) 20 | 21 | #define equalobj(L,o1,o2) \ 22 | (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2)) 23 | 24 | 25 | LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); 26 | LUAI_FUNC int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2); 27 | LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n); 28 | LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj); 29 | LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, 30 | StkId val); 31 | LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, 32 | StkId val); 33 | LUAI_FUNC void luaV_execute (lua_State *L, int nexeccalls); 34 | LUAI_FUNC void luaV_concat (lua_State *L, int total, int last); 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /script_decompile/luadec/StringBuffer.h: -------------------------------------------------------------------------------- 1 | /* Do not edit this file. It was automatically genarated. */ 2 | 3 | #ifndef HEADER_StringBuffer 4 | #define HEADER_StringBuffer 5 | 6 | 7 | #include 8 | #include 9 | 10 | #define STRINGBUFFER_BLOCK 256 11 | 12 | 13 | typedef struct StringBuffer_ { 14 | char* buffer; 15 | int bufferSize; 16 | int usedSize; 17 | } StringBuffer; 18 | 19 | 20 | StringBuffer* StringBuffer_new(char* data); 21 | 22 | void StringBuffer_delete(StringBuffer* this); 23 | 24 | void StringBuffer_makeRoom(StringBuffer* this, int neededSize); 25 | 26 | void StringBuffer_addChar(StringBuffer* this, char ch); 27 | 28 | void StringBuffer_add(StringBuffer* this, char* str); 29 | 30 | void StringBuffer_prepend(StringBuffer* this, char* str); 31 | 32 | void StringBuffer_set(StringBuffer* this, const char* str); 33 | 34 | void StringBuffer_addAll(StringBuffer* this, int n, ...); 35 | 36 | #ifdef __GNUC__ 37 | #define PRINTF_FUNCTION __attribute__ ((format (printf, 2, 3))) 38 | #else 39 | #define PRINTF_FUNCTION 40 | #endif 41 | 42 | void StringBuffer_printf(StringBuffer* this, char* format, ...) PRINTF_FUNCTION; 43 | 44 | void StringBuffer_addPrintf(StringBuffer* this, char* format, ...) PRINTF_FUNCTION; 45 | 46 | char* StringBuffer_getCopy(StringBuffer* this); 47 | 48 | char* StringBuffer_getBuffer(StringBuffer* this); 49 | 50 | char* StringBuffer_getRef(StringBuffer* this); 51 | 52 | void StringBuffer_prune(StringBuffer* this); 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /script_decompile/luadec/output.c: -------------------------------------------------------------------------------- 1 | 2 | #include "output.h" 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | static void AddOutput(Output ** output, int indent, char *line) 9 | { 10 | int i; 11 | Output *newline = malloc(sizeof(Output)); 12 | Output *walk = *output; 13 | int lenline = strlen(line); 14 | newline->line = malloc(lenline + (indent * 3) + 1); 15 | newline->next = NULL; 16 | for (i = 0; i < indent * 3; i++) 17 | newline->line[i] = ' '; 18 | strncpy(newline->line + (indent * 3), line, lenline + 1); 19 | if (*output != NULL) { 20 | for (walk = *output; walk->next != NULL; walk = walk->next); 21 | walk->next = newline; 22 | } else { 23 | *output = newline; 24 | } 25 | } 26 | 27 | static void PrintOutput(Output * output) 28 | { 29 | for (; output != NULL; output = output->next) { 30 | printf("%s", output->line); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /script_decompile/luadec/output.h: -------------------------------------------------------------------------------- 1 | #ifndef OUTPUT_H 2 | #define OUTPUT_H 3 | 4 | typedef struct Output_ Output; 5 | 6 | struct Output_ { 7 | char *line; 8 | Output *next; 9 | }; 10 | 11 | static void AddOutput(Output ** output, int indent, char *line); 12 | 13 | static void PrintOutput(Output * output); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /script_decompile/luadec/proto.h: -------------------------------------------------------------------------------- 1 | #ifndef PROTO_H 2 | #define PROTO_H 3 | 4 | #ifndef LUA_OPNAMES 5 | #define LUA_OPNAMES 6 | #endif 7 | 8 | #include "ldebug.h" 9 | #include "lobject.h" 10 | #include "lopcodes.h" 11 | #include "lundump.h" 12 | 13 | char *DecompileString(const Proto * f, int n); 14 | 15 | char *DecompileConstant(const Proto * f, int i); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /script_decompile/luadec/structs.h: -------------------------------------------------------------------------------- 1 | #ifndef STRUCTS_H 2 | #define STRUCTS_H 3 | 4 | #include 5 | #include "lopcodes.h" 6 | 7 | typedef struct ListItem_ ListItem; 8 | 9 | struct ListItem_ { 10 | ListItem *next; 11 | }; 12 | 13 | typedef void (*ListItemFn) (ListItem *, void *); 14 | typedef int (*ListItemCmpFn) (ListItem *, const void *); 15 | 16 | typedef struct List_ List; 17 | 18 | struct List_ { 19 | ListItem *head; 20 | ListItem *tail; 21 | int size; 22 | }; 23 | 24 | typedef struct IntSet_ IntSet; 25 | 26 | struct IntSet_ { 27 | int values[MAXARG_A + 1]; 28 | int ctr; 29 | int mayRepeat; 30 | }; 31 | 32 | typedef struct VarStack_ VarStack; 33 | 34 | struct VarStack_ { 35 | char* dests[MAXARG_A + 1]; 36 | char* srcs[MAXARG_A + 1]; 37 | int regs[MAXARG_A + 1]; 38 | int ctr; 39 | }; 40 | 41 | void InitList(List* list); 42 | void AddToList(List* list, ListItem* item); 43 | ListItem* LastItem(List* list); 44 | ListItem* PopFromList(List* list); 45 | void LoopList(List* list, ListItemFn fn, void* param); 46 | ListItem* FindInList(List* list, ListItemCmpFn cmp, const void *sample); 47 | int AddToSet(IntSet* set, int a); 48 | int PeekSet(IntSet* set, int a); 49 | int PopSet(IntSet* set); 50 | int RemoveFromSet(IntSet* set, int a); 51 | void AddToVarStack(VarStack* stack, char* dest, char* src, int reg); 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /scripts/common/basesdkcfg.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\common\basesdkcfg.lua 2 | 3 | local cfg = {} 4 | local cjson = json 5 | require("common.func") 6 | require("common.const") 7 | local netClient = require("net.netClient") 8 | local i18n = require("res.i18n") 9 | local player = require("data.player") 10 | local userdata = require("data.userdata") 11 | cfg.jsonEncode = function(l_1_0) 12 | print("--------------------------before jsonEncode--------------------") 13 | local ret = cjson.encode(l_1_0) 14 | print("--------------------------after jsonEncode--------------------") 15 | print("ret:", ret) 16 | return ret 17 | end 18 | 19 | cfg.jsonDecode = function(l_2_0) 20 | print("--------------------------before jsonDecode--------------------") 21 | print("ret:", l_2_0) 22 | local ret = cjson.decode(l_2_0) 23 | print("--------------------------after jsonDecode--------------------") 24 | return ret 25 | end 26 | 27 | return cfg 28 | 29 | -------------------------------------------------------------------------------- /scripts/common/helper.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\common\helper.lua 2 | 3 | local helper = {} 4 | local lowMemoryFlag = false 5 | local resMap = {} 6 | helper.isLowMem = function() 7 | if lowMemoryFlag then 8 | return true 9 | end 10 | if HHUtils:isLowMemory() then 11 | lowMemoryFlag = true 12 | return true 13 | end 14 | return false 15 | end 16 | 17 | helper.loadResource = function(l_2_0) 18 | if resMap[l_2_0] then 19 | return false 20 | end 21 | resMap[l_2_0] = true 22 | return true 23 | end 24 | 25 | helper.unloadResource = function(l_3_0) 26 | resMap[l_3_0] = nil 27 | end 28 | 29 | helper.getJsonCacheCount = function() 30 | return 10000 31 | end 32 | 33 | helper.checkMemory = function() 34 | if helper.isLowMem() then 35 | collectgarbage("collect") 36 | end 37 | end 38 | 39 | return helper 40 | 41 | -------------------------------------------------------------------------------- /scripts/common/view.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\common\view.lua 2 | 3 | local userdata = require("data.userdata") 4 | local view = {} 5 | view.logical = {w = 960, h = 576} 6 | local winSize = CCDirector:sharedDirector():getWinSize() 7 | view.physical = {w = winSize.width, h = winSize.height} 8 | view.xScale = view.physical.w / view.logical.w 9 | view.yScale = view.physical.h / view.logical.h 10 | if view.xScale < view.yScale then 11 | view.minScale = view.xScale 12 | view.maxScale = view.yScale 13 | else 14 | view.minScale = view.yScale 15 | view.maxScale = view.xScale 16 | end 17 | view.minX = (view.physical.w - view.logical.w * view.minScale) / 2 18 | view.minY = (view.physical.h - view.logical.h * view.minScale) / 2 19 | view.maxX = view.physical.w - view.minX 20 | view.maxY = view.physical.h - view.minY 21 | view.midX = (view.minX + view.maxX) / 2 22 | view.midY = (view.minY + view.maxY) / 2 23 | local userOffset = userdata.getInt(userdata.keys.fix_bar_offset, 0) 24 | if view.physical.w == 2436 and view.physical.h == 1125 then 25 | if userOffset > 0 then 26 | view.safeOffset = userOffset 27 | else 28 | view.safeOffset = 92 29 | end 30 | else 31 | if view.physical.w == 1624 and view.physical.h == 750 then 32 | if userOffset > 0 then 33 | view.safeOffset = userOffset 34 | else 35 | view.safeOffset = 92 36 | end 37 | else 38 | view.safeOffset = userOffset 39 | end 40 | end 41 | return view 42 | 43 | -------------------------------------------------------------------------------- /scripts/config.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config.lua 2 | 3 | DEBUG = 0 4 | DEBUG_FPS = false 5 | DEBUG_MEM = false 6 | CONFIG_PROTOCOL_HEADER_FIRST_FIELD_LEN = 2 7 | CONFIG_PROTOCOL_HEADER_EXCEPT_FIRST_LEN = 4 8 | CONFIG_PROTOCOL_HEADER_EXCEPT_FIRST_LEN_RECV = 2 9 | CONFIG_PROTOCOL_HEADER_LEN = CONFIG_PROTOCOL_HEADER_FIRST_FIELD_LEN + CONFIG_PROTOCOL_HEADER_EXCEPT_FIRST_LEN 10 | CONFIG_PROTOCOL_HEADER_LEN_RECV = CONFIG_PROTOCOL_HEADER_FIRST_FIELD_LEN + CONFIG_PROTOCOL_HEADER_EXCEPT_FIRST_LEN_RECV 11 | 12 | -------------------------------------------------------------------------------- /scripts/config/activitypoker.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\activitypoker.lua 2 | 3 | local activitypoker = {} 4 | activitypoker[1] = {actDrop = {{id = 194, type = 1, range = {min = 1, max = 2}, rate = 0.58}}, actTime = {{year = 2018, mouth = 12, day = 7}, {year = 2018, mouth = 12, day = 13}}} 5 | return activitypoker 6 | 7 | -------------------------------------------------------------------------------- /scripts/config/arena.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\arena.lua 2 | 3 | local arena = {} 4 | arena[1] = {cost = {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, time = 15} 5 | arena[3] = {cost = {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}, time = 7} 6 | arena[2] = {cost = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}, time = 7} 7 | arena[4] = {cost = {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}, time = 7} 8 | return arena 9 | 10 | -------------------------------------------------------------------------------- /scripts/config/bravemarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\bravemarket.lua 2 | 3 | local bravemarket = {} 4 | bravemarket[1] = {goods = {{type = 1, id = 15, num = 50}}, cost = 100, sort = 1} 5 | bravemarket[2] = {goods = {{type = 1, id = 15, num = 500}}, cost = 1000, sort = 2} 6 | bravemarket[3] = {goods = {{type = 1, id = 40001, num = 10}}, cost = 800, sort = 3} 7 | bravemarket[4] = {goods = {{type = 1, id = 40002, num = 10}}, cost = 6000, sort = 4} 8 | bravemarket[5] = {goods = {{type = 1, id = 40021, num = 10}}, cost = 1000, sort = 5} 9 | bravemarket[6] = {goods = {{type = 1, id = 40022, num = 10}}, cost = 1000, sort = 6} 10 | bravemarket[7] = {goods = {{type = 1, id = 40023, num = 10}}, cost = 1000, sort = 7} 11 | bravemarket[8] = {goods = {{type = 1, id = 40024, num = 10}}, cost = 1000, sort = 8} 12 | bravemarket[9] = {goods = {{type = 1, id = 30093, num = 50}}, cost = 40000, sort = 9} 13 | bravemarket[10] = {goods = {{type = 1, id = 30112, num = 50}}, cost = 40000, sort = 10} 14 | bravemarket[11] = {goods = {{type = 1, id = 30107, num = 50}}, cost = 45000, sort = 11} 15 | bravemarket[12] = {goods = {{type = 1, id = 30121, num = 50}}, cost = 55000, sort = 12} 16 | bravemarket[13] = {goods = {{type = 1, id = 40, num = 500}}, cost = 1500, sort = 13} 17 | bravemarket[14] = {goods = {{type = 1, id = 41, num = 100}}, cost = 2400, sort = 14} 18 | return bravemarket 19 | 20 | -------------------------------------------------------------------------------- /scripts/config/bravenode.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\bravenode.lua 2 | 3 | local bravenode = {} 4 | bravenode[1] = {num = 1, lv = {1, 999}} 5 | bravenode[2] = {num = 2, lv = {1, 999}} 6 | bravenode[3] = {num = 3, lv = {1, 999}, rewards = {{type = 1, id = 1, num = 50000}, {type = 1, id = 16, num = 50}}} 7 | bravenode[4] = {num = 4, lv = {1, 999}} 8 | bravenode[5] = {num = 5, lv = {1, 999}} 9 | bravenode[6] = {num = 6, lv = {1, 999}, rewards = {{type = 1, id = 1, num = 100000}, {type = 1, id = 16, num = 100}}} 10 | bravenode[7] = {num = 7, lv = {1, 999}} 11 | bravenode[8] = {num = 8, lv = {1, 999}} 12 | bravenode[9] = {num = 9, lv = {1, 999}, rewards = {{type = 1, id = 1, num = 150000}, {type = 1, id = 16, num = 150}}} 13 | bravenode[10] = {num = 10, lv = {1, 999}} 14 | bravenode[11] = {num = 11, lv = {1, 999}} 15 | bravenode[12] = {num = 12, lv = {1, 999}, rewards = {{type = 1, id = 1, num = 200000}, {type = 1, id = 16, num = 250}}} 16 | bravenode[13] = {num = 13, lv = {1, 999}} 17 | bravenode[14] = {num = 14, lv = {1, 999}} 18 | bravenode[15] = {num = 15, lv = {1, 999}, rewards = {{type = 1, id = 1, num = 250000}, {type = 1, id = 16, num = 400}}} 19 | return bravenode 20 | 21 | -------------------------------------------------------------------------------- /scripts/config/camp.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\camp.lua 2 | 3 | local camp = {} 4 | camp[1] = {effect = {{type = "brk", num = 200}, {type = "hpP", num = 0.2}}, icon = 1} 5 | camp[2] = {effect = {{type = "miss", num = 200}, {type = "hpP", num = 0.2}}, icon = 2} 6 | camp[3] = {effect = {{type = "atkP", num = 0.15}, {type = "hpP", num = 0.2}}, icon = 3} 7 | camp[4] = {effect = {{type = "crit", num = 100}, {type = "hpP", num = 0.2}}, icon = 4} 8 | camp[5] = {effect = {{type = "free", num = 300}, {type = "hpP", num = 0.2}}, icon = 5} 9 | camp[6] = {effect = {{type = "free", num = 300}, {type = "hpP", num = 0.2}}, icon = 6} 10 | camp[7] = {effect = {{type = "atkP", num = 0.1}, {type = "hpP", num = 0.1}}, icon = 7} 11 | camp[8] = {effect = {{type = "atkP", num = 0.135}, {type = "hpP", num = 0.16}}, icon = 8} 12 | camp[9] = {effect = {{type = "atkP", num = 0.13}, {type = "hpP", num = 0.11}}, icon = 9} 13 | camp[10] = {effect = {{type = "atkP", num = 0.11}, {type = "hpP", num = 0.13}}, icon = 10} 14 | camp[11] = {effect = {{type = "atkP", num = 0.08}, {type = "hpP", num = 0.1}}, icon = 11} 15 | camp[12] = {effect = {{type = "atkP", num = 0.1}, {type = "hpP", num = 0.08}}, icon = 12} 16 | camp[13] = {effect = {{type = "atkP", num = 0.09}, {type = "hpP", num = 0.09}}, icon = 13} 17 | camp[14] = {effect = {{type = "atkP", num = 0.09}, {type = "hpP", num = 0.09}}, icon = 14} 18 | camp[15] = {effect = {{type = "atkP", num = 0.09}, {type = "hpP", num = 0.09}}, icon = 15} 19 | camp[16] = {effect = {{type = "atkP", num = 0.09}, {type = "hpP", num = 0.09}}, icon = 16} 20 | return camp 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/faq.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\faq.lua 2 | 3 | local faq = {} 4 | faq[1] = {} 5 | faq[2] = {} 6 | faq[3] = {} 7 | faq[4] = {} 8 | return faq 9 | 10 | -------------------------------------------------------------------------------- /scripts/config/guildexp.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\guildexp.lua 2 | 3 | local guildexp = {} 4 | guildexp[1] = {allExp = 0, member = 15} 5 | guildexp[2] = {allExp = 450, member = 16} 6 | guildexp[3] = {allExp = 1030, member = 16} 7 | guildexp[4] = {allExp = 1720, member = 17} 8 | guildexp[5] = {allExp = 2600, member = 17} 9 | guildexp[6] = {allExp = 3660, member = 18} 10 | guildexp[7] = {allExp = 5000, member = 18} 11 | guildexp[8] = {allExp = 6610, member = 19} 12 | guildexp[9] = {allExp = 8650, member = 19} 13 | guildexp[10] = {allExp = 11100, member = 20} 14 | guildexp[11] = {allExp = 14200, member = 20} 15 | guildexp[12] = {allExp = 17920, member = 21} 16 | guildexp[13] = {allExp = 22600, member = 21} 17 | guildexp[14] = {allExp = 28220, member = 22} 18 | guildexp[15] = {allExp = 35280, member = 22} 19 | guildexp[16] = {allExp = 43750, member = 23} 20 | guildexp[17] = {allExp = 54380, member = 23} 21 | guildexp[18] = {allExp = 67140, member = 24} 22 | guildexp[19] = {allExp = 83110, member = 24} 23 | guildexp[20] = {allExp = 102280, member = 25} 24 | guildexp[21] = {allExp = 126240, member = 25} 25 | guildexp[22] = {allExp = 154990, member = 26} 26 | guildexp[23] = {allExp = 190870, member = 26} 27 | guildexp[24] = {allExp = 233930, member = 27} 28 | guildexp[25] = {allExp = 287590, member = 27} 29 | guildexp[26] = {allExp = 351980, member = 28} 30 | guildexp[27] = {allExp = 432110, member = 28} 31 | guildexp[28] = {allExp = 528270, member = 29} 32 | guildexp[29] = {allExp = 647780, member = 29} 33 | guildexp[30] = {allExp = 791190, member = 30} 34 | return guildexp 35 | 36 | -------------------------------------------------------------------------------- /scripts/config/help.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\help.lua 2 | 3 | local help = {} 4 | help[1] = {} 5 | help[2] = {} 6 | help[3] = {} 7 | help[4] = {} 8 | help[5] = {} 9 | help[6] = {} 10 | help[7] = {} 11 | help[8] = {} 12 | help[9] = {} 13 | return help 14 | 15 | -------------------------------------------------------------------------------- /scripts/config/link.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\link.lua 2 | 3 | local link = {} 4 | link[1] = {hero = {1101, 1102, 1103}, effect = {{type = "atkP", num = 0.2}}} 5 | link[2] = {hero = {1201, 1202, 1203}, effect = {{type = "atkP", num = 0.25}}} 6 | link[3] = {hero = {1301, 1302, 1303}, effect = {{type = "atkP", num = 0.3}}} 7 | link[4] = {hero = {1401, 1402, 1403}, effect = {{type = "atkP", num = 0.35}}} 8 | link[5] = {hero = {2101, 2102, 2103}, effect = {{type = "atkP", num = 0.4}}} 9 | link[6] = {hero = {2201, 2202, 2203}, effect = {{type = "atkP", num = 0.45}}} 10 | link[7] = {hero = {2301, 2302, 2303}, effect = {{type = "atkP", num = 0.5}}} 11 | link[8] = {hero = {2401, 2402, 2403}, effect = {{type = "atkP", num = 0.55}}} 12 | return link 13 | 14 | -------------------------------------------------------------------------------- /scripts/config/loadingtips.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\loadingtips.lua 2 | 3 | local loadingtips = {} 4 | loadingtips[1] = {} 5 | loadingtips[2] = {} 6 | loadingtips[3] = {} 7 | loadingtips[4] = {} 8 | loadingtips[5] = {} 9 | loadingtips[6] = {} 10 | loadingtips[7] = {} 11 | loadingtips[8] = {} 12 | loadingtips[9] = {} 13 | loadingtips[10] = {} 14 | return loadingtips 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/merge.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\merge.lua 2 | 3 | local merge = {} 4 | merge[1] = {time = "12-24", chan = "ios", list = {271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 10000}} 5 | merge[2] = {time = "12-24", chan = "ad-maoer", list = {2, 3, 4, 5, 10000}} 6 | merge[3] = {time = "12-24", chan = "ad-fyh", list = {26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 10000}} 7 | return merge 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/mill.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\mill.lua 2 | 3 | local mill = {} 4 | mill[1] = {weight = 6000, time = 10, reward = {{type = 1, id = 1, num = 150000}, {type = 1, id = 4, num = 65}}, upCost = 10, resId = 1} 5 | mill[2] = {weight = 3000, time = 10, reward = {{type = 1, id = 1, num = 180000}, {type = 1, id = 4, num = 70}}, upCost = 20, resId = 2} 6 | mill[3] = {weight = 1000, time = 11, reward = {{type = 1, id = 1, num = 220000}, {type = 1, id = 4, num = 80}}, upCost = 30, resId = 3} 7 | mill[4] = {weight = 0, time = 11, reward = {{type = 1, id = 1, num = 260000}, {type = 1, id = 4, num = 100}}, upCost = 60, resId = 4} 8 | mill[5] = {weight = 0, time = 12, reward = {{type = 1, id = 1, num = 300000}, {type = 1, id = 4, num = 130}}, upCost = 100, resId = 5} 9 | mill[6] = {weight = 0, time = 12, reward = {{type = 1, id = 1, num = 350000}, {type = 1, id = 4, num = 180}}, upCost = 0, resId = 6} 10 | return mill 11 | 12 | -------------------------------------------------------------------------------- /scripts/config/milllv.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\milllv.lua 2 | 3 | local milllv = {} 4 | milllv[1] = {gold = 0, effec = 1, millCount = 1, resId = 1} 5 | milllv[2] = {gold = 12000000, effec = 1.1, millCount = 1, resId = 2} 6 | milllv[3] = {gold = 24000000, effec = 1.2, millCount = 2, resId = 3} 7 | milllv[4] = {gold = 48000000, effec = 1.3, millCount = 2, resId = 4} 8 | milllv[5] = {gold = 96000000, effec = 1.4, millCount = 3, resId = 5} 9 | milllv[6] = {gold = 96000000, effec = 1.5, millCount = 3, resId = 6} 10 | milllv[7] = {gold = 144000000, effec = 1.5, millCount = 4, resId = 7} 11 | milllv[8] = {gold = 216000000, effec = 1.55, millCount = 4, resId = 8} 12 | milllv[9] = {gold = 324000000, effec = 1.55, millCount = 5, resId = 9} 13 | milllv[10] = {gold = 486000000, effec = 1.6, millCount = 5, resId = 10} 14 | return milllv 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/online.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\online.lua 2 | 3 | local online = {} 4 | online[1] = {next = 2, cd = 10, reward = {{type = 2, id = 21002, num = 1}}} 5 | online[2] = {next = 3, cd = 300, reward = {{type = 1, id = 10, num = 1000}}} 6 | online[3] = {next = 4, cd = 480, reward = {{type = 1, id = 1, num = 10000}}} 7 | online[4] = {next = 5, cd = 720, reward = {{type = 1, id = 30077, num = 30}}} 8 | online[5] = {next = 6, cd = 1080, reward = {{type = 2, id = 33003, num = 1}}} 9 | online[6] = {next = 7, cd = 1800, reward = {{type = 1, id = 2, num = 30}}} 10 | online[7] = {next = 8, cd = 5400, reward = {{type = 1, id = 1, num = 40000}}} 11 | online[8] = {next = 9, cd = 10800, reward = {{type = 1, id = 10, num = 15000}}} 12 | online[9] = {next = 10, cd = 14400, reward = {{type = 1, id = 2, num = 60}}} 13 | online[10] = {next = 11, cd = 21600, reward = {{type = 1, id = 30068, num = 30}}} 14 | online[11] = {next = 12, cd = 28800, reward = {{type = 2, id = 41007, num = 1}}} 15 | online[12] = {next = 13, cd = 28800, reward = {{type = 1, id = 2, num = 200}}} 16 | online[13] = {next = 14, cd = 28800, reward = {{type = 1, id = 12003, num = 2}}} 17 | online[14] = {next = 0, cd = 28800, reward = {{type = 1, id = 21, num = 1}}} 18 | return online 19 | 20 | -------------------------------------------------------------------------------- /scripts/config/seallandmarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\seallandmarket.lua 2 | 3 | local seallandmarket = {} 4 | seallandmarket[1] = {currencyCount = {{type = 1, id = 168, num = 6000}}, getCommodity = {{type = 1, id = 40039, num = 50}}, rank = 1} 5 | seallandmarket[2] = {currencyCount = {{type = 1, id = 169, num = 12000}}, getCommodity = {{type = 1, id = 40045, num = 50}}, rank = 2} 6 | seallandmarket[3] = {currencyCount = {{type = 1, id = 169, num = 12000}}, getCommodity = {{type = 1, id = 40046, num = 50}}, rank = 3} 7 | seallandmarket[4] = {currencyCount = {{type = 1, id = 168, num = 120}}, getCommodity = {{type = 1, id = 40039, num = 1}}, rank = 4} 8 | seallandmarket[5] = {currencyCount = {{type = 1, id = 169, num = 240}}, getCommodity = {{type = 1, id = 40045, num = 1}}, rank = 5} 9 | seallandmarket[6] = {currencyCount = {{type = 1, id = 169, num = 240}}, getCommodity = {{type = 1, id = 40046, num = 1}}, rank = 6} 10 | return seallandmarket 11 | 12 | -------------------------------------------------------------------------------- /scripts/config/sharetreasure.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\sharetreasure.lua 2 | 3 | local sharetreasure = {} 4 | sharetreasure[1] = {count = 2, rewards1 = {{type = 1, id = 201, num = 10}}} 5 | sharetreasure[2] = {count = 5, rewards1 = {{type = 1, id = 197, num = 1}, {type = 1, id = 2, num = 888}}} 6 | sharetreasure[3] = {count = 10, rewards1 = {{type = 1, id = 40012, num = 50}}} 7 | sharetreasure[4] = {count = 14, rewards1 = {{type = 1, id = 40011, num = 50}}} 8 | sharetreasure[5] = {count = 18, rewards1 = {{type = 1, id = 198, num = 10}}} 9 | sharetreasure[6] = {count = 21, rewards1 = {{type = 1, id = 40014, num = 50}, {type = 1, id = 12002, num = 10}}} 10 | sharetreasure[7] = {count = 24, rewards1 = {{type = 1, id = 40013, num = 50}, {type = 1, id = 58, num = 5}}} 11 | sharetreasure[8] = {count = 28, rewards1 = {{type = 1, id = 30098, num = 50}}} 12 | return sharetreasure 13 | 14 | -------------------------------------------------------------------------------- /scripts/config/strings/ar/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ar\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\216\167\217\132\217\136\216\173\216\180 \216\167\217\132\216\182\216\174\217\133"} 5 | pet[201] = {name = "\216\163\216\168\217\136 \216\167\217\132\217\135\217\136\217\132"} 6 | pet[301] = {name = "\216\181\216\167\216\173\216\168 \216\167\217\132\216\185\216\182\217\132\216\167\216\170"} 7 | pet[401] = {name = "\216\167\217\132\216\171\216\185\217\132\216\168"} 8 | pet[501] = {name = "\216\167\217\132\217\133\216\170\216\180\216\172\216\177"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/ar/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ar\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/cn/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\cn\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "\229\184\131\229\136\169\231\154\132\232\175\149\231\130\188"} 5 | brave[2] = {name = "\229\133\139\233\135\140\229\167\134\231\154\132\232\175\149\231\130\188"} 6 | brave[3] = {name = "\230\152\159\229\133\137\231\154\132\232\175\149\231\130\188"} 7 | brave[4] = {name = "\229\159\186\229\176\148\229\133\139\231\154\132\232\175\149\231\130\188"} 8 | brave[5] = {name = "\229\184\131\229\136\169\231\154\132\232\175\149\231\130\188"} 9 | brave[6] = {name = "\229\133\139\233\135\140\229\167\134\231\154\132\232\175\149\231\130\188"} 10 | brave[7] = {name = "\230\152\159\229\133\137\231\154\132\232\175\149\231\130\188"} 11 | brave[8] = {name = "\229\159\186\229\176\148\229\133\139\231\154\132\232\175\149\231\130\188"} 12 | brave[9] = {name = "\229\184\131\229\136\169\231\154\132\232\175\149\231\130\188"} 13 | brave[10] = {name = "\229\133\139\233\135\140\229\167\134\231\154\132\232\175\149\231\130\188"} 14 | brave[11] = {name = "\230\152\159\229\133\137\231\154\132\232\175\149\231\130\188"} 15 | brave[12] = {name = "\229\159\186\229\176\148\229\133\139\231\154\132\232\175\149\231\130\188"} 16 | brave[13] = {name = "\229\184\131\229\136\169\231\154\132\232\175\149\231\130\188"} 17 | brave[14] = {name = "\229\133\139\233\135\140\229\167\134\231\154\132\232\175\149\231\130\188"} 18 | brave[15] = {name = "\230\152\159\229\133\137\231\154\132\232\175\149\231\130\188"} 19 | brave[16] = {name = "\229\159\186\229\176\148\229\133\139\231\154\132\232\175\149\231\130\188"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/cn/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\cn\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "\229\174\140\230\136\1442\230\172\161\231\130\185\233\135\145"} 5 | dailytask[2] = {taskDes = "\232\181\160\233\128\1295\233\162\151\231\136\177\229\191\131"} 6 | dailytask[3] = {taskDes = "\229\174\140\230\136\1442\230\172\161\232\189\172\231\155\152\230\138\189\229\165\150"} 7 | dailytask[4] = {taskDes = "\229\174\140\230\136\1442\228\184\170\232\139\177\233\155\132\228\187\187\229\138\161"} 8 | dailytask[5] = {taskDes = "\229\144\136\230\136\1443\228\187\182\232\163\133\229\164\135"} 9 | dailytask[6] = {taskDes = "\229\174\140\230\136\1441\230\172\161\230\153\174\233\128\154\229\143\172\229\148\164"} 10 | dailytask[7] = {taskDes = "\229\174\140\230\136\1441\230\172\161\233\171\152\231\186\167\229\143\172\229\148\164"} 11 | dailytask[8] = {taskDes = "\229\174\140\230\136\1443\230\172\161\231\171\158\230\138\128\229\156\186\230\136\152\230\150\151"} 12 | dailytask[9] = {taskDes = "\232\191\155\232\161\1405\230\172\161\230\140\130\230\156\186\230\148\182\232\142\183"} 13 | dailytask[11] = {taskDes = "\232\142\183\229\190\1512\230\172\161\230\180\187\229\138\168\229\137\175\230\156\172\232\131\156\229\136\169"} 14 | dailytask[99] = {taskDes = "\229\174\140\230\136\144\230\137\128\230\156\137\230\151\165\229\184\184\228\187\187\229\138\161"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/cn/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\cn\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\232\138\172\233\135\140\229\176\148"} 5 | pet[201] = {name = "\230\150\175\232\138\172\229\133\139\230\150\175"} 6 | pet[301] = {name = "\232\190\190\229\155\160"} 7 | pet[401] = {name = "\229\166\178\229\183\177"} 8 | pet[501] = {name = "\229\176\188\229\190\183\233\156\141\230\160\188"} 9 | pet[601] = {name = "\231\186\166\229\176\148\230\155\188\229\134\136\229\190\183"} 10 | pet[701] = {name = "\231\159\179\233\173\148"} 11 | return pet 12 | 13 | -------------------------------------------------------------------------------- /scripts/config/strings/cn/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\cn\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "\228\187\138\230\151\165\228\187\189\233\184\161\232\133\191", pushDescription = "\233\178\129\231\137\185\229\133\185\229\143\171\228\189\160\232\181\183\229\186\138\231\173\190\229\136\176\228\186\134\239\188\129", voiceText = "\230\148\190\231\189\174\229\165\135\229\133\181\231\173\190\229\136\176"} 5 | shortcut[2] = {pushTitle = "\229\133\181\231\178\137\231\154\132\232\135\170\230\136\145\228\191\174\229\133\187", pushDescription = "\228\187\138\229\164\169\231\154\132\230\175\143\230\151\165\228\187\187\229\138\161\229\129\154\229\174\140\228\186\134\228\185\136~", voiceText = "\230\148\190\231\189\174\229\165\135\229\133\181\230\175\143\230\151\165\228\187\187\229\138\161"} 6 | shortcut[3] = {pushTitle = "\232\181\183\229\186\138\230\137\147\230\156\172\239\188\129", pushDescription = "\228\186\186\233\151\180\228\185\144\228\186\139\239\188\140\232\142\171\232\191\135\228\186\142\230\148\190\231\189\174\229\165\135\229\133\181\230\180\187\229\138\168\229\137\175\230\156\172~", voiceText = "\230\148\190\231\189\174\229\165\135\229\133\181\230\180\187\229\138\168\229\137\175\230\156\172"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/de/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\de\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "Blees Training"} 5 | brave[2] = {name = "Krims Training"} 6 | brave[3] = {name = "Lichttraining"} 7 | brave[4] = {name = "Gierkes Training"} 8 | brave[5] = {name = "Blees Training"} 9 | brave[6] = {name = "Krims Training"} 10 | brave[7] = {name = "Lichttraining"} 11 | brave[8] = {name = "Gierkes Training"} 12 | brave[9] = {name = "Blees Training"} 13 | brave[10] = {name = "Krims Training"} 14 | brave[11] = {name = "Lichttraining"} 15 | brave[12] = {name = "Gierkes Training"} 16 | brave[13] = {name = "Blees Training"} 17 | brave[14] = {name = "Krims Training"} 18 | brave[15] = {name = "Lichttraining"} 19 | brave[16] = {name = "Gierkes Training"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/de/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\de\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "2x Diamanten in Gold umwandeln"} 5 | dailytask[2] = {taskDes = "5 Herzen verschenken"} 6 | dailytask[3] = {taskDes = "2x Drehungen am Gl\195\188cksrad "} 7 | dailytask[4] = {taskDes = "2 Heldenmissionen "} 8 | dailytask[5] = {taskDes = "3 Ausr\195\188stungen zusammensetzen"} 9 | dailytask[6] = {taskDes = "1x Grundbeschw\195\182rung "} 10 | dailytask[7] = {taskDes = "1x hochwertige Beschw\195\182rung "} 11 | dailytask[8] = {taskDes = "3x Arenaschlachten "} 12 | dailytask[9] = {taskDes = "5x Auto-Kampfbelohnungen einfordern"} 13 | dailytask[11] = {taskDes = "2x Aktionsverliessiege "} 14 | dailytask[99] = {taskDes = "Alle Tagesmissionen "} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/de/itemgetways.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\de\itemgetways.lua 2 | 3 | local itemgetways = {} 4 | itemgetways[1] = {name = "Diamenten kaufen"} 5 | itemgetways[2] = {name = "Markt"} 6 | itemgetways[3] = {name = "Taverne"} 7 | itemgetways[4] = {name = "Gl\195\188cksrad"} 8 | itemgetways[5] = {name = "Arena"} 9 | itemgetways[6] = {name = "Auto-Drop"} 10 | itemgetways[7] = {name = "Beschw\195\182rungskreis"} 11 | itemgetways[8] = {name = "Prophetenbaum"} 12 | itemgetways[9] = {name = "Heldenladen"} 13 | itemgetways[10] = {name = "Traumlandturm"} 14 | itemgetways[11] = {name = "Gl\195\188ckladen"} 15 | itemgetways[12] = {name = "Heldentraining"} 16 | itemgetways[13] = {name = "Erfolg"} 17 | itemgetways[14] = {name = "Tagesmission"} 18 | itemgetways[15] = {name = "Gilde"} 19 | itemgetways[16] = {name = "Goldhand"} 20 | itemgetways[17] = {name = "Aspus Dungeon"} 21 | itemgetways[18] = {name = "Laden"} 22 | itemgetways[19] = {name = "Schwimmende Insel"} 23 | itemgetways[20] = {name = "Schmiede"} 24 | itemgetways[21] = {name = "Altar"} 25 | itemgetways[22] = {name = "Gildeladen"} 26 | itemgetways[23] = {name = "Einfaches Gl\195\188cksrad"} 27 | itemgetways[24] = {name = "Hochwertiges Gl\195\188cksrad"} 28 | itemgetways[25] = {name = "Verlies"} 29 | itemgetways[27] = {name = "Heldentraining Laden"} 30 | itemgetways[28] = {name = "Championtraining"} 31 | itemgetways[29] = {name = "Championtraining Laden"} 32 | itemgetways[30] = {name = "Diamenten kaufen"} 33 | itemgetways[31] = {name = "Auto-Drop"} 34 | itemgetways[32] = {name = "Versiegelt Land "} 35 | return itemgetways 36 | 37 | -------------------------------------------------------------------------------- /scripts/config/strings/de/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\de\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenrir"} 5 | pet[201] = {name = "Sphinx"} 6 | pet[301] = {name = "Dyne"} 7 | pet[401] = {name = "Fuchs"} 8 | pet[501] = {name = "N\195\173\195\176h\195\182ggr"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/de/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\de\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/de/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\de\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Zus\195\164tz. erhaltenes Gold, Spieler-EP und Helden-EP: +", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Zus\195\164tz. erhaltenes Gold: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Max. Heldenanzahl", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Aktiviert 10x Ziehen im Casino"} 8 | vipdes.vipMouth = {string1 = "T\195\164gliche Belohnungen f\195\188r Benutzer der Erweiterte Privilegierte Karte:"} 9 | vipdes.gachaPower = {string1 = "Schaltet Ihre Belohnung f\195\188r die hochw. Beschw. frei"} 10 | vipdes.heroTaskMax = {string1 = "Max. Anzahl an Heldenmissionen", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Doppelte Schlachtgeschwindigkeit freischaltbar"} 12 | vipdes.vipRewards = {string1 = "Ab diesem VIP-Lv k\195\182nnen Sie Erfolg abholen"} 13 | vipdes.dareTime = {string1 = "Kaufanzahl f\195\188r Aktionsverliese: +", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/es/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\es\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "PRUEBA DE BLEECKER"} 5 | brave[2] = {name = "PRUEBA DE KARIM"} 6 | brave[3] = {name = "PRUEBA DE LA LUZ DE LAS ESTRELLAS"} 7 | brave[4] = {name = "PRUEBA DE GERKE"} 8 | brave[5] = {name = "PRUEBA DE BLEECKER"} 9 | brave[6] = {name = "PRUEBA DE KARIM"} 10 | brave[7] = {name = "PRUEBA DE LA LUZ DE LAS ESTRELLAS"} 11 | brave[8] = {name = "PRUEBA DE GERKE"} 12 | brave[9] = {name = "PRUEBA DE BLEECKER"} 13 | brave[10] = {name = "PRUEBA DE KARIM"} 14 | brave[11] = {name = "PRUEBA DE LA LUZ DE LAS ESTRELLAS"} 15 | brave[12] = {name = "PRUEBA DE GERKE"} 16 | brave[13] = {name = "PRUEBA DE BLEECKER"} 17 | brave[14] = {name = "PRUEBA DE KARIM"} 18 | brave[15] = {name = "PRUEBA DE LA LUZ DE LAS ESTRELLAS"} 19 | brave[16] = {name = "PRUEBA DE GERKE"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/es/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\es\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Utilice dos veces la Mano de Midas para ganar Oro"} 5 | dailytask[2] = {taskDes = "Enviar 5 corazones"} 6 | dailytask[3] = {taskDes = "Girar 2 veces en el Casino"} 7 | dailytask[4] = {taskDes = "Completar 2 Misiones en la Taberna"} 8 | dailytask[5] = {taskDes = "Forja 3 equipos en la Herrer\195\173a"} 9 | dailytask[6] = {taskDes = "Completar 1 Convocatoria B\195\161sica"} 10 | dailytask[7] = {taskDes = "Completar 1 Convocatoria Heroica"} 11 | dailytask[8] = {taskDes = "Participar en 3 batallas en la Arena"} 12 | dailytask[9] = {taskDes = "Obtener 5 veces recompensas en la Campa\195\177a"} 13 | dailytask[11] = {taskDes = "Ganar 2 batallas en el Evento de Redada."} 14 | dailytask[99] = {taskDes = "Completar todas las misiones diarias"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/es/loadingtips.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\es\loadingtips.lua 2 | 3 | local loadingtips = {} 4 | loadingtips[1] = {tips = "Consejos: Sujeta la Relaci\195\179n, Bosque \226\134\146 Sombra\226\134\146 Fortaleza \226\134\146Abismo \226\134\146 Bosque, Oscuro \226\134\146 Luz, Luz\226\134\146 Oscuro"} 5 | loadingtips[2] = {tips = "Consejos: Hay niveles bajos hasta altos, 1-5 estrellas."} 6 | loadingtips[3] = {tips = "Consejos: Puede gastar piedras para mejorar en los h\195\169roes nuevas habilidades pasivas"} 7 | loadingtips[4] = {tips = "Consejos: Hay 6 cualidades de equipo desde bajas hasta altas: Azul, Oro, P\195\186rpura, Verde, Rojo y Naranja."} 8 | loadingtips[5] = {tips = "Consejos: Despachando 6 h\195\169roes de la misma fracci\195\179n puede activar la fracci\195\179n del aura para estad\195\173sticas poderosas"} 9 | loadingtips[6] = {tips = "Consejos: Usted tiene 1 oportunidad de invocar h\195\169roes gratis cada 8 horas y 1 oportunidad avanzada cada 48 horas"} 10 | loadingtips[7] = {tips = "Consejos: Los H\195\169roes en la primera l\195\173nea ser\195\161n los m\195\161s afectados del ataque. Es una buena idea colocar los h\195\169roes con alta defensa"} 11 | loadingtips[8] = {tips = "Consejos: La velocidad decide el orden de ataque de cada ronda"} 12 | loadingtips[9] = {tips = "Consejos: Con un nivel VIP m\195\161s alto, usted puede conseguir algunos grandes privilegios"} 13 | loadingtips[10] = {tips = "Consejos: Recuerde enviar un coraz\195\179n a sus amigos. Los corazones son necesarios para favorecer al amigo otorgando buenos h\195\169roes"} 14 | return loadingtips 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/es/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\es\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenrir"} 5 | pet[201] = {name = "Esfinge"} 6 | pet[301] = {name = "Dina"} 7 | pet[401] = {name = "Zorro"} 8 | pet[501] = {name = "N\195\173\195\176h\195\182ggr"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/es/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\es\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/es/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\es\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Bono de Oro de Auto-pelea, Jugador Exp, H\195\169roe EXP:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "El Oro de las Mano de Midas: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "M\195\161xima cantidad portable : +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Desbloquea el casino con 10-sorteos"} 8 | vipdes.vipMouth = {string1 = "Daily bonus rewards for Senior Privilege Card user"} 9 | vipdes.gachaPower = {string1 = "Desbloquea los premios de Convocatoria Heroica"} 10 | vipdes.heroTaskMax = {string1 = "L\195\173mite m\195\161ximo de misi\195\179n de H\195\169roe", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Puede luchar a doble velocidad"} 12 | vipdes.vipRewards = {string1 = "Reclamar el Desaf\195\173o:"} 13 | vipdes.dareTime = {string1 = "El Evento de Redada Compra Tiempos:+", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/fr/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\fr\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "EPREUVE DE BLEECKER"} 5 | brave[2] = {name = "EPREUVE DE KARIM"} 6 | brave[3] = {name = "EPREUVE DE STARLIGHT"} 7 | brave[4] = {name = "EPREUVE DE GERKE"} 8 | brave[5] = {name = "EPREUVE DE BLEECKER"} 9 | brave[6] = {name = "EPREUVE DE KARIM"} 10 | brave[7] = {name = "EPREUVE DE STARLIGHT"} 11 | brave[8] = {name = "EPREUVE DE GERKE"} 12 | brave[9] = {name = "EPREUVE DE BLEECKER"} 13 | brave[10] = {name = "EPREUVE DE KARIM"} 14 | brave[11] = {name = "EPREUVE DE STARLIGHT"} 15 | brave[12] = {name = "EPREUVE DE GERKE"} 16 | brave[13] = {name = "EPREUVE DE BLEECKER"} 17 | brave[14] = {name = "EPREUVE DE KARIM"} 18 | brave[15] = {name = "EPREUVE DE STARLIGHT"} 19 | brave[16] = {name = "EPREUVE DE GERKE"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/fr/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\fr\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Utiliser la Main de Midas 2 fois pour gagner de l'Or"} 5 | dailytask[2] = {taskDes = "Envoyer 5 C\197\147urs"} 6 | dailytask[3] = {taskDes = "Faites tourner 2 fois dans le Source d'Espoir"} 7 | dailytask[4] = {taskDes = "Compl\195\169tez 2 Qu\195\170tes Tavernes"} 8 | dailytask[5] = {taskDes = "Forgez 3 \195\169quipements chez le Forgeron"} 9 | dailytask[6] = {taskDes = "Compl\195\169tez 1 Invocation Ordinaire"} 10 | dailytask[7] = {taskDes = "Compl\195\169tez 1 Invocation H\195\169ro\195\175que"} 11 | dailytask[8] = {taskDes = "Engagez 3 batailles dans l'Ar\195\168ne"} 12 | dailytask[9] = {taskDes = "Soyez r\195\169compens\195\169 5 fois dans le mode Campagne"} 13 | dailytask[11] = {taskDes = "Gagnez 2 batailles dans Raids \195\137v\195\169nements"} 14 | dailytask[99] = {taskDes = "Compl\195\169tez toutes les qu\195\170tes quotidiennes"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/fr/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\fr\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenrir"} 5 | pet[201] = {name = "Sphinx"} 6 | pet[301] = {name = "Dyne"} 7 | pet[401] = {name = "Renard"} 8 | pet[501] = {name = "N\195\173\195\176h\195\182ggr"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/fr/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\fr\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/fr/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\fr\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Bonus Or d'Auto-combat , Exp Joeur, Exp Hero: +", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Or de la Main de Midas: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Quantit\195\169 maximum accumul\195\169es: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Debloque tirage Source d'Espoir-10"} 8 | vipdes.vipMouth = {string1 = "Bonus quotidiens pour les utilisateurs de la Carte Privil\195\168ge Avanc\195\169"} 9 | vipdes.gachaPower = {string1 = "D\195\169bloque les accomplissement de l'Invocation H\195\169ro\195\175que"} 10 | vipdes.heroTaskMax = {string1 = "Limite maximum des qu\195\170tes h\195\169ro", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Peut combatte \195\160 double vitesse"} 12 | vipdes.vipRewards = {string1 = "Prendre dans D\195\169fi"} 13 | vipdes.dareTime = {string1 = "Nombre d'Entr\195\169 aux Raids Ev\195\168nement: +", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/it/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\it\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "Prova Di Bleecker"} 5 | brave[2] = {name = "Prova Di Karim"} 6 | brave[3] = {name = "Prova Di Starlight"} 7 | brave[4] = {name = "Prova Di Gerke"} 8 | brave[5] = {name = "Prova Di Bleecker"} 9 | brave[6] = {name = "Prova Di Karim"} 10 | brave[7] = {name = "Prova Di Starlight"} 11 | brave[8] = {name = "Prova Di Gerke"} 12 | brave[9] = {name = "Prova Di Bleecker"} 13 | brave[10] = {name = "Prova Di Karim"} 14 | brave[11] = {name = "Prova Di Starlight"} 15 | brave[12] = {name = "Prova Di Gerke"} 16 | brave[13] = {name = "Prova Di Bleecker"} 17 | brave[14] = {name = "Prova Di Karim"} 18 | brave[15] = {name = "Prova Di Starlight"} 19 | brave[16] = {name = "Prova Di Gerke"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/it/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\it\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Usa la Mano di Mida 2 volte per guadagnare oro"} 5 | dailytask[2] = {taskDes = "Invia 5 cuori"} 6 | dailytask[3] = {taskDes = "Gioca 2 volte al casin\195\178"} 7 | dailytask[4] = {taskDes = "Completa 2 missioni della taverna"} 8 | dailytask[5] = {taskDes = "Forgia 3 equipaggiamenti dal fabbro"} 9 | dailytask[6] = {taskDes = "Completa 1 evocazione base"} 10 | dailytask[7] = {taskDes = "Completa 1 evocazione eroica"} 11 | dailytask[8] = {taskDes = "Partecipa a 3 battaglie nell'arena"} 12 | dailytask[9] = {taskDes = "Ottieni ricompense per 5 volte nella campagna"} 13 | dailytask[11] = {taskDes = "Vinci 2 battaglie delle incursioni speciali"} 14 | dailytask[99] = {taskDes = "Completa tutte le missioni giornaliere"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/it/itemgetways.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\it\itemgetways.lua 2 | 3 | local itemgetways = {} 4 | itemgetways[1] = {name = "Purchase by gems"} 5 | itemgetways[2] = {name = "Marketplace"} 6 | itemgetways[3] = {name = "Tavern"} 7 | itemgetways[4] = {name = "Casino"} 8 | itemgetways[5] = {name = "Arena"} 9 | itemgetways[6] = {name = "Auto-Battle Drop"} 10 | itemgetways[7] = {name = "Summon circle"} 11 | itemgetways[8] = {name = "Prophet tree"} 12 | itemgetways[9] = {name = "Hero Store"} 13 | itemgetways[10] = {name = "Tower of Oblivion"} 14 | itemgetways[11] = {name = "Lucky Store"} 15 | itemgetways[12] = {name = "Brave trial"} 16 | itemgetways[13] = {name = "Challenge"} 17 | itemgetways[14] = {name = "Daily Quest"} 18 | itemgetways[15] = {name = "Guild"} 19 | itemgetways[16] = {name = "HAND OF MIDAS"} 20 | itemgetways[17] = {name = "Aspen Dungeon"} 21 | itemgetways[18] = {name = "Store"} 22 | itemgetways[19] = {name = "Celestial Island"} 23 | itemgetways[20] = {name = "Blacksmith"} 24 | itemgetways[21] = {name = "Altar"} 25 | itemgetways[22] = {name = "Guild Store"} 26 | itemgetways[23] = {name = "Common Casino"} 27 | itemgetways[24] = {name = "Super Casino"} 28 | itemgetways[25] = {name = "Event raid"} 29 | itemgetways[27] = {name = "Brave Trial Store"} 30 | itemgetways[28] = {name = "Trial of the Champion"} 31 | itemgetways[29] = {name = "Trial of the Champion Store"} 32 | itemgetways[30] = {name = "Purchase by gems"} 33 | itemgetways[31] = {name = "Auto-Battle Drop"} 34 | itemgetways[32] = {name = "Seal Land"} 35 | return itemgetways 36 | 37 | -------------------------------------------------------------------------------- /scripts/config/strings/it/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\it\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenlier"} 5 | pet[201] = {name = "Sfinge"} 6 | pet[301] = {name = "Dyne"} 7 | pet[401] = {name = "Volpe"} 8 | pet[501] = {name = "Niederhog"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/it/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\it\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/it/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\it\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Oro combatt autom bonus, ESP gioc, ESP eroe:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Oro Mano di Mida: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Spazi eroi massimi: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Sblocca 10 mani al casin\195\178"} 8 | vipdes.vipMouth = {string1 = "Ricomp bonus giorn per utenti con tess mens:"} 9 | vipdes.gachaPower = {string1 = "Sblocca ricomp per esecuzione evocaz eroica"} 10 | vipdes.heroTaskMax = {string1 = "Limite massimo missioni eroi", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Pu\195\178 raddoppiare la velocit\195\160 di combattimento "} 12 | vipdes.vipRewards = {string1 = "Riscossione nella sfida"} 13 | vipdes.dareTime = {string1 = "Tempi d'acquisto per le incursioni speciali:+", string2 = "%d"} 14 | vipdes.vipMouth = {string1 = "Daily bonus rewards for Senior Privilege Card user"} 15 | return vipdes 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/jp/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\jp\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\227\131\149\227\130\167\227\131\179\227\131\170\227\131\171"} 5 | pet[201] = {name = "\227\130\185\227\131\149\227\130\163\227\131\179\227\130\175\227\130\185"} 6 | pet[301] = {name = "\227\131\128\227\130\164\227\131\179"} 7 | pet[401] = {name = "\229\166\178\229\183\177"} 8 | pet[501] = {name = "\227\131\139\227\131\188\227\130\186\227\131\152\227\131\131\227\130\176"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/jp/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\jp\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/kr/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\kr\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "\235\182\128\235\166\172\236\157\152 \236\139\156\235\160\168"} 5 | brave[2] = {name = "\236\185\180\235\166\188\236\157\152 \236\139\156\235\160\168"} 6 | brave[3] = {name = "\235\179\132\235\185\155\236\157\152 \236\139\156\235\160\168"} 7 | brave[4] = {name = "\237\128\132\237\129\172\236\157\152 \236\139\156\235\160\168"} 8 | brave[5] = {name = "\235\182\128\235\166\172\236\157\152 \236\139\156\235\160\168"} 9 | brave[6] = {name = "\236\185\180\235\166\188\236\157\152 \236\139\156\235\160\168"} 10 | brave[7] = {name = "\235\179\132\235\185\155\236\157\152 \236\139\156\235\160\168"} 11 | brave[8] = {name = "\237\128\132\237\129\172\236\157\152 \236\139\156\235\160\168"} 12 | brave[9] = {name = "\235\182\128\235\166\172\236\157\152 \236\139\156\235\160\168"} 13 | brave[10] = {name = "\236\185\180\235\166\188\236\157\152 \236\139\156\235\160\168"} 14 | brave[11] = {name = "\235\179\132\235\185\155\236\157\152 \236\139\156\235\160\168"} 15 | brave[12] = {name = "\237\128\132\237\129\172\236\157\152 \236\139\156\235\160\168"} 16 | brave[13] = {name = "\235\182\128\235\166\172\236\157\152 \236\139\156\235\160\168"} 17 | brave[14] = {name = "\236\185\180\235\166\188\236\157\152 \236\139\156\235\160\168"} 18 | brave[15] = {name = "\235\179\132\235\185\155\236\157\152 \236\139\156\235\160\168"} 19 | brave[16] = {name = "\237\128\132\237\129\172\236\157\152 \236\139\156\235\160\168"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/kr/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\kr\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "\235\167\136\236\157\180\235\141\148\236\138\164\236\157\152 \236\134\144 2\237\154\140 \236\153\132\235\163\140"} 5 | dailytask[2] = {taskDes = "\237\149\152\237\138\184 5\234\176\156 \236\132\160\235\172\188"} 6 | dailytask[3] = {taskDes = "\237\150\137\236\154\180 \235\189\145\234\184\176 2\237\154\140 \236\153\132\235\163\140"} 7 | dailytask[4] = {taskDes = "\236\152\129\236\155\133 \237\128\152\236\138\164\237\138\184 2\234\176\156 \236\153\132\235\163\140"} 8 | dailytask[5] = {taskDes = "\236\158\165\235\185\132 3\234\176\156 \237\149\169\236\132\177 \236\153\132\235\163\140"} 9 | dailytask[6] = {taskDes = "\236\157\188\235\176\152 \236\134\140\237\153\152 1\237\154\140 \236\153\132\235\163\140"} 10 | dailytask[7] = {taskDes = "\234\179\160\234\184\137 \236\134\140\237\153\152 1\237\154\140 \236\153\132\235\163\140"} 11 | dailytask[8] = {taskDes = "\234\178\189\234\184\176\236\158\165 \236\160\132\237\136\172 3\237\154\140 \236\153\132\235\163\140"} 12 | dailytask[9] = {taskDes = "\236\158\144\235\143\153\236\160\132\237\136\172 \237\154\141\235\147\157 5\237\154\140 \236\153\132\235\163\140"} 13 | dailytask[11] = {taskDes = "\236\157\180\235\178\164\237\138\184 \235\141\152\236\160\132 2\237\154\140 \236\138\185\235\166\172 \236\153\132\235\163\140"} 14 | dailytask[99] = {taskDes = "\235\170\168\235\147\160 \236\157\188\236\157\188 \237\128\152\236\138\164\237\138\184 \236\153\132\235\163\140"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/kr/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\kr\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\237\142\156\235\166\172\235\165\180"} 5 | pet[201] = {name = "\236\138\164\237\149\145\237\129\172\236\138\164"} 6 | pet[301] = {name = "\235\139\164\236\157\184"} 7 | pet[401] = {name = "\235\139\172\234\184\176"} 8 | pet[501] = {name = "\235\139\136\235\147\156 \237\152\184\234\183\184"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/kr/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\kr\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "PERCUBAAN BLEECKER"} 5 | brave[2] = {name = "PERCUBAAN KARIM"} 6 | brave[3] = {name = "PERCUBAAN CAHAYA BINTANG"} 7 | brave[4] = {name = "PERCUBAAN GERKE"} 8 | brave[5] = {name = "PERCUBAAN BLEECKER"} 9 | brave[6] = {name = "PERCUBAAN KARIM"} 10 | brave[7] = {name = "PERCUBAAN CAHAYA BINTANG"} 11 | brave[8] = {name = "PERCUBAAN GERKE"} 12 | brave[9] = {name = "PERCUBAAN BLEECKER"} 13 | brave[10] = {name = "PERCUBAAN KARIM"} 14 | brave[11] = {name = "PERCUBAAN CAHAYA BINTANG"} 15 | brave[12] = {name = "PERCUBAAN GERKE"} 16 | brave[13] = {name = "PERCUBAAN BLEECKER"} 17 | brave[14] = {name = "PERCUBAAN KARIM"} 18 | brave[15] = {name = "PERCUBAAN CAHAYA BINTANG"} 19 | brave[16] = {name = "PERCUBAAN GERKE"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Gunakan Tangan Midas 2 kali untuk mendapatkan Emas"} 5 | dailytask[2] = {taskDes = "Hantar 5 Hati"} 6 | dailytask[3] = {taskDes = "Putar 2 kali di Kasino"} 7 | dailytask[4] = {taskDes = "Selesaikan 2 Pencarian Tavern"} 8 | dailytask[5] = {taskDes = "Tempa 3 peralatan di Tukang Besi"} 9 | dailytask[6] = {taskDes = "Selesaikan 1 Seruan Asas"} 10 | dailytask[7] = {taskDes = "Selesaikan 1 Seruan Wiraan"} 11 | dailytask[8] = {taskDes = "Bertempur dalam 3 pertempuran di Arena"} 12 | dailytask[9] = {taskDes = "Dapatkan ganjaran 5 kali dalam Kempen"} 13 | dailytask[11] = {taskDes = "Menang 2 pertempuran dalam Serbuan Acara."} 14 | dailytask[99] = {taskDes = "Selesaikan semua pencarian harian"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/itemgetways.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\itemgetways.lua 2 | 3 | local itemgetways = {} 4 | itemgetways[1] = {name = "Purchase by gems"} 5 | itemgetways[2] = {name = "Marketplace"} 6 | itemgetways[3] = {name = "Tavern"} 7 | itemgetways[4] = {name = "Casino"} 8 | itemgetways[5] = {name = "Arena"} 9 | itemgetways[6] = {name = "Auto-Battle Drop"} 10 | itemgetways[7] = {name = "Summon circle"} 11 | itemgetways[8] = {name = "Prophet tree"} 12 | itemgetways[9] = {name = "Hero Store"} 13 | itemgetways[10] = {name = "Tower of Oblivion"} 14 | itemgetways[11] = {name = "Lucky Store"} 15 | itemgetways[12] = {name = "Brave trial"} 16 | itemgetways[13] = {name = "Challenge"} 17 | itemgetways[14] = {name = "Daily Quest"} 18 | itemgetways[15] = {name = "Guild"} 19 | itemgetways[16] = {name = "HAND OF MIDAS"} 20 | itemgetways[17] = {name = "Aspen Dungeon"} 21 | itemgetways[18] = {name = "Store"} 22 | itemgetways[19] = {name = "Celestial Island"} 23 | itemgetways[20] = {name = "Blacksmith"} 24 | itemgetways[21] = {name = "Altar"} 25 | itemgetways[22] = {name = "Guild Store"} 26 | itemgetways[23] = {name = "Common Casino"} 27 | itemgetways[24] = {name = "Super Casino"} 28 | itemgetways[25] = {name = "Event raid"} 29 | itemgetways[27] = {name = "Brave Trial Store"} 30 | itemgetways[28] = {name = "Trial of the Champion"} 31 | itemgetways[29] = {name = "Trial of the Champion Store"} 32 | itemgetways[30] = {name = "Purchase by gems"} 33 | itemgetways[31] = {name = "Auto-Battle Drop"} 34 | itemgetways[32] = {name = "Seal Land"} 35 | return itemgetways 36 | 37 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/loadingtips.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\loadingtips.lua 2 | 3 | local loadingtips = {} 4 | loadingtips[1] = {tips = "Petua: Menahan perhubungan, Hutan\226\134\146Bayangan\226\134\146Kubu\226\134\146Abis\226\134\146Hutan, Gelap\226\134\146Cerah, Cerah\226\134\146Gelap"} 5 | loadingtips[2] = {tips = "Petua: Terdapat 1-5 tahap bintang dari rendah ke tinggi."} 6 | loadingtips[3] = {tips = "Petua: Anda boleh menggunakan batu lanjutan untuk menaik taraf wira dengan kemahiran pasif baharu"} 7 | loadingtips[4] = {tips = "Petua: Terdapat 6 kualiti peralatan dari rendah ke tinggi: Biru, Emas, Ungu, Hijau, Merah dan Oren. "} 8 | loadingtips[5] = {tips = "Petua: Menghantar 6 wira daripada puak yang sama boleh mengaktifkan aura puak bagi mendapatkan statistik yang berkuasa"} 9 | loadingtips[6] = {tips = "Petua: Anda ada 1 peluang untuk menyeru wira secara percuma setiap 8 jam dan 1 peluang lanjutan setiap 48 jam"} 10 | loadingtips[7] = {tips = "Petua: Wira di barisan hadapan akan menerima bahagian yang paling hebat daripada serangan. Lebih baik jika anda meletakkan wira yang mempunyai tahap pertahanan tinggi di sana"} 11 | loadingtips[8] = {tips = "Petua: Kelajuan menentukan susunan serangan untuk setiap pusingan"} 12 | loadingtips[9] = {tips = "Petua: Anda boleh mendapat beberapa keistimewaan yang hebat dengan tahap VIP yang lebih tinggi"} 13 | loadingtips[10] = {tips = "Petua: Jangan lupa hantarkan hati kepada rakan anda. Hati diperlukan untuk Pertolongan Rakan yang memberikan wira yang bagus"} 14 | return loadingtips 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenlier"} 5 | pet[201] = {name = "Sfinks"} 6 | pet[301] = {name = "Dyne"} 7 | pet[401] = {name = "Rubah"} 8 | pet[501] = {name = "Niederhog"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/ms/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ms\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Bonus Perlawanan Automatik Emas, Exp Pemain, EXP Wira:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Emas Tangan Midas: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Slot Wira Maksimum: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Buka kunci kasino 10 cabutan"} 8 | vipdes.vipMouth = {string1 = "Daily bonus rewards for Senior Privilege Card user"} 9 | vipdes.gachaPower = {string1 = "Membuka kunci ganjaran pencapaian Seruan Wiraan"} 10 | vipdes.heroTaskMax = {string1 = "Had maksimum pencarian wira", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Boleh bertempur pada kelajuan dua kali ganda "} 12 | vipdes.vipRewards = {string1 = "Tuntut dalam Cabaran"} 13 | vipdes.dareTime = {string1 = "Masa Beli Serbuan Acara :+", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/pt/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\pt\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "PROVA DE BLEECKER"} 5 | brave[2] = {name = "PROVA DE KARIM"} 6 | brave[3] = {name = "PROVA DA LUZ DAS ESTRELAS"} 7 | brave[4] = {name = "PROVA DE GERKE"} 8 | brave[5] = {name = "PROVA DE BLEECKER"} 9 | brave[6] = {name = "PROVA DE KARIM"} 10 | brave[7] = {name = "PROVA DA LUZ DAS ESTRELAS"} 11 | brave[8] = {name = "PROVA DE GERKE"} 12 | brave[9] = {name = "PROVA DE BLEECKER"} 13 | brave[10] = {name = "PROVA DE KARIM"} 14 | brave[11] = {name = "PROVA DA LUZ DAS ESTRELAS"} 15 | brave[12] = {name = "PROVA DE GERKE"} 16 | brave[13] = {name = "PROVA DE BLEECKER"} 17 | brave[14] = {name = "PROVA DE KARIM"} 18 | brave[15] = {name = "PROVA DA LUZ DAS ESTRELAS"} 19 | brave[16] = {name = "PROVA DE GERKE"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/pt/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\pt\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Use a M\195\163o de Midas 2 vezes para ganhar Ouro"} 5 | dailytask[2] = {taskDes = "Enviar 5 cora\195\167\195\181es"} 6 | dailytask[3] = {taskDes = "Completar 2 sorteios na fonte de desejos"} 7 | dailytask[4] = {taskDes = "Completar 2 miss\195\181es do her\195\179i"} 8 | dailytask[5] = {taskDes = "Forjar 3 equipamentos"} 9 | dailytask[6] = {taskDes = "Completar 1 convoca\195\167\195\163o b\195\161sica"} 10 | dailytask[7] = {taskDes = "Completar 1 convoca\195\167\195\163o her\195\179ica"} 11 | dailytask[8] = {taskDes = "Completar 3 batalhas na Arena"} 12 | dailytask[9] = {taskDes = "Obter recompensas 5 vezes em modo autom\195\161tico"} 13 | dailytask[11] = {taskDes = "Obter 2 vit\195\179rias no Evento Ataque"} 14 | dailytask[99] = {taskDes = "Complete todas as miss\195\181es di\195\161rias"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/pt/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\pt\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenrir"} 5 | pet[201] = {name = "Esfinge"} 6 | pet[301] = {name = "Dina"} 7 | pet[401] = {name = "Raposa"} 8 | pet[501] = {name = "N\195\173\195\176h\195\182ggr"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/pt/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\pt\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/pt/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\pt\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "B\195\180nus luta autom\195\161tica de Ouro, Jogador Exp, Her\195\179i EXP:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Ouro de M\195\163os de Midas: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Quantidade port\195\161til m\195\161xima: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Desbloqueia 10 sorteios no fonte de desejos"} 8 | vipdes.vipMouth = {string1 = "Ap\195\179s de comprar o Cart\195\163o de privil\195\169gio s\195\170nior podem obter recompensas di\195\161rias adicionais:"} 9 | vipdes.gachaPower = {string1 = "Desbloqueia recompensas da Convoca\195\167\195\163o Her\195\179ica"} 10 | vipdes.heroTaskMax = {string1 = "Limite m\195\161ximo de miss\195\181es do her\195\179i", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Pode batalhar em velocidade dupla"} 12 | vipdes.vipRewards = {string1 = "Reivindica\195\167\195\181es em Desafio"} 13 | vipdes.dareTime = {string1 = "Compra de tempo no Evento Ataque:+", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/ru/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ru\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\208\164\208\181\208\189\209\128\208\184\209\128"} 5 | pet[201] = {name = "\208\161\209\132\208\184\208\189\208\186\209\129"} 6 | pet[301] = {name = "\208\148\208\184\208\189\208\176"} 7 | pet[401] = {name = "\208\155\208\184\209\129\208\184\209\134\208\176"} 8 | pet[501] = {name = "\208\157\208\184\208\180\209\133\209\145\208\179\208\179"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/ru/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\ru\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/th/itemgetways.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\th\itemgetways.lua 2 | 3 | local itemgetways = {} 4 | itemgetways[1] = {name = "Purchase by gems"} 5 | itemgetways[2] = {name = "Marketplace"} 6 | itemgetways[3] = {name = "Tavern"} 7 | itemgetways[4] = {name = "Casino"} 8 | itemgetways[5] = {name = "Arena"} 9 | itemgetways[6] = {name = "Auto-Battle Drop"} 10 | itemgetways[7] = {name = "Summon circle"} 11 | itemgetways[8] = {name = "Prophet tree"} 12 | itemgetways[9] = {name = "Hero Store"} 13 | itemgetways[10] = {name = "Tower of Oblivion"} 14 | itemgetways[11] = {name = "Lucky Store"} 15 | itemgetways[12] = {name = "Brave trial"} 16 | itemgetways[13] = {name = "Challenge"} 17 | itemgetways[14] = {name = "Daily Quest"} 18 | itemgetways[15] = {name = "Guild"} 19 | itemgetways[16] = {name = "HAND OF MIDAS"} 20 | itemgetways[17] = {name = "Aspen Dungeon"} 21 | itemgetways[18] = {name = "Store"} 22 | itemgetways[19] = {name = "Celestial Island"} 23 | itemgetways[20] = {name = "Blacksmith"} 24 | itemgetways[21] = {name = "Altar"} 25 | itemgetways[22] = {name = "Guild Store"} 26 | itemgetways[23] = {name = "Common Casino"} 27 | itemgetways[24] = {name = "Super Casino"} 28 | itemgetways[25] = {name = "Event raid"} 29 | itemgetways[27] = {name = "Brave Trial Store"} 30 | itemgetways[28] = {name = "Trial of the Champion"} 31 | itemgetways[29] = {name = "Trial of the Champion Store"} 32 | itemgetways[30] = {name = "Purchase by gems"} 33 | itemgetways[31] = {name = "Auto-Battle Drop"} 34 | itemgetways[32] = {name = "Seal Land"} 35 | return itemgetways 36 | 37 | -------------------------------------------------------------------------------- /scripts/config/strings/th/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\th\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\224\185\128\224\184\159\224\184\153\224\184\165\224\184\180\224\185\128\224\184\173\224\184\173\224\184\163\224\185\140"} 5 | pet[201] = {name = "\224\184\170\224\184\159\224\184\180\224\184\135\224\184\139\224\185\140"} 6 | pet[301] = {name = "\224\184\148\224\184\178\224\184\162\224\184\153\224\185\140"} 7 | pet[401] = {name = "\224\184\159\224\184\173\224\184\129\224\184\139\224\185\140"} 8 | pet[501] = {name = "\224\184\153\224\184\181\224\185\128\224\184\148\224\184\173\224\184\163\224\185\140\224\184\174\224\184\173\224\184\129"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/th/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\th\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/tr/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tr\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "Blee denemesi"} 5 | brave[2] = {name = "Crim denemesi"} 6 | brave[3] = {name = "Y\196\177ld\196\177z \196\177\197\159\196\177\196\159\196\177 denemesi"} 7 | brave[4] = {name = "Kyrk denemesi"} 8 | brave[5] = {name = "Blee denemesi"} 9 | brave[6] = {name = "Crim denemesi"} 10 | brave[7] = {name = "Y\196\177ld\196\177z \196\177\197\159\196\177\196\159\196\177 denemesi"} 11 | brave[8] = {name = "Kyrk denemesi"} 12 | brave[9] = {name = "Blee denemesi"} 13 | brave[10] = {name = "Crim denemesi"} 14 | brave[11] = {name = "Y\196\177ld\196\177z \196\177\197\159\196\177\196\159\196\177 denemesi"} 15 | brave[12] = {name = "Kyrk denemesi"} 16 | brave[13] = {name = "Blee denemesi"} 17 | brave[14] = {name = "Crim denemesi"} 18 | brave[15] = {name = "Y\196\177ld\196\177z \196\177\197\159\196\177\196\159\196\177 denemesi"} 19 | brave[16] = {name = "Kyrk denemesi"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/tr/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tr\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "2 midas tamamlay\196\177n"} 5 | dailytask[2] = {taskDes = "5 kalp g\195\182nderin"} 6 | dailytask[3] = {taskDes = "2 \195\167ekili\197\159 bileti tamamlay\196\177n"} 7 | dailytask[4] = {taskDes = "2 kahraman g\195\182revi tamamla"} 8 | dailytask[5] = {taskDes = "3 ekipman birle\197\159tir"} 9 | dailytask[6] = {taskDes = "1 normal \195\167a\196\159\196\177rma tamamlay\196\177n"} 10 | dailytask[7] = {taskDes = "1 Y\195\188ksek seviye \195\167a\196\159\196\177rma tamamlay\196\177n"} 11 | dailytask[8] = {taskDes = "3 arena sava\197\159\196\177 tamamlay\196\177n"} 12 | dailytask[9] = {taskDes = "5 otomatik sava\197\159 yaparak \195\167ekin"} 13 | dailytask[11] = {taskDes = "2 etkinlik ek sahnesi zaferi kazan\196\177n"} 14 | dailytask[99] = {taskDes = "T\195\188m g\195\188nl\195\188k g\195\182revleri tamamlay\196\177n"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/tr/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tr\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenrir"} 5 | pet[201] = {name = "Sfenks"} 6 | pet[301] = {name = "Din"} 7 | pet[401] = {name = "Tilki"} 8 | pet[501] = {name = "N\195\173\195\176h\195\182ggr"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/tr/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tr\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/tr/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tr\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Otomatik sava\197\159 ekstra alt\196\177n, oyuncu exp, kahraman exp:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Midas ekstra kazan\196\177lan alt\196\177n: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Kahraman ta\197\159\196\177ma say\196\177s\196\177 \195\188st limiti: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Kumarhane \195\167ekili\197\159i x10 modu a\195\167\196\177l\196\177r"} 8 | vipdes.vipMouth = {string1 = "Daily bonus rewards for Senior Privilege Card user"} 9 | vipdes.gachaPower = {string1 = "Y\195\188ksek seviye \195\167a\196\159\196\177rma standart \195\182d\195\188l\195\188 kili a\195\167\196\177l\196\177r"} 10 | vipdes.heroTaskMax = {string1 = "Kahraman g\195\182rev say\196\177s\196\177 \195\188st limiti", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "A\195\167\196\177l\196\177r ve sava\197\159 h\196\177z\196\177 x2 olur"} 12 | vipdes.vipRewards = {string1 = "Bu VIP seviyesine ula\197\159\196\177ld\196\177\196\159\196\177nda, \195\167ekme i\197\159lemi yap\196\177labilir"} 13 | vipdes.dareTime = {string1 = "Etkinlik ek sahne sava\197\159\196\177ndan sat\196\177n al\196\177nabilecek: +", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/tw/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tw\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "\229\184\131\229\136\169\231\154\132\232\169\166\231\133\137"} 5 | brave[2] = {name = "\229\133\139\232\163\143\229\167\134\231\154\132\232\169\166\231\133\137"} 6 | brave[3] = {name = "\230\152\159\229\133\137\231\154\132\232\169\166\231\133\137"} 7 | brave[4] = {name = "\229\159\186\231\136\190\229\133\139\231\154\132\232\169\166\231\133\137"} 8 | brave[5] = {name = "\229\184\131\229\136\169\231\154\132\232\169\166\231\133\137"} 9 | brave[6] = {name = "\229\133\139\232\163\143\229\167\134\231\154\132\232\169\166\231\133\137"} 10 | brave[7] = {name = "\230\152\159\229\133\137\231\154\132\232\169\166\231\133\137"} 11 | brave[8] = {name = "\229\159\186\231\136\190\229\133\139\231\154\132\232\169\166\231\133\137"} 12 | brave[9] = {name = "\229\184\131\229\136\169\231\154\132\232\169\166\231\133\137"} 13 | brave[10] = {name = "\229\133\139\232\163\143\229\167\134\231\154\132\232\169\166\231\133\137"} 14 | brave[11] = {name = "\230\152\159\229\133\137\231\154\132\232\169\166\231\133\137"} 15 | brave[12] = {name = "\229\159\186\231\136\190\229\133\139\231\154\132\232\169\166\231\133\137"} 16 | brave[13] = {name = "\229\184\131\229\136\169\231\154\132\232\169\166\231\133\137"} 17 | brave[14] = {name = "\229\133\139\232\163\143\229\167\134\231\154\132\232\169\166\231\133\137"} 18 | brave[15] = {name = "\230\152\159\229\133\137\231\154\132\232\169\166\231\133\137"} 19 | brave[16] = {name = "\229\159\186\231\136\190\229\133\139\231\154\132\232\169\166\231\133\137"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/tw/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tw\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "\229\174\140\230\136\1442\230\172\161\233\187\158\233\135\145"} 5 | dailytask[2] = {taskDes = "\232\180\136\233\128\1295\233\161\134\230\132\155\229\191\131"} 6 | dailytask[3] = {taskDes = "\229\174\140\230\136\1442\230\172\161\232\189\137\231\155\164\230\138\189\231\141\142"} 7 | dailytask[4] = {taskDes = "\229\174\140\230\136\1442\229\128\139\232\139\177\233\155\132\228\187\187\229\139\153"} 8 | dailytask[5] = {taskDes = "\229\144\136\230\136\1443\228\187\182\232\163\157\229\130\153"} 9 | dailytask[6] = {taskDes = "\229\174\140\230\136\1441\230\172\161\230\153\174\233\128\154\229\143\172\229\150\154"} 10 | dailytask[7] = {taskDes = "\229\174\140\230\136\1441\230\172\161\233\171\152\231\180\154\229\143\172\229\150\154"} 11 | dailytask[8] = {taskDes = "\229\174\140\230\136\1443\230\172\161\231\171\182\230\138\128\229\160\180\230\136\176\233\172\165"} 12 | dailytask[9] = {taskDes = "\233\128\178\232\161\1405\230\172\161\230\142\155\230\169\159\230\148\182\231\141\178"} 13 | dailytask[11] = {taskDes = "\231\141\178\229\190\1512\230\172\161\230\180\187\229\139\149\229\137\175\230\156\172\229\139\157\229\136\169"} 14 | dailytask[99] = {taskDes = "\229\174\140\230\136\144\230\137\128\230\156\137\230\151\165\229\184\184\228\187\187\229\139\153"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/tw/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tw\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "\232\138\172\232\163\143\231\136\190"} 5 | pet[201] = {name = "\230\150\175\232\138\172\229\133\139\230\150\175"} 6 | pet[301] = {name = "\233\129\148\229\155\160"} 7 | pet[401] = {name = "\229\166\178\229\183\177"} 8 | pet[501] = {name = "\229\176\188\229\190\183\233\156\141\230\160\188"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/tw/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\tw\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "\228\187\138\230\151\165\228\187\189\233\155\158\232\133\191", pushDescription = "\233\173\175\231\137\185\232\140\178\229\143\171\228\189\160\232\181\183\229\186\138\231\176\189\229\136\176\228\186\134\239\188\129", voiceText = "\230\148\190\231\189\174\229\165\135\229\133\181\231\176\189\229\136\176"} 5 | shortcut[2] = {pushTitle = "\229\133\181\231\178\137\231\154\132\232\135\170\230\136\145\228\191\174\233\164\138", pushDescription = "\228\187\138\229\164\169\231\154\132\230\175\143\230\151\165\228\187\187\229\139\153\229\129\154\229\174\140\228\186\134\233\186\188~", voiceText = "\230\148\190\231\189\174\229\165\135\229\133\181\230\175\143\230\151\165\228\187\187\229\139\153"} 6 | shortcut[3] = {pushTitle = "\232\181\183\229\186\138\230\137\147\230\156\172\239\188\129", pushDescription = "\228\186\186\233\150\147\230\168\130\228\186\139\239\188\140\232\142\171\233\129\142\230\150\188\230\148\190\231\189\174\229\165\135\229\133\181\230\180\187\229\139\149\229\137\175\230\156\172~", voiceText = "\230\148\190\231\189\174\229\165\135\229\133\181\230\180\187\229\139\149\229\137\175\230\156\172"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/us/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "TRIAL OF BLEECKER"} 5 | brave[2] = {name = "TRIAL OF KARIM"} 6 | brave[3] = {name = "TRIAL OF STARLIGHT"} 7 | brave[4] = {name = "TRIAL OF GERKE"} 8 | brave[5] = {name = "TRIAL OF BLEECKER"} 9 | brave[6] = {name = "TRIAL OF KARIM"} 10 | brave[7] = {name = "TRIAL OF STARLIGHT"} 11 | brave[8] = {name = "TRIAL OF GERKE"} 12 | brave[9] = {name = "TRIAL OF BLEECKER"} 13 | brave[10] = {name = "TRIAL OF KARIM"} 14 | brave[11] = {name = "TRIAL OF STARLIGHT"} 15 | brave[12] = {name = "TRIAL OF GERKE"} 16 | brave[13] = {name = "TRIAL OF BLEECKER"} 17 | brave[14] = {name = "TRIAL OF KARIM"} 18 | brave[15] = {name = "TRIAL OF STARLIGHT"} 19 | brave[16] = {name = "TRIAL OF GERKE"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/us/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Use Hand Of Midas 2 times to gain Gold"} 5 | dailytask[2] = {taskDes = "Send out 5 Hearts"} 6 | dailytask[3] = {taskDes = "Spin 2 times in Wishing Fountain"} 7 | dailytask[4] = {taskDes = "Complete 2 Tavern Quests"} 8 | dailytask[5] = {taskDes = "Forge 3 gear in BlackSmith"} 9 | dailytask[6] = {taskDes = "Complete 1 Basic Summon"} 10 | dailytask[7] = {taskDes = "Complete 1 Heroic Summon"} 11 | dailytask[8] = {taskDes = "Engage in 3 battles in Arena"} 12 | dailytask[9] = {taskDes = "Get rewards 5 times in Campaign"} 13 | dailytask[11] = {taskDes = "Win 2 battles in Event Raid."} 14 | dailytask[99] = {taskDes = "Complete all the daily quests"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/us/itemgetways.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\itemgetways.lua 2 | 3 | local itemgetways = {} 4 | itemgetways[1] = {name = "Purchase by gems"} 5 | itemgetways[2] = {name = "Marketplace"} 6 | itemgetways[3] = {name = "Tavern"} 7 | itemgetways[4] = {name = "Casino"} 8 | itemgetways[5] = {name = "Arena"} 9 | itemgetways[6] = {name = "Auto-Battle Drop"} 10 | itemgetways[7] = {name = "Summon circle"} 11 | itemgetways[8] = {name = "Prophet tree"} 12 | itemgetways[9] = {name = "Hero Store"} 13 | itemgetways[10] = {name = "Tower of Oblivion"} 14 | itemgetways[11] = {name = "Lucky Store"} 15 | itemgetways[12] = {name = "Brave trial"} 16 | itemgetways[13] = {name = "Challenge"} 17 | itemgetways[14] = {name = "Daily Quest"} 18 | itemgetways[15] = {name = "Guild"} 19 | itemgetways[16] = {name = "HAND OF MIDAS"} 20 | itemgetways[17] = {name = "Aspen Dungeon"} 21 | itemgetways[18] = {name = "Store"} 22 | itemgetways[19] = {name = "Celestial Island"} 23 | itemgetways[20] = {name = "Blacksmith"} 24 | itemgetways[21] = {name = "Altar"} 25 | itemgetways[22] = {name = "Guild Store"} 26 | itemgetways[23] = {name = "Wishing Fountain"} 27 | itemgetways[24] = {name = "Super Wishing Fountain"} 28 | itemgetways[25] = {name = "Event raid"} 29 | itemgetways[27] = {name = "Brave Trial Store"} 30 | itemgetways[28] = {name = "Trial of the Champion"} 31 | itemgetways[29] = {name = "Trial of the Champion Store"} 32 | itemgetways[30] = {name = "Purchase by gems"} 33 | itemgetways[31] = {name = "Auto-Battle Drop"} 34 | itemgetways[32] = {name = "Seal Land"} 35 | return itemgetways 36 | 37 | -------------------------------------------------------------------------------- /scripts/config/strings/us/loadingtips.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\loadingtips.lua 2 | 3 | local loadingtips = {} 4 | loadingtips[1] = {tips = "Tips: Restrain Relationship, Forest\226\134\146Shadow\226\134\146Fortress\226\134\146Abyss\226\134\146Forest, Dark\226\134\146Light, Light\226\134\146Dark"} 5 | loadingtips[2] = {tips = "Tips: There are, from low to high, 1-5 star levels."} 6 | loadingtips[3] = {tips = "Tips: You can spend advance stones to upgrade heroes for new passive skills"} 7 | loadingtips[4] = {tips = "Tips: There are, from low to high, 6 equipment qualities: Blue, Gold, Purple, Green, Red and Orange. "} 8 | loadingtips[5] = {tips = "Tips: Dispatching 6 heroes of the same faction can activate faction aura for powerful stats"} 9 | loadingtips[6] = {tips = "Tips: You have 1 chance to summon heroes for free every 8 hours and 1 advance chance every 48 hours"} 10 | loadingtips[7] = {tips = "Tips: Heroes on the front line will bear the brunt of the attack. It's a good idea to place heroes with high defense there"} 11 | loadingtips[8] = {tips = "Tips: Speed decides the attack order of each round"} 12 | loadingtips[9] = {tips = "Tips: With a higher VIP level, you can get some great privileges"} 13 | loadingtips[10] = {tips = "Tips: Remember to send a heart to your friends. Hearts is necessary for Friend's Favor that grants good heroes"} 14 | return loadingtips 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/us/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenlier"} 5 | pet[201] = {name = "Sphinx"} 6 | pet[301] = {name = "Dyne"} 7 | pet[401] = {name = "Fox"} 8 | pet[501] = {name = "Niederhog"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/us/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/us/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\us\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Bonus Auto-fight Gold, Player Exp, Hero EXP:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "Gold of Hand of Midas: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Max Hero Slots: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "Unlocks Wishing Fountain 10-draw"} 8 | vipdes.vipMouth = {string1 = "Daily bonus rewards for Senior Privilege Card user"} 9 | vipdes.gachaPower = {string1 = "Unlocks achievement rewards of Heroic Summon"} 10 | vipdes.heroTaskMax = {string1 = "Hero quest max limit", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "Can battle at double speed "} 12 | vipdes.vipRewards = {string1 = "Claim in Challenge"} 13 | vipdes.dareTime = {string1 = "Event Raid Buy Times:+", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/strings/vi/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\vi\brave.lua 2 | 3 | local brave = {} 4 | brave[1] = {name = "Th\195\173 Luy\225\187\135n Berry"} 5 | brave[2] = {name = "Th\195\173 Luy\225\187\135n Qu\225\187\183 Bay"} 6 | brave[3] = {name = "Th\195\173 Luy\225\187\135n Tinh Quang"} 7 | brave[4] = {name = "Th\195\173 Luy\225\187\135n Kilke"} 8 | brave[5] = {name = "Th\195\173 Luy\225\187\135n Berry"} 9 | brave[6] = {name = "Th\195\173 Luy\225\187\135n Qu\225\187\183 Bay"} 10 | brave[7] = {name = "Th\195\173 Luy\225\187\135n Tinh Quang"} 11 | brave[8] = {name = "Th\195\173 Luy\225\187\135n Kilke"} 12 | brave[9] = {name = "Th\195\173 Luy\225\187\135n Berry"} 13 | brave[10] = {name = "Th\195\173 Luy\225\187\135n Qu\225\187\183 Bay"} 14 | brave[11] = {name = "Th\195\173 Luy\225\187\135n Tinh Quang"} 15 | brave[12] = {name = "Th\195\173 Luy\225\187\135n Kilke"} 16 | brave[13] = {name = "Th\195\173 Luy\225\187\135n Berry"} 17 | brave[14] = {name = "Th\195\173 Luy\225\187\135n Qu\225\187\183 Bay"} 18 | brave[15] = {name = "Th\195\173 Luy\225\187\135n Tinh Quang"} 19 | brave[16] = {name = "Th\195\173 Luy\225\187\135n Kilke"} 20 | return brave 21 | 22 | -------------------------------------------------------------------------------- /scripts/config/strings/vi/dailytask.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\vi\dailytask.lua 2 | 3 | local dailytask = {} 4 | dailytask[1] = {taskDes = "Ho\195\160n th\195\160nh 2 l\225\186\167n \196\144i\225\187\131m Kim"} 5 | dailytask[2] = {taskDes = "T\196\131ng 5 Tr\195\161i Tim"} 6 | dailytask[3] = {taskDes = "Ho\195\160n th\195\160nh 2 l\225\186\167n V\195\178ng Quay Th\198\176\225\187\159ng"} 7 | dailytask[4] = {taskDes = "Ho\195\160n th\195\160nh 2 N.V\225\187\165 Hero"} 8 | dailytask[5] = {taskDes = "Gh\195\169p 3 m\195\179n trang b\225\187\139"} 9 | dailytask[6] = {taskDes = "Ho\195\160n th\195\160nh 1 l\225\186\167n tri\225\187\135u h\225\187\147i th\198\176\225\187\157ng"} 10 | dailytask[7] = {taskDes = "Ho\195\160n th\195\160nh 1 l\225\186\167n tri\225\187\135u h\225\187\147i cao c\225\186\165p"} 11 | dailytask[8] = {taskDes = "Ho\195\160n th\195\160nh 3 L\225\186\167n chi\225\186\191n \196\145\225\186\165u \196\144\225\186\165u Tr\198\176\225\187\157ng"} 12 | dailytask[9] = {taskDes = "Ti\225\186\191n h\195\160nh 5 l\225\186\167n thu ho\225\186\161ch treo m\195\161y"} 13 | dailytask[11] = {taskDes = "Danh \196\145\198\176\225\187\163c 2 l\225\186\167n chi\225\186\191n th\225\186\175ng ho\225\186\161t \196\145\225\187\153ng ph\195\179 b\225\186\163n"} 14 | dailytask[99] = {taskDes = "Ho\195\160n th\195\160nh to\195\160n b\225\187\153 N.V\225\187\165 ng\195\160y"} 15 | return dailytask 16 | 17 | -------------------------------------------------------------------------------- /scripts/config/strings/vi/itemgetways.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\vi\itemgetways.lua 2 | 3 | local itemgetways = {} 4 | itemgetways[1] = {name = "Purchase by gems"} 5 | itemgetways[2] = {name = "Marketplace"} 6 | itemgetways[3] = {name = "Tavern"} 7 | itemgetways[4] = {name = "Casino"} 8 | itemgetways[5] = {name = "Arena"} 9 | itemgetways[6] = {name = "Auto-Battle Drop"} 10 | itemgetways[7] = {name = "Summon circle"} 11 | itemgetways[8] = {name = "Prophet tree"} 12 | itemgetways[9] = {name = "Hero Store"} 13 | itemgetways[10] = {name = "Tower of Oblivion"} 14 | itemgetways[11] = {name = "Lucky Store"} 15 | itemgetways[12] = {name = "Brave trial"} 16 | itemgetways[13] = {name = "Challenge"} 17 | itemgetways[14] = {name = "Daily Quest"} 18 | itemgetways[15] = {name = "Guild"} 19 | itemgetways[16] = {name = "HAND OF MIDAS"} 20 | itemgetways[17] = {name = "Aspen Dungeon"} 21 | itemgetways[18] = {name = "Store"} 22 | itemgetways[19] = {name = "Celestial Island"} 23 | itemgetways[20] = {name = "Blacksmith"} 24 | itemgetways[21] = {name = "Altar"} 25 | itemgetways[22] = {name = "Guild Store"} 26 | itemgetways[23] = {name = "Common Casino"} 27 | itemgetways[24] = {name = "Super Casino"} 28 | itemgetways[25] = {name = "Event raid"} 29 | itemgetways[27] = {name = "Brave Trial Store"} 30 | itemgetways[28] = {name = "Trial of the Champion"} 31 | itemgetways[29] = {name = "Trial of the Champion Store"} 32 | itemgetways[30] = {name = "Purchase by gems"} 33 | itemgetways[31] = {name = "Auto-Battle Drop"} 34 | itemgetways[32] = {name = "Seal Land"} 35 | return itemgetways 36 | 37 | -------------------------------------------------------------------------------- /scripts/config/strings/vi/pet.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\vi\pet.lua 2 | 3 | local pet = {} 4 | pet[101] = {name = "Fenlier"} 5 | pet[201] = {name = "Nh\195\162n S\198\176"} 6 | pet[301] = {name = "Dyne"} 7 | pet[401] = {name = "\196\144\225\186\175c K\225\187\183"} 8 | pet[501] = {name = "Niederhog"} 9 | return pet 10 | 11 | -------------------------------------------------------------------------------- /scripts/config/strings/vi/shortcut.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\vi\shortcut.lua 2 | 3 | local shortcut = {} 4 | shortcut[1] = {pushTitle = "Bonus for today!", pushDescription = "Lutz is calling you to sign in!", voiceText = "Idle Heroes Daily Sign-in"} 5 | shortcut[2] = {pushTitle = "The self-improvement of an Idler", pushDescription = "Have you done all the daily quests?", voiceText = "Idle Heroes Daily Quest"} 6 | shortcut[3] = {pushTitle = "Time to get up and fight!", pushDescription = "There's no greater happiness than completing Idle Heroes event", voiceText = "Idle Heroes Event"} 7 | return shortcut 8 | 9 | -------------------------------------------------------------------------------- /scripts/config/strings/vi/vipdes.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\strings\vi\vipdes.lua 2 | 3 | local vipdes = {} 4 | vipdes.hookVip = {string1 = "Bonus Auto-fight Gold, Player Exp, Hero EXP:+", string2 = "%d"} 5 | vipdes.midasVip = {string1 = "\196\144i\225\187\131m Kim nh\225\186\173n th\195\170m Xu V\195\160ng: +", string2 = "%d"} 6 | vipdes.heroLimit = {string1 = "Gi\225\187\155i h\225\186\161n s\225\187\145 Hero \196\145em theo: +", string2 = "%d"} 7 | vipdes.gamble10 = {string1 = "M\225\187\159 ch\225\186\191 \196\145\225\187\153 c\195\161 c\198\176\225\187\163c 10 li\195\170n ti\225\186\191p"} 8 | vipdes.vipMouth = {string1 = "Daily bonus rewards for Senior Privilege Card user"} 9 | vipdes.gachaPower = {string1 = "M\225\187\159 kh\195\179a th\198\176\225\187\159ng n\196\131ng l\198\176\225\187\163ng tri\225\187\135u h\225\187\147i cao c\225\186\165p"} 10 | vipdes.heroTaskMax = {string1 = "Gi\225\187\155i h\225\186\161n s\225\187\145 N.V\225\187\165 Hero", string2 = "%d"} 11 | vipdes.speed2 = {string1 = "\196\144\198\176\225\187\163c nh\195\162n 2 t\225\187\145c \196\145\225\187\153 chi\225\186\191n \196\145\225\186\165u"} 12 | vipdes.vipRewards = {string1 = "\196\144\225\186\161t Lv VIP n\195\160y, \196\145\198\176\225\187\163c l\225\186\165y trong Th\195\160nh T\225\187\177u"} 13 | vipdes.dareTime = {string1 = "L\225\186\167n mua ho\225\186\161t \196\145\225\187\153ng ph\195\179 b\225\186\163n chi\225\186\191n \196\145\225\186\165u: +", string2 = "%d"} 14 | return vipdes 15 | 16 | -------------------------------------------------------------------------------- /scripts/config/talen.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\config\talen.lua 2 | 3 | local talen = {} 4 | talen[1] = {stoneMaterial = 10000, heroMaterial = {{disi = {9999, 5799}}}, addMaxLv = 260, base = {{type = "hpP", num = 0.14}, {type = "atkP", num = 0.1}}, talenSkills = {6001}, lifeChangeCount = 6} 5 | talen[2] = {stoneMaterial = 10000, heroMaterial = {{disi = {9999, 5799}}}, addMaxLv = 270, base = {{type = "hpP", num = 0.28}, {type = "atkP", num = 0.2}}, talenSkills = {6001, 6002}, lifeChangeCount = 7} 6 | talen[3] = {stoneMaterial = 15000, heroMaterial = {{disi = {10999}}}, addMaxLv = 290, base = {{type = "hpP", num = 0.42}, {type = "atkP", num = 0.3}}, talenSkills = {6001, 6002, 6003}, lifeChangeCount = 7} 7 | return talen 8 | 9 | -------------------------------------------------------------------------------- /scripts/data/arenashop.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\arenashop.lua 2 | 3 | local arenashop = {} 4 | local cfgarenashop = require("config.arenamarket") 5 | arenashop.compareMarket = function(l_1_0, l_1_1) 6 | local rank1, rank2 = cfgarenashop[l_1_0.id].sort, cfgarenashop[l_1_1.id].sort 7 | return rank1 < rank2 8 | end 9 | 10 | arenashop.init = function(l_2_0) 11 | arenashop.goods = l_2_0.item 12 | for i = 1, #arenashop.goods do 13 | arenashop.goods[i]._id = i 14 | end 15 | table.sort(arenashop.goods, arenashop.compareMarket) 16 | end 17 | 18 | return arenashop 19 | 20 | -------------------------------------------------------------------------------- /scripts/data/blackmarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\blackmarket.lua 2 | 3 | local blackmarket = {} 4 | require("common.func") 5 | blackmarket.init = function(l_1_0, l_1_1) 6 | local cfgblackmarket = require("config.blackmarket") 7 | blackmarket.buy = l_1_0.buy 8 | blackmarket.goods = {} 9 | for i = 1, #l_1_0.good do 10 | local g = l_1_0.good[i] 11 | local item = {} 12 | item.type = g.type 13 | item.excelId = g.id 14 | item.numb = g.count 15 | item.id = g.excel_id 16 | local configItem = cfgblackmarket[g.excel_id] 17 | item.rank = configItem.rank 18 | item.limitNumb = configItem.limitNumb 19 | item.cost = configItem.cost 20 | blackmarket.goods[#blackmarket.goods + 1] = item 21 | end 22 | table.sort(blackmarket.goods, function(l_1_0, l_1_1) 23 | return l_1_0.rank < l_1_1.rank 24 | end) 25 | if l_1_1 then 26 | blackmarket.refresh = l_1_0.cd + os.time() 27 | end 28 | end 29 | 30 | return blackmarket 31 | 32 | -------------------------------------------------------------------------------- /scripts/data/brave.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\brave.lua 2 | 3 | local brave = {} 4 | brave.init = function(l_1_0) 5 | arrayclear(brave) 6 | tbl2string(l_1_0) 7 | brave.isPull = true 8 | brave.status = l_1_0.status 9 | brave.cd = l_1_0.cd + os.time() 10 | brave.enemys = {} 11 | brave.reddot = 0 12 | if l_1_0.nodes then 13 | brave.nodes = l_1_0.nodes 14 | else 15 | brave.nodes = nil 16 | end 17 | if brave.status == 0 then 18 | brave.id = l_1_0.id 19 | brave.stage = l_1_0.stage 20 | brave.enemys[brave.stage] = l_1_0.enemy 21 | if not l_1_0.team then 22 | brave.heros = {} 23 | end 24 | end 25 | end 26 | 27 | brave.initRedDot = function(l_2_0) 28 | brave.reddot = bit.band(1, l_2_0) 29 | end 30 | 31 | brave.showRedDot = function() 32 | if brave.reddot and brave.reddot == 1 then 33 | return true 34 | end 35 | return false 36 | end 37 | 38 | brave.clear = function() 39 | arrayclear(brave) 40 | brave.isPull = false 41 | end 42 | 43 | return brave 44 | 45 | -------------------------------------------------------------------------------- /scripts/data/braveshop.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\braveshop.lua 2 | 3 | local braveshop = {} 4 | local cfgbraveshop = require("config.bravemarket") 5 | braveshop.compareMarket = function(l_1_0, l_1_1) 6 | local rank1, rank2 = cfgbraveshop[l_1_0.id].sort, cfgbraveshop[l_1_1.id].sort 7 | return rank1 < rank2 8 | end 9 | 10 | braveshop.init = function(l_2_0) 11 | braveshop.goods = l_2_0.item 12 | for i = 1, #braveshop.goods do 13 | braveshop.goods[i]._id = i 14 | end 15 | table.sort(braveshop.goods, braveshop.compareMarket) 16 | end 17 | 18 | return braveshop 19 | 20 | -------------------------------------------------------------------------------- /scripts/data/cd.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\cd.lua 2 | 3 | local cd = {} 4 | cd.initCDS = function(l_1_0) 5 | if not l_1_0 or #l_1_0 <= 0 then 6 | return 7 | end 8 | for ii = 1, #l_1_0 do 9 | if l_1_0[ii].id == 1 and l_1_0[ii].cd >= 0 then 10 | require("data.guildmill").setOrdercd(l_1_0[ii].cd) 11 | end 12 | end 13 | end 14 | 15 | return cd 16 | 17 | -------------------------------------------------------------------------------- /scripts/data/gacha.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\gacha.lua 2 | 3 | local gacha = {} 4 | require("common.const") 5 | require("common.func") 6 | gacha.init = function(l_1_0) 7 | local now = os.time() 8 | gacha.item = l_1_0.item + now 9 | gacha.gem = l_1_0.gem + now 10 | end 11 | 12 | gacha.initspacesummon = function(l_2_0) 13 | gacha.spacesummon = l_2_0 14 | end 15 | 16 | gacha.print = function() 17 | print("--------- gacha --------- {") 18 | print("item:", gacha.item, "gem:", gacha.gem, "gachaspaceid:", gacha.spacesummon) 19 | print("--------- gahca --------- }") 20 | end 21 | 22 | gacha.showRedDot = function() 23 | local now = os.time() 24 | if gacha.item == nil or gacha.gem == nil then 25 | return false 26 | end 27 | if gacha.item <= now or gacha.gem <= now then 28 | return true 29 | end 30 | return false 31 | end 32 | 33 | return gacha 34 | 35 | -------------------------------------------------------------------------------- /scripts/data/gboss.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\gboss.lua 2 | 3 | local gboss = {} 4 | local cfgguildboss = require("config.guildboss") 5 | gboss.pull_time = os.time() 6 | local items_per_page = 8 7 | gboss.sync = function(l_1_0) 8 | gboss.pull_time = os.time() 9 | gboss.id = l_1_0.id 10 | gboss.cd = l_1_0.cd 11 | gboss.hpp = l_1_0.hpp 12 | gboss.fights = l_1_0.fights 13 | end 14 | 15 | gboss.addBossExp = function(l_2_0) 16 | require("data.guild").addExp(cfgguildboss[l_2_0].guildExp) 17 | end 18 | 19 | gboss.getPages = function() 20 | return math.floor((#cfgguildboss + items_per_page - 1) / items_per_page) 21 | end 22 | 23 | gboss.getCurPage = function() 24 | local cur_page = math.floor((gboss.id + items_per_page - 1) / items_per_page) 25 | if gboss.getPages() < cur_page then 26 | return gboss.getPages() 27 | end 28 | return cur_page 29 | end 30 | 31 | gboss.addPlainReward = function(l_5_0) 32 | require("data.bag").addRewards(reward2Pbbag(cfgguildboss[l_5_0].reward)) 33 | end 34 | 35 | return gboss 36 | 37 | -------------------------------------------------------------------------------- /scripts/data/guildmarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\guildmarket.lua 2 | 3 | local guildmarket = {} 4 | local cfgguildmarket = require("config.guildstore") 5 | guildmarket.compareMarket = function(l_1_0, l_1_1) 6 | local rank1, rank2 = cfgguildmarket[l_1_0.id].sort, cfgguildmarket[l_1_1.id].sort 7 | return rank1 < rank2 8 | end 9 | 10 | guildmarket.getMaxPage = function() 11 | local maxPage = math.floor((#guildmarket.goods - 1) / 8) + 1 12 | return maxPage 13 | end 14 | 15 | guildmarket.init = function(l_3_0) 16 | guildmarket.goods = l_3_0.item 17 | for i = 1, #guildmarket.goods do 18 | guildmarket.goods[i]._id = i 19 | end 20 | table.sort(guildmarket.goods, guildmarket.compareMarket) 21 | end 22 | 23 | return guildmarket 24 | 25 | -------------------------------------------------------------------------------- /scripts/data/heartbeat.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\heartbeat.lua 2 | 3 | local heart = {} 4 | local NetClient = require("net.netClient") 5 | netClient = NetClient:getInstance() 6 | local scheduler = require("framework.scheduler") 7 | heart.is_running = false 8 | local HEARTBEAT_INTERVAL = 60 9 | heart.run = function(l_1_0) 10 | heart.sid = l_1_0 11 | if heart.is_running then 12 | return 13 | end 14 | heart.is_running = true 15 | heart.schedule() 16 | end 17 | 18 | heart.stop = function() 19 | if heart.schedule_handler then 20 | scheduler.unscheduleGlobal(heart.schedule_handler) 21 | end 22 | heart.schedule_handler = nil 23 | heart.is_running = false 24 | end 25 | 26 | heart.heart = function() 27 | netClient:heart_beat({sid = heart.sid, echo = 12344321}) 28 | print("heart beat ----------- I'm alive.") 29 | end 30 | 31 | heart.schedule = function() 32 | if not heart.schedule_handler then 33 | heart.schedule_handler = scheduler.scheduleGlobal(heart.heart, HEARTBEAT_INTERVAL) 34 | end 35 | end 36 | 37 | return heart 38 | 39 | -------------------------------------------------------------------------------- /scripts/data/herobook.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\herobook.lua 2 | 3 | local herobook = {} 4 | require("common.const") 5 | require("common.func") 6 | local cfghero = require("config.hero") 7 | herobook.init = function(l_1_0) 8 | arrayclear(herobook) 9 | if not l_1_0 then 10 | local heroIds = {} 11 | end 12 | for _,id in ipairs(heroIds) do 13 | herobook[#herobook + 1] = id 14 | end 15 | local headdata = require("data.head") 16 | headdata.init() 17 | end 18 | 19 | herobook.add = function(l_2_0) 20 | if not arraycontains(herobook, l_2_0) then 21 | herobook[#herobook + 1] = l_2_0 22 | if QUALITY_4 <= cfghero[l_2_0].qlt then 23 | local headdata = require("data.head") 24 | headdata.add(l_2_0) 25 | end 26 | end 27 | end 28 | 29 | herobook.print = function() 30 | print("---------------- herobook ---------------- {") 31 | print("[", table.concat(herobook, " "), "]") 32 | print("---------------- herobook ---------------- }") 33 | end 34 | 35 | return herobook 36 | 37 | -------------------------------------------------------------------------------- /scripts/data/heromarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\heromarket.lua 2 | 3 | local heromarket = {} 4 | local cfgheromarket = require("config.heromarket") 5 | cfgguildMarket = function(l_1_0, l_1_1) 6 | local rank1, rank2 = cfgheromarket[l_1_0.id].rank, cfgheromarket[l_1_1.id].rank 7 | if rank1 < rank2 then 8 | return true 9 | elseif rank2 < rank1 then 10 | return false 11 | end 12 | end 13 | 14 | heromarket.getMaxPage = function() 15 | local maxPage = math.floor((#heromarket.goods - 1) / 8) + 1 16 | return maxPage 17 | end 18 | 19 | heromarket.init = function(l_3_0) 20 | heromarket.goods = l_3_0.item 21 | heromarket.pull_time = os.time() 22 | for i = 1, #heromarket.goods do 23 | heromarket.goods[i]._id = i 24 | end 25 | table.sort(heromarket.goods, cfgguildMarket) 26 | end 27 | 28 | heromarket.rm = function(l_4_0) 29 | for i = 1, #heromarket.goods do 30 | if i == l_4_0 then 31 | table.remove(heromarket.goods, l_4_0) 32 | else 33 | end 34 | end 35 | end 36 | 37 | return heromarket 38 | 39 | -------------------------------------------------------------------------------- /scripts/data/luckymarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\luckymarket.lua 2 | 3 | local luckymarket = {} 4 | luckymarket.init = function(l_1_0, l_1_1) 5 | luckymarket.goods = l_1_0.goods 6 | if l_1_1 then 7 | luckymarket.refresh = l_1_0.cd + os.time() 8 | end 9 | end 10 | 11 | return luckymarket 12 | 13 | -------------------------------------------------------------------------------- /scripts/data/midas.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\midas.lua 2 | 3 | local midas = {} 4 | require("common.const") 5 | require("common.func") 6 | midas.init = function(l_1_0, l_1_1) 7 | local now = os.time() 8 | midas.cd = l_1_0 + now 9 | midas.flag = l_1_1 10 | midas.kind = {} 11 | for i = 1, 3 do 12 | midas.kind[i] = bit.band(1, midas.flag) 13 | midas.flag = bit.brshift(midas.flag, 1) 14 | end 15 | midas.flag = l_1_1 16 | end 17 | 18 | midas.showRedDot = function() 19 | midas._cd = math.max(0, midas.cd - os.time()) 20 | if midas._cd <= 0 then 21 | return true 22 | else 23 | return false 24 | end 25 | end 26 | 27 | midas.print = function() 28 | print("--------- midas --------- {") 29 | print("cd:", midas.cd, midas.flag) 30 | print("--------- midas --------- }") 31 | end 32 | 33 | return midas 34 | 35 | -------------------------------------------------------------------------------- /scripts/data/monthlogin.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\monthlogin.lua 2 | 3 | local monthlogin = {} 4 | monthlogin.init = function(l_1_0) 5 | monthlogin.flag = l_1_0.flag 6 | monthlogin.cd = l_1_0.cd + os.time() 7 | monthlogin.idx = l_1_0.idx or 1 8 | monthlogin.daily = {} 9 | monthlogin.recvdays = 0 10 | local flagLen = #monthlogin.flag - 1 11 | local j = flagLen 12 | for i = 1, 30 do 13 | if j < 0 then 14 | monthlogin.daily[i] = 0 15 | else 16 | monthlogin.daily[i] = 2 * checkint(string.sub(monthlogin.flag, j, j)) + checkint(string.sub(monthlogin.flag, j + 1, j + 1)) 17 | if monthlogin.daily[i] == 3 then 18 | monthlogin.recvdays = monthlogin.recvdays + 1 19 | end 20 | j = j - 2 21 | end 22 | end 23 | end 24 | 25 | monthlogin.isEnd = function() 26 | if monthlogin.recvdays == 30 then 27 | return true 28 | end 29 | return false 30 | end 31 | 32 | monthlogin.showRedDot = function() 33 | for i = 1, 30 do 34 | if monthlogin.daily and monthlogin.daily[i] == 1 then 35 | return true 36 | end 37 | end 38 | return false 39 | end 40 | 41 | monthlogin.print = function() 42 | print("--------- monthlogin --------- {") 43 | print("flag:", monthlogin.flag, "cd:", monthlogin.cd, " idx:", monthlogin.idx) 44 | print("--------- monthlogin --------- }") 45 | end 46 | 47 | return monthlogin 48 | 49 | -------------------------------------------------------------------------------- /scripts/data/monthlymarket.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\monthlymarket.lua 2 | 3 | local monthlyshop = {} 4 | local cfgmmarket = require("config.monthlymarket") 5 | monthlyshop.compareMarket = function(l_1_0, l_1_1) 6 | local rank1, rank2 = cfgmmarket[l_1_0.id].rank, cfgmmarket[l_1_1.id].rank 7 | return rank1 < rank2 8 | end 9 | 10 | monthlyshop.init = function(l_2_0) 11 | monthlyshop.mpiece = l_2_0.mpiece 12 | monthlyshop.mequip = l_2_0.mequip 13 | monthlyshop.mskin = l_2_0.mskin 14 | for i = 1, #monthlyshop.mpiece do 15 | monthlyshop.mpiece[i]._id = i 16 | end 17 | for i = 1, #monthlyshop.mequip do 18 | monthlyshop.mequip[i]._id = i 19 | end 20 | for i = 1, #monthlyshop.mskin do 21 | monthlyshop.mskin[i]._id = i 22 | end 23 | monthlyshop.goods = monthlyshop.mpiece 24 | table.sort(monthlyshop.mpiece, monthlyshop.compareMarket) 25 | table.sort(monthlyshop.mequip, monthlyshop.compareMarket) 26 | table.sort(monthlyshop.mskin, monthlyshop.compareMarket) 27 | end 28 | 29 | return monthlyshop 30 | 31 | -------------------------------------------------------------------------------- /scripts/data/online.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\online.lua 2 | 3 | local online = {} 4 | local cfgonline = require("config.online") 5 | online.pull_time = os.time() 6 | online.sync = function(l_1_0) 7 | online.pull_time = os.time() 8 | online.id = l_1_0.id or 0 9 | online.cd = l_1_0.cd or 0 10 | end 11 | 12 | online.getRewardById = function(l_2_0) 13 | if not l_2_0 then 14 | l_2_0 = online.id 15 | end 16 | return cfgonline[l_2_0].reward 17 | end 18 | 19 | return online 20 | 21 | -------------------------------------------------------------------------------- /scripts/data/pubs.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\pubs.lua 2 | 3 | local pubs = {} 4 | local cjson = json 5 | local i18n = require("res.i18n") 6 | local userdata = require("data.userdata") 7 | local DELIMITER = "|||||" 8 | pubs.init = function() 9 | local s = userdata.getString(userdata.keys.notice) 10 | local ss = string.split(s, DELIMITER) 11 | if #ss == 3 then 12 | local l = tonumber(ss[1], 10) 13 | local v = tonumber(ss[2], 10) 14 | local p = ss[3] 15 | local c = i18n.getCurrentLanguage() 16 | if l and v and p ~= "" and l == c then 17 | pubs.language = l 18 | pubs.vsn = v 19 | pubs.pub = p 20 | return true 21 | end 22 | end 23 | return false 24 | end 25 | 26 | pubs.getPub = function() 27 | if pubs.pub or pubs.init() then 28 | local tpub = cjson.decode(pubs.pub) 29 | if tpub and tpub.pub then 30 | return tpub.pub 31 | end 32 | end 33 | return {} 34 | end 35 | 36 | pubs.save = function(l_3_0, l_3_1, l_3_2) 37 | pubs.language = l_3_0 38 | pubs.vsn = l_3_1 39 | pubs.pub = l_3_2 40 | local s = table.concat({l_3_0, l_3_1, l_3_2}, DELIMITER) 41 | userdata.setString(userdata.keys.notice, s) 42 | end 43 | 44 | pubs.print = function() 45 | print("----- pubs ----- {") 46 | print("language", pubs.language) 47 | print("vsn", pubs.vsn) 48 | print("pub", pubs.pub) 49 | print("----- pubs ----- }") 50 | end 51 | 52 | return pubs 53 | 54 | -------------------------------------------------------------------------------- /scripts/data/push.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\push.lua 2 | 3 | local m = {} 4 | local inited = false 5 | m.init = function() 6 | if inited then 7 | return 8 | end 9 | inited = true 10 | if HHUtils.initFirebase then 11 | HHUtils:initFirebase() 12 | end 13 | end 14 | 15 | m.getToken = function() 16 | local token = "" 17 | if not inited then 18 | return token 19 | end 20 | if HHUtils.getDeviceToken then 21 | return HHUtils:getDeviceToken() 22 | end 23 | return token 24 | end 25 | 26 | m.subscribeFCMTopic = function(l_3_0) 27 | if not inited then 28 | return 29 | end 30 | if HHUtils.subscribeFCMTopic then 31 | HHUtils:subscribeFCMTopic(l_3_0) 32 | end 33 | end 34 | 35 | m.unsubscribeFCMTopic = function(l_4_0) 36 | if not inited then 37 | return 38 | end 39 | if HHUtils.unsubscribeFCMTopic then 40 | HHUtils:unsubscribeFCMTopic(l_4_0) 41 | end 42 | end 43 | 44 | return m 45 | 46 | -------------------------------------------------------------------------------- /scripts/data/rateus.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\rateus.lua 2 | 3 | local rateus = {} 4 | rateus.init = function(l_1_0) 5 | rateus.status = l_1_0 6 | end 7 | 8 | rateus.isAvailable = function() 9 | if isOnestore() then 10 | do return end 11 | end 12 | if APP_CHANNEL and APP_CHANNEL ~= "" then 13 | return false 14 | end 15 | return rateus.status == 1 and require("data.player").lv() >= 30 16 | end 17 | 18 | rateus.close = function() 19 | rateus.status = nil 20 | end 21 | 22 | rateus.print = function() 23 | print("--------- rate us -------- {") 24 | print("status:", rateus.status) 25 | print("--------- rate us -------- }") 26 | end 27 | 28 | return rateus 29 | 30 | -------------------------------------------------------------------------------- /scripts/data/skinbook.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\skinbook.lua 2 | 3 | local skinbook = {} 4 | skinbook.data = {} 5 | skinbook.init = function(l_1_0) 6 | if not l_1_0 then 7 | skinbook.data = {} 8 | end 9 | end 10 | 11 | skinbook.contain = function(l_2_0) 12 | for k,v in ipairs(skinbook.data) do 13 | if v == l_2_0 then 14 | return true 15 | end 16 | end 17 | return false 18 | end 19 | 20 | skinbook.print = function() 21 | print("---------------- skinbook ---------------- {") 22 | print("[", table.concat(skinbook.data, " "), "]") 23 | print("---------------- skinbook ---------------- }") 24 | end 25 | 26 | return skinbook 27 | 28 | -------------------------------------------------------------------------------- /scripts/data/trial.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\trial.lua 2 | 3 | local trial = {} 4 | trial.init = function(l_1_0) 5 | trial.stage = l_1_0.id 6 | trial.tl = l_1_0.tl 7 | if l_1_0.cd then 8 | trial.cd = l_1_0.cd + os.time() 9 | else 10 | trial.cd = os.time() + 1800 11 | end 12 | end 13 | 14 | trial.win = function() 15 | trial.stage = trial.stage + 1 16 | end 17 | 18 | trial.lose = function() 19 | trial.tl = trial.tl - 1 20 | if trial.tl == 9 then 21 | trial.cd = os.time() + 1800 22 | end 23 | end 24 | 25 | trial.initVideo = function(l_4_0) 26 | trial.videos = l_4_0 27 | trial.video_stage = trial.stage 28 | end 29 | 30 | return trial 31 | 32 | -------------------------------------------------------------------------------- /scripts/data/videoad.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\data\videoad.lua 2 | 3 | local videoad = {} 4 | videoad.init = function(l_1_0) 5 | videoad.num = l_1_0 6 | end 7 | 8 | videoad.isAvailable = function() 9 | if isOnestore() then 10 | return false 11 | end 12 | return videoad.num and ((videoad.num > 0 and HHUtils:isVideoAdReady())) 13 | end 14 | 15 | videoad.watch = function() 16 | if videoad.num > 0 then 17 | videoad.num = videoad.num - 1 18 | end 19 | print("videoad num:", videoad.num) 20 | end 21 | 22 | videoad.print = function() 23 | print("--------- video ad -------- {") 24 | print("num:", videoad.num) 25 | print("--------- video ad -------- }") 26 | end 27 | 28 | return videoad 29 | 30 | -------------------------------------------------------------------------------- /scripts/dhcomponents/DroidhangComponents.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\DroidhangComponents.lua 2 | 3 | local nativeUpdateComponent = require("dhcomponents.NativeUpdateComponent") 4 | require("dhcomponents.ClassEx") 5 | local DroidhangComponents = {} 6 | DroidhangComponents.onSceneInit = function(l_1_0, l_1_1) 7 | if not nativeUpdateComponent:isModify() then 8 | return 9 | end 10 | local listenerLayerLayer = require("dhcomponents.layers.ListenerLayer") 11 | local layer = listenerLayerLayer.new() 12 | l_1_1:addChild(layer, 10086) 13 | end 14 | 15 | DroidhangComponents.mandateNode = function(l_2_0, l_2_1, l_2_2, l_2_3) 16 | local editorComponent = require("dhcomponents.EditorComponent") 17 | editorComponent:mandateNode(l_2_1, l_2_2, l_2_3) 18 | end 19 | 20 | return DroidhangComponents 21 | 22 | -------------------------------------------------------------------------------- /scripts/dhcomponents/NeverUpdateData.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\NeverUpdateData.lua 2 | 3 | local NeverUpdateData = {} 4 | return NeverUpdateData 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/3cc2b3b69e1f68a096002c76ff84156e.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\3cc2b3b69e1f68a096002c76ff84156e.lua 2 | 3 | local NodeProperty = {} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/5ff7372faca03be6a8dcb6b261798a9d.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\5ff7372faca03be6a8dcb6b261798a9d.lua 2 | 3 | local NodeProperty = {} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/FileList.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\FileList.lua 2 | 3 | local FileList = {392b7b4b570a442d8b653ba4932d9e51 = "youbin\231\154\132MacBook Pro", edd5396fa9790cc3987ed06e6da40eb5 = "chockly\231\154\132MacBook Pro", d58c01abd4cd3a43b3138745deeff077 = "apple\231\154\132iMac", a9f575c5fae142c7bbd51d51b689c1e1 = "MacBook Pro", 5ff7372faca03be6a8dcb6b261798a9d = "hkmbp", 3cc2b3b69e1f68a096002c76ff84156e = "twolight\231\154\132MacBook Air", e740dd734974c17869a05f9bb3ba5930 = "twolight", efbab323002f6157defbc3f341d9ed6c = "chockly\226\128\152s", ed5a64afad0de47e6b570cf102e8a2bf = "chenxi", c6136a25f3fb5eea39f84adc5b4b9229 = "Vam\231\154\132MacBook Pro"} 4 | return FileList 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/c6136a25f3fb5eea39f84adc5b4b9229.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\c6136a25f3fb5eea39f84adc5b4b9229.lua 2 | 3 | local NodeProperty = {OSwy_XQuibl = {pos = {x = 100, y = 185}}, OSwy_XQuibr = {pos = {x = 267, y = 185}}, XawZ_yEzDMB = {pos = {x = 438, y = 59}}, BeSu_30AjBm = {pos = {x = 135, y = 96}}} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/d58c01abd4cd3a43b3138745deeff077.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\d58c01abd4cd3a43b3138745deeff077.lua 2 | 3 | local NodeProperty = {dSOl_JuOyeh = {pos = {x = 81.832, y = 60}}, haqb_5Dk7tV = {pos = {x = 41.269, y = 335.461}, anchor = {x = 0.5, y = 0.5}}, haqb_arjp1c = {pos = {x = 916.519, y = 335.891}}, cqy1_thXm7Y = {pos = {x = 180, y = 143}}, DAui_aiLhPV = {pos = {x = 1.982, y = -232.085}}, px_peimainui_goldBg = {pos = {x = -202.863, y = -3}}, px_peimainui_stoneBg = {pos = {x = 195.41, y = -2.391}}, px_peimainui_soulBg = {pos = {x = 0, y = -2.125}}, px_petmainui_helpBtn = {pos = {x = 450.141, y = -1.508}}, lpx_petInfo_title = {pos = {x = 244, y = 440.688}}, lpx_petInfo_titleShadow = {pos = {x = 244.77, y = 438.273}}, lpx_petInfo_lvLabel = {pos = {x = 110, y = 388.734}}, lpx_petInfo_nowLvLabel = {pos = {x = 215.75, y = 388.274}}, lpx_petInfo_nextLvLabel = {pos = {x = 361.071, y = 387.519}}, lpx_petInfo_arrowPic = {pos = {x = 292.211, y = 387.941}}, lpx_petInfo_bottomBox = {pos = {x = 245, y = 281.551}}, lpx_petInfo_unlockLabel = {pos = {x = 245, y = 333.34}}, lpx_petInfo_unlockAura = {pos = {x = 245, y = 269.168}}, lpx_petInfo_goldBg = {pos = {x = 150.832, y = 153.578}}, lpx_petInfo_soulBg = {pos = {x = 339.801, y = 154.688}}, lpx_petInfo_goldIcon = {pos = {x = 10.75, y = 15.859}}, lpx_petInfo_soulIcon = {pos = {x = 13.164, y = 15.762}}, lpx_petInfo_goldLabel = {pos = {x = 85.008, y = 16.492}}, lpx_petInfo_soulLabel = {pos = {x = 84.055, y = 15.77}}, lpx_petInfo_advanceBtn = {pos = {x = 244.801, y = 79.905}}} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/e740dd734974c17869a05f9bb3ba5930.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\e740dd734974c17869a05f9bb3ba5930.lua 2 | 3 | local NodeProperty = {} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/ed5a64afad0de47e6b570cf102e8a2bf.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\ed5a64afad0de47e6b570cf102e8a2bf.lua 2 | 3 | local NodeProperty = {} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/edd5396fa9790cc3987ed06e6da40eb5.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\edd5396fa9790cc3987ed06e6da40eb5.lua 2 | 3 | local NodeProperty = {Uqbk_XNpGem = {pos = {x = 285.312, y = 56.164}}, Y1I8_h5nkT4 = {pos = {x = -44, y = 198}}} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/efbab323002f6157defbc3f341d9ed6c.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\efbab323002f6157defbc3f341d9ed6c.lua 2 | 3 | local NodeProperty = {} 4 | return NodeProperty 5 | 6 | -------------------------------------------------------------------------------- /scripts/dhcomponents/data/userdata.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\data\userdata.lua 2 | 3 | local data = {} 4 | data.path = "/Users/chockly/hhnew/quick-cocos2d-x-2.2.6-release/bin/hookheroes2/" 5 | return data 6 | 7 | -------------------------------------------------------------------------------- /scripts/dhcomponents/tools/SchedulerUtil.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\tools\SchedulerUtil.lua 2 | 3 | local SchedulerUtil = {} 4 | local director = cc.Director:sharedDirector() 5 | local scheduler = director:getScheduler() 6 | SchedulerUtil.init = function(l_1_0) 7 | l_1_0.scheduleIdMap = {} 8 | end 9 | 10 | SchedulerUtil.unscheduleAll = function(l_2_0) 11 | for scheduleId,_ in pairs(l_2_0.scheduleIdMap) do 12 | scheduler:unscheduleScriptEntry(scheduleId) 13 | end 14 | l_2_0.scheduleIdMap = {} 15 | end 16 | 17 | SchedulerUtil.unscheduleGlobal = function(l_3_0, l_3_1) 18 | if not l_3_0.scheduleIdMap[l_3_1] then 19 | return 20 | end 21 | scheduler:unscheduleScriptEntry(l_3_1) 22 | end 23 | 24 | SchedulerUtil.scheduleUpdateGlobal = function(l_4_0, l_4_1) 25 | return l_4_0:scheduleGlobal(l_4_1, 0) 26 | end 27 | 28 | SchedulerUtil.scheduleGlobal = function(l_5_0, l_5_1, l_5_2) 29 | local scheduleId = scheduler:scheduleScriptFunc(l_5_1, l_5_2, false) 30 | l_5_0.scheduleIdMap[scheduleId] = true 31 | return scheduleId 32 | end 33 | 34 | SchedulerUtil.performWithDelayGlobal = function(l_6_0, l_6_1, l_6_2) 35 | local timer = 0 36 | local scheduleId = nil 37 | local update = function(l_1_0) 38 | timer = timer + l_1_0 39 | if time <= timer then 40 | scheduler:unscheduleScriptEntry(scheduleId) 41 | listener() 42 | end 43 | end 44 | scheduleId = l_6_0:scheduleUpdateGlobal(update) 45 | return scheduleId 46 | end 47 | 48 | SchedulerUtil:init() 49 | return SchedulerUtil 50 | 51 | -------------------------------------------------------------------------------- /scripts/dhcomponents/tools/UIHelper.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\dhcomponents\tools\UIHelper.lua 2 | 3 | local UIHelper = {} 4 | UIHelper.hasVisibleParents = function(l_1_0) 5 | repeat 6 | if l_1_0 then 7 | if not l_1_0:isVisible() then 8 | return false 9 | end 10 | l_1_0 = l_1_0:getParent() 11 | else 12 | return true 13 | -- Warning: missing end command somewhere! Added here 14 | end 15 | -- Warning: missing end command somewhere! Added here 16 | end 17 | end 18 | 19 | return UIHelper 20 | 21 | -------------------------------------------------------------------------------- /scripts/fight/brave/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\brave\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | layer.addEnhanceGuide({backToSmith = function() 15 | require("fight.brave.loading").backToSmith(video) 16 | end, backToHero = function() 17 | require("fight.brave.loading").backToHero(video) 18 | end, backToSummon = function() 19 | require("fight.brave.loading").backToSummon(video) 20 | end}) 21 | layer.addOkButton(function() 22 | require("fight.brave.loading").backToUI(video) 23 | end) 24 | if l_1_0.hurts and #l_1_0.hurts > 0 then 25 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 26 | end 27 | return layer 28 | end 29 | 30 | return ui 31 | 32 | -------------------------------------------------------------------------------- /scripts/fight/brave/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\brave\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("brave") 12 | fHelper.addMap(layer, l_1_0.map) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.fight_bg[math.random(#audio.fight_bg)]) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({hid = h.hid, pos = h.pos, side = "attacker", hp = h.hp, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", hp = h.hp, wake = h.wake, skin = h.skin}) 29 | end 30 | hHelper.processTreasureEp(attackers) 31 | return video, attackers, defenders 32 | end 33 | layer.onVideoFrame = function(l_2_0) 34 | fHelper.setRoundLabel(layer, l_2_0.tid) 35 | end 36 | layer.startFight() 37 | return layer 38 | end 39 | 40 | return ui 41 | 42 | -------------------------------------------------------------------------------- /scripts/fight/brave/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\brave\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.win").create() 14 | layer.addOkButton(function() 15 | require("fight.brave.loading").backToUI(video) 16 | end) 17 | if l_1_0.hurts and #l_1_0.hurts > 0 then 18 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 19 | end 20 | if l_1_0.rewards and l_1_0.select then 21 | layer:addChild(require("fight.pvp.lucky").create(l_1_0.rewards, l_1_0.select), 10) 22 | end 23 | do 24 | local equips, items = {}, {} 25 | for _,r in ipairs(l_1_0.reward) do 26 | if r.type == 1 then 27 | items[#items + 1] = {id = r.id, num = r.num} 28 | for _,r in (for generator) do 29 | end 30 | equips[#equips + 1] = {id = r.id, num = r.num} 31 | end 32 | layer.addRewardIcons({equips = equips, items = items}) 33 | return layer 34 | end 35 | -- Warning: missing end command somewhere! Added here 36 | end 37 | end 38 | 39 | return ui 40 | 41 | -------------------------------------------------------------------------------- /scripts/fight/broken/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\broken\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgbrokenboss = require("config.brokenboss") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | local cfg = cfgbrokenboss[l_1_0.stage] 16 | layer.addOkButton(function() 17 | require("fight.broken.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | for i,m in ipairs(cfg.monster) do 22 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 23 | end 24 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 25 | require("fight.broken.win").addScoreAndHurtsSum(layer, l_1_0.hurts, cfg) 26 | end 27 | if l_1_0.rewards and l_1_0.select then 28 | layer:addChild(require("fight.pvp.lucky").create(l_1_0.rewards, l_1_0.select), 10) 29 | end 30 | return layer 31 | end 32 | 33 | return ui 34 | 35 | -------------------------------------------------------------------------------- /scripts/fight/dare/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\dare\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgdarestage = require("config.darestage") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | layer.addEnhanceGuide({backToSmith = function() 16 | require("fight.dare.loading").backToSmith(video) 17 | end, backToHero = function() 18 | require("fight.dare.loading").backToHero(video) 19 | end, backToSummon = function() 20 | require("fight.dare.loading").backToSummon(video) 21 | end}) 22 | layer.addOkButton(function() 23 | require("fight.dare.loading").backToUI(video) 24 | end) 25 | if l_1_0.hurts and #l_1_0.hurts > 0 then 26 | local camp = {} 27 | local cfg = cfgdarestage[l_1_0.stage] 28 | for i,m in ipairs(cfg.monster) do 29 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 30 | end 31 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 32 | end 33 | return layer 34 | end 35 | 36 | return ui 37 | 38 | -------------------------------------------------------------------------------- /scripts/fight/frdpk/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\frdpk\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("frdpk") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({hid = h.hid, pos = h.pos, side = "attacker", ep = h.energy, wake = h.wake}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", ep = h.energy, wake = h.wake, skin = h.skin}) 29 | end 30 | hHelper.processTreasureEp(attackers) 31 | return video, attackers, defenders 32 | end 33 | layer.onVideoFrame = function(l_2_0) 34 | fHelper.setRoundLabel(layer, l_2_0.tid) 35 | end 36 | layer.startFight() 37 | return layer 38 | end 39 | 40 | return ui 41 | 42 | -------------------------------------------------------------------------------- /scripts/fight/gboss/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\gboss\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfggboss = require("config.guildboss") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | local cfg = cfggboss[l_1_0.boss] 16 | layer.addOkButton(function() 17 | require("fight.gboss.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | for i,m in ipairs(cfg.monster) do 22 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 23 | end 24 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 25 | layer.addHurtsSum(l_1_0.hurts) 26 | end 27 | do 28 | local equips, items = {}, {} 29 | for _,r in ipairs(cfg.reward) do 30 | if r.type == 1 then 31 | items[#items + 1] = {id = r.id, num = r.num} 32 | for _,r in (for generator) do 33 | end 34 | equips[#equips + 1] = {id = r.id, num = r.num} 35 | end 36 | layer.addRewardIcons({equips = equips, items = items}, true) 37 | return layer 38 | end 39 | -- Warning: missing end command somewhere! Added here 40 | end 41 | end 42 | 43 | return ui 44 | 45 | -------------------------------------------------------------------------------- /scripts/fight/gboss/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\gboss\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfggboss = require("config.guildboss") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | local cfg = cfggboss[l_1_0.boss] 16 | layer.addOkButton(function() 17 | require("fight.gboss.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | for i,m in ipairs(cfg.monster) do 22 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 23 | end 24 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 25 | layer.addHurtsSum(l_1_0.hurts) 26 | end 27 | do 28 | local equips, items = {}, {} 29 | for _,r in ipairs(cfg.reward) do 30 | if r.type == 1 then 31 | items[#items + 1] = {id = r.id, num = r.num} 32 | for _,r in (for generator) do 33 | end 34 | equips[#equips + 1] = {id = r.id, num = r.num} 35 | end 36 | layer.addRewardIcons({equips = equips, items = items}) 37 | return layer 38 | end 39 | -- Warning: missing end command somewhere! Added here 40 | end 41 | end 42 | 43 | return ui 44 | 45 | -------------------------------------------------------------------------------- /scripts/fight/grayboss/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\grayboss\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgguildfire = require("config.guildfire") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | local cfg = cfgguildfire[l_1_0.boss] 16 | layer.addOkButton(function() 17 | require("fight.grayboss.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | for i,m in ipairs(cfg.monster) do 22 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 23 | end 24 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 25 | layer.addHurtsSum(l_1_0.hurts) 26 | end 27 | do 28 | local equips, items = {}, {} 29 | for _,r in ipairs(cfg.reward) do 30 | if r.type == 1 then 31 | items[#items + 1] = {id = r.id, num = r.num} 32 | for _,r in (for generator) do 33 | end 34 | equips[#equips + 1] = {id = r.id, num = r.num} 35 | end 36 | layer.addRewardIcons({equips = equips, items = items}, true) 37 | return layer 38 | end 39 | -- Warning: missing end command somewhere! Added here 40 | end 41 | end 42 | 43 | return ui 44 | 45 | -------------------------------------------------------------------------------- /scripts/fight/grayboss/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\grayboss\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgguildfire = require("config.guildfire") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | local cfg = cfgguildfire[l_1_0.boss] 16 | layer.addOkButton(function() 17 | require("fight.grayboss.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | for i,m in ipairs(cfg.monster) do 22 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 23 | end 24 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 25 | layer.addHurtsSum(l_1_0.hurts) 26 | end 27 | do 28 | local equips, items = {}, {} 29 | for _,r in ipairs(cfg.reward) do 30 | if r.type == 1 then 31 | items[#items + 1] = {id = r.id, num = r.num} 32 | for _,r in (for generator) do 33 | end 34 | equips[#equips + 1] = {id = r.id, num = r.num} 35 | end 36 | layer.addRewardIcons({equips = equips, items = items}) 37 | return layer 38 | end 39 | -- Warning: missing end command somewhere! Added here 40 | end 41 | end 42 | 43 | return ui 44 | 45 | -------------------------------------------------------------------------------- /scripts/fight/gwarrep/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\gwarrep\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.gwarrep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 21 | end 22 | return layer 23 | end 24 | 25 | return ui 26 | 27 | -------------------------------------------------------------------------------- /scripts/fight/gwarrep/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\gwarrep\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("gwarrep") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = h.pos, star = h.star, side = "attacker", ep = h.energy, hp = h.hp, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", ep = h.energy, hp = h.hp, wake = h.wake, skin = h.skin}) 29 | end 30 | return video, attackers, defenders 31 | end 32 | layer.onVideoFrame = function(l_2_0) 33 | fHelper.setRoundLabel(layer, l_2_0.tid) 34 | end 35 | layer.startFight() 36 | return layer 37 | end 38 | 39 | return ui 40 | 41 | -------------------------------------------------------------------------------- /scripts/fight/gwarrep/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\gwarrep\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.win").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.gwarrep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 21 | end 22 | return layer 23 | end 24 | 25 | return ui 26 | 27 | -------------------------------------------------------------------------------- /scripts/fight/pve/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pve\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgstage = require("config.stage") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | layer.addEnhanceGuide({backToSmith = function() 16 | require("fight.pve.loading").backToSmith(video) 17 | end, backToHero = function() 18 | require("fight.pve.loading").backToHero(video) 19 | end, backToSummon = function() 20 | require("fight.pve.loading").backToSummon(video) 21 | end}) 22 | layer.addOkButton(function() 23 | require("fight.pve.loading").backToUI(video) 24 | end) 25 | if l_1_0.hurts and #l_1_0.hurts > 0 then 26 | local camp = {} 27 | local cfg = cfgstage[l_1_0.stage] 28 | for i,m in ipairs(cfg.monster) do 29 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 30 | end 31 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 32 | end 33 | return layer 34 | end 35 | 36 | return ui 37 | 38 | -------------------------------------------------------------------------------- /scripts/fight/pve/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pve\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgstage = require("config.stage") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addRewardIcons(l_1_0.reward) 16 | layer.addOkButton(function() 17 | require("fight.pve.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | local cfg = cfgstage[l_1_0.stage] 22 | for i,m in ipairs(cfg.monster) do 23 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 24 | end 25 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 26 | end 27 | if l_1_0.preLv and l_1_0.curLv and l_1_0.preLv < l_1_0.curLv then 28 | schedule(layer, 2, function() 29 | showLevelUp(video.preLv, video.curLv, function() 30 | require("fight.pve.loading").backToTown(video) 31 | end) 32 | end) 33 | end 34 | return layer 35 | end 36 | 37 | return ui 38 | 39 | -------------------------------------------------------------------------------- /scripts/fight/pvp/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | layer.addVsScores(l_1_0) 15 | layer.addOkButton(function() 16 | require("fight.pvp.loading").backToUI(video) 17 | end) 18 | if l_1_0.hurts and #l_1_0.hurts > 0 then 19 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 20 | end 21 | if l_1_0.rewards and l_1_0.select then 22 | layer:addChild(require("fight.pvp.lucky").create(l_1_0.rewards, l_1_0.select), 10) 23 | end 24 | return layer 25 | end 26 | 27 | return ui 28 | 29 | -------------------------------------------------------------------------------- /scripts/fight/pvp/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("pvp") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({hid = h.hid, pos = h.pos, side = "attacker", ep = h.energy, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", ep = h.energy, wake = h.wake, skin = h.skin}) 29 | end 30 | hHelper.processTreasureEp(attackers) 31 | return video, attackers, defenders 32 | end 33 | layer.onVideoFrame = function(l_2_0) 34 | fHelper.setRoundLabel(layer, l_2_0.tid) 35 | end 36 | layer.startFight() 37 | return layer 38 | end 39 | 40 | return ui 41 | 42 | -------------------------------------------------------------------------------- /scripts/fight/pvp/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local herosdata = require("data.heros") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.pvp.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | print("youwei enter") 21 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 22 | end 23 | print("luck0000") 24 | if l_1_0.rewards and l_1_0.select then 25 | print("luck1111") 26 | layer:addChild(require("fight.pvp.lucky").create(l_1_0.rewards, l_1_0.select), 10) 27 | print("luck2222") 28 | end 29 | return layer 30 | end 31 | 32 | return ui 33 | 34 | -------------------------------------------------------------------------------- /scripts/fight/pvp3/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp3\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | layer.addVsScores(l_1_0) 15 | local ok_str = nil 16 | if l_1_0.wins and #l_1_0.wins <= l_1_0.idx then 17 | ok_str = nil 18 | else 19 | ok_str = i18n.global.arena_video_next.string 20 | end 21 | layer.addOkButton(function() 22 | require("fight.pvp3.loading").backToUI(video, layer) 23 | end, ok_str) 24 | if l_1_0.hurts and #l_1_0.hurts > 0 then 25 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 26 | end 27 | return layer 28 | end 29 | 30 | return ui 31 | 32 | -------------------------------------------------------------------------------- /scripts/fight/pvp3/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp3\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0, l_1_1) 11 | l_1_0[l_1_1].idx = l_1_1 12 | local layer = require("fight.base.video").create("pvp3") 13 | fHelper.addMap(layer, MAP_ID_ARENA) 14 | fHelper.addHelpButton(layer) 15 | fHelper.addSkipButton(layer) 16 | fHelper.addSpeedButton(layer) 17 | fHelper.addRoundLabel(layer) 18 | if l_1_0[l_1_1].atk and l_1_0[l_1_1].atk.pet then 19 | fHelper.addPetEp(layer) 20 | end 21 | layer.playBGM(audio.arena_bg) 22 | layer.getVideoAndUnits = function() 23 | local attackers = {} 24 | for i,h in pairs(videos[idx].atk.camp) do 25 | attackers[i] = hHelper.createHero({hid = h.hid, pos = h.pos, side = "attacker", wake = h.wake, skin = h.skin}) 26 | end 27 | local defenders = {} 28 | for i,h in pairs(videos[idx].def.camp) do 29 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", wake = h.wake, skin = h.skin}) 30 | end 31 | hHelper.processTreasureEp(attackers) 32 | return videos[idx], attackers, defenders 33 | end 34 | layer.onVideoFrame = function(l_2_0) 35 | fHelper.setRoundLabel(layer, l_2_0.tid) 36 | end 37 | layer.startFight() 38 | return layer 39 | end 40 | 41 | return ui 42 | 43 | -------------------------------------------------------------------------------- /scripts/fight/pvp3/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp3\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local herosdata = require("data.heros") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addVsScores(l_1_0) 16 | local ok_str = nil 17 | if l_1_0.wins and #l_1_0.wins <= l_1_0.idx then 18 | ok_str = nil 19 | else 20 | ok_str = i18n.global.arena_video_next.string 21 | end 22 | layer.addOkButton(function() 23 | require("fight.pvp3.loading").backToUI(video, layer) 24 | end, ok_str) 25 | if l_1_0.hurts and #l_1_0.hurts > 0 then 26 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 27 | end 28 | return layer 29 | end 30 | 31 | return ui 32 | 33 | -------------------------------------------------------------------------------- /scripts/fight/pvp3rep/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp3rep\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.pvp3rep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 21 | end 22 | return layer 23 | end 24 | 25 | return ui 26 | 27 | -------------------------------------------------------------------------------- /scripts/fight/pvp3rep/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp3rep\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("pvp3rep") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = h.pos, star = h.star, side = "attacker", ep = h.energy, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", ep = h.energy, wake = h.wake, skin = h.skin}) 29 | end 30 | return video, attackers, defenders 31 | end 32 | layer.onVideoFrame = function(l_2_0) 33 | fHelper.setRoundLabel(layer, l_2_0.tid) 34 | end 35 | layer.startFight() 36 | return layer 37 | end 38 | 39 | return ui 40 | 41 | -------------------------------------------------------------------------------- /scripts/fight/pvp3rep/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvp3rep\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.win").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.pvp3rep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 21 | end 22 | return layer 23 | end 24 | 25 | return ui 26 | 27 | -------------------------------------------------------------------------------- /scripts/fight/pvpf3/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpf3\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | local ok_str = nil 17 | if l_1_0.wins and #l_1_0.wins <= l_1_0.idx then 18 | ok_str = nil 19 | else 20 | ok_str = i18n.global.arena_video_next.string 21 | end 22 | layer.addOkButton(function() 23 | require("fight.pvpf3.loading").backToUI(video, layer) 24 | end, ok_str) 25 | if l_1_0.hurts and #l_1_0.hurts > 0 then 26 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 27 | end 28 | return layer 29 | end 30 | 31 | return ui 32 | 33 | -------------------------------------------------------------------------------- /scripts/fight/pvpf3/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpf3\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0, l_1_1) 11 | l_1_0[l_1_1].idx = l_1_1 12 | local layer = require("fight.base.video").create("pvpf3") 13 | fHelper.addMap(layer, MAP_ID_ARENA) 14 | fHelper.addHelpButton(layer) 15 | fHelper.addSkipButton(layer) 16 | fHelper.addSpeedButton(layer) 17 | fHelper.addRoundLabel(layer) 18 | if l_1_0[l_1_1].atk and l_1_0[l_1_1].atk.pet then 19 | fHelper.addPetEp(layer) 20 | end 21 | layer.playBGM(audio.arena_bg) 22 | layer.getVideoAndUnits = function() 23 | local attackers = {} 24 | for i,h in pairs(videos[idx].atk.camp) do 25 | attackers[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = h.pos, star = h.star, side = "attacker", wake = h.wake, skin = h.skin}) 26 | end 27 | local defenders = {} 28 | for i,h in pairs(videos[idx].def.camp) do 29 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", wake = h.wake, skin = h.skin}) 30 | end 31 | hHelper.processTreasureEp(attackers) 32 | return videos[idx], attackers, defenders 33 | end 34 | layer.onVideoFrame = function(l_2_0) 35 | fHelper.setRoundLabel(layer, l_2_0.tid) 36 | end 37 | layer.startFight() 38 | return layer 39 | end 40 | 41 | return ui 42 | 43 | -------------------------------------------------------------------------------- /scripts/fight/pvpf3/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpf3\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local herosdata = require("data.heros") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | l_1_0.noscore = true 16 | layer.addVsScores(l_1_0) 17 | local ok_str = nil 18 | if l_1_0.wins and #l_1_0.wins <= l_1_0.idx then 19 | ok_str = nil 20 | else 21 | ok_str = i18n.global.arena_video_next.string 22 | end 23 | layer.addOkButton(function() 24 | require("fight.pvpf3.loading").backToUI(video, layer) 25 | end, ok_str) 26 | if l_1_0.hurts and #l_1_0.hurts > 0 then 27 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 28 | end 29 | return layer 30 | end 31 | 32 | return ui 33 | 34 | -------------------------------------------------------------------------------- /scripts/fight/pvpf3rep/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpf3rep\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.pvpf3rep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 21 | end 22 | return layer 23 | end 24 | 25 | return ui 26 | 27 | -------------------------------------------------------------------------------- /scripts/fight/pvpf3rep/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpf3rep\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("pvpf3rep") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = h.pos, star = h.star, side = "attacker", ep = h.energy, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", ep = h.energy, wake = h.wake, skin = h.skin}) 29 | end 30 | return video, attackers, defenders 31 | end 32 | layer.onVideoFrame = function(l_2_0) 33 | fHelper.setRoundLabel(layer, l_2_0.tid) 34 | end 35 | layer.startFight() 36 | return layer 37 | end 38 | 39 | return ui 40 | 41 | -------------------------------------------------------------------------------- /scripts/fight/pvpf3rep/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpf3rep\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.win").create() 14 | l_1_0.noscore = true 15 | layer.addVsScores(l_1_0) 16 | layer.addOkButton(function() 17 | require("fight.pvpf3rep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 21 | end 22 | return layer 23 | end 24 | 25 | return ui 26 | 27 | -------------------------------------------------------------------------------- /scripts/fight/pvpgmill/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpgmill\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | layer.addEnhanceGuide({backToSmith = function() 15 | require("fight.pvpgmill.loading").backToSmith(video) 16 | end, backToHero = function() 17 | require("fight.pvpgmill.loading").backToHero(video) 18 | end, backToSummon = function() 19 | require("fight.pvpgmill.loading").backToSummon(video) 20 | end}) 21 | layer.addOkButton(function() 22 | require("fight.pvpgmill.loading").backToUI(video) 23 | end) 24 | return layer 25 | end 26 | 27 | return ui 28 | 29 | -------------------------------------------------------------------------------- /scripts/fight/pvpgmill/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpgmill\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("pvpgmill") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({hid = h.hid, pos = h.pos, side = "attacker", wake = h.wake}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", wake = h.wake, skin = h.skin}) 29 | end 30 | hHelper.processTreasureEp(attackers) 31 | return video, attackers, defenders 32 | end 33 | layer.onVideoFrame = function(l_2_0) 34 | fHelper.setRoundLabel(layer, l_2_0.tid) 35 | end 36 | layer.startFight() 37 | return layer 38 | end 39 | 40 | return ui 41 | 42 | -------------------------------------------------------------------------------- /scripts/fight/pvpgmill/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvpgmill\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local herosdata = require("data.heros") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addOkButton(function() 16 | require("fight.pvpgmill.loading").backToUI(video) 17 | end) 18 | if l_1_0.rewards and #l_1_0.rewards > 0 then 19 | layer.addRewardIcons(l_1_0.rewards[1]) 20 | end 21 | return layer 22 | end 23 | 24 | return ui 25 | 26 | -------------------------------------------------------------------------------- /scripts/fight/pvprep/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvprep\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | layer.addVsScores(l_1_0) 15 | layer.addOkButton(function() 16 | require("fight.pvprep.loading").backToUI(video) 17 | end) 18 | if l_1_0.hurts and #l_1_0.hurts > 0 then 19 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 20 | end 21 | return layer 22 | end 23 | 24 | return ui 25 | 26 | -------------------------------------------------------------------------------- /scripts/fight/pvprep/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvprep\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("pvprep") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = h.pos, star = h.star, side = "attacker", ep = h.energy, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", ep = h.energy, wake = h.wake, skin = h.skin}) 29 | end 30 | return video, attackers, defenders 31 | end 32 | layer.onVideoFrame = function(l_2_0) 33 | fHelper.setRoundLabel(layer, l_2_0.tid) 34 | end 35 | layer.startFight() 36 | return layer 37 | end 38 | 39 | return ui 40 | 41 | -------------------------------------------------------------------------------- /scripts/fight/pvprep/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\pvprep\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.win").create() 14 | layer.addVsScores(l_1_0) 15 | layer.addOkButton(function() 16 | require("fight.pvprep.loading").backToUI(video) 17 | end) 18 | if l_1_0.hurts and #l_1_0.hurts > 0 then 19 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 20 | end 21 | return layer 22 | end 23 | 24 | return ui 25 | 26 | -------------------------------------------------------------------------------- /scripts/fight/sealland/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\sealland\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgsealland = require("config.sealland") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addRewardIcons(l_1_0.reward) 16 | local cfg = cfgsealland[l_1_0.stage] 17 | layer.addOkButton(function() 18 | require("fight.sealland.loading").backToUI(video) 19 | end) 20 | if l_1_0.hurts and #l_1_0.hurts > 0 then 21 | local camp = {} 22 | for i,m in ipairs(cfg.monster) do 23 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 24 | end 25 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 26 | end 27 | return layer 28 | end 29 | 30 | ui.addScoreAndHurtsSum = function(l_2_0, l_2_1, l_2_2) 31 | local value = 0 32 | for _,h in ipairs(l_2_1) do 33 | if h.pos <= 6 then 34 | value = value + h.value 35 | end 36 | end 37 | end 38 | 39 | return ui 40 | 41 | -------------------------------------------------------------------------------- /scripts/fight/solo/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\solo\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | ui.create = function(l_1_0) 13 | local layer = require("fight.base.lose").create() 14 | l_1_0.noscore = true 15 | require("fight.solo.win").addVsInfo(layer, l_1_0) 16 | layer.addOkButton(function() 17 | if video.auto then 18 | require("fight.solo.win").backToUI(layer, video) 19 | else 20 | require("fight.solo.loading").backToUI(video) 21 | end 22 | end) 23 | if l_1_0.hurts and #l_1_0.hurts > 0 then 24 | layer.addHurtsButton(l_1_0.atk.camp, l_1_0.def.camp, l_1_0.hurts, l_1_0) 25 | end 26 | return layer 27 | end 28 | 29 | return ui 30 | 31 | -------------------------------------------------------------------------------- /scripts/fight/solo/video.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\solo\video.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local audio = require("res.audio") 8 | local hHelper = require("fight.helper.hero") 9 | local fHelper = require("fight.helper.fx") 10 | ui.create = function(l_1_0) 11 | local layer = require("fight.base.video").create("solo") 12 | fHelper.addMap(layer, MAP_ID_ARENA) 13 | fHelper.addHelpButton(layer) 14 | fHelper.addSkipButton(layer) 15 | fHelper.addSpeedButton(layer) 16 | fHelper.addRoundLabel(layer) 17 | if l_1_0.atk and l_1_0.atk.pet then 18 | fHelper.addPetEp(layer) 19 | end 20 | layer.playBGM(audio.arena_bg) 21 | layer.getVideoAndUnits = function() 22 | local attackers = {} 23 | for i,h in pairs(video.atk.camp) do 24 | attackers[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = h.pos or 1, star = h.star, side = "attacker", ep = h.mp, hp = h.hp, wake = h.wake, skin = h.skin}) 25 | end 26 | local defenders = {} 27 | for i,h in pairs(video.def.camp) do 28 | defenders[i] = hHelper.createHero({id = h.id, lv = h.lv, pos = 6 + h.pos, star = h.star, side = "defender", hp = h.hp, wake = h.wake, skin = h.skin}) 29 | end 30 | hHelper.processTreasureEp(attackers) 31 | return video, attackers, defenders 32 | end 33 | layer.onVideoFrame = function(l_2_0) 34 | fHelper.setRoundLabel(layer, l_2_0.tid) 35 | end 36 | layer.startFight() 37 | return layer 38 | end 39 | 40 | return ui 41 | 42 | -------------------------------------------------------------------------------- /scripts/fight/trial/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\trial\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgwavetrial = require("config.wavetrial") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | layer.addEnhanceGuide({backToSmith = function() 16 | require("fight.trial.loading").backToSmith(video) 17 | end, backToHero = function() 18 | require("fight.trial.loading").backToHero(video) 19 | end, backToSummon = function() 20 | require("fight.trial.loading").backToSummon(video) 21 | end}) 22 | layer.addOkButton(function() 23 | require("fight.trial.loading").backToUI(video) 24 | end) 25 | if l_1_0.hurts and #l_1_0.hurts > 0 then 26 | local camp = {} 27 | local cfg = cfgwavetrial[l_1_0.stage] 28 | for i,m in ipairs(cfg.trial) do 29 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 30 | end 31 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 32 | end 33 | return layer 34 | end 35 | 36 | return ui 37 | 38 | -------------------------------------------------------------------------------- /scripts/fight/trial/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\trial\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgwavetrial = require("config.wavetrial") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addRewardIcons(l_1_0.reward) 16 | layer.addOkButton(function() 17 | require("fight.trial.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | local cfg = cfgwavetrial[l_1_0.stage] 22 | for i,m in ipairs(cfg.trial) do 23 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 24 | end 25 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 26 | end 27 | return layer 28 | end 29 | 30 | return ui 31 | 32 | -------------------------------------------------------------------------------- /scripts/fight/trialrep/lose.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\trialrep\lose.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgwavetrial = require("config.wavetrial") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.lose").create() 15 | layer.addEnhanceGuide({backToSmith = function() 16 | require("fight.trialrep.loading").backToSmith(video) 17 | end, backToHero = function() 18 | require("fight.trialrep.loading").backToHero(video) 19 | end, backToSummon = function() 20 | require("fight.trialrep.loading").backToSummon(video) 21 | end}) 22 | layer.addOkButton(function() 23 | require("fight.trialrep.loading").backToUI(video) 24 | end) 25 | if l_1_0.hurts and #l_1_0.hurts > 0 then 26 | local camp = {} 27 | local cfg = cfgwavetrial[l_1_0.stage] 28 | for i,m in ipairs(cfg.trial) do 29 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 30 | end 31 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 32 | end 33 | return layer 34 | end 35 | 36 | return ui 37 | 38 | -------------------------------------------------------------------------------- /scripts/fight/trialrep/win.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\fight\trialrep\win.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | local lbl = require("res.lbl") 9 | local json = require("res.json") 10 | local i18n = require("res.i18n") 11 | local audio = require("res.audio") 12 | local cfgwavetrial = require("config.wavetrial") 13 | ui.create = function(l_1_0) 14 | local layer = require("fight.base.win").create() 15 | layer.addRewardIcons(l_1_0.reward) 16 | layer.addOkButton(function() 17 | require("fight.trialrep.loading").backToUI(video) 18 | end) 19 | if l_1_0.hurts and #l_1_0.hurts > 0 then 20 | local camp = {} 21 | local cfg = cfgwavetrial[l_1_0.stage] 22 | for i,m in ipairs(cfg.trial) do 23 | camp[#camp + 1] = {kind = "mons", id = m, pos = cfg.stand[i]} 24 | end 25 | layer.addHurtsButton(l_1_0.camp, camp, l_1_0.hurts, l_1_0) 26 | end 27 | return layer 28 | end 29 | 30 | return ui 31 | 32 | -------------------------------------------------------------------------------- /scripts/libprotobuf/descriptor.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\libprotobuf\descriptor.lua 2 | 3 | module("descriptor") 4 | local l_0_0 = {} 5 | l_0_0.TYPE_DOUBLE = 1 6 | l_0_0.TYPE_FLOAT = 2 7 | l_0_0.TYPE_INT64 = 3 8 | l_0_0.TYPE_UINT64 = 4 9 | l_0_0.TYPE_INT32 = 5 10 | l_0_0.TYPE_FIXED64 = 6 11 | l_0_0.TYPE_FIXED32 = 7 12 | l_0_0.TYPE_BOOL = 8 13 | l_0_0.TYPE_STRING = 9 14 | l_0_0.TYPE_GROUP = 10 15 | l_0_0.TYPE_MESSAGE = 11 16 | l_0_0.TYPE_BYTES = 12 17 | l_0_0.TYPE_UINT32 = 13 18 | l_0_0.TYPE_ENUM = 14 19 | l_0_0.TYPE_SFIXED32 = 15 20 | l_0_0.TYPE_SFIXED64 = 16 21 | l_0_0.TYPE_SINT32 = 17 22 | l_0_0.TYPE_SINT64 = 18 23 | l_0_0.MAX_TYPE = 18 24 | l_0_0.CPPTYPE_INT32 = 1 25 | l_0_0.CPPTYPE_INT64 = 2 26 | l_0_0.CPPTYPE_UINT32 = 3 27 | l_0_0.CPPTYPE_UINT64 = 4 28 | l_0_0.CPPTYPE_DOUBLE = 5 29 | l_0_0.CPPTYPE_FLOAT = 6 30 | l_0_0.CPPTYPE_BOOL = 7 31 | l_0_0.CPPTYPE_ENUM = 8 32 | l_0_0.CPPTYPE_STRING = 9 33 | l_0_0.CPPTYPE_MESSAGE = 10 34 | l_0_0.MAX_CPPTYPE = 10 35 | l_0_0.LABEL_OPTIONAL = 1 36 | l_0_0.LABEL_REQUIRED = 2 37 | l_0_0.LABEL_REPEATED = 3 38 | l_0_0.MAX_LABEL = 3 39 | FieldDescriptor = l_0_0 40 | 41 | -------------------------------------------------------------------------------- /scripts/libprotobuf/listener.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\libprotobuf\listener.lua 2 | 3 | local setmetatable = setmetatable 4 | module("listener") 5 | local _null_listener = {Modified = function() 6 | end 7 | } 8 | NullMessageListener = function() 9 | return _null_listener 10 | end 11 | 12 | local _listener_meta = {Modified = function(l_3_0) 13 | if l_3_0.dirty then 14 | return 15 | end 16 | if l_3_0._parent_message then 17 | l_3_0._parent_message:_Modified() 18 | end 19 | end 20 | } 21 | _listener_meta.__index = _listener_meta 22 | Listener = function(l_4_0) 23 | local o = {} 24 | o.__mode = "v" 25 | o._parent_message = l_4_0 26 | o.dirty = false 27 | return setmetatable(o, _listener_meta) 28 | end 29 | 30 | 31 | -------------------------------------------------------------------------------- /scripts/res/particle.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\res\particle.lua 2 | 3 | local particle = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local path = "particles/" 8 | particle.create = function(l_1_0) 9 | local p = CCParticleSystemQuad:create(string.format("%s%s.plist", path, l_1_0)) 10 | return p 11 | end 12 | 13 | return particle 14 | 15 | -------------------------------------------------------------------------------- /scripts/ui/3v3arena/select.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/scripts/ui/3v3arena/select.lua -------------------------------------------------------------------------------- /scripts/ui/activity/ban.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\activity\ban.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | ui.addBan = function(l_1_0, l_1_1, l_1_2) 7 | local ban = CCLayer:create() 8 | l_1_0:addChild(ban, 1000, 101) 9 | ban:setTouchEnabled(true) 10 | ban:registerScriptTouchHandler(function(l_1_0, l_1_1, l_1_2) 11 | if l_1_0 == "began" then 12 | local pscroll = layer:getParent():getParent().scroll 13 | local p0 = pscroll:getParent():convertToNodeSpace(ccp(l_1_1, l_1_2)) 14 | local p1 = (scroll:getParent():convertToNodeSpace(ccp(l_1_1, l_1_2))) 15 | local p2 = nil 16 | if board then 17 | p2 = board:getParent():convertToNodeSpace(ccp(l_1_1, l_1_2)) 18 | end 19 | if pscroll:boundingBox():containsPoint(p0) or scroll:boundingBox():containsPoint(p1) or board and board:boundingBox():containsPoint(p2) then 20 | ban:setTouchSwallowEnabled(false) 21 | else 22 | ban:setTouchSwallowEnabled(true) 23 | end 24 | return true 25 | end 26 | end) 27 | end 28 | 29 | return ui 30 | 31 | -------------------------------------------------------------------------------- /scripts/ui/activity/heroSummon.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/scripts/ui/activity/heroSummon.lua -------------------------------------------------------------------------------- /scripts/ui/bag/main.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\bag\main.lua 2 | 3 | local ui = {} 4 | require("common.func") 5 | local view = require("common.view") 6 | local img = require("res.img") 7 | local lbl = require("res.lbl") 8 | ui.create = function(l_1_0, l_1_1) 9 | local layer = CCLayer:create() 10 | local bg = img.createUISprite(img.ui.bag_bg) 11 | bg:setScale(view.minScale) 12 | bg:setPosition(view.midX, view.midY) 13 | layer:addChild(bg) 14 | local mainui = require("ui.bag.mainui") 15 | layer:addChild(mainui.create(l_1_0, l_1_1), 100) 16 | require("ui.tutorial").show("ui.bag.main", layer) 17 | return layer 18 | end 19 | 20 | return ui 21 | 22 | -------------------------------------------------------------------------------- /scripts/ui/empty.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\empty.lua 2 | 3 | local empty = {} 4 | require("common.func") 5 | require("common.const") 6 | local view = require("common.view") 7 | local player = require("data.player") 8 | local net = require("net.netClient") 9 | local img = require("res.img") 10 | local lbl = require("res.lbl") 11 | local json = require("res.json") 12 | local audio = require("res.audio") 13 | local i18n = require("res.i18n") 14 | empty.create = function(l_1_0) 15 | local spriteBox = CCSprite:create() 16 | spriteBox:setContentSize(CCSize(400, 200)) 17 | local lblsize = l_1_0.size or 18 18 | local lbltext = l_1_0.text or "" 19 | if not l_1_0.color then 20 | local lblcolor = ccc3(115, 59, 5) 21 | end 22 | local lblwidth = l_1_0.width or 400 23 | local dragonScale = l_1_0.scale or 1 24 | local dragonicon = img.createUISprite(img.ui.mail_icon_nomail) 25 | dragonicon:setPosition(200, 120) 26 | dragonicon:setScale(dragonScale) 27 | spriteBox:addChild(dragonicon) 28 | local label = lbl.createMix({font = 1, size = lblsize, text = lbltext, color = lblcolor, width = lblwidth, align = kCCTextAlignmentLeftt}) 29 | label:setPosition(200, 40) 30 | spriteBox:addChild(label) 31 | return spriteBox 32 | end 33 | 34 | return empty 35 | 36 | -------------------------------------------------------------------------------- /scripts/ui/frdarena/enemyinfo.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\frdarena\enemyinfo.lua 2 | 3 | 4 | -------------------------------------------------------------------------------- /scripts/ui/frdarena/helptips.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\frdarena\helptips.lua 2 | 3 | 4 | -------------------------------------------------------------------------------- /scripts/ui/frdarena/selectenemy.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\frdarena\selectenemy.lua 2 | 3 | 4 | -------------------------------------------------------------------------------- /scripts/ui/guildFight/lineCreate.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belyn/dhgametool/2a85fcc05494a023fdd8a186ea52754d586b9b9e/scripts/ui/guildFight/lineCreate.lua -------------------------------------------------------------------------------- /scripts/ui/login/warning.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\login\warning.lua 2 | 3 | local ui = {} 4 | require("common.const") 5 | require("common.func") 6 | local view = require("common.view") 7 | local img = require("res.img") 8 | ui.create = function() 9 | local layer = CCLayer:create() 10 | if not APP_CHANNEL or APP_CHANNEL == "" then 11 | return layer 12 | end 13 | local sdkcfg = require("common.sdkcfg") 14 | if not sdkcfg[APP_CHANNEL] or not sdkcfg[APP_CHANNEL].fpage then 15 | return layer 16 | end 17 | local bg = img.createLogin9Sprite(img.login.login_warning_bg) 18 | bg:setPreferredSize(CCSize(1440, 864)) 19 | bg:setScale(view.minScale) 20 | bg:setPosition(scalep(480, 288)) 21 | layer:addChild(bg) 22 | local pagefile = "images/fpage/" .. sdkcfg[APP_CHANNEL].fpage 23 | local warning = img.createSpriteUnpacked(pagefile) 24 | warning:setScale(view.minScale) 25 | warning:setOpacity(0) 26 | warning:setPosition(CCPoint(view.midX, view.midY)) 27 | layer:addChild(warning, 100) 28 | local arr = CCArray:create() 29 | arr:addObject(CCDelayTime:create(0.5)) 30 | arr:addObject(CCCallFunc:create(function() 31 | warning:runAction(CCFadeIn:create(1)) 32 | end)) 33 | layer:runAction(CCSequence:create(arr)) 34 | local textureCache = CCTextureCache:sharedTextureCache() 35 | local tex = textureCache:textureForKey(pagefile) 36 | if tex then 37 | textureCache:removeTextureForKey(pagefile) 38 | end 39 | return layer 40 | end 41 | 42 | return ui 43 | 44 | -------------------------------------------------------------------------------- /scripts/ui/tips/attrdetail.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\tips\attrdetail.lua 2 | 3 | local tips = {} 4 | require("common.func") 5 | local view = require("common.view") 6 | local img = require("res.img") 7 | local lbl = require("res.lbl") 8 | local json = require("res.json") 9 | local i18n = require("res.i18n") 10 | tips.create = function(l_1_0) 11 | local layer = CCLayer:create() 12 | local width, height = 350, 380 13 | local board = img.createUI9Sprite(img.ui.tips_bg) 14 | board:setPreferredSize(CCSize(width, height)) 15 | board:setPosition(210, 260) 16 | layer:addChild(board) 17 | local NAME = {"atk", "hp", "arm", "spd", "sklP", "hit", "miss", "crit", "critTime", "brk", "free", "decDmg", "trueAtk"} 18 | for i = 1, 13 do 19 | local name, val = buffString(NAME[i], l_1_0[NAME[i]], true) 20 | local showTitle = lbl.createFont1(18, name, ccc3(255, 246, 223)) 21 | showTitle:setAnchorPoint(ccp(0, 0)) 22 | showTitle:setPosition(40, height - i * 25 - 25) 23 | board:addChild(showTitle) 24 | local showVal = lbl.createFont1(18, val, ccc3(255, 246, 223)) 25 | showVal:setAnchorPoint(ccp(1, 0)) 26 | showVal:setPosition(width - 40, height - i * 25 - 25) 27 | board:addChild(showVal) 28 | end 29 | layer:registerScriptTouchHandler(function(l_1_0, l_1_1, l_1_2) 30 | if not board:boundingBox():containsPoint(layer:convertToNodeSpace(ccp(l_1_1, l_1_2))) then 31 | layer:removeFromParentAndCleanup(true) 32 | end 33 | return true 34 | end) 35 | layer:setTouchEnabled(true) 36 | return layer 37 | end 38 | 39 | return tips 40 | 41 | -------------------------------------------------------------------------------- /scripts/ui/toast.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\ui\toast.lua 2 | 3 | local toast = {} 4 | require("common.func") 5 | local view = require("common.view") 6 | local img = require("res.img") 7 | local lbl = require("res.lbl") 8 | toast.create = function(l_1_0) 9 | local layer = CCLayer:create() 10 | local label = lbl.createFontTTF(16, l_1_0, ccc3(255, 251, 217)) 11 | local size = label:boundingBox().size 12 | local bg = img.createLogin9Sprite(img.login.toast_bg) 13 | do 14 | local bgsize = CCSize(op3(size.width > 360, size.width + 120, 480), size.height + 45) 15 | bg:setCascadeOpacityEnabled(true) 16 | bg:setPreferredSize(bgsize) 17 | bg:setPosition(view.midX, view.midY) 18 | bg:setScale(0.1 * view.minScale) 19 | bg:runAction(CCEaseBackOut:create(CCScaleTo:create(0.3, view.minScale))) 20 | layer:addChild(bg) 21 | label:setPosition(bgsize.width / 2, bgsize.height / 2) 22 | bg:addChild(label) 23 | layer:runAction(createSequence({})) 24 | return layer 25 | end 26 | -- Warning: undefined locals caused missing assignments! 27 | end 28 | 29 | return toast 30 | 31 | -------------------------------------------------------------------------------- /scripts/version.lua: -------------------------------------------------------------------------------- 1 | -- Command line was: E:\github\dhgametool\scripts\version.lua 2 | 3 | VERSION_CODE = "1.9.0" 4 | 5 | --------------------------------------------------------------------------------