Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] [RePack] Rusty Hearts Server Files including Tutorial

Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
This is the RePack I created from the original server files released by uebari. Tutorial is as follows.
These files are provided AS IS and I will give no support on the files themselves.
The Auth-Api uses
A lot of credit goes to chreadie for this, too.

Tutorial:
Code:
#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)

Repack Download Link:


Maybe easier options folder (same as in Discussions thread):


Rusty Hearts Client Download (Credits for finding this go to geger009)
http://files-ns.perfectworld.com/common/RustyHearts_PWE_20110915_v3_Downloader.exe[DEAD]
 
Last edited:
Experienced Elementalist
Joined
Jan 27, 2012
Messages
231
Reaction score
29
Re: [RePack] Rusty Hearts Server Files including Tutorial

the real question , are those working and ready for playing

or it's just like the old release uselss with missing configure ?

thanks :)
 
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: [RePack] Rusty Hearts Server Files including Tutorial

GJ hvdaedalus, Hope Rusty Hearts section will begin :)
 
Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
Re: [RePack] Rusty Hearts Server Files including Tutorial

@nonesense1: these are the same files uebari released INCLUDING missing configs (I recreated them with chreadie + RE) ready to play.
There is something I wanted to add, but I forgot already. xD

//Edit:
The files with numbers at the and are the ones which are delegated to the servers by Agent_Release_x64.exe. There is no need to change all of them.
 
Last edited:
Experienced Elementalist
Joined
Jan 27, 2012
Messages
231
Reaction score
29
Re: [RePack] Rusty Hearts Server Files including Tutorial

oh wow then , awesome :) .

can anyone upload the client or mirror it ?
(steam does lot's of troubles in here..)

Again , thanks alot and i hope for a new section for this extraordinary game !

Good job mate! .

btw are those x64 executeables only ?

and what are the server specifications i need for this game ?
 
Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
Re: [RePack] Rusty Hearts Server Files including Tutorial

Yes, there are only x64 executables for the server. Specifications: Good CPU and a lot of RAM (my server eats up about 2 - 2.5 Gig)
 
Experienced Elementalist
Joined
Jan 27, 2012
Messages
231
Reaction score
29
Re: [RePack] Rusty Hearts Server Files including Tutorial

oh xD , i have 32GB RAM/CPU 3.80 8 Cores.

:) good to know then ! .

btw MSSQL 2000/05/08 ? ,EXPR/EVO /R2 ?
 
Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
Re: [RePack] Rusty Hearts Server Files including Tutorial

I used MSSQL 2008 Express R2 for testing :)
 
Experienced Elementalist
Joined
Jan 27, 2012
Messages
231
Reaction score
29
Re: [RePack] Rusty Hearts Server Files including Tutorial

cool , for DNS - can i use ip instead ? (like 127.0.0.1..) ?

since i have 2 Routers and i can only open ports for the main one.

so i want to work at local to test it..
 
Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
Re: [RePack] Rusty Hearts Server Files including Tutorial

you can put "localhost" instead, since localhost is the dns for 127.0.0.1 ^^
 
DRGunZ 2 Creator
Loyal Member
Joined
Jan 21, 2007
Messages
4,493
Reaction score
161
Re: [RePack] Rusty Hearts Server Files including Tutorial

:D its finaly here. Glad i had a part in testing the files for you. im going to get on my laptop and try these now :)
 
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: [RePack] Rusty Hearts Server Files including Tutorial

anyway to download client without steam?

maybe anyone upload and try to use this tools? >>

or

@echo off
:main
cls
echo Rusty Hearts Transfer utility v0.01-dirty by DarkKaine
echo.
:: Defining variables.

set x64path="HKLM\SOFTWARE\Wow6432Node\PWE\Service\ENG\RustyHearts"
set x86path="HKLM\SOFTWARE\PWE\Service\ENG\RustyHearts"
set CheckCPU=reg query "HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0" /v "Platform ID"
set regpath=
set RHInstallPath=

:: Choice Menu

echo What do you want to do?
echo.
echo.
echo [1] Create a package that can be installed on another computer or flash drive.
echo [2] Repair registry path.
echo [3] Install Rusty Hearts from a previously created package.
echo [4] Play the game from the current directory.
echo [5] Exit.
echo.
set /p choice=
echo.
if "%choice%"=="1" goto detect
if "%choice%"=="2" goto detect
if "%choice%"=="3" goto detect
if "%choice%"=="4" goto detect
if "%choice%"=="5" exit
goto main
:: Check if the operating system runs in 32 or 64-bits.

:detect
for /f "tokens=1-3* " %%a in ( ' %CheckCPU% ^| find "Platform ID" ' ) do set CheckCPU=%%d

:: Appoint the correct registry path for the operating system architecture.

if "%CheckCPU%"=="0x2" (
set regpath=%x64path%
) else (
set regpath=%x86path%
)
:: Decide task 1

if "%choice%"=="2" goto manual
if "%choice%"=="3" goto installgame
if "%choice%"=="4" goto play

:: Find the Rusty Hearts Installation path in the registry and check if it's correct.

set CheckPath=reg query "%regpath%" /v "InstallPath"
FOR /f "tokens=1-2* " %%a in ( ' %CheckPath% ^| find "InstallPath" ' ) do set RHInstallPath=%%c
:findpath
if "%RHInstallPath%"=="" (
echo Could not detect the Rusty Hearts installation path. Please enter it manually.
:manual
set RHInstallPath=
set /p RHInstallPath=Install Path:
goto findpath
) else (
if exist "%RHInstallPath%\rustyhearts.exe" (
echo Installation found in "%RHInstallPath%"
) else (
echo Could not find "%RHInstallPath%\rustyhearts.exe". Please enter a path manually.
goto manual
)
)
if "%choice%"=="2" goto repair
:: File copy
:copy
echo Where do you want to copy the files to? ^(example: F:^)
set /p copypath=
xcopy "%RHInstallPath%" %copypath%\RHFiles /E /I
copy RHTransfer.bat %copypath%\RHFiles\RHTransfer.bat
pause
goto main

:: Registry repair
:repair
echo This will modify a registry entry and you may need Administrator privileges. Do you want to continue?
set /p regcontinue=Y/N:
if "%regcontinue%"=="Y" (
reg add "%regpath%" /v InstallPath /t reg_sz /d "%RHInstallPath%"
echo Done.
pause
goto main
) else (
goto main
)

::Installation
:installgame
echo Where do you want to install Rusty Hearts?
set /p RHInstallPath=Install Path:
echo.
if exist rustyhearts.exe (
xcopy * %RHInstallPath% /E /I
reg add "%regpath%" /v InstallPath /t reg_sz /d "%RHInstallPath%"
goto installruntimes
) else (
echo Rusty Hearts files not found. Please make sure that the Rusty Hearts game files are in the same directory as this script.
pause
goto main
)

:installruntimes
if "%CheckCPU%"=="0x2" (
redist\vcredist_x64.exe
) else (
redist\vcredist_x86_1.exe
redist\vcredist_x86_2.exe
)
goto main

:: Play game
:play
if exist rustyhearts.exe (
echo This will modify a registry entry and you may need Administrator privileges. Do you want to continue?
set /p regcontinue=Y/N:
) else (
echo Rusty Hearts files not found. Please make sure that the Rusty Hearts game files are in the same directory as this script.
pause
goto main
)
if "%regcontinue%"=="Y" (
reg add "%regpath%" /v InstallPath /t reg_sz /d "%CD%"
echo Done.
start ClientLauncher.exe
pause
goto main
) else (
goto main
)
 
Last edited:
DRGunZ 2 Creator
Loyal Member
Joined
Jan 21, 2007
Messages
4,493
Reaction score
161
Re: [RePack] Rusty Hearts Server Files including Tutorial

No, steam is the only client that is working for the server files, and I may be wrong, but I don't think they provide a direct download link for the games they host.
 
Joined
Mar 12, 2011
Messages
962
Reaction score
589
Re: [RePack] Rusty Hearts Server Files including Tutorial

after i download the client from steam can i took it out from steam folder and make my own installer to publish it??
 
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: [RePack] Rusty Hearts Server Files including Tutorial

No, steam is the only client that is working for the server files, and I may be wrong, but I don't think they provide a direct download link for the games they host.

after i download the client from steam can i took it out from steam folder and make my own installer to publish it??

I mean same as geger009, after download via steam maybe can took it out from steam folder and make my own?
 
DRGunZ 2 Creator
Loyal Member
Joined
Jan 21, 2007
Messages
4,493
Reaction score
161
Re: [RePack] Rusty Hearts Server Files including Tutorial

I'm not exactly sure. As some of the client is integrated with steam to have achievements and other steam functions. You can give it a try, but I think you would probably have to include the parts of the installation that are associated with steam.
 
Joined
Mar 12, 2011
Messages
962
Reaction score
589
Re: [RePack] Rusty Hearts Server Files including Tutorial

i'm downloading the client now..it took me wait 5-10 hours to complete..if some one have better connection please try it..cos we cant ask our player to download steam application and regist a steam account to download client and edit some client files to play our server..it will make player confuse and too complicated for player..

all player want a simple way.."regist game account-download the game-install the game-play the game" and always be like that..
 
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: [RePack] Rusty Hearts Server Files including Tutorial

i'm downloading the client now..it took me wait 5-10 hours to complete..if some one have better connection please try it..cos we cant ask our player to download steam application and regist a steam account to download client and edit some client files to play our server..it will make player confuse and too complicated for player..

all player want a simple way.."regist game account-download the game-install the game-play the game" and always be like that..

not only the player will confuse, me too... simple way is register, download, install and play..

some net-cafe not allow steam port that mean you will lose a-lot of player that play online game in internet cafe, if i get client i will look into it to find the way..
 
Joined
Mar 12, 2011
Messages
962
Reaction score
589
Re: [RePack] Rusty Hearts Server Files including Tutorial

i already see inside rustyhearts.exe..that .exe is intergrated with steam (steam_api.dll and steamID)..so i'm sure we cant take it out from steam..since that .exe need steam to run..
except rustyhearts.exe just launcher..but i dont think its just launcher..
 
Back
Top