Unity Moba complete

Page 16 of 23 FirstFirst ... 6891011121314151617181920212223 LastLast
Results 226 to 240 of 345
  1. #226
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    38Posts

    Re: Unity Moba complete

    Quote Originally Posted by magraopb View Post
    Thats it!
    I had edited the scripts directly and i didn't saw this configuration on interface, for now im able to connect with LAN IP

    Thanks Alot!
    NP , did you solve the problem of the end of matchand tutorial it dont come back to lobby ? personnaly i tryed to look but i dont find solution , the most wrong is on windows they are no problem.

    EDIT : OK NEVERMIND DONT USE UNITY 2017.3 with this it will work but bug on android build no more finnish match .
    Last edited by snxone; 13-01-18 at 10:18 AM.

  2. #227
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Re: Unity Moba complete

    Quote Originally Posted by snxone View Post
    NP , did you solve the problem of the end of matchand tutorial it dont come back to lobby ? personnaly i tryed to look but i dont find solution , the most wrong is on windows they are no problem.

    EDIT : OK NEVERMIND DONT USE UNITY 2017.3 with this it will work but bug on android build no more finnish match .
    Yep, use Unity inside the release, i haven't this bug anymore, if you want, i can share my translation with you, but.. pt_BR, i'm brazilian, just send me PM.

  3. #228
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    38Posts

    Re: Unity Moba complete

    No ty im good ,i will just translate in english, for the network part im still not sure its like pretty slow , will try on my vps later but if the server binary dont work on linux , i will have to rebuild it for linux if its possible (i have totality no idea if its possible) , if someone could make a tutorial about how to build those server for linux , im not a regular user of visual studio, im more regular on unity ...

  4. #229
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Re: Unity Moba complete

    For now, im trying to setup to work under Public IP (Not LAN IP), doing some tests, NAT and others, i'm not able to connect with Public IP.

  5. #230
    Member Bruno Martins is offline
    MemberRank
    Sep 2014 Join Date
    36Posts

    Re: Unity Moba complete

    Quote Originally Posted by magraopb View Post
    For now, im trying to setup to work under Public IP (Not LAN IP), doing some tests, NAT and others, i'm not able to connect with Public IP.
    I have made 5000 changes of IP for public connection and i cant find the way for that i only can connect to account in public ip but not in lobby so if you find the way share with us please

  6. #231
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Re: Unity Moba complete

    Quote Originally Posted by Bruno Martins View Post
    I have made 5000 changes of IP for public connection and i cant find the way for that i only can connect to account in public ip but not in lobby so if you find the way share with us please
    For now, same here

  7. #232
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Support Re: Unity Moba complete

    Hi all,

    Here's my configs:

    *This way, when i try to connect with android internet 4g, i can input my login and password, select server but, when i select to enter there, i can't connect with. Public IP.
    *if i change 127.0.0.1 to my public IP, GS DB don't connect and i got error.
    if i follow configs above, i'll got 192.168.0.200:4001 GateServer error (my LAN IP) see picture attached.

    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 = $PUBLIC_IP:1
    GateServer2Export = $PUBLIC_IP:1
    GateServer3Export = $PUBLIC_IP:1
    GateServer4Export = $PUBLIC_IP:1
    GateServer5Export = $PUBLIC_IP:1

    [MainClient]
    ListernPortForClient = 49998

    [MainLogin]
    LSIP = $PUBLIC_IP
    LSPort = 49997


    ----------------------------------------------------------------------------------------------------
    C:\MOBA\Server\CSConfig\CSKernelCfg.xml
    Spoiler:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <GSCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <GameWorldID>1</GameWorldID>
    <CSIP>$PUBLIC_IP</CSIP>
    <SSPort>10001</SSPort>
    <GSPort>10002</GSPort>
    <MaxSSNum>15</MaxSSNum>
    <SSBaseIndex>20000</SSBaseIndex>
    <MaxGSNum>10</MaxGSNum>
    <GSBaseIndex>30000</GSBaseIndex>
    <AllSSIndex>20000,S1,123456;20001,S2,123456;20002,S3,123456;20003,S4,123456;20004,S5,123456;20005,S6,123456;20006,S7,123456;20007,S8,123456;20008,S9,123456;20009,S10,123456;20010,S11,123456;20011,S12,123456;20012,S13,123456;20013,S14,123456;20014,S15,123456</AllSSIndex>
    <AllGSIndex>30000,ZhongYuan,123456;30001,TongBei,123456;30002,HuaBei,123456;30003,XiLan,123456;30004,JiangLan,123456</AllGSIndex>
    <RSPort>10010</RSPort>
    <RSKey>123456</RSKey>
    <WaitingDBNum>10</WaitingDBNum>
    <LogAddress>$PUBLIC_IP</LogAddress>
    <LogPort>1234</LogPort>
    <redisAddress>$PUBLIC_IP</redisAddress>
    <redisPort>6379</redisPort>
    <redisLogicAddress>127.0.0.1</redisLogicAddress>
    <redisLogicPort>6380</redisLogicPort>
    </GSCfg>


    ----------------------------------------------------------------------------------------------------
    C:\MOBA\Server\GSKernel\GSCfg.xml
    Spoiler:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <GSCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <IP>127.0.0.1</IP>
    <Port>10002</Port>
    <MsgMaxSize>10240000</MsgMaxSize>
    <GSID>30001</GSID>
    <PWD>123456</PWD>
    <ListenIP>$PUBLIC_IP</ListenIP>
    <ListenPort>40001</ListenPort>
    <MaxGCNum>10000</MaxGCNum>
    <BSIP>127.0.0.1</BSIP>
    <BSPort>49999</BSPort>
    <IfSkipBS>0</IfSkipBS>
    </GSCfg>


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

    [MainList]
    IfOpenSdk = 0;
    ServerNum = 7
    Name1 = Arena
    Name2 = Arena-2
    Name3 = Arena-3
    Name4 = Arena-4
    Name5 = Arena-5
    Name6 = Arena-6
    Name7 = Arena-7
    Addr1 = $PUBLIC_IP:49998
    Addr2 = $PUBLIC_IP:49998
    Addr3 = $PUBLIC_IP:49998
    Addr4 = $PUBLIC_IP:49998
    Addr5 = $PUBLIC_IP:49998
    Addr6 = $PUBLIC_IP:49998
    Addr7 = $PUBLIC_IP:49998


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

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

    [MainGC]
    ListernPortForClient = 49996


    ----------------------------------------------------------------------------------------------------
    C:\MOBA\Server\SSKernel\SSKernelCfg.xml
    Spoiler:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <SSCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <CSIP>127.0.0.1</CSIP>
    <CSPort>10001</CSPort>
    <LogAddress>127.0.0.1</LogAddress>
    <LogPort>1234</LogPort>
    <SSID>20001</SSID>
    <GSIP>127.0.0.1</GSIP>
    <GSPort>20001</GSPort>
    <GSPWD>123456</GSPWD>
    <NPCMaxLifeTime>180000</NPCMaxLifeTime>
    <MaxStatisMsgToShow>10</MaxStatisMsgToShow>
    <IfStatics>0</IfStatics>
    <MsgStaticsInterval>10</MsgStaticsInterval>
    <ThreadNum>2</ThreadNum>
    <MiniBattleObjNum>60</MiniBattleObjNum>
    <BattleFinshProtectTimeSpan>6000</BattleFinshProtectTimeSpan>
    </SSCfg>


    ----------------------------------------------------------------------------------------------------
    C:\MOBA\Server\robot.xml
    Spoiler:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RobotCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <LoginServer>$PUBLIC_IP</LoginServer>
    <LoginPort>49996</LoginPort>
    <BalanceServer>$PUBLIC_IP</BalanceServer>
    <BalancePort>49998</BalancePort>
    <DefaultGateServer>$PUBLIC_IP</DefaultGateServer>
    <DefaultGatePort>40001</DefaultGatePort>
    <RobotNum>500</RobotNum>
    <IfSkipToGS>0</IfSkipToGS>
    <PlatForm>0</PlatForm>
    </RobotCfg>


    Click image for larger version. 

Name:	Client Android.jpg 
Views:	97 
Size:	75.6 KB 
ID:	162267

  8. #233
    Member Bruno Martins is offline
    MemberRank
    Sep 2014 Join Date
    36Posts

    Re: Unity Moba complete

    i have the same problem i can connect to with my phone connected as 4G and i can input login and password but when i select arena i cant connect

  9. #234
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    38Posts

    Re: Unity Moba complete

    post the server log ? do you get any error ? netconnect error i mean

  10. #235
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Re: Unity Moba complete

    Logs Attached
    Remember:

    With this configs i'm able to connect 127.7.7.1 IP in same machine or android running in same Network (192.168.0.200 Server and 192.168.0.116 Android Phone)
    Log.zip

  11. #236
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    38Posts

    Re: Unity Moba complete

    log when you try online , not lan , and only the error

  12. #237
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Re: Unity Moba complete

    Explain better please, because this is the Server logs when i try to connect

    In client showme this erro on attached
    Click image for larger version. 

Name:	Client Android.jpg 
Views:	25 
Size:	75.6 KB 
ID:	162278

  13. #238
    Member Bruno Martins is offline
    MemberRank
    Sep 2014 Join Date
    36Posts

    Re: Unity Moba complete

    Quote Originally Posted by magraopb View Post
    Logs Attached
    Remember:

    With this configs i'm able to connect 127.7.7.1 IP in same machine or android running in same Network (192.168.0.200 Server and 192.168.0.116 Android Phone)
    Log.zip
    how did you connect to db? to your localhost database?

  14. #239
    Account Upgraded | Title Enabled! magraopb is offline
    True MemberRank
    May 2007 Join Date
    BrazilLocation
    698Posts

    Re: Unity Moba complete

    C:\MOBA\Server\CSConfig\DBConfig.xml
    Spoiler:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <DBCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DB>
    <type>1</type>
    <ip>127.0.0.1</ip>
    <Port>3306</Port>
    <user>root</user>
    <pwd>$DB_PASS</pwd>
    <dbname>FBAll_GameDB_1</dbname>
    </DB>
    <DB>
    <type>2</type>
    <ip>127.0.0.1</ip>
    <Port>3306</Port>
    <user>root</user>
    <pwd>$DB_PASS </pwd>
    <dbname>FBAll_AccountDB</dbname>
    </DB>
    </DBCfg>


    C:\MOBA\Server\LGCfg\DBConfig.xml

    Spoiler:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <DBCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DB>
    <ip>127.0.0.1</ip>
    <Port>3306</Port>
    <user>root</user>
    <pwd>$DB_PASS </pwd>
    <dbname>FBAll_LogDB_1</dbname>
    </DB>
    <port>1234</port>
    </DBCfg>

  15. #240
    Member snxone is offline
    MemberRank
    Sep 2012 Join Date
    38Posts

    Re: Unity Moba complete

    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



Advertisement