Unity Moba complete

Page 17 of 17 FirstFirst ... 791011121314151617
Results 241 to 247 of 247
  1. #241
    Account Upgraded | Title Enabled! magraopb is online now
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    689Posts

    Re: Unity Moba complete


    RaGEZONE Recommends

    RaGEZONE Recommends

    Quote Originally Posted by snxone View Post
    login done fully working with register/ code confirm via mail , im still working on this project and i have one other project that i should work on than this one
    i'll try to fix login and others things after translate game and play for sometimes searching errors, if i don't found, i'll code something like yours.

  2. #242
    Registered Bruno Martins is offline
    MemberRank
    Sep 2014 Join Date
    20Posts

    Re: Unity Moba complete

    Quote Originally Posted by snxone View Post
    login done fully working with register/ code confirm via mail , im still working on this project and i have one other project that i should work on than this one

    Can you help me please? tell me what changes you did in configs for IP's please

  3. #243
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    28Posts

    Re: Unity Moba complete

    actually i didnt try the online part , i have the lan working only .

  4. #244
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    28Posts

    Re: Unity Moba complete

    Did someone tryed to modify a level i modeled a map and add it but the collider stay the same as the original scene , so i guess the map collider need to be updated on server also , so it need a map config creation tool i guess

  5. #245
    Account Upgraded | Title Enabled! magraopb is online now
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    689Posts

    Re: Unity Moba complete

    Fix (Config) to connect with Public IP

    Change the RED lines only to your Public IP, keep the rest with 127.0.0.1 in this files and others.
    C:\MOBA\Server\BSConfig\Setup.ini
    Spoiler:

    [MainGate]
    ListernPortForGate = 49999
    GateFullCount = 1000
    GateBaseIndex = 30000
    GateMaxCount = 5
    GateServer1 = 127.0.0.1:40000
    GateServer2 = 127.0.0.1:40001
    GateServer3 = 127.0.0.1:40002
    GateServer4 = 127.0.0.1:40003
    GateServer5 = 127.0.0.1:40004
    GateServer1Export = 127.0.0.1:1
    GateServer2Export = $_Public_IP:40001
    GateServer3Export = 127.0.0.1:1
    GateServer4Export = 127.0.0.1:1
    GateServer5Export = 127.0.0.1:1

    [MainClient]
    ListernPortForClient = 49998

    [MainLogin]
    LSIP = 127.0.0.1
    LSPort = 49997


    C:\MOBA\Server\LSConfig\Serverlist.ini

    Spoiler:

    [MainList]
    IfOpenSdk = 0;
    ServerNum = 7
    Name1 = DRAG
    Name2 = 127.0.0.1
    Name3 = 10.10.40.36
    Name4 = 10.10.40.91
    Name5 = 10.10.40.28
    Name6 = 10.10.40.14
    Name7 = 10.10.40.18
    Addr1 = $_Public_IP:49998
    Addr2 = 127.0.0.1:49998
    Addr3 = 10.10.40.36:49998
    Addr4 = 10.10.40.91:49998
    Addr5 = 10.10.40.28:49998
    Addr6 = 10.10.40.14:49998
    Addr7 = 10.10.40.18:49998

    C:\MOBA\Server\LSConfig\Setup.ini

    Spoiler:

    [MainBS]
    ListernPortForBS = 49997
    BSBaseIndex = 30000
    BSMaxCount = 5
    BS1 = 127.0.0.1:40000
    BS2 = 127.0.0.1:40001
    BS3 = 127.0.0.1:40002
    BS4 = 127.0.0.1:40003
    BS5 = 127.0.0.1:40004
    BS1Export = 127.0.0.1:1
    BS2Export = $_Public_IP:40001
    BS3Export = 127.0.0.1:1
    BS4Export = 127.0.0.1:1
    BS5Export = 127.0.0.1:1

    [MainGC]
    ListernPortForClient = 49996

  6. #246
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    28Posts

    Re: Unity Moba complete

    Quote Originally Posted by magraopb View Post
    Fix (Config) to connect with Public IP

    Change the RED lines only to your Public IP, keep the rest with 127.0.0.1 in this files and others.
    C:\MOBA\Server\BSConfig\Setup.ini
    Spoiler:

    [MainGate]
    ListernPortForGate = 49999
    GateFullCount = 1000
    GateBaseIndex = 30000
    GateMaxCount = 5
    GateServer1 = 127.0.0.1:40000
    GateServer2 = 127.0.0.1:40001
    GateServer3 = 127.0.0.1:40002
    GateServer4 = 127.0.0.1:40003
    GateServer5 = 127.0.0.1:40004
    GateServer1Export = 127.0.0.1:1
    GateServer2Export = $_Public_IP:40001
    GateServer3Export = 127.0.0.1:1
    GateServer4Export = 127.0.0.1:1
    GateServer5Export = 127.0.0.1:1

    [MainClient]
    ListernPortForClient = 49998

    [MainLogin]
    LSIP = 127.0.0.1
    LSPort = 49997


    C:\MOBA\Server\LSConfig\Serverlist.ini

    Spoiler:

    [MainList]
    IfOpenSdk = 0;
    ServerNum = 7
    Name1 = DRAG
    Name2 = 127.0.0.1
    Name3 = 10.10.40.36
    Name4 = 10.10.40.91
    Name5 = 10.10.40.28
    Name6 = 10.10.40.14
    Name7 = 10.10.40.18
    Addr1 = $_Public_IP:49998
    Addr2 = 127.0.0.1:49998
    Addr3 = 10.10.40.36:49998
    Addr4 = 10.10.40.91:49998
    Addr5 = 10.10.40.28:49998
    Addr6 = 10.10.40.14:49998
    Addr7 = 10.10.40.18:49998

    C:\MOBA\Server\LSConfig\Setup.ini

    Spoiler:

    [MainBS]
    ListernPortForBS = 49997
    BSBaseIndex = 30000
    BSMaxCount = 5
    BS1 = 127.0.0.1:40000
    BS2 = 127.0.0.1:40001
    BS3 = 127.0.0.1:40002
    BS4 = 127.0.0.1:40003
    BS5 = 127.0.0.1:40004
    BS1Export = 127.0.0.1:1
    BS2Export = $_Public_IP:40001
    BS3Export = 127.0.0.1:1
    BS4Export = 127.0.0.1:1
    BS5Export = 127.0.0.1:1

    [MainGC]
    ListernPortForClient = 49996
    nice thank you for the share

  7. #247
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    28Posts

    Re: Unity Moba complete

    Someone to help on the .map file creation ?
    i dont really like the current map stile , its not symetric , and here is my current wip translation for the map creation menu , its on bolong

    many commented out line with error on uncoment like a plugin is missing again ,
    or if you have a way to create those map , im taker

    i guess this is what i need but i have a debug error when i click the button

    private static void ImportInfoToFile()
    {
    MapObjDataManager manager = GameObject.FindObjectOfType(typeof(MapObjDataManager)) as MapObjDataManager;
    GetMapDataHeader(manager);
    GetMapBlockData(manager);

    string filePath = Application.dataPath + "/Resources/Map/" + manager .MapName.ToString()+ ".map";

    CMemBuffer buf = Export();
    int un32DataSize = buf.GetWritePos ();

    FileStream fs = new FileStream (filePath, FileMode.OpenOrCreate, FileAccess.Write);
    BinaryWriter bw = new BinaryWriter (fs);
    bw.Write (buf.GetMemBuffer (),0, un32DataSize);
    Debug.LogError ("write = " + un32DataSize);
    fs.Close ();
    bw.Close ();

    }
    and the Error

    write = 160012
    UnityEngine.Debug:LogError(Object)
    ImportMapData:ImportInfoToFile() (at Assets/Editor/ImportMapData.cs:128)
    ImportMapData:OnGUI() (at Assets/Editor/ImportMapData.cs:187)
    UnityEditor.DockArea:OnGUI()
    i really hope been able to change those map collision
    Last edited by snxone; 7 Hours Ago at 07:37 PM.




Advertisement