Skip to content

Latest commit

 

History

History
184 lines (83 loc) · 4.15 KB

README_zh-TW.md

File metadata and controls

184 lines (83 loc) · 4.15 KB
Discord - Server for Lesser Konwn Anime Games

EN|簡中|繁中

PemukulPaku

A private server implementation for a third impact game but made in see sharp

##快速開始

*前提條件

*閱讀文章的能力

在命令列運行如下命令


dotnet dev-certs https --trust

*快速開始

尅隆存儲庫


git clone https://github.com/rafi1212122/PemukulPaku.git

這裡下載最新action.

進入PemukulPaku資料夾,將下載的action解壓到該資料夾下

下載資源檔resources並將其解壓放置在Common\Resources目錄下


├———Common

│└———Resources

│└———ExcelOutputAsset

│└———Proto.cs




*運行服務

1.運行PemukulPaku.exe

在運行前請確保MongoDB服務已經正確啟動

*連接至服務器

選擇你想要的代理工具(mitmproxy/Fiddler reccomended)

使用以下工具之一進行代理配寘::

mitmproxy

Fiddler

若出現為了帳號安全,請重新輸入密碼,可嘗試使用mitmproxy

##使用Fiddler

1.運行Fiddler Classic,開啟解密http通信Tools-options-Https-勾選Decrypt HTTPS traffic並將埠設為任意未佔用埠Tools-options-Https-Connections

2.點擊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(".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("bh3.com")&&! oS.host.Contains("bundle"))){

oS.host ="localhost";

}

}

}

##使用mitmproxy

1.從這裡獲取proxy.py

2.在proxy.py所在目錄運行mitmdump -s proxy.py -k命令

3.設定系統代理為你所設定的埠,默認為127.0.0.1:8080

4.信任CA證書

  • mitmproxy的CA證書通常存放在%USERPROFILE%\ .mitmproxy或者瀏覽器訪問http://mitm.it下載證書,如果你訪問該地址後看到了If you can see this,traffic is not passing through mitmproxy. 說明mitmproxy配寘有誤,請重新配寘

*按兩下安裝證書,或者運行certutil -addstore root %USERPROFILE%\.mitmproxy\mitmproxy-ca-cert.p12命令

瞭解更多GitHub wiki

GM命令

  • 在哪裡輸入命令?\

在控制台或者遊戲內聊天視窗

以下是可用的命令::

  1. level <number>

*設定玩家等級

*例如:

  • level 88
  1. avatar <add|modify> <avatarId> <…>

*將角色添加到使用者帳戶或修改角色資訊

*例如:

  • avatar add 713

  • avatar modify 713 Level 80

*請注意字母L是大寫的

  1. give <avatars|weapons|stigmata|materials|dress>.

*獲取所有角色,、武器、徽章、資料或服裝

*例如:

  • give avatars

瞭解更多development

##支持

加入Discord serveror提交GitHub issue