Lame ideas from someone who doesn't know how to code...

Discuss the future of Warzone 2100 with us.
User avatar
mcdebugger
Trained
Trained
Posts: 66
Joined: 02 Feb 2007, 20:54
Location: Russian Federation
Contact:

Re: Lame ideas from someone who doesn't know how to code...

Post by mcdebugger »

Kamaze wrote: The netcode needs a bigger rewrite. Important is -in my opinion- to change to a P2P like netcode.
This means, if the host (the initiator of the game) leaves the game, to whole game doesn't get canceled.
While playing.
It's better to give players choise: to play with standard client-server architecture or to play with peer-to-peer connection because there is big number of networks where peer-2-peer connections are not allowed.
I have a little question: where can I find a software for WZ Lobby Server? Please help me with it
Hardware: MacBook Pro 13 2015
Software: macOS 10.15 Catalina
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: Lame ideas from someone who doesn't know how to code...

Post by lav_coyote25 »

https://gna.org/projects/warzone/


look under the source code heading - browse svn.... i would have provided the link here but svn wasnt up at this moment in time.

updated - svn online now.

http://svn.gna.org/viewcvs/warzone/trunk/tools/
Last edited by lav_coyote25 on 08 Aug 2007, 18:17, edited 1 time in total.
‎"to prepare for disaster is to invite it, to not prepare for disaster is a fools choice" -me (kim-lav_coyote25-metcalfe) - it used to be attributed to unknown - but adding the last bit , it now makes sense.
krushia
Greenhorn
Posts: 13
Joined: 04 May 2007, 00:02
Location: New Hampshire, USA, Earth
Contact:

Re: Lame ideas from someone who doesn't know how to code...

Post by krushia »

mcdebugger does have a valid point about p2p issues.  If p2p requires certain port(s) to stay open, it may not work with some people.  You'd have to have at least one peer that can accept incoming connections (ie open firewall ports).  Just something to think about.
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18
Contact:

Re: Lame ideas from someone who doesn't know how to code...

Post by Giel »

The subversion repository itself is hosted at http://svn.gna.org/svn/warzone/trunk and svn://svn.gna.org/svn/warzone/trunk

I've got WebSVN running for Warzone's repository at http://warzone.mortis.eu/websvn/
A (read-only) mirror of the subversion repository itself is also available at http://svn.mortis.eu/warzone/
Kamaze wrote: The netcode needs a bigger rewrite. Important is -in my opinion- to change to a P2P like netcode.
This means, if the host (the initiator of the game) leaves the game, to whole game doesn't get canceled.
While playing.
Actually Warzone currently already works with a P2P network model. Changing it into a server-client model would be more difficult.
mcdebugger wrote: I have a little question: where can I find a software for WZ Lobby Server? Please help me with it
A C++ implementation of a lobby server (requires boost and boost::asio): http://svn.gna.org/svn/warzone/trunk/to ... erver_cpp/
A Python implementation: http://svn.gna.org/svn/warzone/trunk/tools/lobby/
krushia wrote: If p2p requires certain port(s) to stay open, it may not work with some people.
Any form of connecting across TCP/IP networks requires ports to stay open.
krushia wrote: You'd have to have at least one peer that can accept incoming connections (ie open firewall ports).  Just something to think about.
You need to have one peer that can accept incoming connections anyway, with or without a P2P model.
Last edited by Giel on 08 Aug 2007, 19:41, edited 1 time in total.
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
User avatar
mcdebugger
Trained
Trained
Posts: 66
Joined: 02 Feb 2007, 20:54
Location: Russian Federation
Contact:

Re: Lame ideas from someone who doesn't know how to code...

Post by mcdebugger »

Thank you so much for links!
Hardware: MacBook Pro 13 2015
Software: macOS 10.15 Catalina
Post Reply