Jump to content
Nobre

error on gate server

Recommended Posts

in client i got this error mesage

"discovered exeptional line error on GateServer"

and this error on console

"The initial permission maximum is1000client connect, please use setmaxcon [number] command to change, but maximum is until 1500"

here is my configs

acc server

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

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

[db]
dbserver =  .\SQLEXPRESS		// IP Address Of Server Database
db = accountserver		// Database Name
userid = 		// SQL Security Login
passwd =  	// Password = Y87dc#$98


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

bill_server1 = 199.119.102.7:7243	//
bill_server2 = 199.119.102.7: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"

game server

// Game Server configuration file
// Please fill all need to establish a connection the Gate information as well as the server is responsible for the operation of map name

[Logo]
name = GameServer00 // server name can not duplicate names and other map server
equment = patron saint

[Gateway server information]
gate = 127.0.0.1, 5786 // connection Which Gate server, format ip address, port

[Map list] // A or more map name
map = garner
map = darkhouse
map = dreamisland
map = starena33
map = starena13
map = starena23
map = starena15
map = temple
map = teampk
map = prisonisland
map = demension
map = deathforest
map = moneyisle





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

[Socket]
keep_alive = 120

[ID?uEy]                        // The server role assigned ID cardinality, each map server are different
BaseID = 0x50000000

[E£gIaEyA?] // O¢XIiAU¡¦aO?OA
max_ply = 800      // Ia?OEyA?
max_cha = 15000      // 1OIiEyA?
max_item = 30000   // £gA?sEyA?
max_tnpc = 600      // ?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\\gameserver
//[¡¦o£gOI??a1O]
db_mapmask = 1

gate server

;GateServer Initial information file 

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

[GroupServer]
IP = 127.0.0.1		//ó°ÚÃÇ»GroupServer›ü?GateServeró°ÚÃÇ»›ü?IP»ª³u
Port = 7643				//ó°ÚÃÇ»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 = 0			//ÉÆÚÐÕcÉËÇ»Socketó°ÚÃŒë´áºþôËÂ¥³ù»oê|
EnablePing = 60			//GateServerÉÆÍV?ÚÐÕcÉËÇ»Socketó°ÚÃÇ»KeepAlive³t
MaxConnection= 1000		

[ToGameServer]
IP = 127.0.0.1  // Üíí³RßùØÇip»ª³u	¨ÛGateServer›ü?GameServeró°ÚÃÇ»›ü?IP»ª³u
Port = 5786				//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Í[

group server

;º£µÁÍõÔÚÏßÓÎÏ··þÎñÆ÷×éGroupServerÅäÖÃÎļþ

[Main]
Name		=GroupServerAndor1
Listen_Port	=6435
Listen_IP	=127.0.0.1/INADDR_ANY
KeepAlive	=600
Version		=103

[AccountServer]
AcctEnable	=1			//0:¹Ø±ÕAccountServerÁ¬½Ó£»1:´ò¿ªAccountServerÁ¬½Ó
Password	=GroupServerAndor1
IP		=127.0.0.1
Port		=8763

[Database]
IP		=.\SQLEXPRESS
DB		=gamedb
Login		=
Password	= 
MaxVal		=2000000000

[Character]
MaxCharNumPerAct		=3					//ÿÕʺÅÄÜ´´½¨µÄ×î´ó½ÇÉ«Êý
MaxCharMapIconValue		=30					//¸öÐÔ»¯Í¼±êµÄ×î´óÖµ
MaxLoginPlayerNum		=3000					//±¾·þÎñÆ÷×é×î´óµÇ¼ÈËÊý

[Friend]
MaxInvitationNum			=5
InvitationOverTime			=30					//µ¥Î»(Ãë)
MaxFriendNumPerChar		=50					//ÿÈË×î¶àÓкÃÓѸöÊý
MaxOwnFriendListNumPerChar	=10

[Party]
MaxInvitationNum			=5
InvitationOverTime			=30					//µ¥Î»(Ãë)
MaxMemberNumPerParty		=5

[Chat]
MaxChatNumPerPlayer		=30
MaxPlayerNumPerChat		=50
WorldChannelInterval		=60					//µ¥Î»(Ã룩
TradeChannelInterval		=90					//µ¥Î»(Ãë)
PrivateChannelInterval		=1	

[BirthPlace] 									//¥X¥Í¦a
Argent City				=garner
Shaitan City			=magicsea
Icicle City			=darkblue

 

Edited by Nobre

Share this post


Link to post
Share on other sites

i noticed port are not the same betwin the difrent configs

on group we have this

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

and on gate server we have this

Listen_Port	=6435

 

Share this post


Link to post
Share on other sites

Hello @Nobre!

 

All ports in .cfg should be same.

 

For example, GateServer.cfg

[GroupServer]
IP = 127.0.0.1
Port = 7643
EnablePing = 180

So, GateServer.exe will try connect to GroupServer.exe using address 127.0.0.1:7643. Let's see GroupServer.cfg:

[Main]
Name		=GroupServerAndor1
Listen_Port	=6435
Listen_IP	=127.0.0.1/INADDR_ANY
KeepAlive	=600
Version		=103

But GroupServer.exe will wait GateServers on port 6435. You should specify port 7643 or 6435 in both .cfg.


Share this post


Link to post
Share on other sites
30 minutes ago, V3ct0r said:

Hello @Nobre!

 

All ports in .cfg should be same.

 

For example, GateServer.cfg


[GroupServer]
IP = 127.0.0.1
Port = 7643
EnablePing = 180

So, GateServer.exe will try connect to GroupServer.exe using address 127.0.0.1:7643. Let's see GroupServer.cfg:


[Main]
Name		=GroupServerAndor1
Listen_Port	=6435
Listen_IP	=127.0.0.1/INADDR_ANY
KeepAlive	=600
Version		=103

But GroupServer.exe will wait GateServers on port 6435. You should specify port 7643 or 6435 in both .cfg.

i used the port 1975 i guess it is the most common in top files

Share this post


Link to post
Share on other sites

Yes, 1975 is default port for GroupServer.exe. 1978 for AccountServer.exe and 1971 for GateServer.exe


Share this post


Link to post
Share on other sites

The error is wrongly configured servers. If you are getting this error, then either the GroupServer, GameServer or both aren't configured with the correct port to the GateServer.

Check the settings under [Gate] in GameServer if they match the IP and port the GateServer is running on, you should check this for all servers since either not working is going to cause errors.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...