Subserver

Results 1 to 7 of 7
  1. #1
    High'nLows 19871986 is offline
    MemberRank
    Sep 2010 Join Date
    istanbulLocation
    802Posts

    Subserver

    Hi ;

    I have subserver and i wanna to make it vip with more exp my subserver working good and for vip in gameserver/data/serverinfo

    [GameServerInfo]
    ServerName = GS2
    ServerCode = 1
    NonPK = 0
    PkLimitFree = 0
    ConnectMemberLoad = 1


    i make 1 to connectmember

    and ı am add my account name to Connectmember in data
    but already my acc. doesn't connect it 'Wrong acc. or Pass'

    Good works


  2. #2
    Enthusiast ordi is offline
    MemberRank
    May 2009 Join Date
    26Posts

    Re: Subserver

    Change In SubServer/Data
    ConnectMemberLoad = 0
    To
    ConnectMemberLoad = 1

  3. #3
    Eu ♥ Brasil Hellvix is offline
    MemberRank
    Nov 2005 Join Date
    189.117.02.09Location
    378Posts

    Re: Subserver

    And you'll have to update ConnectMember.txt with the accounts you want to allow the access to the subserver.

  4. #4
    High'nLows 19871986 is offline
    MemberRank
    Sep 2010 Join Date
    istanbulLocation
    802Posts

    Re: Subserver

    Change In SubServer/Data
    ConnectMemberLoad = 0
    To
    ConnectMemberLoad = 1


    I dont have connectmemberload in data only connectmember and Look

    // Connect user list

    // Only current game server.


    this is my connectmember in data ..

    also am i have to easy way for automatic allow vip with credy ?

  5. #5
    Eu ♥ Brasil Hellvix is offline
    MemberRank
    Nov 2005 Join Date
    189.117.02.09Location
    378Posts

    Re: Subserver

    connectmember is the name of the file GameServer.exe reads to allow access to the accounts you put in there.

    Example:

    Code:
    // Connect user list
    
    // Only current game server.
    "myaccount"
    "joeccount"
    In Data/ServerInfo.dat you'll find:

    Code:
    [GameServerInfo]
    ServerName       = SERVERNAME
    ServerCode       = 0
    ConnectMemberLoad	 = 0;
    Change ConnectMemberLoad to 1 instead of 0.



    Here I have a SQL that will generate this file for you, and the only thing you need to do is to Reload the file when the GS is already opened.

    Creat a job with this. Doesn't matter how you schedule it. Can happen every 5 minutes, 5 hours, etc:


    Code:
    declare @memb___id varchar(10)
    declare @vip int
    declare @value varchar(255)
    declare @address varchar(255)
    SET @address = 'C:\MuServer\Subservidor-GOLDHEN\data\ConnectMember.txt'
    SET @value = 'DEL '+ @address
    exec MASTER..XP_CMDSHELL @value
    declare c cursor for select memb___id, vip FROM MEMB_INFO
    
    open c
    FETCH NEXT FROM c INTO @memb___id, @vip
    --Creates the file even though there's no VIP
          SET @value = 'ECHO:' + '//Accounts list' + '>>' + @address
          exec MASTER..XP_CMDSHELL @value
         print @value; 
    
    WHILE @@FETCH_STATUS = 0
    BEGIN 
    --Put the names into the file
        IF @vip = 2 --Change this to the number of your VIP
        BEGIN
          SET @value = 'ECHO;"' + @memb___id + '" >> '+ @address
          exec MASTER..XP_CMDSHELL @value
         print @value; 
           END
     FETCH NEXT FROM c INTO @memb___id, @vip
    END
    
    CLOSE c
    DEALLOCATE c
    Last edited by Hellvix; 27-01-11 at 06:35 PM. Reason: additional information

  6. #6
    High'nLows 19871986 is offline
    MemberRank
    Sep 2010 Join Date
    istanbulLocation
    802Posts

    Re: Subserver

    mm doesnt work already am i will use " " this for add acc. ?

  7. #7
    Eu ♥ Brasil Hellvix is offline
    MemberRank
    Nov 2005 Join Date
    189.117.02.09Location
    378Posts

    Re: Subserver

    Quote Originally Posted by 19871986 View Post
    mm doesnt work already am i will use " " this for add acc. ?
    Yes you'll.



Advertisement