no server list (no-ip)

Results 1 to 10 of 10
  1. #1
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    no server list (no-ip)

    # ip config
    no-ip: warzxx.no-ip.com
    wan: 180.183.200.xxx
    lan: 192.168.2.170

    C:\Windows\System32\drivers\etc\hosts
    127.0.0.1 warzxx.no-ip.com

    SupervisorServer.cfg
    externalIp = warzxx.no-ip.com
    masterIp = 192.168.2.170 // cant change
    webAPIDomainIP = warzxx.no-ip.com

    Source
    set up All IP to "warzxx.no-ip.com"

    Problem
    - no sever list > not work TT
    - register > work
    - login > work


    PS.
    - Start Server By DSL 15mb (not colocation, not VPS Server)
    - client work on lan network.
    Last edited by javaz97; 12-01-14 at 08:55 AM.


  2. #2
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    #game .ini
    g_serverip 192.168.2.170
    g_api_ip 192.168.2.170


    #servermain .cpp
    CkHttpRequest req;
    req.UsePost();
    req.put_Path("/WarZ/api/php/api_GetLootBoxConfig.php");
    req.AddParam("serverkey", "9F179EB9-C74E-4933-85B5-EB135E16F5EF");
    CkHttpResponse* resp = http.SynchronousRequest("localhost", 80, false, req);
    Last edited by javaz97; 12-01-14 at 08:53 AM.

  3. #3
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    #logms

    000000.015| permgame: ID:1, WarZ-HaHa, MAPID_WZ_Colorado,
    000000.017| WarZ 0 games, 100 players each
    000000.017| r3dNetwork: Creating host at port 34000
    000000.034| IP: 192.168.2.170
    000000.074| MasterGameServer started at port 34000
    000000.075| r3dNetwork: Creating host at port 34001
    000000.083| IP: 192.168.2.170
    000000.094| MasterUserServer started at port 34001, 20 CCU
    000005.974| master: super registered 'WIN-Q5IBQMAE'[1] ip:180.183.200.xx. max 600 players, 5 sessions
    000010.099| WIN-Q5IBQMAE(180.183.200.xx), games:0/5, players:0/600
    000011.099| WIN-Q5IBQMAE(180.183.200.xx), games:0/5, players:0/600
    000012.100| WIN-Q5IBQMAE(180.183.200.xx), games:0/5, players:0/600
    000013.100| WIN-Q5IBQMAE(180.183.200.xx), games:0/5, players:0/600
    000014.101| WIN-Q5IBQMAE(180.183.200.xx), games:0/5, players:0/600
    000015.018| gameServerId 1 - spawning new
    000015.019| NewGame: registered new game in slot 0, name 'WarZ-HaHa', pwd '', port 34010
    000015.019| request for new game send to WIN-Q5IBQMAE, creator:0, players:50, id:10100, port:34010
    000015.177| game 0x10100 connected
    000016.101| WIN-Q5IBQMAE(180.183.200.xx), games:1/5, players:0/600
    000017.101| WIN-Q5IBQMAE(180.183.200.xx), games:1/5, players:0/600
    000018.101| WIN-Q5IBQMAE(180.183.200.xx), games:1/5, players:0/600

    - - - Updated - - -



    add pic

    - - - Updated - - -

    # FrontEndWarZ.cpp

    Code:
    bool FrontendWarZ::ConnectToMasterServer()
    {
    	masterConnectTime_ = r3dGetTime();
    	if(gMasterServerLogic.badClientVersion_)
    		return false;
    	if(gMasterServerLogic.IsConnected())
    		return true;
    
    	gMasterServerLogic.Disconnect();
    	if(!gMasterServerLogic.StartConnect(_p2p_masterHost, _p2p_masterPort))
    	{
    		async_.SetAsyncError(0, gLangMngr.getString("NoConnectionToMasterServer"));
    		return false;
    	}
    
    	const float endTime = r3dGetTime() + 30.0f;
    	while(r3dGetTime() < endTime)
    	{
    		::Sleep(10);
    		//if(gMasterServerLogic.IsConnected())
    		//	return true;
    
    		if(gMasterServerLogic.versionChecked_ && gMasterServerLogic.badClientVersion_)
    			return false;
    
    		// if we received server id, connection is ok.
    		if(gMasterServerLogic.masterServerId_)
    		{
    			r3d_assert(gMasterServerLogic.versionChecked_);
    			return true;
    		}
    
    		// early timeout by enet connect fail
    		if(!gMasterServerLogic.net_->IsStillConnecting())
    			break;
    	}
    
    	async_.SetAsyncError(8, gLangMngr.getString("TimeoutToMasterServer"));
    	return false;
    }
    - - - Updated - - -

    and

    C:\WarZ\bin\server\WO_GameServer\Sources\ServerMain.cpp

    CkHttpResponse* resp = http.SynchronousRequest("192.168.2.170", 80, false, req);

    - - - Updated - - -

    my server ip


  4. #4
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    up up up

  5. #5
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    some one

    - - - Updated - - -

    Server Browse use UDP Port 4x,xxx - 7x,xxx and Random port

  6. #6
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    i open tcp and udp 33000 - 34000
    and ....

    - - - Updated - - -

    up up up

  7. #7
    Newbie pidor is offline
    MemberRank
    Dec 2013 Join Date
    19Posts

    Re: no server list (no-ip)

    up, similar problem

  8. #8
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    My Client work on lan network.

    - - - Updated - - -

    but cant online to public with no-ip (DSL)

  9. #9
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: no server list (no-ip)

    Fixed by aomsin

  10. #10
    Newbie pidor is offline
    MemberRank
    Dec 2013 Join Date
    19Posts

    Re: no server list (no-ip)

    Quote Originally Posted by javaz97 View Post
    Fixed by aomsin
    link please



Advertisement