kuma-dayo / HuTao-GS

Private Server reimplementation of a certain anime game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This code has been moved to another repository https://github.com/Wangsheng-Funeral-Parlor/HuTao-GS/tree/dev

HuTao-GS

Supported version: 0.9.16 - 3.7.0

Let us know if there is a version you would like us to support.
Will probably add.

Old Version GUIDE

0.9.16 to 1.2.0 must use proxycap.
1.0.0 worked with 1.4.0 resources.

HuTao-GS's current features

  • Logging in
  • Automatically gives all characters
  • Combat
  • Spawning monsters
  • Scene Script
  • Challenge

Requirements

Setup

git clone https://github.com/kuma-dayo/HuTao-GS.git
cd HuTao-GS
npm i
npm run start:dev

Resource

Generate resources using HuTao-GD

data
├── game
│   └── x.x.x
│       ├── Scripts
│       │   └── Scene
│       ├── AbilityData.json
│       ├── AvatarData.json
│       ├── DropData.json
│       ├── DungeonData.json
│       ├── GadgetData.json
│       ├── GrowCurveData.json
│       ├── MapAreaData.json
│       ├── MaterialData.json
│       ├── MonsterData.json
│       ├── ReliquaryData.json
│       ├── SceneData.json
│       ├── ShopData.json
│       ├── SkillData.json
│       ├── TalentData.json
│       ├── WeaponData.json
│       ├── WeatherData.json
│       └── WorldData.json
└── proto
    ├── x.x.x
    ├── ForceUpdateInfo.proto
    ├── PacketHead.proto
    ├── QueryCurrRegionHttpRsp.proto
    ├── QueryRegionListHttpRsp.proto
    ├── RegionInfo.proto
    ├── RegionSimpleInfo.proto
    ├── ResVersionConfig.proto
    └── StopServerInfo.proto

Fiddler Script

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.uriContains("http://overseauspider.yuanshen.com:8888/log")){
            oS.bypassGateway = true;
            oS["x-overrideHost"] = '127.0.0.1';
        }
    }
}

TODO

Changed most of the processing in szrc/kcpServer/game/gameData/data to not use async.
We have not removed async in the section that calls this function, so it needs to be removed.

Contact

    Please DM me with any questions about this project.
    Discord: kumadayo#2407

Credit

Wangsheng-Funeral-Parlor for Original Hutao-GS

About

Private Server reimplementation of a certain anime game.

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%Language:Batchfile 0.0%Language:Shell 0.0%