Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 410 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
"No Communication Established" #114513
03/01/07 00:41
03/01/07 00:41
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
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)

Re: "No Communication Established" [Re: fastlane69] #114514
03/01/07 01:35
03/01/07 01:35
Joined: Jun 2005
Posts: 130
K
khanoftruth Offline
Member
khanoftruth  Offline
Member
K

Joined: Jun 2005
Posts: 130
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.


The Galvanic Productions Hompage: www.GalvanicProductions.tk For our current project, click on the Nirvana link.
Re: "No Communication Established" [Re: khanoftruth] #114515
03/01/07 02:39
03/01/07 02:39
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
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

Re: "No Communication Established" [Re: fastlane69] #114516
03/01/07 15:44
03/01/07 15:44
Joined: Jun 2005
Posts: 130
K
khanoftruth Offline
Member
khanoftruth  Offline
Member
K

Joined: Jun 2005
Posts: 130
Yes to your question.

Also, try to run Game_Net first, without Busi_net


The Galvanic Productions Hompage: www.GalvanicProductions.tk For our current project, click on the Nirvana link.
Re: "No Communication Established" [Re: khanoftruth] #114517
03/01/07 17:51
03/01/07 17:51
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
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

Re: "No Communication Established" [Re: fastlane69] #114518
03/01/07 21:35
03/01/07 21:35
Joined: Jun 2005
Posts: 130
K
khanoftruth Offline
Member
khanoftruth  Offline
Member
K

Joined: Jun 2005
Posts: 130
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.


The Galvanic Productions Hompage: www.GalvanicProductions.tk For our current project, click on the Nirvana link.
Re: "No Communication Established" [Re: khanoftruth] #114519
03/01/07 21:49
03/01/07 21:49
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline

Serious User
TWO  Offline

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
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.

Re: "No Communication Established" [Re: khanoftruth] #114520
03/01/07 23:48
03/01/07 23:48
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
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).

Re: "No Communication Established" [Re: fastlane69] #114521
03/03/07 21:07
03/03/07 21:07
Joined: Jun 2005
Posts: 130
K
khanoftruth Offline
Member
khanoftruth  Offline
Member
K

Joined: Jun 2005
Posts: 130
You might not be able to run multiple servers on same port.


The Galvanic Productions Hompage: www.GalvanicProductions.tk For our current project, click on the Nirvana link.
Re: "No Communication Established" [Re: khanoftruth] #114522
03/04/07 01:04
03/04/07 01:04
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
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.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1