游戏联盟分享平台-全自助-免费游戏分享-七玩网
独家出售24-70级附魔端授权、完美六职业、农场BOSS挑战、自定义加密RFS、支持称号图片,同时兼容64位与32位系统。-七玩网
蓝易云香港服务器特惠:29元/月尊享1核1G内存10Mbps CN2线路,大带宽首选,品质推荐,信赖之选!-七玩网
AI DIGEST
AI 摘要
LIVE

这是一篇颓废之心私服架设的英文教程,包含预配置、服务器运行和客户端设置三大部分。预配置需导入数据库、将多处YOURPUBLICIPHERE/DNS替换为实际公网IP和域名、编辑XML文件、修改系统hosts文件,并将Auth-API.php部署到本地Web目录。服务器运行需依次启动Agent、AgentManager、DBCServer、GameGatewayServer等程序,并在各控制台输入特定按键序列(如GGS按u o l,AR按u 1 l)激活服务。客户端必须从Steam下载且禁止自动更新,运行MPatcher.exe更新反作弊系统后,创建RustyHearts.exe快捷方式并添加server=你的XML地址参数。账号需手动在RustyHearts_Auth数据库的AuthTable表中插入记录,其中AuthID是用户名密码拼接后的MD5哈希值。所有步骤必须严格执行,遗漏任何环节都会导致服务器无法正常运行。

颓废之心的架设教程,英文版,找英文能力好的朋友来汉化。

研究群:141325151  最好不要网站翻译的, 最好是人工翻译。因为网站翻译出来的很多词不准。

#Preconfiguration

Be careful with everything you do. If your server doesn’t run or doesn’t run properly, you missed/failed one of these steps.

1. Import the database Repack.

2. Change YOURPUBLICIPHERE in ServerOption in RustyHearts_Auth to your public IP Address

3. Change YOURPUBLICDNSHERE in ServerOptionDNS in RustyHearts_Auth to your public DNS (e.g.: domain.tld)

4. Go to the Option directory (the one with plenty of xmls).

5. Put the hostnames in “hosts” to your own systems hosts file (found in %WINDIR%\system32\drivers\etc)

6. Edit the XMLs as needed (change public IP and DNS to corresponding database values)

7. Edit the rustyhearts.xml in base folder of this repack and put it somewhere available to the web.

8. Edit Auth-API.php to match your database. If you don’t know what you’re doing, don’t touch anything below SQL settings.

9. Put Auth-API.php to a local(!) web available folder (accessing from localhost is everything you need. This can be a security risk if you put it web-available, don’t say I didn’t warn you. .htaccess does the job)

10. Edit the service_control.xml in Options folder and place the Url to your auth-api to the corresponding place.

#Running the servers

This one is actually pretty easy.

1. Run the following servers (order is not important)

    Agent_Release_x64.exe (called AR from now on)

    AgentManager_Release_x64.exe

    DBCServer_Release_x64.exe

    GameGatewayServer_Release_Windy_X64.exe (called GGS from now on)

2. Switch to GGS console.

3. press the following keys on your keyboard: u o l (the last one is optional, just locks the keyboard again)

    If you want to stop FPS output in DBCServer, the key order is: u r l

4. Switch to AR console

5. press the following key on your keyboard: u 1 l

    The Servers should be starting now. Make sure to open up the specific firewall ports, if asked.

6. Switch to GameServer console. (one is gamelobby, other is guildlobby, this description is for both.)

7. press the following keys: u a l

8. go to PVPServer console.

9. press the following keys: u m l

You didn’t see that one coming, did you?

Servers should be running fine now. If something is faulty, check above.

#Client Setup

1st thing you need to do is getting the right client.

There is only one client that matches the server.

The only way of obtaining the right client I know currently is downloading it from steam.

Do not update/run the client once steam has finished downloading it.

If you’re missing libraries, you’ll find the needed ones in “steamapps/common/rusty hearts/redist” (run vc_redist and dxsetup here, if you need to)

Once downloaded, go to “steamapps/common/rusty hearts” and run MPatcher.exe to update XTRAP (needed, otherwise the game won’t run).

Close down the game (it’s missing GateXML info).

Create a Shortcut to RustyHearts.exe.

Edit target path to: “PathToSteam\steamapps\common\rusty hearts\RustyHearts.exe” “PathToSteam\steamapps\common\rusty hearts\MPatcher.exe” server=YOURXMLURLHERE

Change YOURXMLURLHERE to match your corresponding xml path (e.g.:
http://domain.tld/rusty.xml)

#Client Setup Complete

#Creating Account

Go to your RustyHearts_Auth Database into the AuthTable table.

WindyCode = username

worldid = 0

AuthID is an MD5 value calculated from username and password (like this: MD5(usernamepassword), you can use a webgenerator or create your own :D)

Tcount is an account counter, just increase it.

online = 0

CTime = PutCreateDateHere

BTime = PutDateHere

LTime = PutDateHere

IP = 127.0.0.1

LCount = 0

ServerType = 0

HostID = 0

DBCIndex = 0

InquiryCount = 5

event_inquiry = 1

CashMileage = 0 (you can add as much mileage as you want, though)


© 版权声明
THE END
文章不错?点个赞呗
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容