[HELP] Problem with "ServerStatus"

Results 1 to 4 of 4
  1. #1
    Apprentice w666sk is offline
    MemberRank
    Aug 2005 Join Date
    France !Location
    13Posts

    [HELP] Problem with "ServerStatus"

    My Gunz server don't works.
    The logs are here :


    Locator :
    MLocatorDBMgr::GetServerStatus - Invalid object name 'ServerStatus'.
    Statement(s) could not be prepared.

    Fail to GetServerStatus
    MLocator::Create -


  2. #2
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [HELP] Problem with "ServerStatus"

    You don't have the complete table of ServerStatus

    Use this for it
    Code:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[ServerStatus](
    	[ServerID] [int] NULL,
    	[ServerName] [nvarchar](32) COLLATE Latin1_General_CI_AS NULL,
    	[PlayerCount] [int] NULL,
    	[MaxPlayer] [int] NULL,
    	[CurrPlayer] [int] NULL,
    	[Time] [datetime] NULL,
    	[IP] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
    	[Port] [int] NULL,
    	[Opened] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
    	[StatusTime] [int] NULL,
    	[UpdateTime] [int] NULL,
    	[RecvUDP] [varchar](max) COLLATE Latin1_General_CI_AS NULL,
    	[SendUDP] [varchar](max) COLLATE Latin1_General_CI_AS NULL,
    	[BlockUDP] [int] NULL
    ) ON [PRIMARY]
    
    GO
    SET ANSI_PADDING OFF
    If there is an error, delete you own table first.

  3. #3
    Apprentice w666sk is offline
    MemberRank
    Aug 2005 Join Date
    France !Location
    13Posts

    Re: [HELP] Problem with "ServerStatus"

    Quote Originally Posted by Rotana View Post
    You don't have the complete table of ServerStatus

    Use this for it
    Code:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[ServerStatus](
    	[ServerID] [int] NULL,
    	[ServerName] [nvarchar](32) COLLATE Latin1_General_CI_AS NULL,
    	[PlayerCount] [int] NULL,
    	[MaxPlayer] [int] NULL,
    	[CurrPlayer] [int] NULL,
    	[Time] [datetime] NULL,
    	[IP] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
    	[Port] [int] NULL,
    	[Opened] [varchar](50) COLLATE Latin1_General_CI_AS NULL,
    	[StatusTime] [int] NULL,
    	[UpdateTime] [int] NULL,
    	[RecvUDP] [varchar](max) COLLATE Latin1_General_CI_AS NULL,
    	[SendUDP] [varchar](max) COLLATE Latin1_General_CI_AS NULL,
    	[BlockUDP] [int] NULL
    ) ON [PRIMARY]
    
    GO
    SET ANSI_PADDING OFF
    If there is an error, delete you own table first.
    Ok now server "works".
    But when i try to go on, i got "cannot access server"

  4. #4
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: [HELP] Problem with "ServerStatus"

    For some people, logging into their server using Locator doesn't work if it's on the same network as the server. It works for people outside though. If you use Locator, it'll only work for others, but the host has to use debug mode



Advertisement