Cannot Access Server

Results 1 to 24 of 24
  1. #1
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Cannot Access Server

    Server.ini
    Code:
    [DB]
    DNS="GunzDB"
    USERNAME="sa"
    PASSWORD="1234"
    
    [SERVER]
    MAXUSER=100
    SERVERID=1
    SERVERNAME="Quest"
    FREELOGINIP=""
    KEEPERIP="5.215.160.34"
    MONITORIP="127.0.0.1"
    MONITORPORT=9000
    MODE="test"
    COUNTRY="BRZ"
    LANGUAGE="BRZ"
    USETICKET="0"
    
    [LANGUAGE]
    LANG_TYPE="eng"
    
    [LOCALE]
    DBAgentPort=5100
    DBAgentIP=127.0.0.1
    
    [FILTER]
    USE="0" 
    ACCEPT_INVALID_IP="1"
    
    [ENVIRONMENT]
    USE_HSHIELD="0"
    USE_XTRAP="0"
    USE_EVENT="0"
    USE_FILECRC="0"
    USE_MD5="0"
    Locator.ini
    [DB]
    DNS="GunzDB"
    USERNAME="sa"
    PASSWORD="1234"

    [NETWORK]
    IP="5.215.160.34"
    PORT="8900"

    [ENV]
    ID="1"
    LOCATOR_UID_HIGH="5"
    LOCATOR_UID_LOW="0"
    MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME="1000"
    UDP_LIVE_TIME="10000000"
    MAX_FREE_RECV_COUNT_PER_LIVE_TIME="9"
    BLOCK_TIME="0"
    UPDATE_UDP_MANAGER_ELAPSED_TIME="3"
    MARGIN_OF_ERROR_MIN="500000"
    USE_COUNTRY_CODE_FILTER="no"
    GMT_DIFF="-3"
    ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000"
    ELAPSED_TIME_UPDATE_LOCATOR_LOG="10000"
    ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG="10000"
    UPDATE_COUNTRY_CODE="66 89 69 77 73 83 65 78 68"
    TEST_SERVER="0"
    Server Status
    Click Here

    Locator Status
    Click Here

    System.xml
    Code:
    <?xml version="1.0" encoding="UTF-8" ?>
    <XML>
    	<XMLHEADER>version="1.0" encoding="UTF-8"</XMLHEADER>
    
    	<SKIN>Default</SKIN>
    
    	<DEFFONT>Arial</DEFFONT>
    
    	<IME>true</IME>
    
    	<BAREPORT>
    		<ADDR>www.battlearena.com</ADDR>
    		<DIR>incoming/gunz_global</DIR>
    	</BAREPORT>
    
    	<HOMEPAGE>
    	    <URL>http://www.gunzonline.com</URL>
    	    <TITLE>GunZ the Dual</TITLE>
    	</HOMEPAGE>
    	
    	<EMBLEM_URL>http://localhost/emblems/</EMBLEM_URL>
            
    	<TEMBLEM_URL>http://localhost/emblems/</TEMBLEM_URL>
    
    
    	<LOCATORLIST>
    		<LOCATOR id="1" IP="5.215.160.34" />
    		</LOCATORLIST>
    	
    	<TLOCATORLIST>
    		<LOCATOR id="1" IP="5.215.160.34" />
    		</TLOCATORLIST>
    	
    	</XML>

    Problem

    "cannot access server"


  2. #2
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Which server files / client are you using?
    Also, change the ServerID in the ServerStatus.dbo to 1.

  3. #3
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server


  4. #4
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Did you port forward and open the following ports?

    Code:
    80 TCP/UDP
    8080 TCP
    9000 TCP/UDP
    5100 TCP/UDP
    6000 TCP/UDP
    8900 TCP/UDP
    7000 TCP/UDP
    7777 TCP/UDP
    6100 TCP/UDP
    6005 TCP/UDP
    7800 TCP/UDP
    7778 TCP/UDP
    7700 TCP/UDP
    7777 TO 7778 TCP

  5. #5
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    I have open it :(

  6. #6
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Then there is no reason as to why you can't access the server. Maybe there's something wrong about your runnable or database.
    Please post your mlog.txt and MatchServer log.

  7. #7
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    mlog.txt
    Code:
    GUNZ 1,0,0,290 [Runnable By Xiaolin A.K.A Elton 2008] 
    Log time (12/06/10 18:39:15)
    NON-Skip XTrapPatch
    CPU ID = AuthenticAMD ( family = 1551 , model = 11 , stepping = 2 ) @ 2712 MHz
    Display Device = VIDIA_C61.DEV_03D6.1( vendor=10de device=3d6 subsys=83a41043 revision=a2 )
    Display Driver Version = 6.14.0010.9371
    Windows = 5.1 Build 2600 , Service Pack 2 (1965276KB) :  Windows xp..
    Load XML from memory : system/locale.xml- SUCCESS
    Country : (BRZ), Language : (BRZ)
    Load XML from memory : system/gametypecfg.xml 
    Load Config from file : config.xml- SUCCESS
    Load XML from memory : system/system.xml- SUCCESS
    Load XML from memory : system/strings.xml(0x0016) - SUCCESS
    Load XML from memory : system/cserror.xml(0x0016) - SUCCESS
    Load XML from memory : system/messages.xml(0x0016) - SUCCESS
    crc error , file dbghelp.dll ( current = 3eda5be5, original = 0 ).
    crc error , file fmod.dll ( current = 8280aba8, original = 0 ).
    crc error , file gdiplus.dll ( current = 45d253dc, original = 0 ).
    crc error , file interface/default/Thumbs.db ( current = 3f7fb2fe, original = 2f479bfc ).
    crc error , file interface/default/loading/Thumbs.db ( current = 41021b59, original = a42a202 ).
    crc error , file shader/skin.vso ( current = ed129f8f, original = 0 ).
    crc error , file shader/skin1.vso ( current = 28122b3a, original = 0 ).
    crc error , file sound/effect/effect.xml ( current = e3aac3f0, original = 98d8dcc6 ).
    crc error , file system/abuse.txt ( current = cf077332, original = f12bd65 ).
    crc error , file system/droptable.xml ( current = 89d012bf, original = 9c8aae44 ).
    crc error , file system/filelist.xml ( current = 26feae9a, original = 2d26fc10 ).
    crc error , file system/npc.xml ( current = cf8d7475, original = c3ebdd8d ).
    crc error , file system/questmap.xml ( current = 22c19841, original = a3f2c46c ).
    crc error , file system/scenario.xml ( current = f516f76d, original = 526f79ee ).
    crc error , file system/system.xml ( current = f05c5ab, original = a3ee6c72 ).
    crc error , file system/zquestitem.xml ( current = 764682ef, original = 1c7c5671 ).
    crc error , file system/zskill.xml ( current = 3ea8a26f, original = fdd47b78 ).
    crc error , file theduel.exe ( current = f9d58747, original = 0 ).
    crc error , file xpatch.exe ( current = fecce498, original = 0 ).
    crc error , file xtrap/psapi.dll ( current = 9a30424b, original = 0 ).
    crc error , file xtrap/xdatafi0.xtp ( current = 89271e80, original = 0 ).
    crc error , file xtrap/xtrap.xt ( current = 3f75dd62, original = 0 ).
    crc error , file xtrap/xtrapapi.dll ( current = de8663c1, original = 0 ).
    InitializeNotify ok.
    WFog Enabled Device.
    device created.
    Video memory 248.500000 
    shader initialize successful : 1
    main : RGetLenzFlare()->Initialize() 
    InitialLoading success.
    interface Initialize success
    ZApplication::OnCreate : begin
    0(Primary Sound Driver): Hardware Mixing Supported
    1(Realtek HD Audio output): Hardware Mixing Supported
    [[[getMaxChannel32]]]]
    
    -------------------> Sound Engine Create : 1.617000 
    
    sound engine create.
    Load XML from memory : System/tips.xml(0x0016)- SUCCESS
    start log bipmap
    end of load bitmaps2
    loading pictures : 0.971000 
    warning : bitmap slot_head.tga not found.
    warning : bitmap slot_head.tga not found.
    warning : bitmap icon_gameroom.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    IDLResource Loading Success!!
    IDL resources : 0.254000 
    start InitInterface option
    Number of Display mode : 68
    Number of Display mode : 80
    end of InitInterface option ok
    Init maps : no Current ChannelRule 
    Screen Effect Manager Create : 0.243000 
    Screen effect manager create success.
    Effect manager create success.
    Client create success.
    game interface create success.
    
    -------------------> GameInterface Create : 2.025000 
    
    Load character.xml success,
    
    -------------------> Character Loading : 4.537000 
    
    
    -------------------> WeaponMesh Loading : 0.884000 
    
    ----------> in zip ( model/weapon/item/chocobar.elu ) file not found!! 
     Load weapon.xml success. 
    
    -------------------> Worlditem Loading : 0.042000 
    
    Load zitem info success.
    Error while Read Item Descriptor system/zeffect.xml
    Init effect manager success.
    Init world item manager success.
    Init channel rule manager success.
    Init abuse manager success.
    Init chatting filter. success
    
    -------------------> ETC .. : 0.333000 
    
    BspObject open : begin interface/login/login.rs 
    RBspObject::Open : Open_MaterialList
    RBspObject::Open : Open_LightList
    BspObject open object list : begin
    RBspObject::Open_ObjectList : size 13 
    RBspObject::Open_ObjectList : end
    RBspObject::Open : OpenDescription
    RBspObject::OpenRs : file.Open 
    RBspObject::OpenRs : file.Read(&header) 
    RBspObject::OpenRs : file.Read(&nMaterial) 
    RBspObject::OpenRs : Open_Nodes begin 
    RBspObject::OpenRs : Open_Nodes end 
    RBspObject::Open : OpenRs 
    RBspObject::Open : OpenBsp 
    BspObject load lightmap : file.Read(&header)
    BspObject load lightmap nCount = 1
    BspObject load lightmap 0
    BspObject load lightmap : file.Read(&m_nLightmap) done
    BspObject load lightmap : end 
    RBspObject::Open : done
    Load smoke description mesh.
    main : OnCreate() done
    Server Connected
    md5 failed : filePath error!
    Login Posted
    Server Connected
    md5 failed : filePath error!
    Login Posted
    Reset Device 
    Video memory 248.500000 
    shader initialize successful : 1
    devices Restored. 
    Destroy gunz
    Destroy sound engine.
    Destroy sound engine. success
    Destroy console.
    Destroy interface begin 
    destroy client.
    PeerInfoList Released
    clear looks end.
    Widget map clear end.
    desctroy cursor system end.
    clear IDL resource end.
    Final interface end.
    Destroy game interface done.
    clear looks end.
    Widget map clear end.
    desctroy cursor system end.
    Destroy mesh manager.
    Destroy weapon mesh manager.
    destroy game application done.
    interface finalize.
    game input destroy.
    game gonfiguration destroy.
    Bitmap manager destroy Animation bitmap.
    destroy gunz finish.
    Rframe_destory::closeDisplay
    MatchLog.txt (MatcherServer Log)
    Code:
    nhn server mode is real
    Load XML from memory : strings.xml(0x0037) - SUCCESS
    Load XML from memory : cserror.xml(0x0037) - SUCCESS
    [12/06/10 18:38:55] DBMS connected
    [12/06/10 18:38:55] Command registeration completed
    Inited client file list (1)
    success init security.
    FILE PATH : C:\Gunz ServerFiles Rev 5\MatchServer\MD5HashValue.txt
    MD5 Hash Value => 6e ff 40 c1 22 1e 4b 2b 33 ce 22 41 7d c4 3a 3d 
    
    ================================== Server configure info ==================================
    [12/06/10 18:38:55] Release Date : Jun 13 2007
    [12/06/10 18:38:55] X-Trap Off
    [12/06/10 18:38:55] MD5 Check Off
    [12/06/10 18:38:55] Server Country : BRAZIL
    [12/06/10 18:38:55] Command version : (56)
    [12/06/10 18:38:55] Event usable state : (false)
    [12/06/10 18:38:55] Load event size : (1)
    [12/06/10 18:38:55] FileCRCCheckSum usable state : (false)
    [12/06/10 18:38:55] FileCRC size : (1)
    [12/06/10 18:38:55] Country Code Filter usalbe state : (false)
    [12/06/10 18:38:55] Accept Invalied IP state : (true)
    [12/06/10 18:38:55] Keeper IP : (5.215.160.34)
    [12/06/10 18:38:55] Monitor IP : (127.0.0.1)
    ===========================================================================================
    
    [12/06/10 18:38:55] Match Server Created (Port:6000)
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    MMatchDBMgr::InsertConnLog - Invalid object name 'LogDB.dbo.ConnLog'.
    
    MMatchDBMgr::InsertConnLog - Invalid object name 'LogDB.dbo.ConnLog'.
    
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    RealCPNet> SessionCreated=4, SessionDestroyed=2

  8. #8
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Execute these both scripts on your database by going to "New Query".

    Code:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spRegularUpdateConnLog]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spRegularUpdateConnLog]
    AS
     SET NOCOUNT ON
    
     DECLARE @Year char(4)
     DECLARE @Mon char(2)
     DECLARE @OldDate smalldatetime
     DECLARE @OldTableName varchar(128)
    
     SET @OldDate = DATEADD( mm, -1, GETDATE() )
     SET @Year = DATEPART(yy, @OldDate)
     SET @Mon = DATEPART(mm, @OldDate)
    
     SET @OldTableName = ''ConnLog_'' + @Year + 
      CASE WHEN @Mon < 10 THEN ''0'' + CAST(@Mon AS char(1))
      ELSE CAST(@Mon AS char(2)) END
    
     EXEC sp_rename ''ConnLog'', @OldTableName
    
     CREATE TABLE ConnLog(
      id int IDENTITY
     , AID int NOT NULL
     , Time smalldatetime
     , IPPart1 tinyint NOT NULL
     , IPPart2 tinyint NOT NULL
     , IPPart3 tinyint NOT NULL
     , IPPart4 tinyint NOT NULL
     , CountryCode3 char(3) )
    
     CREATE NONCLUSTERED INDEX IX_ConnLog_AID
     ON ConnLog( AID )
    
     CREATE NONCLUSTERED INDEX IX_ConnLog_Time
     ON ConnLog( Time )
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetCharClan]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spWebGetCharClan] 
     @CID   int  
    AS  
     SET NOCOUNT ON
     SELECT cl.CLID AS CLID, cl.Name AS ClanName FROM ClanMember cm(nolock), Clan cl(nolock) WHERE cm.cid=@CID AND cm.CLID=cl.CLID  
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetClanList]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spWebGetClanList]  
     @Page INT,  
     @Backward INT  = 0  
    AS  
    SET NOCOUNT ON
    BEGIN  
     DECLARE @PageHead INT  
     DECLARE @RowCount INT  
      
     IF @Backward = 0  
     BEGIN  
      SELECT @RowCount = ((@Page -1) * 15 + 1)  
        
      SET ROWCOUNT @RowCount  
      SELECT @PageHead = CLID FROM Clan(NOLOCK) WHERE DeleteFlag=0 ORDER BY CLID DESC  
        
      SET ROWCOUNT 15  
      SELECT cl.CLID AS CLID, cl.Name as ClanName, c.Name AS Master, cl.RegDate AS RegDate, cl.EmblemUrl AS EmblemUrl, cl.Point AS Point  
      FROM Clan cl(NOLOCK), Character c(nolock)  
      WHERE cl.MasterCID=c.CID AND cl.DeleteFlag=0 AND cl.CLID<@PageHead   
      ORDER BY cl.CLID DESC  
     END  
     ELSE  
     BEGIN -- 역순  
      SELECT @RowCount = ((@Page -1) * 15 + 1)  
        
      SET ROWCOUNT @RowCount  
      SELECT @PageHead = CLID FROM Clan(NOLOCK) WHERE DeleteFlag=0 ORDER BY CLID  
        
      SET ROWCOUNT 15  
      SELECT CLID, ClanName, Master, RegDate, EmblemUrl, Point  
      FROM  
      (  
       SELECT TOP 15 cl.CLID AS CLID, cl.Name as ClanName, c.Name AS Master, cl.RegDate AS RegDate, cl.EmblemUrl AS EmblemUrl, cl.Point AS Point  
       FROM Clan cl(NOLOCK), Character c(nolock)  
       WHERE cl.MasterCID=c.CID AND cl.DeleteFlag=0 AND cl.CLID>=@PageHead ORDER BY cl.CLID  
      ) AS t  
      ORDER BY CLID DESC  
     END  
    END  
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetClanListSearchByName]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spWebGetClanListSearchByName]
     @Name VARCHAR(24)  
    AS  
    SET NOCOUNT ON
    BEGIN  
     SELECT TOP 20 cl.CLID AS CLID, cl.Name as ClanName, c.Name AS Master, cl.RegDate AS RegDate, cl.EmblemUrl AS EmblemUrl, cl.Point AS Point  
     FROM Clan cl(NOLOCK), Character c(NOLOCK)  
     WHERE cl.MasterCID=c.CID AND c.DeleteFlag=0 AND cl.Name=@Name   
     ORDER BY cl.CLID  
    END  
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetClanMember]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spWebGetClanMember]  
     @CLID  int  
    AS  
     SET NOCOUNT ON
     SELECT cm.clid AS CLID, cm.Grade AS ClanGrade, c.cid AS CID, c.name AS CharName  
     FROM ClanMember cm(nolock), Character c(nolock)  
     WHERE CLID=@CLID AND cm.cid=c.cid  
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetClanRankingHistory]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE  PROC [dbo].[spWebGetClanRankingHistory]  
     @Year INT,  
     @Month INT,  
     @Page INT,  
     @Backward INT = 0  
    AS  
    SET NOCOUNT ON
    BEGIN  
     /* 한페이지에 20개씩 보여준다 (속도를위해 갯수 고정) */  
     DECLARE @RowCount INT  
     DECLARE @PageHead INT  
      
     IF @Backward = 0  
     BEGIN  
      SELECT @RowCount = ((@Page -1) * 20 + 1)  
      SELECT TOP 20 Ranking, ClanName as ClanName, Point, Wins, Losses, CLID FROM ClanHonorRanking(NOLOCK)   
      WHERE Year=@Year AND Month=@Month AND Ranking>0 AND Ranking >= @RowCount ORDER BY Ranking  
     END  
     ELSE  
     BEGIN  
      SELECT @RowCount = ((@Page -1) * 20 + 1)  
       
      SET ROWCOUNT @RowCount  
      SELECT @PageHead = Ranking FROM Clan(NOLOCK) WHERE DeleteFlag=0 ORDER BY Ranking DESC  
       
      SET ROWCOUNT 20  
      SELECT  Ranking, RankIncrease=0, ClanName, Point, Wins, Losses, CLID, EmblemUrl=NULL FROM  
      (  
       SELECT TOP 20 Ranking, ClanName, Point, Wins, Losses, CLID FROM ClanHonorRanking(NOLOCK)   
       WHERE Year=@Year AND Month=@Month AND Ranking>0 AND Ranking <= @PageHead ORDER BY Ranking DESC  
      ) AS t ORDER BY Ranking  
     END  
    END  
      
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetClanRankingMaxPage]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spWebGetClanRankingMaxPage]  
    AS  
    SET NOCOUNT ON
    BEGIN  
     DECLARE @MaxPage INT  
     SELECT TOP 1 @MaxPage = Ranking / 20 + 1 FROM Clan(NOLOCK) WHERE DeleteFlag=0 AND Ranking>0 ORDER BY Ranking DESC  
    -- SELECT @MaxPage  
     RETURN @MaxPage  
    END  
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spWebGetClanRankingSearchByRanking]') AND type in (N'P', N'PC'))
    BEGIN
    EXEC dbo.sp_executesql @statement = N'
    CREATE PROC [dbo].[spWebGetClanRankingSearchByRanking]  
     @Ranking INT  
    AS  
    SET NOCOUNT ON
    BEGIN  
     SELECT TOP 20 Ranking, RankIncrease, Name as ClanName, Point, Wins, Losses, CLID, EmblemUrl FROM Clan(NOLOCK)   
     WHERE DeleteFlag=0 AND Ranking>0 AND Ranking=@Ranking ORDER BY Ranking  
    END  
    
    ' 
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ConnLog]') AND type in (N'U'))
    BEGIN
    CREATE TABLE [dbo].[ConnLog](
    	[id] [int] IDENTITY(1,1) NOT NULL,
    	[AID] [int] NOT NULL,
    	[Time] [smalldatetime] NULL,
    	[IPPart1] [tinyint] NOT NULL,
    	[IPPart2] [tinyint] NOT NULL,
    	[IPPart3] [tinyint] NOT NULL,
    	[IPPart4] [tinyint] NOT NULL,
    	[CountryCode3] [char](3) NULL
    ) ON [PRIMARY]
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[DeleteAccountLog]') AND type in (N'U'))
    BEGIN
    CREATE TABLE [dbo].[DeleteAccountLog](
    	[id] [int] IDENTITY(1,1) NOT NULL,
    	[UserID] [varchar](24) NOT NULL,
    	[AID] [int] NOT NULL,
    	[RegDate] [smalldatetime] NULL,
    PRIMARY KEY CLUSTERED 
    (
    	[id] ASC
    )WITH (PAD_INDEX  = OFF, IGNORE_DUP_KEY = OFF, FILLFACTOR = 90) ON [PRIMARY]
    ) ON [PRIMARY]
    END
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ServerLogStorage]') AND type in (N'U'))
    BEGIN
    CREATE TABLE [dbo].[ServerLogStorage](
    	[id] [int] IDENTITY(1,1) NOT NULL,
    	[ServerID] [smallint] NOT NULL,
    	[PlayerCount] [int] NOT NULL,
    	[GameCount] [int] NOT NULL,
    	[BlockCount] [int] NOT NULL,
    	[NonBlockCount] [int] NOT NULL,
    	[Time] [smalldatetime] NOT NULL,
    PRIMARY KEY CLUSTERED 
    (
    	[id] ASC
    )WITH (PAD_INDEX  = OFF, IGNORE_DUP_KEY = OFF, FILLFACTOR = 90) ON [PRIMARY]
    ) ON [PRIMARY]
    END
    Code:
    USE [GunZDB]
    GO
    /****** Object:  StoredProcedure [dbo].[spInsertConnLog]    Script Date: 05/20/2009 23:46:31 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    
    ALTER PROC [dbo].[spInsertConnLog] 
     @AID int
    , @IPPart1 tinyint
    , @IPPart2 tinyint
    , @IPPart3 tinyint
    , @IPPart4 tinyint
    , @CountryCode3	char(3)
    AS
     SET NOCOUNT ON
     INSERT INTO ConnLog( AID, Time, IPPart1, IPPart2, IPPart3, IPPart4, CountryCode3)
     VALUES (@AID, GETDATE(), @IPPart1, @IPPart2, @IPPart3, @IPPart4, @CountryCode3)

  9. #9
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    Error on the second Query.

    Code:
    Msg 2812, Level 16, State 62, Line 1
    Could not find stored procedure 'SE'.

  10. #10
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    You made a mistake during execution. Copy all contents of the first one and execute it. Then clear everything in the query window and copy everything from the second part and then execute it again.

  11. #11
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    Success! What now? Lol.

  12. #12
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Now you restart the server, load Gunz and try to log in.
    If it still doesn't work, post the new server log.

  13. #13
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    MatchLog_2010 (Match Server)
    Code:
    nhn server mode is real
    Load XML from memory : strings.xml(0x0037) - SUCCESS
    Load XML from memory : cserror.xml(0x0037) - SUCCESS
    [12/06/10 19:04:32] DBMS connected
    [12/06/10 19:04:32] Command registeration completed
    Inited client file list (1)
    success init security.
    FILE PATH : C:\Gunz ServerFiles Rev 5\MatchServer\MD5HashValue.txt
    MD5 Hash Value => 6e ff 40 c1 22 1e 4b 2b 33 ce 22 41 7d c4 3a 3d 
    
    ================================== Server configure info ==================================
    [12/06/10 19:04:32] Release Date : Jun 13 2007
    [12/06/10 19:04:32] X-Trap Off
    [12/06/10 19:04:32] MD5 Check Off
    [12/06/10 19:04:32] Server Country : BRAZIL
    [12/06/10 19:04:32] Command version : (56)
    [12/06/10 19:04:32] Event usable state : (false)
    [12/06/10 19:04:32] Load event size : (1)
    [12/06/10 19:04:32] FileCRCCheckSum usable state : (false)
    [12/06/10 19:04:32] FileCRC size : (1)
    [12/06/10 19:04:32] Country Code Filter usalbe state : (false)
    [12/06/10 19:04:32] Accept Invalied IP state : (true)
    [12/06/10 19:04:32] Keeper IP : (5.215.160.34)
    [12/06/10 19:04:32] Monitor IP : (127.0.0.1)
    ===========================================================================================
    
    [12/06/10 19:04:32] Match Server Created (Port:6000)
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    RealCPNet> SessionCreated=4, SessionDestroyed=3
    mlog.txt
    Code:
    GUNZ 1,0,0,290 [Runnable By Xiaolin A.K.A Elton 2008] 
    Log time (12/06/10 19:04:45)
    NON-Skip XTrapPatch
    CPU ID = AuthenticAMD ( family = 1551 , model = 11 , stepping = 2 ) @ 2712 MHz
    Display Device = VIDIA_C61.DEV_03D6.1( vendor=10de device=3d6 subsys=83a41043 revision=a2 )
    Display Driver Version = 6.14.0010.9371
    Windows = 5.1 Build 2600 , Service Pack 2 (1965276KB) :  Windows xp..
    Load XML from memory : system/locale.xml- SUCCESS
    Country : (BRZ), Language : (BRZ)
    Load XML from memory : system/gametypecfg.xml 
    Load Config from file : config.xml- SUCCESS
    Load XML from memory : system/system.xml- SUCCESS
    Load XML from memory : system/strings.xml(0x0016) - SUCCESS
    Load XML from memory : system/cserror.xml(0x0016) - SUCCESS
    Load XML from memory : system/messages.xml(0x0016) - SUCCESS
    crc error , file dbghelp.dll ( current = 3eda5be5, original = 0 ).
    crc error , file fmod.dll ( current = 8280aba8, original = 0 ).
    crc error , file gdiplus.dll ( current = 45d253dc, original = 0 ).
    crc error , file interface/default/Thumbs.db ( current = 3f7fb2fe, original = 2f479bfc ).
    crc error , file interface/default/loading/Thumbs.db ( current = 41021b59, original = a42a202 ).
    crc error , file shader/skin.vso ( current = ed129f8f, original = 0 ).
    crc error , file shader/skin1.vso ( current = 28122b3a, original = 0 ).
    crc error , file sound/effect/effect.xml ( current = e3aac3f0, original = 98d8dcc6 ).
    crc error , file system/abuse.txt ( current = cf077332, original = f12bd65 ).
    crc error , file system/droptable.xml ( current = 89d012bf, original = 9c8aae44 ).
    crc error , file system/filelist.xml ( current = 26feae9a, original = 2d26fc10 ).
    crc error , file system/npc.xml ( current = cf8d7475, original = c3ebdd8d ).
    crc error , file system/questmap.xml ( current = 22c19841, original = a3f2c46c ).
    crc error , file system/scenario.xml ( current = f516f76d, original = 526f79ee ).
    crc error , file system/system.xml ( current = f05c5ab, original = a3ee6c72 ).
    crc error , file system/zquestitem.xml ( current = 764682ef, original = 1c7c5671 ).
    crc error , file system/zskill.xml ( current = 3ea8a26f, original = fdd47b78 ).
    crc error , file theduel.exe ( current = f9d58747, original = 0 ).
    crc error , file xpatch.exe ( current = fecce498, original = 0 ).
    crc error , file xtrap/psapi.dll ( current = 9a30424b, original = 0 ).
    crc error , file xtrap/xdatafi0.xtp ( current = 89271e80, original = 0 ).
    crc error , file xtrap/xtrap.xt ( current = 3f75dd62, original = 0 ).
    crc error , file xtrap/xtrapapi.dll ( current = de8663c1, original = 0 ).
    InitializeNotify ok.
    WFog Enabled Device.
    device created.
    Video memory 248.500000 
    shader initialize successful : 1
    main : RGetLenzFlare()->Initialize() 
    InitialLoading success.
    interface Initialize success
    ZApplication::OnCreate : begin
    0(Primary Sound Driver): Hardware Mixing Supported
    1(Realtek HD Audio output): Hardware Mixing Supported
    [[[getMaxChannel32]]]]
    
    -------------------> Sound Engine Create : 0.783000 
    
    sound engine create.
    Load XML from memory : System/tips.xml(0x0016)- SUCCESS
    start log bipmap
    end of load bitmaps2
    loading pictures : 0.874000 
    warning : bitmap slot_head.tga not found.
    warning : bitmap slot_head.tga not found.
    warning : bitmap icon_gameroom.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    warning : bitmap icon_gameroom_s.tga not found.
    IDLResource Loading Success!!
    IDL resources : 0.221000 
    start InitInterface option
    Number of Display mode : 68
    Number of Display mode : 80
    end of InitInterface option ok
    Init maps : no Current ChannelRule 
    Screen Effect Manager Create : 0.173000 
    Screen effect manager create success.
    Effect manager create success.
    Client create success.
    game interface create success.
    
    -------------------> GameInterface Create : 1.580000 
    
    Load character.xml success,
    
    -------------------> Character Loading : 3.183000 
    
    
    -------------------> WeaponMesh Loading : 0.768000 
    
    ----------> in zip ( model/weapon/item/chocobar.elu ) file not found!! 
     Load weapon.xml success. 
    
    -------------------> Worlditem Loading : 0.029000 
    
    Load zitem info success.
    Error while Read Item Descriptor system/zeffect.xml
    Init effect manager success.
    Init world item manager success.
    Init channel rule manager success.
    Init abuse manager success.
    Init chatting filter. success
    
    -------------------> ETC .. : 0.316000 
    
    BspObject open : begin interface/login/login.rs 
    RBspObject::Open : Open_MaterialList
    RBspObject::Open : Open_LightList
    BspObject open object list : begin
    RBspObject::Open_ObjectList : size 13 
    RBspObject::Open_ObjectList : end
    RBspObject::Open : OpenDescription
    RBspObject::OpenRs : file.Open 
    RBspObject::OpenRs : file.Read(&header) 
    RBspObject::OpenRs : file.Read(&nMaterial) 
    RBspObject::OpenRs : Open_Nodes begin 
    RBspObject::OpenRs : Open_Nodes end 
    RBspObject::Open : OpenRs 
    RBspObject::Open : OpenBsp 
    BspObject load lightmap : file.Read(&header)
    BspObject load lightmap nCount = 1
    BspObject load lightmap 0
    BspObject load lightmap : file.Read(&m_nLightmap) done
    BspObject load lightmap : end 
    RBspObject::Open : done
    Load smoke description mesh.
    main : OnCreate() done
    Server Connected
    md5 failed : filePath error!
    Login Posted
    Server Connected
    md5 failed : filePath error!
    Login Posted
    Reset Device 
    Video memory 248.500000 
    shader initialize successful : 1
    devices Restored. 
    Destroy gunz
    Destroy sound engine.
    Destroy sound engine. success
    Destroy console.
    Destroy interface begin 
    destroy client.
    PeerInfoList Released
    clear looks end.
    Widget map clear end.
    desctroy cursor system end.
    clear IDL resource end.
    Final interface end.
    Destroy game interface done.
    clear looks end.
    Widget map clear end.
    desctroy cursor system end.
    Destroy mesh manager.
    Destroy weapon mesh manager.
    destroy game application done.
    interface finalize.
    game input destroy.
    game gonfiguration destroy.
    Bitmap manager destroy Animation bitmap.
    destroy gunz finish.
    Rframe_destory::closeDisplay


    ---------- Post added at 11:07 AM ---------- Previous post was at 11:06 AM ----------

    Still dont works.

  14. #14
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Ok there are only 2 possible things now.

    1) Do you use filelist? If so, fix up your files and generate proper CRC32 values because these files are giving errors:

    Code:
    crc error , file dbghelp.dll ( current = 3eda5be5, original = 0 ).
    crc error , file fmod.dll ( current = 8280aba8, original = 0 ).
    crc error , file gdiplus.dll ( current = 45d253dc, original = 0 ).
    crc error , file interface/default/Thumbs.db ( current = 3f7fb2fe, original = 2f479bfc ).
    crc error , file interface/default/loading/Thumbs.db ( current = 41021b59, original = a42a202 ).
    crc error , file shader/skin.vso ( current = ed129f8f, original = 0 ).
    crc error , file shader/skin1.vso ( current = 28122b3a, original = 0 ).
    crc error , file sound/effect/effect.xml ( current = e3aac3f0, original = 98d8dcc6 ).
    crc error , file system/abuse.txt ( current = cf077332, original = f12bd65 ).
    crc error , file system/droptable.xml ( current = 89d012bf, original = 9c8aae44 ).
    crc error , file system/filelist.xml ( current = 26feae9a, original = 2d26fc10 ).
    crc error , file system/npc.xml ( current = cf8d7475, original = c3ebdd8d ).
    crc error , file system/questmap.xml ( current = 22c19841, original = a3f2c46c ).
    crc error , file system/scenario.xml ( current = f516f76d, original = 526f79ee ).
    crc error , file system/system.xml ( current = f05c5ab, original = a3ee6c72 ).
    crc error , file system/zquestitem.xml ( current = 764682ef, original = 1c7c5671 ).
    crc error , file system/zskill.xml ( current = 3ea8a26f, original = fdd47b78 ).
    crc error , file theduel.exe ( current = f9d58747, original = 0 ).
    crc error , file xpatch.exe ( current = fecce498, original = 0 ).
    crc error , file xtrap/psapi.dll ( current = 9a30424b, original = 0 ).
    crc error , file xtrap/xdatafi0.xtp ( current = 89271e80, original = 0 ).
    crc error , file xtrap/xtrap.xt ( current = 3f75dd62, original = 0 ).
    crc error , file xtrap/xtrapapi.dll ( current = de8663c1, original = 0 ).
    If you don't use filelist, ignore this. If you do, try to fix it up or use a filelist disabled runnable.

    I'll tell you the next solution after I know about this first.

  15. #15
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    I just follow all steps.
    Step by Step in the Video TUT :(

  16. #16
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    You have not answered my question.
    Do you use filelist or not? You can't expect me to help you if you don't tell me all the details.

  17. #17
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    Yes ? I think so.

    Xiao's June-Runnable [FileList Skip].rar <--- THAT?

  18. #18
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Ok good, you don't use filelist.
    The only thing you can do now is to delete your current GunzDB and use my fresh database to avoid all sorts of errors. Your MatchServer log still shows 1 database error.

    Use this : http://forum.ragezone.com/f245/compl...tabase-696228/

  19. #19
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    Still that error >.<:(
    Matchserver log
    Code:
    nhn server mode is real
    Load XML from memory : strings.xml(0x0037) - SUCCESS
    Load XML from memory : cserror.xml(0x0037) - SUCCESS
    [12/06/10 19:43:17] DBMS connected
    [12/06/10 19:43:17] Command registeration completed
    Inited client file list (1)
    success init security.
    FILE PATH : C:\Gunz ServerFiles Rev 5\MatchServer\MD5HashValue.txt
    MD5 Hash Value => 6e ff 40 c1 22 1e 4b 2b 33 ce 22 41 7d c4 3a 3d 
    
    ================================== Server configure info ==================================
    [12/06/10 19:43:17] Release Date : Jun 13 2007
    [12/06/10 19:43:17] X-Trap Off
    [12/06/10 19:43:17] MD5 Check Off
    [12/06/10 19:43:17] Server Country : BRAZIL
    [12/06/10 19:43:17] Command version : (56)
    [12/06/10 19:43:17] Event usable state : (false)
    [12/06/10 19:43:17] Load event size : (1)
    [12/06/10 19:43:17] FileCRCCheckSum usable state : (false)
    [12/06/10 19:43:17] FileCRC size : (1)
    [12/06/10 19:43:17] Country Code Filter usalbe state : (false)
    [12/06/10 19:43:17] Accept Invalied IP state : (true)
    [12/06/10 19:43:17] Keeper IP : (5.215.160.34)
    [12/06/10 19:43:17] Monitor IP : (127.0.0.1)
    ===========================================================================================
    
    [12/06/10 19:43:17] Match Server Created (Port:6000)
    success to update CustomIP
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.
    
    MMatchDBMgr::UpdateAccountLastLoginTime - Error converting data type numeric to int.

  20. #20
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    There's no way that my database could give that error. You probably use your same old one or you executed some scripts on mine.

  21. #21
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    I used yours :(

    ---------- Post added at 01:56 PM ---------- Previous post was at 01:31 PM ----------

    Sir! ITS WORKING NOW! THANKS! You are the best moderator ever! Ahahaha

  22. #22
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    You're welcome.

  23. #23
    ASDFGHJKL RckyCls is offline
    MemberRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Cannot Access Server

    Now how to make account GM?

  24. #24
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Cannot Access Server

    Account.dbo -> UGradeID. Set it to 255 for Administrator, 254 for Developer, 252 for Invisible Moderator.

    Make a separate thread for the other questions that you may have.



Advertisement