MLocator Problem.

Results 1 to 21 of 21
  1. #1
    C/C++ Programmer SirMaster is offline
    MemberRank
    Mar 2006 Join Date
    500Posts

    MLocator Problem.

    Korean: MLocator::Create - 접속 허용 국가 코드 리스트 초기화 실패.
    English: MLocator:: Create - connection permission national cord list initial anger it fails.

    I have finished all procedures and tables of the locator and follows without walking if somebody has some information that helps me please that it puts it here.


  2. #2
    Proficient Member lutchius is offline
    MemberRank
    Oct 2006 Join Date
    199Posts
    try setting country code filter to no

  3. #3
    C/C++ Programmer SirMaster is offline
    MemberRank
    Mar 2006 Join Date
    500Posts
    My setting:
    [DB]
    DNS="xxxxxxxxxxxxxxx"
    USERNAME="xxxxxxxxxx"
    PASSWORD="xxxxxxxxxxxx"

    [NETWORK]
    IP="xxxxxxxxxxxxxxxxxxxx"
    PORT=8900

    [ENV]
    ID=1
    LOCATOR_UID_HIGH=999
    LOCATOR_UID_LOW=0
    MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME=1
    UDP_LIVE_TIME=1
    MAX_FREE_RECV_COUNT_PER_LIVE_TIME=9
    BLOCK_TIME=300000
    UPDATE_UDP_MANAGER_ELAPSED_TIME=2000
    MARGIN_OF_ERROR_MIN=6
    USE_COUNTRY_CODE_FILTER="no"
    GMT_DIFF=-3
    ELAPSED_TIME_UPDATE_LOCATOR_LOG=3600000
    ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG=1
    Already no working :S

  4. #4
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    all i can tell you its a problem in your procs of the locator etc ;).
    so your db aint correct.

  5. #5
    C/C++ Programmer SirMaster is offline
    MemberRank
    Mar 2006 Join Date
    500Posts
    spStartUpLocatorStatus:
    CREATE PROCEDURE [dbo].[spStartUpLocatorStatus]
    @nServerID int,
    @nIP varchar(4000),
    @nPort int,
    @nStatusTime int
    AS
    INSERT INTO ServerStatus (ServerID,IP,Port,StatusTime) VALUES (@nServerID,@nIP,@nPort,@nStatusTime)
    GO

    spUpdateLocatorStatus:
    CREATE PROCEDURE [dbo].[spUpdateLocatorStatus]
    @nServerID INT,
    @nTime VARCHAR(20),
    @nIP VARCHAR(4000),
    @nPort INT,
    @nOpened INT
    AS
    BEGIN
    SET NOCOUNT ON;
    UPDATE ServerStatus
    SET Time = @nTime, IP = @nIP, Port = @nPort, Opened = @nOpened
    WHERE ServerID = @nServerID
    END
    GO

    Others Locator Procedures:
    CREATE PROCEDURE [dbo].[spGetIPCountryCode]
    @nCode NVARCHAR
    AS
    SELECT IPFrom, IPTo, CountryCode3 FROM BlockCountryCode(NOLOCK) WHERE Code = @nCode
    GO

    CREATE PROCEDURE [dbo].[spGetIPtoCountryList]
    AS
    SELECT IPFrom, IPTo, CountryCode3 FROM BlockCountryCode(NOLOCK)
    GO

    Table:
    CREATE TABLE [dbo].[ServerStatus] (
    [PK_ServerStatus] [int] NULL ,
    [ServerID] [int] NOT NULL ,
    [Opened] [int] NULL ,
    [CurrPlayer] [int] NULL ,
    [Time] [varchar] (20) COLLATE Modern_Spanish_CI_AS NULL ,
    [IP] [nvarchar] (4000) COLLATE Modern_Spanish_CI_AS NULL ,
    [Port] [int] NULL ,
    [ServerName] [varchar] (8000) COLLATE Modern_Spanish_CI_AS NULL ,
    [PlayerCount] [int] NULL ,
    [MaxPlayer] [int] NULL ,
    [StatusTime] [int] NULL
    ) ON [PRIMARY]
    GO

    CREATE TABLE [dbo].[BlockCountryCode] (
    [IPFrom] [varchar] (4000) COLLATE Modern_Spanish_CI_AS NULL ,
    [IPTo] [varchar] (4000) COLLATE Modern_Spanish_CI_AS NULL ,
    [CountryCode3] [varchar] (4000) COLLATE Modern_Spanish_CI_AS NULL ,
    [IsBlock] [int] NULL ,
    [Comment] [varchar] (4000) COLLATE Modern_Spanish_CI_AS NULL ,
    [Code] [varchar] (4000) COLLATE Modern_Spanish_CI_AS NULL ,
    [RountingURL] [varchar] (4000) COLLATE Modern_Spanish_CI_AS NULL
    ) ON [PRIMARY]
    GO



    Already no work.

  6. #6
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    yeah i take it there empty though..
    and dont expect me to check what you got wrong.. to lazy and atm almost 7 am still need to sleep.

  7. #7
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    Although i have to thank you..

    i had

    CREATE PROCEDURE [dbo].[spUpdateLocatorStatus]
    @ID INT,
    @uidPlayer INT,
    @dwIP varchar(20),
    @nPort INT,
    @UpdateTime INT

    i knew it was wrong though but didnt know what it sould be :p.
    a other question though do you have the pdb file of locator ?

  8. #8
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    Uhm somehow i have a feeling its wrong though..

  9. #9
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts
    Mine locator couldn't find the stored procedure of GetServerStatus. Does some have that one? one would share it with me?

  10. #10
    C/C++ Programmer SirMaster is offline
    MemberRank
    Mar 2006 Join Date
    500Posts
    GetServerStatus procedure no exist already use commands in the locator


    ThuGie i dont have a .pdb archive and locator already no working i edited to you information and no work.
    Last edited by SirMaster; 21-01-07 at 08:08 AM.

  11. #11
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    well i got locator running though already have it for a few days..
    but it says the matchserver is dead instead of running no clue why..

    but uhm
    CREATE PROCEDURE [dbo].[spUpdateLocatorStatus]
    @nServerID INT,
    @nTime VARCHAR(20),
    @nIP VARCHAR(4000),
    @nPort INT,
    @nOpened INT
    serverid is correct..
    the rest just keeps returning 0..

    could you tell me why you think its opened port ip etc ?

  12. #12
    C/C++ Programmer SirMaster is offline
    MemberRank
    Mar 2006 Join Date
    500Posts
    you can post you procedures of locator?

  13. #13
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    Well i didnt create them for myself..

    But for somebody else and i have a feeling that person rather keep it private :$.

  14. #14
    C/C++ Programmer SirMaster is offline
    MemberRank
    Mar 2006 Join Date
    500Posts
    good sight vos you help me my and I help you so that we have the servants to the 100% ok? single need procedures the locator later I needs to fix the clan just of the clan I am in charge I ok? if decis that if enviame a message deprived with procedures and I with each advance that does in the data bases you the control ok?

  15. #15
    ThuGie.NL - Webmaster ThuGie is offline
    MemberRank
    Apr 2006 Join Date
    NetherlandsLocation
    1,132Posts
    could you typ that again but this time in english?

    and if you where asking me if i needed clan procs or what ever nope i probably already have all procs.. maybe missing or need to fix 1 or 2..
    but i can do that myself.

  16. #16
    Proficient Member -Lambda- is offline
    MemberRank
    Jan 2007 Join Date
    SpainLocation
    157Posts
    Working?..



  17. #17
    MentaL's Slave Keith is offline
    LegendRank
    Nov 2004 Join Date
    2,671Posts
    me and Thugie got it working correct ;)

  18. #18
    Valued Member Komotost is offline
    MemberRank
    Jan 2007 Join Date
    114Posts
    well i got locator running though already have it for a few days..
    but it says the matchserver is dead instead of running no clue why..

    but uhm
    CREATE PROCEDURE [dbo].[spUpdateLocatorStatus]
    @nServerID INT,
    @nTime VARCHAR(20),
    @nIP VARCHAR(4000),
    @nPort INT,
    @nOpened INT
    serverid is correct..
    the rest just keeps returning 0..

    could you tell me why you think its opened port ip etc ?
    You can get this from the Locator.exe

    I belive you missed at least one proc, not too sure about all the others....

    Anyways this is what I came up with for it..

    (and yes, GetServerStatus just reads from BlockCountryCode

    Edit: oops forgot to put the values, 1 sec let me fix it!

    Lets work together on gettin this thing working already!
    Last edited by Komotost; 22-01-07 at 02:24 AM.

  19. #19
    Gunz League owner Hakurah is offline
    MemberRank
    Dec 2006 Join Date
    Rio de JaneiroLocation
    602Posts
    Shouldn't you share something like this here, then, LGKeiz and ThuGie? xP
    I don't care if you take long to do that. I just want to know if you'll share it. =~
    Give me just a bonus for knowing English nicely, something most people here don't! ><

  20. #20
    Account Upgraded | Title Enabled! virustheking is offline
    MemberRank
    Nov 2006 Join Date
    442Posts
    can share LG?

  21. #21
    Valued Member StarNet is offline
    MemberRank
    May 2005 Join Date
    localhostLocation
    134Posts
    Guys and gals, don't expect any shares from LG anytime soon because that just the way he works, he has public server for god shake, ppls with public server won't share their ultimate weapons and loose their players :)

    Just my bad experience with him as an evil moderator :)
    Don't trust this guy!
    Last edited by StarNet; 23-01-07 at 03:28 AM.



Advertisement