Opened 14 years ago

Last modified 4 years ago

#629 new enhancement

Show the current IP address when hosting a new game.

Reported by: dee@earlsoft.co.uk Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Non-game systems Keywords:
Cc: Patch:

Description (last modified by ptt)

Very minor point but this would ease setting up multiplayer games for people that don't know how to find their ip. This may well be supersceded if a discovery feature is added.

Change History (12)

comment:1 by Andrew, 14 years ago

Owner: set to Andrew

This would need to be their external IP if they where behind a router as that is what people would need to connect to. So that could be not so easy to get... You could use UPnP or some external service to gather your external ip. But I do agree it may be nice to show!

comment:2 by Philip Taylor, 14 years ago

We can run an external web-based service fairly easily, which is likely the most reliable way to get the IP. Eventually we should have a proper lobby system, so this should probably be designed as a first step towards that, in terms of API and server design etc.

comment:3 by historic_bruno, 13 years ago

Owner: Andrew removed

comment:4 by historic_bruno, 11 years ago

Note: this will probably be superseded by #1504.

comment:5 by Josh, 10 years ago

Owner: set to Josh

comment:6 by historic_bruno, 9 years ago

Owner: Josh removed

comment:7 by historic_bruno, 9 years ago

One caveat of this proposal is that it wouldn't help players setting up a LAN game (it could even confuse them). Maybe there should be separate LAN and Internet multiplayer modes to make the distinction clear. I still think this is useful for people who don't or can't use the lobby.

Last edited 9 years ago by historic_bruno (previous) (diff)

comment:8 by Imarok, 8 years ago

still needed? You can connect via lobby if you don't know your IP

comment:9 by ptt, 5 years ago

Description: modified (diff)

I just started playing 0ad, and do think it is very useful to show the local IP address for multiplayer LAN games.

Would you be happy if I try to find some time to implement it?

comment:10 by elexis, 5 years ago

Depends on the proposed method to obtain the local IP (it must be supported for windows and unix).

comment:11 by ptt, 4 years ago

Ah, I didn't think of different platforms. Since I don't have a windows computer at hand it would be hard to test for me, so I'll let it go.

comment:12 by Stan, 4 years ago

ptt I can test for you.

Note: See TracTickets for help on using tickets.