I've installed the s2 server and the server is completely running on the LAN system
Well, after creating the zone I am getting a zone number and then
I am trying to communicate through Unity the same thing, but I am unable to establish the connection between s2 server and Unity. Here is the screenshot for better understanding, Can you guide me if I am having any wrong parameters ?
---------------------------------------------- EDIT 1 -----------------------------------------------------
I am using these code from the Vikings Demo
void Start () {
WarpClient.initialize(appKey,ipAddress);
listen = GetComponent<mainScriptListener>();
WarpClient.GetInstance().AddConnectionRequestListener(listen);
username = System.DateTime.UtcNow.Ticks.ToString();
WarpClient.GetInstance().Connect(username, "");
Debug.Log("Connection Request");
}
and listener is having
//ConnectionRequestListener
public void onConnectDone(ConnectEvent eventObj)
{
if(eventObj.getResult() == 0)
{
WarpClient.GetInstance().SubscribeRoom(m_mainScript.roomid);
}
Log ("onConnectDone : " + eventObj.getResult());
Debug.Log("onConnectDone : " + eventObj.getResult());
}
And I am not getting the log statement onConnectDone.
I've also checked with the dll its : AppWarpS2Unity.dll file