- 精华
- 阅读权限
- 100
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2008-5-5
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
研究群: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) |
|