原神私服搭建(成果演示)

123123.png
2342632414.png

步骤一

JAVA8下载注意这里是老版本jdk1.8.0_202:
密码:6666
这里是原神私服下载:
密码:6666
配置环境变量:

注意这里配置环境变量时候要删除以前版本和与其冲突的jre

步骤二

部分详细操作在压缩包中,请自行体会。

步骤三

你需要做的是打开地址转发在地址转发中输入,运行说明文档里面有的文件,那行代码不全替换为下面的。Genshin EMU(最新服务端包含自动刷怪 修复卡池 修复部分副本)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Original script by NicknameGG, modified for Grasscutter by contributors. */
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
var list = [
"https://api-os-takumi.mihoyo.com/",
"https://hk4e-api-os-static.mihoyo.com/",
"https://hk4e-sdk-os.mihoyo.com/",
"https://dispatchosglobal.yuanshen.com/",
"https://osusadispatch.yuanshen.com/",
"https://account.mihoyo.com/",
"https://log-upload-os.mihoyo.com/",
"https://dispatchcntest.yuanshen.com/",
"https://devlog-upload.mihoyo.com/",
"https://webstatic.mihoyo.com/",
"https://log-upload.mihoyo.com/",
"https://hk4e-sdk.mihoyo.com/",
"https://api-beta-sdk.mihoyo.com/",
"https://api-beta-sdk-os.mihoyo.com/",
"https://cnbeta01dispatch.yuanshen.com/",
"https://dispatchcnglobal.yuanshen.com/",
"https://cnbeta02dispatch.yuanshen.com/",
"https://sdk-os-static.mihoyo.com/",
"https://webstatic-sea.mihoyo.com/",
"https://webstatic-sea.hoyoverse.com/",
"https://hk4e-sdk-os-static.hoyoverse.com/",
"https://sdk-os-static.hoyoverse.com/",
"https://api-account-os.hoyoverse.com/",
"https://hk4e-sdk-os.hoyoverse.com/" // Line 24
];
class Handlers
{
static function OnBeforeRequest(oS: Session) {
var active = true;
if(active) {
if(oS.uriContains("http://overseauspider.yuanshen.com:8181/log")){
oS.oRequest.FailSession(404, "Blocked", "yourmom");
}
for(var i = 0; i < 24 ;i++) {
if(oS.uriContains(list[i])) {
oS.host = "localhost"; // This can also be replaced with another IP address.
break;
}
}
}
}
};

替换好了后直接打开你这个文件下下的原神,E:\Genshin Impact\Genshin Impact Game 直接启动后就可以了
登录界面密码随便乱输入就行了

注意事项:

  1. 地址转发.bat保持开启状态
  2. 启动服务.bat后如果出现报错八九不离十是java版本问题,治理建议直接翻一下报错代码。
  3. 登录界面密码随便乱输入就行了
  4. 地址转发.bat和启动服务.bat要保持开启状态

对好友使用代码

获取物品
/give uid 物品id 数量(这里uid也可以不要)
直接CTRL+F搜你要的物品