Game Server not working well

Results 1 to 10 of 10
  1. #1
    Apprentice Mwyann is offline
    MemberRank
    Jun 2006 Join Date
    6Posts

    Game Server not working well

    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).


  2. #2
    Apprentice Mwyann is offline
    MemberRank
    Jun 2006 Join Date
    6Posts
    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

  3. #3
    Member Hanayui is offline
    MemberRank
    Jan 2006 Join Date
    PangyaLocation
    73Posts
    [SERVERINFO]
    VERSION="1.0"
    LOCALIP="192.168.0.2"
    PORT=20205
    MAXUSER=1000
    SERVERGUID=20205
    SERVERNAME="Mwyann Server"

  4. #4
    Apprentice Mwyann is offline
    MemberRank
    Jun 2006 Join Date
    6Posts
    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.

  5. #5
    Member Hanayui is offline
    MemberRank
    Jan 2006 Join Date
    PangyaLocation
    73Posts
    is 192.168.0.2 you computer IP ? if not, is it a firewall or antivirus blocking your port on this machine ?

  6. #6
    Apprentice Mwyann is offline
    MemberRank
    Jun 2006 Join Date
    6Posts
    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
    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
    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 by Mwyann; 14-06-06 at 06:57 PM. Reason: Automerged Doublepost

  7. #7
    Member Hanayui is offline
    MemberRank
    Jan 2006 Join Date
    PangyaLocation
    73Posts
    your server can not connect to the database Bn_Game, I wonder if the data resources (OBDC) are compatible with your version of windows (steps 17-22 http://forum.ragezone.com/pangya-onl...-a-103742.html)

  8. #8
    Apprentice Mwyann is offline
    MemberRank
    Jun 2006 Join Date
    6Posts
    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...
    Attached Thumbnails Attached Thumbnails pangya-gameserver.png  

  9. #9
    Apprentice Mwyann is offline
    MemberRank
    Jun 2006 Join Date
    6Posts
    Apparently, Windows 2003 have a bug with beginthreadex :


    http://www.tech-archive.net/Archive/...4-04/0040.html


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

    OK, on a Windows 2000 Server, all is working fine ;)
    Last edited by Mwyann; 15-06-06 at 02:16 AM. Reason: Automerged Doublepost

  10. #10
    Novice silkep is offline
    MemberRank
    Sep 2006 Join Date
    1Posts
    I've same problem with win2003.. login ok... then i can't connect to server...

    same "beginthreadex" error



Advertisement