Skip to content

nonobject14514/DoctoratePy

Repository files navigation

DoctoratePy

Python server implementation of a certain anime tower defense game. This repo is for the CN TapTap Version.

Discord Invite: Link

How To

  1. Install mitmproxy and python3.
  2. Clone the repo.
  3. Open emulator, enable root and open adb connection if necessary. Install the game.
  4. Run setup_requirements.bat and choose corresponding emulator.
  5. Configure your proxy ip address in config\config.json in the host key.
  6. Run start_mitmproxy.bat and start_local_server.bat.

MuMu Player

  1. Open the game. Wait till an error appears.
  2. Run start_frida-server.bat and choose 1.
  3. Run start_frida-hook.bat and choose 1.

LDPlayer9

  1. Run start_frida-server.bat and choose 2.
  2. Run start_frida-hook.bat and choose 2. It should automatically open up the game.

Others (Haven't tested yet. Might or might not work.)

  1. Run start_frida-server.bat and choose 3.
  2. Run start_frida-hook.bat and choose 2. It should automatically open up the game.

Note: There should be a total of 4 cmd windows opened.

Currently tested emulator to be working

  1. LDPlayer9
  2. MuMu Player (Not X or Nebula)

Changing contengency contract season

Change the value of key selectedCrisis in config\config.json to whatever you want. The avaiable seasons are under data\crisis.

Customizing indivual operators level, potentials, skill ranks and others

Customize each operator indivually by adding new info in customUnitInfo key in config\config.json. You can find <operator_key_name> from here. By default, all characters will have max level, max potentials, max mastery.

  • favorPoint - Trust points (25570 is 200% Trust) link to exact point to %
  • mainSkillLvl - Skill Rank (Put mastery at 0 if this is lower than 7)
  • potentialRank - 0-5
  • evolvePhase - 0 - E0, 1 - E1, 2 - E2
  • skills - Mastery level for each skill starting from S1.

Format

"<operator_key_name>": {
    "favorPoint": 25570,
    "mainSkillLvl": 7,
    "potentialRank": 2,
    "level": 50, 
    "evolvePhase": 1,
    "skills": [1, 0]
}

Customizing support unit

Customize the support unit list by changing the unit info in assistUnit key in config\config.json. All characters info can be found here.

  • charId - key of the character
  • skinId - skinId of the character (Skin List can be found here)
  • skillIndex - Skill Index of the support unit (Index starts from 0).

Note: Characters stats and skill masteries are based on the above parameters.

Format

{
    "charId": "char_350_surtr",
    "skinId": "char_350_surtr@it#1",
    "skillIndex": 2
}

TODO

  • Add more info about mods
  • Add a UI for easy editing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published