diff --git a/README.md b/README.md index 56e66c1..501e194 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,27 @@ also build patch from [MikuBH3-Patch](https://github.com/MikuLeaks/MikuBH3-PATCH - Character Tutorial + +## Connecting with the client (Fiddler method) +- Log in with the client to an official server at least once to download game data. +- Install and have [Fiddler Classic](https://www.telerik.com/fiddler) running. +- Copy and paste the following code into the Fiddlerscript tab of Fiddler Classic. Remember to save the fiddler script after you copy and paste it: + +``` +import System; +import System.Windows.Forms; +import Fiddler; +import System.Text.RegularExpressions; +class Handlers +{ + static function OnBeforeRequest(oS: Session) { + if( (oS.host.EndsWith("global1.bh3.com")) || oS.host == "47.74.175.126" || oS.host.EndsWith(".yuanshen.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".starrails.com") || oS.host.EndsWith(".bhsr.com") || oS.host.EndsWith(".kurogame.com") || oS.host.EndsWith(".zenlesszonezero.com") || oS.host.EndsWith(".g3.proletariat.com") || oS.host.EndsWith("west.honkaiimpact3.com") || oS.host.EndsWith("westglobal01.honkaiimpact3.com") || oS.host.EndsWith(".os.honkaiimpact3.com") || oS.host.EndsWith("overseas01-appsflyer-report.honkaiimpact3.com") || oS.host.EndsWith(".mihoyo.com") || (oS.host.EndsWith("global2.bh3.com") && !oS.host.Contains("bundle"))) { + oS.host = "127.0.0.1"; + } + } +} +``` + ## Usage/Examples To run the project use cmd or vscode and run ```python