Cliente e servidor de Rusty Hearts, o servidor é Open Source, com exceção do cliente, é uma base incrível para que você crie seu próprio servidor, principalmente para aqueles que sentem saudade do jogo.
Guia de uso em inglês
Be careful with everything you do. If your server doesn't run or doesn't run properly, you missed/failed one of these steps.
Import the database Repack.
Change YOURPUBLICIPHERE in ServerOption in RustyHearts_Auth to your public IP Address
Change YOURPUBLICDNSHERE in ServerOptionDNS in RustyHearts_Auth to your public DNS (e.g.: domain.tld)
Go to the Option directory (the one with plenty of xmls).
Put the hostnames in "hosts" to your own systems hosts file (found in %WINDIR%\system32\drivers\etc)
Edit the XMLs as needed (change public IP and DNS to corresponding database values)
Edit the rustyhearts.xml in base folder of this repack and put it somewhere available to the web.
Edit Auth-API.php to match your database. If you don't know what you're doing, don't touch anything below SQL settings.
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)
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.
Run the following servers (order is not important)
Agent_Release_x64.exe (called AR from now on)
GameGatewayServer_Release_Windy_X64.exe (called GGS from now on)
Switch to GGS console.
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
Switch to AR console
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.
Switch to GameServer console. (one is gamelobby, other is guildlobby, this description is for both.)
press the following keys: u a l
go to PVPServer console.
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.
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
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 )
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)
Rusty Hearts Repack
Créditos pelo emulador