Mohannad2010 |
15-10-2013 06:59 PM |
حل مشاكل السيرفر الخاص
لو كل واحد خلص تنزيل برنامج SQL وان شاء الله تعالى هشرحة بعدين بس النسخة 2012 لان جميع النسخ مشروحة ماعدا نسخة SQL 2012
نيجى على المهم الشرح بالطريقة المملة علشان الناس الجديدة مدورش كتير :specool:
شويت ملفات نعدلها مع بعض علشان السيرفر ميكونش فية مشاكل تانى ان شاؤ الله تعالى :-
1- Server.cfg
ودا طبعا هنجدة فى ملف Blitzkrieq_Bin_Data
هنغير فية IP بدل 192.168.1.100 هنخليه ال ip بتاعنا بتاع الستك او الهامشى
و ال ID و ال Password بتوع ال FTP --- بتاع برنامج filezila server
كود PHP:
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.1.100", 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.1.100", 15880
IBUVQueueReserveCount 20000
IBUVQueuePrepareRatio 0.10
IBUVFailureIPTolerance 0
IBUVStringSize 1
IBUVCharacterSet "ABCDEF1234567890"
}
DownloadServer {
Certification "192.168.1.100", 15880
}
FarmManager {
Certification "192.168.1.100", 15880
}
AgentServer {
Certification "192.168.1.100", 15882 //no global manager running lol
//traffic_filter_activity "service_off"
//MaxUser 5000
//SockTCPCount 15000
MaxConnectionsPerServer "5000"
MaxConnectionsPer1_OServer "5000"
}
MachineManager {
Certification "192.168.1.100", 15880
CERTIFICATION_IP_BIND "192.168.1.100"
}
SR_GameServer {
Certification "192.168.1.100", 15882
SockTCPCount "5000"
ExpRatio "35000"
ExpRatioParty "35000"
DropItemRatio "5000"
DropGoldAmountCoef "15000"
HwanGainFactor "250"
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.1.100", 15882
BILLING_SERVER_URL "http://192.168.1.100:8080/"
CREST_FTP_URL "ftp://id:[email protected]/SRO_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
}
2- CustomCertificationServer
ودا موجود بردة فى ملف Blitzkrieq_Bin_Data
نخش على Bin >> ini
ونروح على ملف تكست إسمو
srGlobalService
كود بلغة HTML:
[global]
count=1
[entry0]
operation_type=22
name=SRO_Vietnam_TestLocal
query=DRIVER={SQL Server};SERVER=Name-PC\SQLExpress;DSN=SRO_VT_ACCOUNT;UID=sa;PWD=SQLPassWord;DATA BASE=SRO_VT_ACCOUNT
global_manager_node_id=697
هنغير فية Name-PC\SQLExpress نشيل الاسم دا منة ونكتب الاسم بتاع SQL ناخدة كوبى افضل... وكمان هنغير SQLPassWord هنكتب الباس بتاع SQL وسيب SA زى مهيا لان SQL هيكون SA
3-srNodeType
ودى موجودة فى نفس الملف الى انت فية دلوقتى
كود بلغة HTML:
[global]
count=1
[entry0]
id=335
operation_type=22
name=SRO Vietnam TestLocal
wip=192.168.1.100
nip=192.168.1.100
machine_manager_node_id=699
هنغير فية IP بدل 192.168.1.100 هنخليه ال ip بتاعنا بتاع الستك او الهامشى
4- srShard
ودى موجودة فى نفس الملف الى انت فية دلوقتى
كود بلغة HTML:
[global]
count=1
[entry0]
id=64
global_operation_id=20
operation_type=22
name=YourServerName
query=DRIVER={SQL Server};SERVER=Name-PC\SQLExpress;DSN=SRO_VT_SHARD;UID=sa;PWD=Password;DATABASE=SRO_VT_SHARD
query_log=DRIVER={SQL Server};SERVER=Name-PC\SQLExpress;DSN=SRO_VT_SHARDLOG;UID=sa;PWD=Password;DATABASE=SRO_VT_SHARDLOG
capacity=100
shard_manager_node_id=705
u1=240
u2=208
u3=17
u4=1
u5=0
u6=0
u7=0
|