Multiplayer and network
by Guy Allard · in RTS Starter Kit · 10/02/2006 (1:18 pm) · 4 replies
OK, next question....
Does the stock RTSKit support multiplayer over the internet?
I can see and join servers hosted on my LAN using the query LAN option, but hosting a server does not make the server appear on the master server list (I'm not using a dedicated server).
I've opened up ports 28000 to 28002 for UDP on my firewall. The console shows that the game is sending a heartbeat, followed shortly by the master server requesting information from me, so something is communicating.
However, querying the master server with another client does not reveal any games to join.
If this is a known bug, then please tell me that there's a fix, and that the documentation for the fix has not been lost like all the other fixes that I need links to.
Does the stock RTSKit support multiplayer over the internet?
I can see and join servers hosted on my LAN using the query LAN option, but hosting a server does not make the server appear on the master server list (I'm not using a dedicated server).
I've opened up ports 28000 to 28002 for UDP on my firewall. The console shows that the game is sending a heartbeat, followed shortly by the master server requesting information from me, so something is communicating.
However, querying the master server with another client does not reveal any games to join.
If this is a known bug, then please tell me that there's a fix, and that the documentation for the fix has not been lost like all the other fixes that I need links to.
About the author
Recent Threads
#2
Here's what my console says:
Sending heartbeat to master server [IP:69.64.50.217:28002]
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgStatsList to index: 5
Mapping string: MsgTeamInfo to index: 6
Mapping string: MsgClientJoin to index: 7
Mapping string: Welcome to the RTS Lobby, %1. to index: 8
Mapping string: The Man to index: 9
NOT Ready^[Super]^The Man 1428
Received info request from a master server [IP:69.64.50.217:28002].
starter.RTS/server/scripts/core/gameConnection.cs (83): Unable to find object: '' attempting to call function 'getCount'
starter.RTS/server/scripts/core/gameConnection.cs (85): Unable to find object: '' attempting to call function 'getObject'
starter.RTS/server/scripts/avatars/player.cs (193): Unknown command playDeathCry.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
starter.RTS/server/scripts/avatars/player.cs (194): Unknown command playDeathAnimation.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
starter.RTS/server/scripts/avatars/player.cs (195): Unknown command setDamageFlash.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
starter.RTS/server/scripts/avatars/player.cs (198): Unknown command setImageTrigger.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
Client has disconnected, removing unit 1428
It looks like maybe it's not regeistering itself properly, but I haven't changed anything yet.
Anyone have any ideas?
I am behind a router, but I forwarded all the ports to my comp and opened them up on the firewall.
11/13/2006 (12:50 pm)
I can't get it to connect over the internet either. I opened the ports listed.Here's what my console says:
Sending heartbeat to master server [IP:69.64.50.217:28002]
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgStatsList to index: 5
Mapping string: MsgTeamInfo to index: 6
Mapping string: MsgClientJoin to index: 7
Mapping string: Welcome to the RTS Lobby, %1. to index: 8
Mapping string: The Man to index: 9
NOT Ready^[Super]^The Man 1428
Received info request from a master server [IP:69.64.50.217:28002].
starter.RTS/server/scripts/core/gameConnection.cs (83): Unable to find object: '' attempting to call function 'getCount'
starter.RTS/server/scripts/core/gameConnection.cs (85): Unable to find object: '' attempting to call function 'getObject'
starter.RTS/server/scripts/avatars/player.cs (193): Unknown command playDeathCry.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
starter.RTS/server/scripts/avatars/player.cs (194): Unknown command playDeathAnimation.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
starter.RTS/server/scripts/avatars/player.cs (195): Unknown command setDamageFlash.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
starter.RTS/server/scripts/avatars/player.cs (198): Unknown command setImageTrigger.
Object LocalClientConnection(1428) RTSConnection -> GameConnection -> NetConnection -> SimGroup -> SimSet -> SimObject
Client has disconnected, removing unit 1428
It looks like maybe it's not regeistering itself properly, but I haven't changed anything yet.
Anyone have any ideas?
I am behind a router, but I forwarded all the ports to my comp and opened them up on the firewall.
#3
11/13/2006 (7:37 pm)
I tried to join using the starter.fps from the SDK and connected without any issues.
#4
07/09/2007 (9:35 pm)
Has anyone gotten their RTS game to show up by querrying the master server?
Torque Owner Gary Preston