About Store Forum Documentation Contact



Post Reply 
Editor Interface blocking Ineisis
Author Message
Ozmodian Offline
Member

Post: #1
Editor Interface blocking Ineisis
Hi Esenthel,

Not sure if it is a big deal but if you have the editor open with "Allow Incoming Connections" when you try to run a local Ineisis server, the Editor will prevent the client from being able to connect to the server. I assume this is because the Editor Interface is also running on port 65535.

Again, not a huge deal but wanted to let everybody know because i was pulling my hair out thinking i broke my program after updating Esenthel but in the end, it was just that.

Cheers
10-22-2013 04:08 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Editor Interface blocking Ineisis
Hi,
You can modify your game client:
"Select Server" code file
Code:
bool Connect(Thread &thread)
{
   SockAddr sa;
   if(ConnectToLocal && !EE_PUBLISH)sa.setLocal(65535);else // never connect to local server when in publish build
   {
      if(!ServerIP.is())Exit("'ServerIP' variable not set.");
      sa.fromText(ServerIP+":65535");
   }
   if(Server.clientConnectToServer(sa))Server.tcpNoDelay(true);
   return false;
}

And/or the server:
"Server/Main"
Code:
if(!Server.create())Exit("Can't create Server TCP Socket");
you can specify custom port over there (create method)
10-22-2013 04:28 AM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #3
RE: Editor Interface blocking Ineisis
Ohh, i know. I just wanted to post it in case anybody else tried Ineisis.

Thanks for the tip though.
10-22-2013 06:34 AM
Find all posts by this user Quote this message in a reply
Post Reply