Code Monkey home page Code Monkey logo

hutao-gs's Introduction

HuTao-GS

pc-fork

EN | 简中

For support please join our Discord.

HuTao-GS's current features

  • Logging in
  • Automatically gives all characters
  • Combat
  • Spawning monsters

Requirements

Setup

  • Download repository
  • Install dependencies by running npm i

Building (Choose one)

Build development

Run npm run build-dev

Build release(webpack)

Run npm run build-rel

Build release(executable)

Run npm run build

Resources

Please complete the steps in Building before you continue.

Generate Data

  • Download HuTao-GD
  • Run npm run build
  • Put resources in ./InputData/{version}/
 Hutao-GD
├─InputData
│ └─X.X.X
│──├─BinOutput
│──├─ExcelBinOutput
│──└─Scripts
  • Execute RunConvert.bat
  • Copy ./OutputData/{version}/* -> (HuTaoGS)/data/game/{version}/

Setup Protos

 Hutao-GS
├─data
│ └─Proto
│──├─X.X.X
│──├─ForceUpdateInfo.proto
│──├─PacketHead.proto
│──├─QueryCurrRegionHttpRsp.proto
│──├─QueryRegionListHttpRsp.proto
│──├─RegionInfo.proto
│──├─RegionSimpleInfo.proto
│──├─ResVersionConfig.proto
│──└─StopServerInfo.proto

Running

Please complete the steps in Resources before you continue.

  • You need patch Metadata (Only for 3.0.0 and lower versions) You can patch it with in-console command

Starting the server (Choose one)

Starting development server

Start server by running START-DEV.bat

Starting release server(webpack)

Start server by running START-REL.bat

Starting release server(executable)

Start server by running HuTao-GS.exe (Located at ./dist directory)

Stopping

  • Type stop in the server console then press enter to stop the server

If you did not use the stop command to stop the server, any unsaved data will be lost.

Connecting

Method 1: Fiddler

  • Download Fiddler Classic
  • Open Fiddler and go tools -> options -> https and Open Capture Https Connect then also open decrypt https traffic and Ignore server certificate errors then click Save Script
  • Then click ok
  • Go to Fiddler Script then paste the script below into Fiddler Script

Fiddler Script

Method 2: DNS (Recommended)

  • Press Win+R
  • Type ncpa.cpl
  • Press enter
  • Right click on your network adapter
  • Select Properties
  • Inside This connection uses the following items select (TCP/IPv4) or (TCP/IPv6) depending on what you are using
  • Click Properties
  • Select Use the following dns server addresses
  • Type the ip address in hostIp of config.json or 127.0.0.1 if hosting locally
  • Press OK
  • (Optional but recommended) Run ipconfig /flushdns
  • Have Fun!

Remember to switch back to Obtain dns server address automatically after you are done playing.

Install SSL Certificate

  • Start the server
  • Wait until certificates are generated
  • Goto directory in sslDir of config.json or ./ssl if you haven't changed it
  • Open ca.crt
  • Click Install Certificate
  • Select Local Machine
  • Click Next
  • Click Yes if a prompt popped up
  • Select Place all certificates in the following store
  • Click Browse
  • Select Trusted Root Certification Authorities
  • Click OK
  • Click Next
  • Click Finish

hutao-gs's People

Contributors

0eromacys avatar chisatonishikigi73 avatar crowity avatar kuma-dayo avatar notarandomguy avatar sirdarwin avatar sycamore0 avatar wanderer-fly avatar wcjqwq avatar yincql avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hutao-gs's Issues

webserver handlers problem

Here is the log
image

Just as the log,only webServer/handlers/Dispatch.js worked,I dont know why others didnt work

enter but no uid

log

[2022-09-04 17:58:43]|DEBUG|[HNDSHK] Connect
[2022-09-04 17:58:43]|INFO |[KCPSRV] Client connect: 127.0.0.1_61398_631476d3
[2022-09-04 17:58:43]|DEBUG|[KCPSRV] Initial key match: true
[2022-09-04 17:58:43]|DEBUG|[KCPSRV] [RECV|------] 172 000001 GetPlayerTokenReq
[2022-09-04 17:58:43]|ERROR|[PACKET] Error handling packet: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
at new NodeError (node:internal/errors:372:5)
at boundsError (node:internal/buffer:84:11)
at Buffer.readBigUInt64BE (node:internal/buffer:117:5)
at GetPlayerTokenPacket.request (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\packets\GetPlayerToken.js:43:51)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async PacketHandler.handle (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\packetHandler.js:84:21)
at async KcpServer.handlePacket (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\index.js:248:9)
at async KcpServer.handleRecvKcp (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\index.js:227:9)
at async KcpServer.handleMessage (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\index.js:208:16) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}
[2022-09-04 17:58:48]|ERROR|[PROTOU] index out of range: 11 + 1 > 11
[2022-09-04 17:58:52]|DEBUG|[HNDSHK] Disconnect
[2022-09-04 17:58:52]|INFO |[KCPSRV] Client disconnect: 127.0.0.1_61398_631476d3 Reason: ENET_CLIENT_SHUTDOWN
[2022-09-04 17:58:52]|DEBUG|[HNDSHK] Connect
[2022-09-04 17:58:52]|INFO |[KCPSRV] Client connect: 127.0.0.1_61401_631476dc
[2022-09-04 17:58:52]|DEBUG|[KCPSRV] Initial key match: true
[2022-09-04 17:58:52]|DEBUG|[KCPSRV] [RECV|------] 172 000003 GetPlayerTokenReq
[2022-09-04 17:58:52]|ERROR|[PACKET] Error handling packet: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
at new NodeError (node:internal/errors:372:5)
at boundsError (node:internal/buffer:84:11)
at Buffer.readBigUInt64BE (node:internal/buffer:117:5)
at GetPlayerTokenPacket.request (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\packets\GetPlayerToken.js:43:51)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async PacketHandler.handle (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\packetHandler.js:84:21)
at async KcpServer.handlePacket (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\index.js:248:9)
at async KcpServer.handleRecvKcp (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\index.js:227:9)
at async KcpServer.handleMessage (X:\hutao-gs\HuTao-GS\buildDev\kcpServer\index.js:208:16) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}

problem

I successfully enter the gate but nothing show on the screen,I know the problem is around playertoken but i don't know how to solve it.i have got meta and ua patched.
(maybe it doesn't send packet?)

How to enter this ps?

questions

where is query_region_list?

in 127.0.0.1 : 80 or 443?

how to fix config.json

where is ca files

log

[2022-08-16 18:42:44]|INFO |[CONFIG] Loading config...
[2022-08-16 18:42:44]|ERROR|[CONFIG] Config not found: default
                                            ▄▄                  .
              ▄        ▄                    ▄▀                  .
              ▄▄       ▀      ▄▄▄          ▄▄                   .
               ▄          ▄▄▄▄▄▄▄▄▄▄                            .
         ▄▄▄▄▄           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄                         .
        ▄▄▄▄▄▄▄      ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄       ▄     ▄▄▄     .
        ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▀     ▄▄▄▄▄   .
         ▀▀▄▄▄▄▄▄▄▄      ▄▄▄▄▄▄▄▄▄▄▄▄▄▄       ▄▄▄▄▄  ▄▄▄▄▄▄▀    .
           ▄▄▄▄▄ ▄        ▄▄ ▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄     .
       ▄   ▄▄▄            ▄▄▄▄▄▄▄▄ ▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄      .
       ▀▄▄▀▄▄          ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄     .
    ▄       ▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀ ▄▄▄▄▄   .
    ▀▄▄▄ ▀▄▄▄▄▄▄▄▄▄▄▄▄            ▄        ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    .
            ▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀▀▀     .
           ▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄   .
           ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀▀    .
    ▄      ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄        .
    ▀▀▀    ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄     ▄▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄▄▀  ▄▄    .
            ▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ .
        ▄▄▄▄▄▄ ▄▄  ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄▄▄▄▄▄▄▄▄ .
   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀ .
   ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   .
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▀▀    .
  ▄▄▄▄▄▄▄▄▀▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄       .
   ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀       .
   ▀▀▀▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄▄▄▄▄▄▄▄▄▄▄▀▀    .
     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄     .
      ▀▀▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▀▀▀▀     .
     ▄▄▄▀  ▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄       .
          ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀  ▀       .
            ▀▀▀▄▄▄▄▄▄▄▀▀▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀▀▄▄▄▄▄▄▄▀▀▀            .
                 ▀▀▀                        ▀▀▀
[2022-08-16 18:42:44]|INFO |[LOGGER] Log capture started at: 2022-08-16 18:42:44
[2022-08-16 18:42:44]|INFO |[SERVER] Name: HuTao-GS
[2022-08-16 18:42:44]|INFO |[SERVER] Build: development
[2022-08-16 18:42:44]|INFO |[SERVER] Game version: 2.8.50
[2022-08-16 18:42:44]|INFO |[SERVER] Dispatch region: CNCB
[2022-08-16 18:42:44]|INFO |[SERVER] Dispatch seed: null
[2022-08-16 18:42:44]|INFO |[SERVER] Dispatch key: 3
[2022-08-16 18:42:44]|INFO |[SERVER] Auto patch: false
[2022-08-16 18:42:44]|INFO |[SERVER] Log level: 5
[2022-08-16 18:42:44]|INFO |[GSTATE] No saved state, using default.
[2022-08-16 18:42:44]|DEBUG|[CLIENT] Set UID: 1
[2022-08-16 18:42:44]|DEBUG|[PACKET] [SKIP] PlayerProp
[2022-08-16 18:42:44]|DEBUG| Launch arguments: [
  'C:\\Program Files\\nodejs\\node.exe',
  'D:\\UserFiles\\Desktop\\HuTao-GS\\buildDev',
  '-ll:5'
]
[2022-08-16 18:42:44]|INFO |[SERVER] Starting...
[2022-08-16 18:42:44]|INFO |[SSLGEN] Validating ca files...
[2022-08-16 18:42:44]|DEBUG|[DNSSRV] [TCP] Listening on port 53
[2022-08-16 18:42:44]|DEBUG|[DNSSRV] [UDP] Listening on port 53
[2022-08-16 18:42:44]|DEBUG|[KCPSRV] Listening on port 22102
[2022-08-16 18:42:44]|WARN |[SSLGEN] Missing ca files.
[2022-08-16 18:42:44]|DEBUG|[OPNSSL] Checking OpenSSL installation...
[2022-08-16 18:42:44]|ERROR|[OPNSSL] OpenSSL not installed.
[2022-08-16 18:42:44]|ERROR|[WEBSRV] Unable to generate ssl config, abort.
[2022-08-16 18:42:50]|DEBUG|[GSCENE] [JOIN|000001] UID: 1 ID: 3 Pos: [-658,219,266] Type: ENTER_SELF Reason: LOGIN
[2022-08-16 18:42:50]|DEBUG|[GSCENE] Load block: 3107
[2022-08-16 18:42:50]|DEBUG|[ENTITY] Add: 16816320
[2022-08-16 18:42:50]|DEBUG|[ENTITY] [BORN|000001] A EntityID: 16816320
[2022-08-16 18:42:50]|DEBUG|[ENTITY] [BORN|000001] A EntityID: 67154668
[2022-08-16 18:42:50]|DEBUG|[ENTITY] [BORN|000001] A EntityID: 67154669
[2022-08-16 18:42:50]|DEBUG|[ENTITY] [BORN|000001] A EntityID: 67154670
[2022-08-16 18:42:51]|DEBUG|[ENTITY] [BORN|000001] A x9
[2022-08-16 18:42:52]|DEBUG|[ENTITY] [BORN|000001] A x74
[2022-08-16 18:42:53]|DEBUG|[ENTITY] [BORN|000001] A x77
>>

I can not enter

image

Account verification error
Error Code: 12-4301


[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/compareProtocolVersion
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/getConfig[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/shield/api/loadConfig
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/combo/box/api/config/sdk/combo
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/shield/api/verify
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/login/v2/login
[2022-08-26 02:54:27]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/agreement/api/getAgreementInfos
[2022-08-26 02:54:28]|DEBUG|[WEBSRV] Handled: (200)abtest-api-data-sg.hoyoverse.com/data_abtest_api/config/experiment/list
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/compareProtocolVersion
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/getConfig
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/combo/box/api/config/sdk/combo
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/shield/api/loadConfig
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/shield/api/verify
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/login/v2/login
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/agreement/api/getAgreementInfos
[2022-08-26 02:54:52]|DEBUG|[WEBSRV] Handled: (200)abtest-api-data-sg.hoyoverse.com/data_abtest_api/config/experiment/list
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/compareProtocolVersion
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/shield/api/loadConfig
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/getConfig
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/shield/api/verify
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Unhandled: sg-public-data-api.hoyoverse.com/device-fp/api/getExtList
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (404)webstatic.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/combo/granter/login/v2/login
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)abtest-api-data-sg.hoyoverse.com/data_abtest_api/config/experiment/list
[2022-08-26 02:55:07]|DEBUG|[WEBSRV] Handled: (200)hk4e-beta-sdk-os.hoyoverse.com/hk4e_global/mdk/agreement/api/getAgreementInfos
[2022-08-26 02:55:08]|DEBUG|[WEBSRV] Handled: (200)api-beta-sdk-os.hoyoverse.com/combo/box/api/config/sdk/combo

Build Error

Inspect? (Y/N):y
node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '@/server'
Require stack:
- D:\HuTao-GS\buildDev\index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1022:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (D:\HuTao-GS\buildDev\index.js:6:34)
    at Module._compile (node:internal/modules/cjs/loader:1120:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
    at Module.load (node:internal/modules/cjs/loader:998:32)
    at Module._load (node:internal/modules/cjs/loader:839:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'D:\\HuTao-GS\\buildDev\\index.js' ]
}

Node.js v18.7.0
PS D:\HuTao-GS>

Either A Error Or Cannot Build Correctly

编译报错

`
ERROR in ./buildDev/cli/commands/avatarCommands.js 3:15-38
Module not found: Error: Can't resolve '@/types/enum' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands' @ ./buildDev/cli/commands/index.js 8:41-68
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/entityCommands.js 6:34-61
Module not found: Error: Can't resolve '$/entity/monster' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 10:41-68
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/index.js 7:14-30
Module not found: Error: Can't resolve '@/tty' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/inventoryCommands.js 6:36-64
Module not found: Error: Can't resolve '$/equip/reliquary' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 11:44-74
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/inventoryCommands.js 7:33-58
Module not found: Error: Can't resolve '$/equip/weapon' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 11:44-74
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/inventoryCommands.js 8:40-80
Module not found: Error: Can't resolve '$/gameData/data/ReliquaryData' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 11:44-74
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/inventoryCommands.js 9:35-56
Module not found: Error: Can't resolve '$/material' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 11:44-74
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/serverCommands.js 26:14-30
Module not found: Error: Can't resolve '@/tty' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 13:41-68
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/toolsCommands.js 6:15-38
Module not found: Error: Can't resolve '@/tools/ec2b' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands' @ ./buildDev/cli/commands/index.js 14:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/toolsCommands.js 7:33-58
Module not found: Error: Can't resolve '@/tools/keyGen' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 14:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/toolsCommands.js 8:19-46
Module not found: Error: Can't resolve '@/tools/metadata' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 14:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/toolsCommands.js 9:17-42
Module not found: Error: Can't resolve '@/tools/update' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 14:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/worldCommands.js 6:36-72
Module not found: Error: Can't resolve '$/gameData/data/SceneData' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 15:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/worldCommands.js 7:33-58
Module not found: Error: Can't resolve '$/utils/vector' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 15:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/commands/worldCommands.js 8:15-44
Module not found: Error: Can't resolve '@/types/proto/enum' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli\commands'
@ ./buildDev/cli/commands/index.js 15:40-66
@ ./buildDev/cli/index.js 32:32-53
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/index.js 29:33-52
Module not found: Error: Can't resolve '@/logger' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli'
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/cli/index.js 30:17-42
Module not found: Error: Can't resolve '@/utils/escape' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev\cli'
@ ./buildDev/index.js 10:30-46
ERROR in ./buildDev/index.js 6:33-52
Module not found: Error: Can't resolve '@/server' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev'
ERROR in ./buildDev/index.js 7:33-52
Module not found: Error: Can't resolve '@/logger' in 'C:\Users\Administrator\Desktop\HuTao-GS\buildDev'
19 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.74.0 compiled with 19 errors in 6834 ms
Build complete.

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.