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!

[Guide] ** RF v2.2.3.2 Server SetUP **

Newbie Spellweaver
Joined
Dec 6, 2011
Messages
14
Reaction score
8
** RF v2.2.3.2 Server SetUP **
==============================

PC Requirements:
================
Windows OS 64bit ONLY!! (( WILL NOT WORK ON 32Bit OS!!!!!! ))
4GB RAM & UP!
MSSQL 2008 EXPRESS 64BIT

USING RF v2.2.3.2 BY:
=====================
http://forum.ragezone.com/f479/release-rf-online-2-2-a-773633/
[Release] RF Online 2.2.3.2 GU - Xtreme Server Files - FIXED By H4TE

Lets Begin ^^
=============================================
0. make sure you run the RF Dependancy files other wise you will get
error on accountserverSD and zoneserver ^^

1. Install MSSQL 20005 or 2008

2. Create 3 RF DataBase:
Right Click on Databases > New Databases > then enter the
RF Database Name. Do that for 3 RF Database Name.

* BILLING
* RF_User
* RF_World

3. Restore the 3 RF DataBase:
Right Click on Databases > Task > Restore > Databases >
in ((General)) select ((From device)): then select the ((....)) > ((Add))
to browse to where you extract your RF Server folder and select the
.bak file to restore your RF Database. Once you find the .bak files click
OK > OK. Bring you back to ((General)) check mark [x]Restore. Next select
((Options)) check mark [x]Overwrite the existing database (WITH REPLACE).
Under Restore the database files as: Restore As select
C:\Program Files\Microsoft SQL Server\MSSQL10_50.RFONLINE\MSSQL\DATA and
input your RF Database DIR:

Note: DO NOT RESTORE TO THE MSSQL DEFAULT DIR IT WILL NOT WORK!!!!
RESTORE THE 3 RF DataBase to a different DIR: (ex: c:\RFDB)

(ex: this is my BILLING C:\RFDB\BILLING.mdf & C:\RFDB\BILLING.ldf)

then select > OK . Repeat that for 3 RF Database Name.

* BILLING.bak
* RF_User.bak
* RF_World.bak

4. Create a RF User name/password and give User Mapping all access except
the DENY check box.

Select ((Security)) > ((Logins)) Right click Logins > select ((New Logins))
input your desire login name (ex: rf)

Note: WRITE DOWN THE USER NAME YOU GONNA NEED IT LATER FOR CONFIGURING YOUR
RF INI'S FILES.

Next Select ((SQL Server authentication)) enter desire password and confirm
password. (ex: rfadmin)

Note: WRITE DOWN THE USER PASSWORD YOU GONNA NEED IT LATER FOR CONFIGURING YOUR
RF INI'S FILES.

Next UNCHECK: []Enforce password policy

Next select ((User Mapping)) > Under ((User mapped to this login:))
put a [x] to the 3 RF Database. ex: [x]BILLING, [x]RF_User, [x]RF_World)
under ((Database role membership for: (name for rf database) check mark all selection,
EXCEPT db_denydatareader, and db_denydatawriter.

Repeat that for 3 RF Database Name.

5. !!!!! THIS NEXT STEP IS VERY IMPORTANT IF YOU MESSED UP YOU WILL GET ((AccountDB Failed!!))
EVERYTIME YOU RUN AccountServerSD!!!!!!!!!!!!!

RF_User ONLY!!!!
================
Create a RF User name/password and give User Mapping all access except
the DENY check box.

Select ((Security)) > ((Logins)) Right click Logins > select ((New Logins)) and
input for user name: rfrusaccount password: #rf%rusaccount to (( RF_User ))ONLY!!!!

Next Select ((SQL Server authentication)) enter password and confirm
password.

Next select ((User Mapping)) > Under ((User mapped to this login:)) put a
[x] to the RF Database. (ex: [x]RF_User)

under ((Database role membership for: RF_User check mark all selection,
EXCEPT for db_denydatareader, and db_denydatawriter.

RF_World ONLY!!!!
=================
Select ((Security)) > ((Logins)) Right click Logins > select ((New Logins)) and
input for user name: rfrusworld password: #rf%rusworld to (( RF_World ))ONLY!!!!

Next Select ((SQL Server authentication)) enter password and confirm
password.

Next select ((User Mapping)) > Under ((User mapped to this login:)) put a
[x] to the RF Database. (ex: [x]RF_World)

under ((Database role membership for: RF_World check mark all selection,
EXCEPT for db_denydatareader, and db_denydatawriter.

Note: Please re-check your newly created user and make sure all the check mark under
(( Database role membership for: (name of rf database) )) is mark with [x]
EXCEPT for db_denydatareader, and db_denydatawriter.
for some strange reason the []db_owner was not mark i have no idea ^^

Note: These are hardcoded into the AccountServer and ZoneServer respectively and
they change with country code; if a different country is used (not RU),
use ODBC trace and AnjSql Profiler to determine the user, then hex search
user in AccountServerSD.exe to find user & pass).

6. ODBC SETTINGS:
==================
click on START > Controll Panel > Administrative Tools > select ((Data Sources (ODBC) ))
it will open up ODBC Data source Administrator under User DSN click ((Add..)) > Select
Select SQL Server Native Client 10.0 and click Finish.

Next input the RF Database name: (1 at a time NOT ALL 3) ^^
* BILLING
* RF_User
* RF_World

put in description if you want ^^

Server: ( put in your MSSQL Server Name ( ex: mine was MIKEY-PC\RFONLINE ) click Next

chose : With SQL Server authentication using a login ID and Password entered by the user

Login ID: (see step 4 for user name) password: (see step 4 for password) click next

check mark: [x]change the default database to: (name of the Rf Database)
(ex: BILLING) click next, click Finish, click ((Test Data Source)) to make sure
TESTS COMPLETED SUCCESSFULLY! if it do not work you did something wrong in your MSSQL Server ^^

Repeat that for 3 RF Database Name.

after you are done close ODBC ^^

7. RF INI's Files Editing:
========================
Create a folder name: HBK & History in your server folder:
(ex: F:\RF v2.2.3.2 Server\HBK) (ex: F:\RF v2.2.3.2 Server\History)

open up F:\RF v2.2.3.2 Server\Account and Login\RF_Bin\Initialize and edit all the INI files

==================
AccountSystem.ini:
==================
[Database]
AccountDB_Machine = 127.0.0.1 <<< change to your WANIP or LANIP
AccountDB_Name = RF_User

[System]
NationCode = RU

[DB_INFO]
IP = 127.0.0.1 <<< change to your WANIP or LANIP
Port = 1433 <<< if you have change your MSSQL Port (ex: 61433)
DBName = BILLING
Acc = sa <<< change to your MSSQL username see step 4
PW = mnbe5824 <<< change to your MSSQL password see step 4

[Service]
MaxAccountNum = 1337

[World]
WorldSet_Num =1
ServiceSet_Num = 0

Name0 = RF_LEET <<< change to your desire Server Name ^^
Address0 = 127.0.0.1 <<< change to your WANIP or LANIP
DBName0 = RF_World
Type0 = 0
===========end of file==================

=================
BillingSystem.ini
=================
[System]
ZoneAddress = 127.0.0.1 <<< change to your WANIP or LANIP
NationCode = RU

[BILLING]
SERVER_NAME = BILLING
IP = 127.0.0.1 <<< change to your WANIP or LANIP
PORT = 1433 <<< if you have change your MSSQL Port (ex: 61433)
CP_ID = 1
GROUP_NUM = 1
SERVER_NUM = 1
GAME_ID = 1
===========end of file==================

====================
Login_Filter_Dev.ini
====================
[IPAddress]
FilterNum = 0

Filter0 = 192.168.1.10
FilterRange0 = 255

[ID]
FilterNum = 1
Filter0 = !karasss <<< change to your GM User Account (ex: !rfadmin)
===========end of file==================

===============
LoginSystem.ini
===============
[Account]
AccountAddress = 127.0.0.1 <<< change to your WANIP or LANIP

[System]
NationCode = RU

[CHECK ADDRESS]
CHECK = TRUE

[LOG]
AUTH_LOG = TRUE

[World]
Lim World Num = 1
DB Push Job = 0

[BILLING]
Check = FALSE
BillingCode = 78

[MOTP]
Service = FALSE
HostName = Let.Tom.Ru
HostIP = ÂÀØ IP
URLPath = /MOTPValidation/ValidationServlet
Port = 12380

[IP Address Filter]
FilterNum = 0

Filter0 = 192.168.0.10 <<< change to your WANIP or LANIP
FilterRange0 = 255
[UserCountDisplyLimit]
Limit0 = 500
Limit1 = 1200
Limit2 = 2700

[BILL_RU]
DBName = BILLING
DBIP = 127.0.0.1 <<< change to your WANIP or LANIP
DBAccount = sa <<< change to your MSSQL username see step 4
DBPassword = mnbe5824 <<< change to your MSSQL password see step 4
DBPort = 1433 <<< if you have change your MSSQL Port (ex: 61433)
===========end of file==================

open up F:\RF v2.2.3.2 Server\Account and Login\RF_Bin\ and edit all the INI files

=========
rfacc.ini
=========
[Options]
DBSTR = Driver={SQL Server Native Client 10.0};Server="your mssql server name";Database=BILLING;Uid=rf;Pwd=rfpass; <<< change to your MSSQL username/password see step 4
ErrDBSTR =
LogLevel = 2
===========end of file==================

open up F:\RF v2.2.3.2 Server\ZoneServer\WorldInfo

=============
WorldInfo.ini
=============
[System]
WorldName = RF_LEET <<< change to your desire Server Name ^^

ServerType = 0 <<< change from 1 to 0 otherwise you can NOT connect client to server

BillingCode = 32
BillOper = 0
FreeServer = 1

HBKPath = C:\Work\HBK <<< change to (ex: F:\RF v2.2.3.2 Server\HBK)
HistoryPath = C:\Work\History <<< change to (ex: F:\RF v2.2.3.2 Server\History)

NationCode = RU

[ServerMode]
BuyCashItemByGold = true
ReleaseType = Internal
ExcuteService = true

[Rule]
CrystalHPMultiple = 1.0
CrystalHPMultiple_1 = 5.0
CrystalHPMultiple_2 = 8.0
CrystalHPMultiple_3 = 11.0

[GUILD CREATE EVENT]
Enable = FALSE
START_DATE = 20090119
END_DATE = 20090120
===========end of file==================

open up F:\RF v2.2.3.2 Server\Account and Login\RF_Bin\ and copy/replace rfacc.ini to
F:\RF v2.2.3.2 Server\ZoneServer\RF_Bin

open up F:\RF v2.2.3.2 Server\ZoneServer\RF_Bin\Initialize and edit the WorldSystem.ini

===============
WorldSystem.ini
===============
[System]
AccountAddress = 127.0.0.1 <<< change to your WANIP or LANIP
LimUserNum = 1337

[MainThread]
SleepTerm = 15
SleepValue = 10
SleepIgnore = 1
[Messenger]
Use = TRUE

[RankJob]
JobHour = 23
JobMin = 40

[Rule]
AttackSpareDelay = 200

[Economy]
Default_MgrVal =1000
Default_TaxVal =33
;Default_OreVal =10000
Default_OreVal =3500
2010/10/20_MgrVal = 2000
2010/10/20_TaxVal = 66

[HolySystem]
KeeperCreateMap = resources
KeeperCreateDummy = dk0001
KeeperActiveDummy = hskactdum
KeeperCenterDummy = dk0001
KeeperMonsterCode = 04903

StoneNum = 3

StoneCreateMap0 = resources
StoneCreateDummy0 = dh001
StoneMonsterCode0 = 04B01
StoneMasterRace0 = 0

StoneCreateMap1 = resources
StoneCreateDummy1 = dh002
StoneMonsterCode1 = 04B02
StoneMasterRace1 = 1

StoneCreateMap2 = resources
StoneCreateDummy2 = dh003
StoneMonsterCode2 = 04B03
StoneMasterRace2 = 2
QuestInit=0

[Schedule]
ScheduleInit=0

[Formula]
StdDefPoint=3
RcvDefPoint=10

[Buddha Event]
Enable = FALSE
GiveItem = irpre01
ExchangeItem = irpre01

[CLASS REFINE EVENT]
ENABLE = FALSE
START_DATE = 20101010
END_DATE = 20110101
LIMIT_COUNT = 3

[PcBang Favor]
USE = FALSE

[Time Limit]
Use = FALSE

CNT = 3
Time_0 = 0
Time_1 = 300
Time_2 = 500

Percent_0 = 1.0
Percent_1 = 0.5
Percent_2 = 0.0

LogoutTerm = 10
NotifyTerm = 2

[VersionCheck]
Ver_CheckKey = Êëþ÷ ïðèâÿçêè êëèåíòà. <<< rem out this line for rf version check
<<< ;Ver_CheckKey = Êëþ÷ ïðèâÿçêè êëèåíòà.
===========end of file==================

open up F:\RF v2.2.3.2 Server\ZoneServer\RF_Bin\fireguard edit the ini files

======
fg.ini
======
[Game Server]
Server Name = RF_LEET <<< change to your desire Server Name ^^

[FireGuard Server]
Server IP = ÂÀØ IP
Server PORT = 15444

[Detect Info]
Time Interval = 180000
===========end of file==================

========
fgrs.ini
========
[Game Server]
Game Name = rfonline_levelup
Server Name = RF_LEET <<< change to your desire Server Name ^^
Port = 15445

[FireGuard Server]
Server URL =
Server Port = 80

[Detect Info]
Time Interval = 5000

[FireGuard Use]
Use = no <<< change from NO to FALSE
===========end of file==================

To change Server Rate open up ServerRate.ini in the zoneserver > RF_Bin > Initialize
it pretty self explainatory.. ^^

Note: word of caution if u set ItemRootRate = 8.5 above 10 it will crash your
server all the time ^^ well it crash all the time on my pc so i not sure
pc spec. 8gb ram, intel dual core 9600

8. Add (normal) user test:test to RF_User.rfaccount MSSQL Query:

INSERT INTO RF_USER.dbo.tbl_rfaccount (Id,Password,accounttype,email,birthdate) VALUES ((CONVERT (binary(16),'test')),(CONVERT (binary(24),'test')),'1','test@mailinator.com','01/01/1980')

copy that string to your MSSQL Query and execute it

Add a GM account MSSQL Query:

USE RF_User Insert Into tbl_StaffAccount (ID,PW,Grade,Depart,RealName,SubGrade,Birthday,ComClass) Values (Convert(binary,'!teste'),convert(binary,'teste'),'2','none','teste','4','01/01/1991','GM')

copy that string to your MSSQL Query and execute it

Add the GM information to Login_Filter_Dev.ini.

(EX:
[ID]
FilterNum = 1
Filter0 = !karasss <<< change to your GM User Account (ex: !rfadmin)

==============================
then load up :

accountserversd.exe
billingserver.exe
loginserver.exe remember to in /open ^^
zonserver64bit.exe

====================================
END OF File!!!!!!!!

TO RUN RF CLIENT IM USING EQB RF WORKS GREAT ^^ YOU NEED TO HEX EDIT ITS IP ADDRESS OR USE GENESIS LAUNCHER ^^
I hope this will help alot of people how to setup rf v2.2.3.2 server for Lan (offline) ONLY for WAN use other
guide on the forum ^^ if there is any mistake please let me know ^^ i will change it ASAP!!!
Now if someone would be nice and generouly release the STRS for both server and client would be very
much appreciated thanks in advance ^^

Mimi from EpicRF !!!!!!! My MAU's gose BOOM!!! damn u CORA!!!
 
Last edited:
Initiate Mage
Joined
Jan 3, 2012
Messages
1
Reaction score
0
i keep getting error when starting accountserverSD.exe.
when i run it as administrator, it says accountDB connect failed.
any other ones starts fine (billing, login and zone server).

im using 64 bit OS
my machine meets with requirement
im pretty sure my odbc connections are valid (tested)
my firewall is turned off.

can anyone help me please?
 
Newbie Spellweaver
Joined
Dec 6, 2011
Messages
14
Reaction score
8
read step 4 and 5 DO NOT RUN AS SA !!! in odbc enter ur created account user in mssql. look at step 4 if u get that accountdb failed!!!!!
 
Initiate Mage
Joined
Jan 17, 2012
Messages
2
Reaction score
0
Hey i can not download from megaupload because megaupload has been closed by the FBI could you please upload a new one in-indowebster 4shared mediafire-and-easy it is ziddu thank you
 
Newbie Spellweaver
Joined
Apr 30, 2009
Messages
18
Reaction score
0
what to if the error is side by side configuration???? did this tutorial and that was the thing im having problem with....

ok forgot the rf dependency file to install...
hmmm right now i think my dbase is messed so i have to reinstall and install it again...

ok loginserver is now ok.. but the accountserver, i do also receive that error message of accountdb connect failed.... tried using the created user which is rf....
 
Last edited:
Newbie Spellweaver
Joined
Jan 16, 2012
Messages
29
Reaction score
0
what to if the error is side by side configuration???? did this tutorial and that was the thing im having problem with....

ok forgot the rf dependency file to install...
hmmm right now i think my dbase is messed so i have to reinstall and install it again...

ok loginserver is now ok.. but the accountserver, i do also receive that error message of accountdb connect failed.... tried using the created user which is rf....

You have windows with 64 bits right??
 
Newbie Spellweaver
Joined
Apr 30, 2009
Messages
18
Reaction score
0
murasmune - [Guide] ** RF v2.2.3.2 Server SetUP ** - RaGEZONE Forums
[/IMG]

this is the error when recreating the rfrusaccount.....

accountsystem.ini
[Database]
AccountDB_Machine = 192.168.1.10
AccountDB_Name = RF_User


[System]
NationCode = RU
;NationCode = US
;NationCode = RU (äëÿ ðóñ ëîêàëè)

[DB_INFO]
IP = 192.168.1.10
Port = 1433
DBName = BILLING
Acc = rf
PW = 1234

[Service]
MaxAccountNum = 1337

[World]
WorldSet_Num =1
ServiceSet_Num = 0

Name0 = RF-DEV
Address0 = 192.168.1.10
DBName0 = RF_WORLD
Type0 = 0

billingsystem.ini
[System]
ZoneAddress = 192.168.1.10
NationCode = RU
;NationCode = US
;NationCode = RU (äëÿ ðóñ ëîêàëè)

[BILLING]
SERVER_NAME = BILLING
IP = 192.168.1.10
PORT = 1433
CP_ID = 1
GROUP_NUM = 1
SERVER_NUM = 1
GAME_ID = 1

loginsystem.ini
[Account]
AccountAddress = 192.168.1.10

[System]
NationCode = RU
;NationCode = CN
;NationCode = RU (äëÿ ðóñ ëîêàëè)
[CHECK ADDRESS]
CHECK = TRUE

[LOG]
AUTH_LOG = TRUE

[World]
Lim World Num = 1
DB Push Job = 0

[BILLING]
Check = FALSE
BillingCode = 78

[MOTP]
Service = FALSE
HostName = Let.Tom.Ru
HostIP = ÂÀØ IP
URLPath = /MOTPValidation/ValidationServlet
Port = 12380

[IP Address Filter]
FilterNum = 0

Filter0 = 192.168.1.10
FilterRange0 = 255
[UserCountDisplyLimit]
Limit0 = 500
Limit1 = 1200
Limit2 = 2700
[BILL_RU]
DBName = BILLING
DBIP = 192.168.1.10
DBAccount = rf
DBPassword = 1234
DBPort = 1433

worldinfo.ini
[System]
WorldName = RF-DEV

ServerType = 0

BillingCode = 32
BillOper = 0
FreeServer = 1

HBKPath = H:\Work\HBK
HistoryPath = H:\History

NationCode = RU
;NationCode = TH
;NationCode = RU (äëÿ ðóñ ëîêàëè)
[ServerMode]
BuyCashItemByGold = false
;Ñóùåñòâóåò 2øò(Internal è Release)
ReleaseType = Release
ExcuteService = false

[Rule]
CrystalHPMultiple = 1.0
CrystalHPMultiple_1 = 5.0
CrystalHPMultiple_2 = 8.0
CrystalHPMultiple_3 = 11.0

[GUILD CREATE EVENT]
Enable = FALSE
START_DATE = 20090119
END_DATE = 20090120
 
Newbie Spellweaver
Joined
Apr 30, 2009
Messages
18
Reaction score
0
what do you mean by that ron???? do i need to uninstall and install again my sqlserver????
 
Newbie Spellweaver
Joined
Dec 20, 2010
Messages
41
Reaction score
1
I have this erro
murasmune - [Guide] ** RF v2.2.3.2 Server SetUP ** - RaGEZONE Forums


what problem?




sorry bad english
 
Last edited:
Junior Spellweaver
Joined
Mar 11, 2012
Messages
155
Reaction score
1
sir ...
Tq for info ...I Finish all step , but i don't know how to :
1. How to edit item ??
2. How to edit Quest & NPC ?
Can you teach me about that ? thx ..
sory for my bad english
 
Newbie Spellweaver
Joined
Apr 4, 2009
Messages
39
Reaction score
2
Im having a problem when i open zoneserver its says Failed Empty Document what should i do sir???
 
Initiate Mage
Joined
Apr 3, 2009
Messages
3
Reaction score
0
What are the rf dependecy files? Sorry for dumb question.. My 1st time launching server..
 
Back
Top