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!

[Help]Group Server

Initiate Mage
Joined
Dec 20, 2012
Messages
1
Reaction score
0
Hye please help me solving my problem in setup a server

all my server run succes except Groupserver

this is the list

AccountServer.cfg

Code:
//º£µÁÍõÔÚÏßÓÎÏ·AccountServerÅäÖÃÎļþ

[net]
listen_port = 1978
listen_ip = 127.0.0.1		//(YOUR IP HERE) ¼àÌýIPµØÖ·£¬ÓÃÓÚ½ÓÊÜGroupServerµÄÁ¬Èë

[db]
dbserver = 127.0.0.1		// IP Address Of Server Database
db = AccountServer		// Database Name
userid = account1 			// SQL Security Login
passwd = EZCpyYOZVofugqDFBZrLKw== 	// Password = Y87dc#$98


[bill]
enable_bill = 0
enable_passport= 0   			// ÊÇ·ñÆôÓÃbillingϵͳµÄpassport
enable_kickuser = 0

bill_server1 = 127.0.0.1:7243	//
bill_server2 = 127.0.0.1.3:7243	//

[tom]
enable_tom = 0				// 

[gs]
GroupServerAndor = GroupServerAndor 	// ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º¡°Õ˺ÅÃû¡± = ¡°ÃÜÂ롱£©
GroupServerAndor1 = GroupServerAndor1 	// ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º¡°Õ˺ÅÃû¡± = ¡°ÃÜÂ롱£©
GroupServerAndor2 = GroupServerAndor2 	// ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º¡°Õ˺ÅÃû¡± = ¡°ÃÜÂ롱£©
GroupServerAndor5 = GroupServerAndor5 	// ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º¡°Õ˺ÅÃû¡± = ¡°ÃÜÂ롱£©
GroupServerAndor6 = GroupServerAndor6 	// ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º¡°Õ˺ÅÃû¡± = ¡°ÃÜÂ롱£©
enable_ping = 1             		// ÓëGroupServerÊÇ·ñÆôÓà "Keep Alive"

GroupServer.cfg

Code:
;??µ??????????··???????GroupServer????????
;GroupServer??¶??±»???????????µ?system??»§±?(??±??»?????»??????)µ?group_startup???¬??????????0?¬±???µ±?°?»??GroupServer???????¬±?GroupServer»???????¶??¬·???±?GroupServer»???????????????????¶?
;GroupServer??exit??????????»???¶???????±?????±»??????????¶???

[Main]
Name        =GroupServerAndor1        // ±?GroupServerµ???AccountServerµ????»????
Listen_Port    =1975                // The TCP Port Gateserver will connect to GroupServer
Listen_IP    = 127.0.0.1            // The IP GateServer will connect to GroupServer
KeepAlive    = 1800                // ????Socket?????»???????«???¬GroupServer????Socket?¦??»?¶????¬µ??±???¬?¬?????±???»????????????Socket????
Version        =103               // ?????¬??GateServer°?±?µ?°?±????¬?»??°?±?????????????µ?GateServer.exe?????¬??±?GroupServer


[AccountServer]
AcctEnable    = 1             // 0: close the connection // 1: Open the connection
Password    =  GroupServerAndor1      // AccountServer Password
IP        =127.0.0.1    // The IP GroupServer will connect to AccountServer
Port        = 1978            // The TCP Port GroupServer will connect to AccountServer


[Database]
IP        = 127.0.0.1           // IP Address Of Server Database
DB        =  GameDB           // Database Name
Login        = game2              // SQL Security Login
Password    =  EZCpyYOZVofugqDFBZrLKw==          // Password = 
MaxVal        =2000000000            // ?»???????????¬???????????»?????µ»?±»???????????·µ????¬????????¶??µ


[???«]
MaxCharactPerAcc    =3            // Max Number of Characters that can be created per account
ChaImgLogoMaxValue    =30            // ????»???±?µ??????µ?¬?????·°?±?¶?¶??¬???µ??·????????????????????±??µ?·¶?§?????µ
MaxLognCount        =1000            // Max Number of Logins


[????]                        // Friend System
MaxInvtation        =5            // Max Possible Characters Invitation At Same Time
InvitTimeOut        =30            // Invitation Time Out (In Seconds)
MaxFriendPerChar    =50            // Max Number of Friends a Character Can Have
EveryCharFrndListGroup    =10            // (Max value = 10)


[??¶?]                        // Party System
MaxInvtation        =6            // Max Possible Characters Invitation At Same Time
InvitTimeOut        =30            // Invitation Time Out (In Seconds)
PlayersInsdParty    =5            // Max Players Inside A Party


[????]                        // Chat System
MaxMsngPerPlayer    =30            // Max Number of Messenger a Player can Join (Max value = 30)
MaxPlayerPerMsng    =30            // Max Number of players Inside a Messenger (Max value = 100)
WrldChanSayInter    =20            // World Channel Say Interval (In Seconds)
TrdeChanSayInter    =20            // Trade Channel Say Interval (In Seconds)
WhprChanSayInter    =2            // Whisper Channel Say Interval (In Seconds)


[????µ?]                    //Birthplace configuration
Argent City    =garner
Shaitan City    =garner
Icicle Castle    =garner

GateServer.cfg

Code:
;GateServer Initial information file 

[Main]
Name = Anchor_gate		//¹ÒGateServerÉöÇÌÉÆGroupServerŠfÇ»?ÃÒõÂ
Version = 103		//¹ÒGateServerèæ»×ÚÐÕcÉËǻহÒÑñ¨Û?1.01ন@¨@101

[GroupServer]
IP = 127.0.0.1	//ó°ÚÃÇ»GroupServer›ü?GateServeró°ÚÃÇ»›ü?IP»ª³u
Port = 1975				//ó°ÚÃÇ»GroupServer›ü?GateServeró°ÚÃÇ»›ü?TCPÉËÚÏ
EnablePing = 180		//GateServerÉÆGroupServerÇ»Socketó°ÚÃÇ»KeepAlive³t

[ToClient]
IP = 127.0.0.1		//GateServer›ü?ÍV?ÚÐÕcÉËó°ÚÃÇ»›ü?IP»ª³u
Port = 1973				//GateServer›ü?ÍV?ÚÐÕcÉËó°ÚÃÇ»›ü?TCPÉËÚÏ
CommEncrypt = 1			//ÉÆÚÐÕcÉËÇ»Socketó°ÚÃŒë´áºþôËÂ¥³ù»oê|
EnablePing = 60			//GateServerÉÆÍV?ÚÐÕcÉËÇ»Socketó°ÚÃÇ»KeepAlive³t
MaxConnection= 500		

[ToGameServer]
IP = 127.0.0.1 // Üíí³RßùØÇip»ª³u	¨ÛGateServer›ü?GameServeró°ÚÃÇ»›ü?IP»ª³u
Port = 1971				//GateServer›ü?GameServeró°ÚÃÇ»›ü?TCPÉËÚÏ
EnablePing = 180		//GateServerÉÆGameServerÇ»Socketó°ÚÃÇ»KeepAlive³t

[ShowRange]
ShowMin = 500			// ÜÖôÀÕÍôÀShowMinŠC«}Œ´œB¶¼
ShowMax = 800			// äÎôÀShowMinÌð¥ÖÜÖôÀÕÍôÀShowMax«}Œ´—ü½®¨ÛäÎôÀShowMax«}Œ´³û
IsUse = 1				// Œë´áŠpÍ[«}Œ´Ó¼¾¡÷ÕÙç,0-ÏéŠpÍ[,1-ŠpÍ[


GameServer.cfg

Code:
// Game Server AaOAIA?t
// CeIiEeEuODDeOa?¡LA¢FA??O£gAGateDAI¢FOO?¢X¡MA¡PtInA¡Ò¡MoOeOE¡Ñ¡Ò£gA£gOI?Au3A

[¡ÓeE?]
name = GameServer00  // ¡PtInA¡ÒAu3A, 2?AUoIAaEu£gOI?¡PtInA¡ÒOOAu
equment = EO??En

[Io1O¡PtInA¡ÒDAI¢F]
gate = 127.0.0.1, 1971 // A??OAAO?I¡LGate¡PtInA¡Ò, ¡MnE?Iaip£gOO¡P,?E?U

[£gOI?AD¡Ói]            // O?¡Mo?o?a¡Mo£gOI?Au
map = garner
map = binglang2
map = winterland
map = teampk
map = PKmap
map = hell
map = hell2
map = hell3
map = hell4
map = hell5
map = garner2
map = eastgoaf
map = leiting2



[OII¡PEy?Y?a]  // O¡M?¡LEy?YA??ODAI¢F
db_ip   = 127.0.0.1  // Ey?Y?a¡PtInA¡Òip£gOO¡P
db_usr  = account1   // ?oEeEy?Y?a£gAOEoA
db_pass = EZCpyYOZVofugqDFBZrLKw==  // ?oEeEy?Y?a£gAAUAe, ¡¦EAUAeEC¡Ñ¡LAA1??s?OAUORoo£gA?a1u

[Socket]
keep_alive = 120

[ID?uEy]                        // ¡PtInA¡ÒIa?CE?¡POAaID£gA?uEy, A?¡Mo£gOI?server??2?I?
BaseID = 0x50000000

[E£gIaEyA?] // O¢XIiAU¡¦aO?OA
max_ply = 500      // Ia?OEyA?
max_cha = 30000      // 1OIiEyA?
max_item = 30000   // £gA?sEyA?
max_tnpc = 300      // ?O?¢XNPCEyA?

[1??a¡Ñi¡¦o3EO¡ÓEy]
guild_num   = 80

[1??a¡Ñi¡¦o¡¦yAu3EO¡ÓEy]
guild_try_num   = 80

[£gA?s]
item_show_time   = 60   // £gA?s¡¦aOUE¡Ó?a¢G¡LAe¢Gc
item_prot_time   = 30   // £gA?s¡Ó¢G??E¡Ó?a¢G¡LAe¢Gc

[o¢X?¢X?a¡Mo]
say_interval   = 3      // Ae

[LOG?a1O]
log_cha     = 0
log_cal     = 0
log_ai      = 0
log_mission = 0

[£g¡ÒEOO¡MAi?a1O] // £g¡ÒEOOA, ¡PCGMO¡MAi
supercmd   =  1 

[¡ÑEO¡¦A?A?]
res_dir = ./resource
log_dir = log\log

//[¡¦o£gOI??a1O]
db_mapmask = 1

at last when i try run all the server only GroupServer doesnt working , any help?
the error at groupserver.exe said "Failed to connect to AccountServer ......reconnecting in 5
sec"

Pic:
http://forum.ragezone.com/images/styles/AnimatedArena/attach/png.gif
edit my code will be better :)
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Oct 14, 2012
Messages
1
Reaction score
0
Be pavadinimo - [Help]Group Server - RaGEZONE Forums need help with this :)
 

Attachments

You must be registered for see attachments list
Upvote 0
Back
Top