Jump to content
Sign in to follow this  
Tassadar

Groupserver throws an error then closes

Recommended Posts

when trying to run the server  AccountServer, GameServer, and Gateserver seem to work good, but Groupserver throws up an error then closes itself or stops responding. changed the ports in the cfg's, changed the ip addresses, everything seems to match up, tried making port exceptions in firewall for it, has not fixed the problem and i am running out of guides to read. can someone help me? posted a picture of the error, and heres my codes

 

GroupServer

;海盗王在线游戏服务器组GroupServer配置文件

[Main]
Name		=GroupServerAndor1
Listen_Port	=1975
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		=1656

[Database]
IP		127.0.0.1
DB		=GameDB
Login		= sa
Password	= EZCpyYOZVofugqDFBZrLKw==
MaxVal		=2000000000

[Character]
MaxCharNumPerAct		=3					//每帐号能创建的最大角色数
MaxCharMapIconValue		=30					//个性化图标的最大值
MaxLoginPlayerNum		=1000					//本服务器组最大登录人数

[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] 									//ネ
Argent City				=garner
Shaitan City			=magicsea
Icicle City			=darkblue

 

Gateserver

;GateServer Initial information file 

[Main]
Name = GroupServerAndor1		//¹ÒGateServerÉöÇÌÉÆGroupServerŠfÇ»\?ÃÒõÂ
Version = 136		//¹Ò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 =0.0.0.0			//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 = 1971			//GateServer›ü?GameServeró°ÚÃÇ»›ü?TCPÉËÚÏ
EnablePing = 180		//GateServerÉÆGameServerÇ»Socketó°ÚÃÇ»KeepAlive³t

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

 

AccountServer

//海盗王在线游戏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 = sa		// 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: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"

 

GameServer

// 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,1971 // 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





[DB]                 
db_ip   = 127.0.0.1     
db_usr  = sa     //<-(type the login name u made in here)      
db_pass = EZCpyYOZVofugqDFBZrLKw==  // <-(dont change this password) (pass in MSSQL-->Y87dc#$98)

[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 = 500      // Ia?OEyA?
max_cha = 15000      // 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\\gameserver
//[¡¦o£gOI??a1O]
db_mapmask = 1

i had a different server running fine, so thought i could get this one to since i liked it more but cant get past this error.

Untitled.png

Share this post


Link to post
Share on other sites
[AccountServer]
AcctEnable	=1			//0:关闭AccountServer连接;1:打开AccountServer连接
Password	=GroupServerAndor1
IP		=127.0.0.1
Port		=1978

Change in GroupServer.cfg: Port ="1656" for "1978"

Share this post


Link to post
Share on other sites
12 hours ago, Tassadar said:

changed it, now there's no text showing up for groupserver and it still closes/shuts off

What is error? Any logs? Make sure that GroupServer can connect to MSSQL Server


Share this post


Link to post
Share on other sites

befor i changed the one ip from the last post, i was getting this error message

image.png.995611cbb7a6016ceb133c1a7f893395.png

 

now the box is blank, loads up black/empty, and closes blank/empty.   closes within 5 seconds of starting it

 

 

Share this post


Link to post
Share on other sites

from connect.txt in logs

 

[06-22 00:24:38]ÈÕÖ¾Á÷±»³É¹¦´ò¿ª.
[06-22 00:24:38]ÈÕÖ¾Á÷±»³É¹¦´ò¿ª.
[06-22 00:24:38]Conencting to GroupServer¡­
[06-22 00:24:38]Connected to GroupSever:127.0.0.1,Number of Socket:1
[06-22 00:24:38]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:24:43]Conencting to GroupServer¡­
[06-22 00:24:43]Connected to GroupSever:127.0.0.1,Number of Socket:2
[06-22 00:24:43]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:24:48]Conencting to GroupServer¡­
[06-22 00:24:48]Connected to GroupSever:127.0.0.1,Number of Socket:3
[06-22 00:24:48]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:24:51]ÈÕÖ¾Á÷±»³É¹¦¹Ø±Õ.
[06-22 00:24:53]Conencting to GroupServer¡­
[06-22 00:24:53]Connected to GroupSever:127.0.0.1,Number of Socket:4
[06-22 00:24:53]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:24:58]Conencting to GroupServer¡­
[06-22 00:24:58]Connected to GroupSever:127.0.0.1,Number of Socket:5
[06-22 00:24:58]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:03]Conencting to GroupServer¡­
[06-22 00:25:03]Connected to GroupSever:127.0.0.1,Number of Socket:6
[06-22 00:25:03]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:08]Conencting to GroupServer¡­
[06-22 00:25:08]Connected to GroupSever:127.0.0.1,Number of Socket:7
[06-22 00:25:08]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:13]Conencting to GroupServer¡­
[06-22 00:25:13]Connected to GroupSever:127.0.0.1,Number of Socket:8
[06-22 00:25:13]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:18]Conencting to GroupServer¡­
[06-22 00:25:18]Connected to GroupSever:127.0.0.1,Number of Socket:9
[06-22 00:25:18]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:23]Conencting to GroupServer¡­
[06-22 00:25:23]Connected to GroupSever:127.0.0.1,Number of Socket:10
[06-22 00:25:23]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:28]Conencting to GroupServer¡­
[06-22 00:25:28]Connected to GroupSever:127.0.0.1,Number of Socket:11
[06-22 00:25:28]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:33]Conencting to GroupServer¡­
[06-22 00:25:33]Connected to GroupSever:127.0.0.1,Number of Socket:12
[06-22 00:25:33]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:38]Conencting to GroupServer¡­
[06-22 00:25:38]Connected to GroupSever:127.0.0.1,Number of Socket:13
[06-22 00:25:38]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:43]Conencting to GroupServer¡­
[06-22 00:25:43]Connected to GroupSever:127.0.0.1,Number of Socket:14
[06-22 00:25:43]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:48]Conencting to GroupServer¡­
[06-22 00:25:48]Connected to GroupSever:127.0.0.1,Number of Socket:15
[06-22 00:25:48]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:53]Conencting to GroupServer¡­
[06-22 00:25:53]Connected to GroupSever:127.0.0.1,Number of Socket:16
[06-22 00:25:53]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:25:58]Conencting to GroupServer¡­
[06-22 00:25:58]Connected to GroupSever:127.0.0.1,Number of Socket:17
[06-22 00:25:59]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:26:04]Conencting to GroupServer¡­
[06-22 00:26:04]Connected to GroupSever:127.0.0.1,Number of Socket:18
[06-22 00:26:04]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:26:09]Conencting to GroupServer¡­
[06-22 00:26:09]Connected to GroupSever:127.0.0.1,Number of Socket:19
[06-22 00:26:09]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­
[06-22 00:26:14]Conencting to GroupServer¡­
[06-22 00:26:14]Connected to GroupSever:127.0.0.1,Number of Socket:20
[06-22 00:26:14]Login to GroupServer failed, maybe is GateServer handle amount too large, wait for 5 seconds and it'll auto connect¡­

[06-22 00:27:15]Conencting to GroupServer¡­

 

is from connect.txt in logs befor i changed the one port.

 

Afterr i changed the port i got this error in the logs:

[06-22 00:26:21]ÈÕÖ¾Á÷±»³É¹¦´ò¿ª.
[06-22 00:26:21]ÈÕÖ¾Á÷±»³É¹¦´ò¿ª.
[06-22 00:26:21]Conencting to GroupServer¡­
[06-22 00:26:22]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:26:27]Conencting to GroupServer¡­
[06-22 00:26:28]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:26:33]Conencting to GroupServer¡­
[06-22 00:26:34]ÈÕÖ¾Á÷±»³É¹¦¹Ø±Õ.
[06-22 00:26:34]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:26:39]Conencting to GroupServer¡­
[06-22 00:26:40]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:26:45]Conencting to GroupServer¡­
[06-22 00:26:46]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:26:51]Conencting to GroupServer¡­
[06-22 00:26:52]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:26:57]Conencting to GroupServer¡­
[06-22 00:26:58]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:27:03]Conencting to GroupServer¡­
[06-22 00:27:04]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:27:09]Conencting to GroupServer¡­
[06-22 00:27:10]Connecting to GroupServer failed, reconnecting in 5 secs¡­
[06-22 00:27:15]Conencting to GroupServer¡­

 

 

 

 

Database, ErrorServer, ERRServer and Connect files all say:

[06-22 00:26:21]ÈÕÖ¾Á÷±»³É¹¦´ò¿ª.
[06-22 00:26:34]ÈÕÖ¾Á÷±»³É¹¦¹Ø±Õ.

 

cant read it, so no clue what all the error files say except for the connect.txt file

Edited by Tassadar

Share this post


Link to post
Share on other sites

got it fixed.  how do you ADD / EDIT gm commands? some of the commands on the server are changed already, some dont work, some do.   i want to know how to add commands so players can use commands like    /forge       /bank     .tried to use a hex editor on gameserver to find commands like another guide said, but all hex editor shows me is text like:

Quote

.UãÏÉÏHSVW«E¸....ãE.ã.ÉÈ.ãU.â.ãE.ã.É¡.ãU.â.ãE¸É¿.âE¸ãM.ã.ãE..E¸ãM.ä..à.ãE.ÉË.âE¯Î.ãE¯ÉË.âE¯É}¯.|#ãE..E¸.æ.ãU..U
¯.æ.;»u.ãE..E¸...Î.ÎŒãE..E¸.æ.Ö…t.ãE¸;E.|ÖãE¸_^[ãÂ].ÃÃÃÃÃÃÃÃÃÃÃÃÃÃUãÏÉÏDSVWãE.ã.ãU..æ..Ö¿tNãE.ÉË.âE¸Î.ãE¸ÉË.âE¸É}¸.|.
ãE.ã.ãU..æ..ãM..M¸.æ.;¬u.Î.ΑÉ}¸.}.Î.ãE.ã.É¡.ãU.â.΢_^[ãÂ].ÃÃUãÏÉÏ@SVWãE.ÉË.âE.x.ãM..U.ãE..E.âE.Ή_^[ãÂ]¬..ÃÃUãÏÉÏDSV
WâM¸ãE.ɇ.t6h..C.ãE¸ãH¸Qj.ãU¸RË»Ø..ãE.ɇ.t.ãE¸ÉË.PË?Ø..Ƀ.ãE¸ÉË.Î.ãM¸Ën...ãE.ɇ.t.ãE¸PË.Ø..Ƀ.ãE¸_^[ãÂ]¬..ÃÃÃÃÃÃÃÃÃÃ
ÃÃÃÃUãÏj.h..X.d°....Pdâ%....QÉÏ`SVWâe.«E¸....õ.EÔ.ãE.PË....Ƀ.âE‰É}‰.~..EÔ.Î]j.ãE.P˸...Ƀ.âE‡j.ãE.PËK...Ƀ.Ëèµ..fâE‹
É}‡.u..EÔ.Î).øE‹Ö¿|..

 

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.

Sign in to follow this  

×
×
  • Create New...