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!

Game Server not working well

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jun 4, 2006
Messages
6
Reaction score
0
Hello everybody,

I tested the PangYa server yesterday, I configured all IP and users/pass, the Auth, Login and Rank servers works well, but when I try to run the game server, most of the timeit shuts down immedialty, sometimes it crashes and shut down, and rarely it runs well... but not VERy well... at this diference, is that it doesn't opens the port (thats why so much people got "Connecting..." problems after login). So, why won't it open this damn port, all my databases are well restored apparently... If you have any ideas, please tell, if not, I'll post some of my config files. Note: I'm running Win2003 SP1 and MSSQL2000 SP4, and PangYa client Indian. But there the client is not faulty, the server won't open the port... it simply cannot work. (I tested the port with telnet).
 
Newbie Spellweaver
Joined
Jun 4, 2006
Messages
6
Reaction score
0
Here is my game server config :

[SERVERINFO]
VERSION="1.0"
LOCALIP="192.168.0.2"
PORT=20202
MAXUSER=1000
SERVERGUID=20202
SERVERNAME="LegacyGamers"

[CONFIG]
REFRESHTIME=10
MSNSERVER="192.168.0.2"
MSNPORT=10101
MSNLOCALPORT=10102
MSNLOCALIP="192.168.0.2"

[DATABASE]
DBIP="Bn_Game"
DBUSER="Pangya"
DBPASSWORD="Pangya"

[AUTH]
SERVER_IP="192.168.0.2"
SERVER_PORT=7911


[RANK]
RANKIP="192.168.0.2"
RANKPORT=7913


[CASH_DATABASE]
DBIP="PY_Billing"
DBUSER="Pangya"
DBPASSWORD="Pangya"

[OPTION]
TTL=-1

ONEMANPLAY=0

CONNECTIONTIMELIVE=2

USER_STATE_TRACK_INTERVAL=3600000

LOGROOTDIR=Log


[CHANNELINFO]
NUM_CHANNEL=2


[CHANNEL1]
NAME=LegacyGamers Chan 1
TYPE=1

[CHANNEL2]
NAME=LegacyGamers Torn
TYPE=2
 
Newbie Spellweaver
Joined
Jan 13, 2006
Messages
38
Reaction score
0
[SERVERINFO]
VERSION="1.0"
LOCALIP="192.168.0.2"
PORT=20205
MAXUSER=1000
SERVERGUID=20205
SERVERNAME="Mwyann Server"
 
Newbie Spellweaver
Joined
Jun 4, 2006
Messages
6
Reaction score
0
Heh, I changed this (and he database too) just to see if it would work better... But it simply doesn't want to open port 20202 nor 20205... I cannot connect, even with a telnet.
 
Newbie Spellweaver
Joined
Jan 13, 2006
Messages
38
Reaction score
0
is 192.168.0.2 you computer IP ? if not, is it a firewall or antivirus blocking your port on this machine ?
 
Newbie Spellweaver
Joined
Jun 4, 2006
Messages
6
Reaction score
0
192.168.0.2 is my machine's IP on my local network. There is absolutely NO firewall, excepted the Linux one for Internet. However, I'm doing tests on the same machine, and the other servers accepts connections well.

GameServer logs :

Code:
2006-06-14 18:48:02     LegacyGamersPangYa Server Starting!
2006-06-14 18:48:02     cShareDoc       Launch OK...
2006-06-14 18:48:02     Create DB THREAD 5 Count
2006-06-14 18:48:02     cDBManager Launch Ok...
2006-06-14 18:48:03     cCashDBMachine Launch Ok...
2006-06-14 18:48:03     cSessionManager Launch OK...
2006-06-14 18:48:03     cChannelManager Launch OK...
2006-06-14 18:48:03     Billing Socket Create Success
2006-06-14 18:48:03     Can't Connected Billing Server
2006-06-14 18:48:03     LSCD Launch Success
2006-06-14 18:48:03     Client Version : 2.14g
2006-06-14 18:48:03     PrepareServer Success
2006-06-14 18:48:03     KEEPALIVE CHECK 0(Sessions)  0(ms) Elapse
2006-06-14 18:48:03     Connected Auth Master Server!
2006-06-14 18:48:03     Server starting...
2006-06-14 18:48:03     Register Server To DataBase
[COLOR="Red"]2006-06-14 18:48:03     beginthreadex() for IOCPT 0 failed: 1455
2006-06-14 18:48:03     -------- AcptIocpTProc terminating by NULL buffer
2006-06-14 18:48:03     -------- AcptIocpT returns 0
2006-06-14 18:48:03     AcptIOCPT terminated[/COLOR]
2006-06-14 18:48:03     Sockets free
2006-06-14 18:48:03     Contexts free
2006-06-14 18:48:03     IOCP 0 free
2006-06-14 18:48:03     IOCP 1 free
2006-06-14 18:48:03     IOCP 2 free
2006-06-14 18:48:03     IOCP 3 free
2006-06-14 18:48:03     IOCP 4 free
2006-06-14 18:48:03     IOCP 5 free
2006-06-14 18:48:03     IOCP 6 free
2006-06-14 18:48:03     IOCP 7 free
2006-06-14 18:48:03     IOCP 8 free
2006-06-14 18:48:03     IOCP 9 free
2006-06-14 18:48:03     IOCP 10 free
2006-06-14 18:48:03     IOCP 11 free
2006-06-14 18:48:03     IOCP 12 free
2006-06-14 18:48:03     IOCP 13 free
2006-06-14 18:48:03     IOCP 14 free
2006-06-14 18:48:03     IOCP 15 free
2006-06-14 18:48:03     Server resume
2006-06-14 18:48:03     GameServer Launch Ok...
2006-06-14 18:48:03       buffer size: 16384
2006-06-14 18:48:03       send buffer size: 6144 * 16
2006-06-14 18:48:03     SYSTEM Log Create Success
2006-06-14 18:48:03     Server Log File Create Success
2006-06-14 18:48:03     Command>start
2006-06-14 18:48:07
2006-06-14 18:48:09     --- FPS: 160 (count: 1000)
2006-06-14 18:48:15     --- FPS: 165 (count: 1000)
2006-06-14 18:48:21     --- FPS: 156 (count: 1000)
2006-06-14 18:48:27     --- FPS: 164 (count: 1000)
2006-06-14 18:48:34     --- FPS: 160 (count: 1000)
2006-06-14 18:48:40     --- FPS: 166 (count: 1000)
2006-06-14 18:48:46     --- FPS: 164 (count: 1000)
2006-06-14 18:48:53     --- FPS: 137 (count: 1000)
2006-06-14 18:49:00     --- FPS: 137 (count: 1000)
2006-06-14 18:49:12     --- FPS: 167 (count: 1000)
2006-06-14 18:49:13     KEEPALIVE CHECK 0(Sessions)  0(ms) Elapse
etc...

Perhaps the part in RED is the main cause...
Windows tells me that I have not enough virtual memory, but I don't understand why, I have a lot of free memory !
 
Last edited:
Newbie Spellweaver
Joined
Jun 4, 2006
Messages
6
Reaction score
0
The other servers can connect properly (I can login and create my char, for example). And I've not seen any "connection-limit" value somewhere....

Attached : I get this error very often...
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jun 4, 2006
Messages
6
Reaction score
0
Apparently, Windows 2003 have a bug with beginthreadex :



I install it on a windows98 and I stay you in touch

OK, on a Windows 2000 Server, all is working fine ;)
 
Last edited:
Initiate Mage
Joined
Sep 1, 2006
Messages
1
Reaction score
0
I've same problem with win2003.. login ok... then i can't connect to server...

same "beginthreadex" error
 
Status
Not open for further replies.
Back
Top