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] Siege Wars

Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56
Hi guys,

Now I'm going to tell how you can set your server to play on Siege Wars (BATTLEGROUND/BG) step to step. If I see the appreciation from the members I will update.

Step 1.

Server tree


The first step is the structure of your server, pay attention to the picture, the last folder is siege wars servers:

RUNEWAKER & BG FOLDER

1 - [Guide] Siege Wars - RaGEZONE Forums


Step 2.

Runewaker Folder *Ini & configuration

In this folder you need to disable Gateway.exe

Global.ini:
[BOOT]
;---------------------------------------------------------------------
; General Setting
;---------------------------------------------------------------------

;Setting detail for this game world
GameName = "SERVERNAME"
WorldID = 1
GameID = 1
IsAutoLogin = 1
TimeZone = 8
IsPvE = 1

;Resource path
DataPath = "C:\Runewaker\DataROM"
ResourcePath = "C:\Runewaker\DataROM"
LuaPath = "C:\Runewaker\DataROM\luascript"
;IsLoadfdbLuaScript = 1
IsLoadTxtLuaScript = 1

;Setting for partition block size
Block = 160

;---------------------------------------------------------------------
; Setting for internet
;---------------------------------------------------------------------

;Settting for host to allow internet client to connect in
ServerListIP_Outside = 0.0.0.0 or 127.0.0.1 or 192.168.x.x
ServerListCliPort = 21002

;offer to internet client to connect to switch
SwitchIP_Outside = externalip or 127.0.0.1 or 192.168.x.x
Switch_CliPort = 16401

;offer to internet client to connect to proxy
ProxyIP_Outside = externalip or 127.0.0.1 or 192.168.x.x
Proxy_CliPort = 16402


;---------------------------------------------------------------------
; Setting for local lan
;---------------------------------------------------------------------

;Setting for host to allow switch to connect in
AccountIP = 127.0.0.1
AccountPort = 21000

;Setting for host to allow switch to connect in
ServerListIP = 127.0.0.1
ServerListSrvPort = 21001

;Setting for host to allow other server or proxy to connect in
SwitchIP = 127.0.0.1
Switch_ProxyPort = 18000
Switch_GSrvPort = 19000

;Setting for host to allow other server to connect in
ProxyIP = 127.0.0.1
Proxy_GSrvPort = 15000

;offer to connect to gateway
GatewayIP = 127.0.0.1
GatewayPort = 15100

;---------------------------------------------------------------------
; Setting for Database
;---------------------------------------------------------------------
;Settinf for database, SQL SERVER IP, Database name, account , password
Acc_DBServer = .\SQLSERVER
Acc_DataBase = ROM_Account
Acc_Account = SQLUSER
Acc_Password = encriptedSQLpass+user

Game_DBServer = .\SQLSERVER
Game_DataBase = ROM_World
Game_Account = SQLUSER
Game_Password = encriptedSQLpass+user

Global_DBServer = .\SQLSERVER
Global_DataBase = ROM_GlobalDB
Global_Account = SQLUSER
Global_Password = encriptedSQLpass+user

Import_DBServer = .\SQLSERVER
Import_DataBase = ROM_ImportDB
Import_Account = SQLUSER
Import_Password = encriptedSQLpass+user

Log_DBServer = .\SQLSERVER
Log_DataBase = ROM_WorldLog
Log_Account = SQLUSER
Log_Password = encriptedSQLpass+user

NewAccountDisableCreateRole = 0

MaxRoleLevel = 100
EnableWorldConfigTable = 1

; Number of thread for database connection
DBThreadCount_Game = 10
DBThreadCount_Log = 10
DBThreadCount_Global = 3
DBThreadCount_Import = 3

;GMCommand = 0

SpecialCharacterNameFile = "specialname_es.txt"

LanguageType = "es"
Datalanguage = "es"
Stringlanguage = "es"

AC_AccountMoneyTrade = 1
AC_Item_AccountMoneyTrade = 1

;..\Log options
IsSaveLog = 1
IsExpLog = 0
IsLevelLog = 1
IsItemTradeLog = 1
IsItemTradeLog_Detail = 1
IsMoneyLog = 1
IsAccountMoneyLog = 1
IsPlayerActionLog = 1
IsPlayerDeadLog = 1
IsMonsterDeadLog = 1
IsQuesetLog = 1
IsClientLog = 1
IsSendNpcInfoToGMTools = 1
IsTalkLog = 0
;IsHouseMoveItemLog = 1
;IsHouseActionLog = 1
;IsHouseServantLog = 1
IsItemTradeLog_Detail = 1

IsDisableMailMoney = 0
IsDisableMailAccountMoney = 0

Chat.ini:

[BOOT]
DebugPrintLv = 2
DebugOutputLv = 2
DebugOutputFile = "Chat.Log"
DebugOutputField = "..\Log"

IsBattleGroundServer = 0

Master.ini:
[BOOT]
MaxPlayerCount = 80
MaxLimitPlayerCount = 100

MaxObjCount = 3500

EnableObjWait = 0

MaxCreateRoleCount = 10
PlayerCenterCount = 1

MaxZonePlayerCount = 150

IsEnableAgencyCCU = 0
IsEnable_DisconnectPriority = 0
IsEnablePlayHistoryLog = 0
CheckSecondPassword = 0
CheckSecondPassword_ExtraCheck_Captcha = 0

CaptchaMaxStringLength = 4
CaptchaAlphabetCount = 2
CaptchaBackGroundImageCount = 2
CaptchaNoiseImageCount = 4

EnableWait = 0
EnableGameGuard = 0

NewAccountDisableCreateRole = 0
IsEnable_BTI = 0
IsEnable_APEX = 0
IsEnable_APEX_KICK = 0

VivoxUrl = ""
VivoxAccount = ""
VivoxPassword = ""
Vivoxlanguage = ""
VivoxClientUrl = ""

AgencyKeyword1 = ""
AgencyKeyword2 = ""
AgencyKeyword3 = ""
AgencyKeyword4 = ""
AgencyKeyword5 = ""
AgencyKeyword6 = ""
AgencyKeyword7 = ""
AgencyKeyword8 = ""
AgencyKeyword9 = ""
AgencyKeyword10 = ""

BTI_IP1 = 127.0.0.1
BTI_PORT1 = 123123

BTI_IP2 = 127.0.0.1
BTI_IP2 = 123124

DebugPrintLv = 2
DebugOutputLv = 2
DebugOutputFile = "Master.Log"
DebugOutputField = "..\Log"

SpecialCharacterNameFile = "specialname_es.txt"

IsBattleGroundServer = 0

Step 3.

BattleGround Folder *Ini & configuration

For a correct connection you need to clone your ROM_WorldLog Database and RENAME to ROM_Worldlog_30

Global.ini:

[BOOT]
;---------------------------------------------------------------------
; General Setting
;---------------------------------------------------------------------

;Setting detail for this game world
GameName = "YourBGSERVERNAME"
WorldID = 30
GameID = 30
IsAutoLogin = 0
TimeZone = 8
IsPvE = 0

;loging limit
MaxPlayerCount = 200
MaxZonePlayerCount = 50
MaxLimitPlayerCount = 210
EnableWait = 0
IsEnable_DisconnectPriority = 0

;CheckSecondPassword = 0

MaxObjCount = 3500


;Resource path
DataPath = "C:\Runewaker\DataROM"
ResourcePath = "C:\Runewaker\DataROM"
LuaPath = "C:\Runewaker\DataROM\luascript"
;IsLoadfdbLuaScript = 1
IsLoadTxtLuaScript = 1

;Setting for partition block size
Block = 160

;Language setting
LanguageType = "es"
Datalanguage = "es"
Stringlanguage = "es"
SpecialCharacterNameFile = "specialname_es.txt"
Vivoxlanguage = ""

;Vivox
VivoxUrl = ""
VivoxClientUrl = ""
VivoxAccount = ""
VivoxPassword = ""

;---------------------------------------------------------------------
; Setting for internet
;---------------------------------------------------------------------

;Settting for host to allow internet client to connect in
ServerListIP_Outside = 0.0.0.0 or externalip or 127.0.0.1 or 192.168.x.x
ServerListCliPort = 21002

;offer to internet client to connect to switch
SwitchIP_Outside = externalip or 127.0.0.1 or 192.168.x.x
Switch_CliPort = 16601

;offer to internet client to connect to proxy
ProxyIP_Outside = externalip or 127.0.0.1 or 192.168.x.x
Proxy_CliPort = 16602

;---------------------------------------------------------------------
; Setting for local lan
;---------------------------------------------------------------------

;Setting for host to allow switch to connect in
AccountIP = 127.0.0.1
AccountPort = 21000

;Setting for host to allow switch to connect in
ServerListIP = 127.0.0.1
ServerListSrvPort = 21001

;Setting for host to allow other server or proxy to connect in
SwitchIP = 127.0.0.1
Switch_ProxyPort = 18001
Switch_GSrvPort = 19001

;Setting for host to allow other server to connect in
ProxyIP = 127.0.0.1
Proxy_GSrvPort = 15001

;offer to connect to gateway
GatewayIP = 127.0.0.1
GatewayPort = 15100

;---------------------------------------------------------------------
; Setting for Database
;---------------------------------------------------------------------
;Settinf for database, SQL SERVER IP, Database name, account , password
Acc_DBServer = .\SQLSERVER
Acc_DataBase = ROM_Account
Acc_Account = SQLUSER
Acc_Password = encriptedSQLpass+user

Game_DBServer = .\SQLSERVER
Game_DataBase = ROM_World
Game_Account = SQLUSER
Game_Password = encriptedSQLpass+user

Global_DBServer = .\SQLSERVER
Global_DataBase = ROM_GlobalDB
Global_Account = SQLUSER
Global_Password = encriptedSQLpass+user

Import_DBServer = .\SQLSERVER
Import_DataBase = ROM_ImportDB
Import_Account = SQLUSER
Import_Password = encriptedSQLpass+user

Log_DBServer = .\SQLSERVER
Log_DataBase = ROM_WorldLog_30
Log_Account = SQLUSER
Log_Password = encriptedSQLpass+user

; Number of thread for database connection
DBThreadCount_Game = 100
DBThreadCount_Log = 100


;
NewAccountDisableCreateRole = 0

;
AC_AccountMoneyTrade = 1
AC_Item_AccountMoneyTrade = 0

SwitchPacketTimeProcLog = 1

;Log options
IsSaveLog = 1
IsExpLog = 1
IsLevelLog = 1
IsItemTradeLog = 1
IsItemTradeLog_Detail = 1
IsMoneyLog = 1
IsAccountMoneyLog = 1
IsPlayerActionLog = 1
IsPlayerDeadLog = 1
IsMonsterDeadLog = 1
IsQuesetLog = 1
IsClientLog = 1
IsSendNpcInfoToGMTools = 1
IsTalkLog = 1
IsHouseMoveItemLog = 1 //小屋物品移動log
IsHouseActionLog = 1 //小屋行動log
IsHouseServantLog = 1 //小屋女僕log
IsItemTradeLog_Detail = 1 //玩家之間交易log

MaxRoleLevel = 100


IsBattleGroundServer = 1
IsBattleWorld = 1

EnableWorldConfigTable = 1

Chat.ini:

[BOOT]
DebugPrintLv = 1
DebugOutputLv = 2
DebugOutputFile = "Chat.log"
DebugOutputField = "Log"

IsBattleGroundServer = 1


Gateway.ini
:

[BOOT]
GatewayIP = 127.0.0.1
Gateway_SwitchPort = 15100

DebugPrintLv = 1
DebugOutputLv = 2
DebugOutputFile = "Gateway.log"
DebugOutputField = "Log"


Master.ini:

[BOOT]
;Server log file setting
DebugOutputLv = 2
DebugOutputFile = "Master.log"
DebugOutputField = "Log"
DebugPrintLv = 2

IsBattleGroundServer = 1

IsEnable_APEX = 0
IsEnable_APEX_KICK = 0
IsEnable_BTI = 0

Switch.ini:


[BOOT]
DebugPrintLv = 1
DebugOutputLv = 2
DebugOutputFile = "Switch.log"
DebugOutputField = "Log"

IsAutoLogin = 0
NoPassworrd = 1

DisableProxyCheckClientRespond = 1
DisableProxyCheckServerRespond = 1


Zone BG *.ini:

Zone 402

[BOOT]
ZoneID = 402
BaseIni = .\ZoneBase.ini

;(in percentage points of experience at level)
DeadDebtExpRate = 0

;(in percentage points of 1/10th experience at level)
DeadDebtTpRate = 0



;Max_GuildWorld_PlayerCount = 36


Zone 440

[BOOT]
ZoneID = 440
BaseIni = .\ZoneBase.ini
;是否關閉交易功能
IsDisableTrade = 1
;是否關閉比試功能
IsDisableDual = 1
IsZonePartyEnabled = 1
IsDisableParty = 1
BG_iNumTeamPeople = 1

Zone 441


[BOOT]
ZoneID = 441
BaseIni = .\ZoneBase.ini
;是否關閉交易功能
IsDisableTrade = 1
;是否關閉比試功能
IsDisableDual = 1
IsZonePartyEnabled = 0
IsDisableParty = 1
BG_iNumTeamPeople = 1


Zone 442-448 447 Don't exist

[BOOT]
ZoneID = 442
BaseIni = .\ZoneBase.ini
;是否關閉交易功能
IsDisableTrade = 1
;是否關閉比試功能
IsDisableDual = 1
IsZonePartyEnabled = 1
IsDisableParty = 0
BG_iNumTeamPeople = 1

Zonebase.ini

[BOOT]
;Death Experience Penalty
DeadExpDownRate = 0

;(in percentage points of experience at level)
DeadDebtExpRate = 5

;(in percentage points of 1/10th experience at level)
DeadDebtTpRate = 5

;Minimum level requirement to use the zone channel
ZoneChannelBroadcastLv = 5

;Require item mall item to use world channel
IsSysChannelNeedItem = 0

TryException = 0

;Allow transmission of NPC information to GM Tools application
IsSendNpcInfoToGMTools = 0

DebugOutputLv = 2
DebugOutwputFile = "GameServer"
DebugOutputField = "Log"
DebugPrintLv = 2

MaxRoleLevel = 100

IsLoadFdbLuaScript = 1

SwitchPacketTimeProcLog = 1

; 單位要 ViewBlock 的倍數
;ViewMaxZ = 480
;ViewMaxX = 2400
;ViewMinZ = -2400
;ViewMinX = -480

; 單位要 Partition Block 的倍數
;CtrlMaxZ = 0
;CtrlMaxX = 1920
;CtrlMinZ = -1920
;CtrlMinX = 0





Keep in mind that only the beginning of BG server consumes about 8GB of RAM if I remember correctly.
For a correct Siege wars battle you need to open your zone Guild Castle on runewaker server.
Obviously you need to set your new BG Server on RAServerController.ini.


Ty to @theDomo for files

ScreenShots:

RAScrnShot_20160907_191858 - [Guide] Siege Wars - RaGEZONE Forums RAScrnShot_20160907_191819 - [Guide] Siege Wars - RaGEZONE Forums





State:
Finished

Regards,
Elssair.

 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
Jul 9, 2015
Messages
135
Reaction score
65
Heya, nice to see someone helping the community, but i cant see your attachment in the first spoiler? not sure why, but clicking it brings up an error for me.
 
Junior Spellweaver
Joined
Apr 27, 2015
Messages
176
Reaction score
107
Step 1 Picture also doesn't show for me.
 
Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56

State:
As I do not see much interest on my tuto I will not prioritized I'm Testing new theDomo files.

+300 views and no likes, I'm taking this slowly, slowly, slowlyyyyy....

Regards,
Elssair.
 
Initiate Mage
Joined
Sep 3, 2016
Messages
7
Reaction score
1
we have made all the arrengments like you described here. But i have a quetion about timezone. This zone is for america i think and for europa time zone should i change it to +1 +2 or ? so that changes the begining of the time ?

and although i made all the settings my bg is nto starting is it cos of time zone or ?
 
Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56
You need to put your time zone on all global.ini, the same time if you would see correctly the hour, for +1,+2,etc.. you need to put only the number, for example I'm from spain, I need to put Timezone = 1, for a minor number you need to put -1.

Regards,
Elssair.
 
Initiate Mage
Joined
Sep 3, 2016
Messages
7
Reaction score
1
we have made that change but in game in panel it shows -39 minute to war to begin.. do you have anyidea what can cause this problem?
 
Initiate Mage
Joined
May 15, 2007
Messages
31
Reaction score
2
Same Here Elsair i do all thinks But Still GW not starting, is there any change on Database i have standart 6.0.7 Server files and its Database if we need add some new tables can you tell them too pls Tnx.
 
Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56
Siege wars work fine with any +5chapter database, look if your battleground (1vs1,2vs2,...) work correctly too.. if don't work correctly you have a wrong configuration. Look if all exe don't have errors, and try again.

Regards,
Elssair.
 
Initiate Mage
Joined
Sep 3, 2016
Messages
7
Reaction score
1
thank you for yourassistance. But i have discovered that our server time and date is totaly wrong. Some user has different other has different time frame. And date is 0101.1970..
do you have any idea how to fix this cos it can be the source of our siege war problem.
 
Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56
Look your ini and see if you have this on
Runewaker/Account.in :
AccountType = 0

Runewaker & BG Server/Proxy & Switch.ini:
DisableProxyCheckClientRespond = 1
DisableProxyCheckServerRespond = 1

Runewaker PlayerCenter.ini:
PlayerCenterID = 0

I don't know if this help you but try if you don't have this, about date issue seems TimeZone config error or your don't have desactived runewaker gateway or your ip are wrong.
Sorry I can not be of more help.

Regards,
Elssair.
 
Last edited:
Junior Spellweaver
Joined
Jul 9, 2015
Messages
135
Reaction score
65
hmm, i have issues with logging in after starting all the services, it connects to game server then says connection lost, any ideas?
 
Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56
for a localhost you need to put 192.168.x.x (your internal ip=192.168.1.11) on serverlistoutside,switchipoutside,proxyipoutside on all global.ini, for a ext connection you need to put 0.0.0.0 on serverlistoutside and your ext ip ( ) on switchipoutside and proxyipoutside.

Regards,
Elssair.
 
Experienced Elementalist
Joined
Nov 27, 2007
Messages
272
Reaction score
58
Siege wars work fine with any +5chapter database, look if your battleground (1vs1,2vs2,...) work correctly too.. if don't work correctly you have a wrong configuration. Look if all exe don't have errors, and try again.

Regards,
Elssair.

Nice to see u still work on this game :D
Regards Friend ;)
 
Initiate Mage
Joined
Sep 3, 2016
Messages
7
Reaction score
1
its really advanced lvl of english :)
whatever do we need two seperate server in order to start siege war? we have just made all the arrengements here as you described but its just not starting. the war automaticly
 
Skilled Illusionist
Joined
Dec 4, 2013
Messages
353
Reaction score
56
Hey @vapereon! I'm enrolled at the prestigious school of !! ;P

You need to start 1: Runewaker server common,services,other zones and Guild Caste 401, before you need start BG Services and his zones, Siege war zone is 402, if you don't connect this zone, siege wars don't run.

I am not English, but I was the only person who has bothered to make a guide that I did work, without having help and being all in English and chinese

Regards,
Elssair.
 
Initiate Mage
Joined
Sep 3, 2016
Messages
7
Reaction score
1
@Elssair the one i was talking about was not you the other guys baba55 :) so dont take it on you bro

iam going to check what you have written
 
Initiate Mage
Joined
May 15, 2007
Messages
31
Reaction score
2
Elsair Here is my problem Atm.

When i login game in Battles Window always Says to me " State End " and its start countdown to -1, -2 , -3 ....
After i logout while and re-login its same and start from -1 again So its not get date from database or any server side its get from my own Time (Client) is there any Table in Database table to get Date something is missing :(
 
Back
Top