Skip to content
forked from Kei-Luna/hkrpg-go

为hkrpg游戏设计的分布式服务端

License

Notifications You must be signed in to change notification settings

subai66/hkrpg-go

 
 

Repository files navigation

hkrpg-go

Due to force majeure, the project will be permanently private and related resources will be deleted in the future. We will invite contributors to join before the project goes private.

Welcome to our Discord

A friend is making a comeback, keep an eye out hk4e-dmca

Please don't use it in a production environment

Documentation:

Notes:

  • If you want to help with this project, feel free to submit it.

Completed content

  • Backpacks
  • Battle
  • Card draw
  • Formation
  • Mail
  • Friends
  • Scene Props/Monster/NPC Generation - Scenario
  • Plot
  • The Court of Forgetfulness and other spin-offs
  • Simulated Universe
  • Differential Universe
  • Regular Time Transmission (Partial

Connecting with the client (Fiddler)

  1. Install and run Fiddler Classic.
  2. Set Fiddler to decrypt https traffic (Tools -> Options -> HTTPS -> Decrypt HTTPS Traffic), make sure Ignore server certificate errors is checked.
  3. Copy and paste the following code into the Fiddlerscript tab of Fiddler Classic:
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
class Handlers
{
    static function OnBeforeRequest(oS: Session) {
        if(
            oS.host.EndsWith(".yuanshen.com") 
            //oS.host.EndsWith(".hoyoverse.com") 
            oS.host.EndsWith(".mihoyo.com") 
            //oS.host.EndsWith(".zenlesszonezero.com") 
            oS.host.EndsWith(".honkaiimpact3.com") 
            //oS.host.EndsWith(".bhsr.com") 
            oS.host.EndsWith(".starrails.com") 
            //oS.host.EndsWith("aki-config-cf.aki-game.net") 
            oS.host.EndsWith("aki-config-aws.aki-game.net") 
            //oS.host.EndsWith("aki-config-qcloud.aki-game.net") 
            oS.host.EndsWith("aki-config-akamai.aki-game.net") 
            //oS.host.EndsWith("aki-config-huoshan.aki-game.net") 
            oS.host.EndsWith("gar-service.aki-game.net") ||
            oS.uriContains("http://overseauspider.yuanshen.com:8888/log")
        ) {
            oS.oRequest.headers.UriScheme = "http";
            oS.host = "127.0.0.1:8080";
        }
    }
};
  1. Log in using your account name, the password can be set to any value.

About

为hkrpg游戏设计的分布式服务端

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.9%
  • Other 1.1%