ShardManager

07/07/2012 19:15 dose#1
Hi Guyz... i've got DB Connection Failed error... i checked all ini's and server.cfg... nothing wrong... but always error... ?

srGlobalservice.ini
Quote:
[global]
count=1
[entry0]
operation_type=22
name=TestLocal
query=DRIVER={SQL Server};SERVER=dose-PC\SQLEXPRESS;DSN=SRO_VT_ACCOUNT;UID=sa;PWD=test;D ATABASE=SRO_VT_ACCOUNT
global_manager_node_id=697
srNodeType.ini
Quote:
[global]
count=1
[entry0]
id=335
operation_type=22
name=TestLocal
wip=192.168.2.102
nip=192.168.2.102
machine_manager_node_id=699
srShard.ini
Quote:
[global]
count=1
[entry0]
id=64
global_operation_id=20
operation_type=22
name=Test
query=DRIVER={SQL Server};SERVER=dose-PC\SQLEXPRESS;DSN=SRO_VT_SHARD;UID=sa;PWD=test;DAT ABASE=SRO_VT_SHARD
query_log=DRIVER={SQL Server};SERVER=dose-PC\SQLEXPRESS;DSN=Log_DB;UID=sa;PWD=test;DATABASE= Log_DB
capacity=1000
shard_manager_node_id=705
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
Server.cfg
Quote:
Common {
debug_option_debugger_present{
DEBUG_OPTION_ASSERT_SHOW_MESSAGEBOX_OKCANCEL,
DEBUG_OPTION_ASSERT_ADVANCE_BREAK,
DEBUG_OPTION_ASSERT_CANCEL_EXIT
}
debug_option_stand_alone{
DEBUG_OPTION_ASSERT_DONOT_SHOW_MESSAGEBOX,
DEBUG_OPTION_ASSERT_WRITE_MINIDUMP
}
netengine_debug_option_debugger_present{
DEBUG_OPTION_ASSERT_DONOT_SHOW_MESSAGEBOX,
DEBUG_OPTION_ASSERT_WRITE_MINIDUMP
}
netengine_debug_option_stand_alone{
DEBUG_OPTION_ASSERT_DONOT_SHOW_MESSAGEBOX,
DEBUG_OPTION_ASSERT_WRITE_MINIDUMP
}

}

////////////////////////////////////////////////////////////////////////////////////////////
GlobalManager {
Certification "192.168.2.102", 32000
LoginFailureTolerance 3
IBUVFailureTolerance 3
LoginFailureBlockTimeMin 0
IBUVFailureBlockTimeMin 0
AutomatedPunisher "AutomatedPunisher"
LoginPunishmentGuide "Blocked for 10 minutes due to incorrect password entered 3 times"
LoginPunishmentDescription "Blocked for 10 minutes due to incorrect password entered 3 times"
IBUVPunishmentGuide "Blocked for 10 minutes due to incorrect code entered 3 times"
IBUVPunishmentDescription "Blocked for 10 minutes due to incorrect code entered 3 times"
}

GatewayServer {
LastFullVersion_SR_Client 130
Certification "192.168.2.102", 15880
IBUVQueueReserveCount 20000
IBUVQueuePrepareRatio 0.10
IBUVFailureIPTolerance 0
IBUVStringSize 1
IBUVCharacterSet "ABCDEF1234567890"
}

DownloadServer {
Certification "192.168.2.102", 15880
}
FarmManager {
Certification "192.168.2.102", 15880
}

AgentServer {
Certification "192.168.2.102", 15882 //no global manager running lol
//traffic_filter_activity "service_off"
//MaxUser 5000
//SockTCPCount 15000
MaxConnectionsPerServer "5000"
MaxConnectionsPer1_OServer "5000"
}

MachineManager {
Certification "192.168.2.102", 15880
CERTIFICATION_IP_BIND "192.168.2.102"
}

SR_GameServer {
Certification "192.168.2.102", 15882
SockTCPCount "5000"
ExpRatio "10000"
ExpRatioParty "11000"
DropItemRatio "7000"
DropGoldAmountCoef "9000"
HwanGainFactor "750"
ShowFormulaDetail "1"

//WINTER_EVENT_2009 EVENT_ON
//EUBUSINESS_EVENT EVENT_ON
//GOLDEN_PIG_FEBRUARY_EVENT EVENT_ON
//THANKS_GIVING_EVENT EVENT_ON
//LIBERATION_EVENT EVENT_ON
LOCALE LOCALE_VIETNAM

//#ifdef OPEN_MARKET_SYSTEM
SET_FEE_RATE "0,5,5,5"
SELL_FEE_RATE "0,10,10,10"
//#endif OPEN_MARKET_SYSTEM
//RE FTW

DO_NOT_SPAWN_MONSTER_OVER_MAX_SERVICE_LEVEL "OFF"
ENTER_LIMIT_CONDITION_GAME_WORLD_ASSIGNED "OFF"


}

SR_ShardManager {
Certification "192.168.2.102", 15882
BILLING_SERVER_URL "http://192.168.2.102:80/"
CREST_FTP_URL "ftp://sro:test@127.0.0.1/Crest/"
ChristmasEvent2007 1
SERVER_EVENT_SYSTEM ON
LOCALE LOCALE_VIETNAM
FlagEvent 1

HourForMeterRateLevelFirst 22
HourForMeterRateLevelSecond 23

BattleArenaRandom 1
BattleArenaParty 1
BattleArenaGuild 1
BattleArenaJob 1
ArenaMatchOccupy 1
ArenaMatchFlag 1
ArenaMatchPoint 1
}
}
02/26/2013 00:49 awful1337#2
Quote:
Originally Posted by dose View Post
Hi Guyz... i've got DB Connection Failed error... i checked all ini's and server.cfg... nothing wrong... but always error... ?

srGlobalservice.ini


srNodeType.ini


srShard.ini


Server.cfg


Just delete gm's ips from database.....

:)
03/01/2013 18:46 PortalDark#3
#moved to correct section
03/02/2013 22:07 MNX-Style#4
go to ODBC and create DNS for your db connection