"No Communication Established"

Posted By: fastlane69

"No Communication Established" - 03/01/07 00:41

I'm running into an annoying problem. I'm under a time crunch and haven't had time to fully test it but I thought I'd throw it out there in case someone has quick answers.


I have two servers, Busi_Net and Game_net, running on the same computer. I connect to Busi_Net first with playername "test", no problem, and then session_connect to Game_Net and get the following in acklog_cl log:

Quote:


Disconnect
Searching for servers... session GAME_NET found
Session GAME_NET joined as test- no communication established





However, the server side log (acklog_sv) shows no join event for this client. I have also tried this with no playername.

Any clue what is causing this? I don't understand how or why I would get the "join" message on client but nothing on the server on one server but not the other (???)

(PS: I'm using 6.50.06)
Posted By: khanoftruth

Re: "No Communication Established" - 03/01/07 01:35

It could have something to do with running two servers off the same computer. I would troubleshoot this. Try running it in the reverse server. Also, make sure that the Game_Net is a server/client, not a dedicated server.
Posted By: fastlane69

Re: "No Communication Established" - 03/01/07 02:39

I'm leaning toward exactly that: two servers on the same computer.
This would be buggy for the manual clearly states that this can be done with different session names and ports. However as indicated in another post, I'm not to clear that the ports are working as they should which could be related to this error.

Why would you suggest I run game_net in server/client mode? How would that make a difference? Are you suggesting for debug purposes (ie: f11)?

EDIT:
Tried game_net as server-client... didn't help and actually hurt the game for unexplicable reasons
Posted By: khanoftruth

Re: "No Communication Established" - 03/01/07 15:44

Yes to your question.

Also, try to run Game_Net first, without Busi_net
Posted By: fastlane69

Re: "No Communication Established" - 03/01/07 17:51

Quote:

Also, try to run Game_Net first, without Busi_net




I did and when I found out I could connect to it with no problems, I did a few other tests and found not the bug but at least that there is a problem: multiple server bug
Posted By: khanoftruth

Re: "No Communication Established" - 03/01/07 21:35

Good that you posted it in Bugland.

I think that it may be impossible to run to DEDICATED servers on one machine. That may be part of the DEDICATED definition.

Good luck. I am interested to see how this turns out, because it will affect my game too.
Posted By: TWO

Re: "No Communication Established" - 03/01/07 21:49

Nope, with my DLL it's possible. You can run an impressing high number of servers on different ports if the machine is fast enaugh. With GS it should be possible too.
Posted By: fastlane69

Re: "No Communication Established" - 03/01/07 23:48

Quote:

I think that it may be impossible to run to DEDICATED servers on one machine. That may be part of the DEDICATED definition.





No, dedicated just means that you are using that application for server only and not any client functions. It doesn't mean that the machine is dedicated to one application only. God forbid that would be the case! As Blood states and the manual backs up, you should be able to run as many servers as your machine can handle as long as they have unique session_names and ports.

Which is why I think that the problem lies in the way ports are managed in 6.5.xx for acklog_cl states that we find the session_name but no communication is actually established (in my mind, this means it finds the server by it's unique name but can't establish a unique port to talk to it).

This belief is backed up by my finding that if you set the port manually on the server, you need to manually set the port on a client connecting to it but not on the same machine, a fact which is counterindicated by the manual (which clearly states that setting the port on the client has no effect since it finds it automatically).
Posted By: khanoftruth

Re: "No Communication Established" - 03/03/07 21:07

You might not be able to run multiple servers on same port.
Posted By: fastlane69

Re: "No Communication Established" - 03/04/07 01:04

I know I can't which is why I think that this is related to a port error of some sort. For example, it could be that the same port is being assigned to both servers and thus I can only communicate with the first one started since it recognizes that as the "good" port. Don't rightly know though since I have no access to source code but I think the server bug and port bug (both posted in bug forum) are related.
© 2024 lite-C Forums