39 Commits

Author SHA1 Message Date
Mark de Wever
180681cf0a Removed the wrapper function network::queue_data() with network::send_data()
and fixed all callers.
2007-12-07 19:25:12 +00:00
Gunter Labes
9869b06731 typo fix 2007-11-20 09:56:13 +00:00
Gunter Labes
5434ce96d1 check whether a player is actually in the game before kicking/banning
remove an assert() on sending to an unknown socket, rather log and return
2007-10-19 02:12:08 +00:00
Gunter Labes
ae9e10f260 codeclean run
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
Hans Joachim Gurt
4af4f8ec27 doxygen, comments 2007-08-27 03:58:47 +00:00
Mark de Wever
080eb69f60 Updated the headers to state GPL 2+ and a few changelog cleanups. 2007-08-15 13:41:56 +00:00
Mark de Wever
bb01934b85 A rather large update which updates the copyright info
* Wesnoth is distributed under the terms of the GPL version 2, made
  that more explicit

* updated the copyright range to 2007

* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Jérémy Rosen
3f7f8c366b allow an easy way to fix an upper limit to the number of threads used,
...limit is 1 for client and unlimited for wesnothd and
campaignd. limits for the servers can be set via CLI
2007-02-02 22:09:12 +00:00
Jérémy Rosen
3ad668e4f8 network threads are now created and destroyed when not enough/too much are available 2007-01-07 12:29:49 +00:00
Rusty Russell
71a60640dc Get rid of unused parameters to network::send_data 2006-05-12 03:24:09 +00:00
David White
8466d33a37 fixed problem where disconnecting a socket could cause the server to hang 2005-10-16 00:21:44 +00:00
Jon Daniel
7dd2ebb8fe Fix multiplayer open_connection not working 2005-08-05 22:23:42 +00:00
Jon Daniel
86b3dd06e4 Improved socket statistics with separate send and receive stats for each socket 2005-08-05 21:53:03 +00:00
András Salamon
cc1b0aecf0 add copyright notices (please change as appropriate), and deDOSify 2005-07-20 08:22:37 +00:00
András Salamon
8bd9bc98a5 ran codeclean against files 2005-06-04 19:16:06 +00:00
Dave White
950bf581fe made connecting to a server show a dialog that allows the user to cancel,
rather than blocking
2005-06-02 23:10:55 +00:00
Yann Dirson
2f22b25e75 more include cleanup 2005-03-10 20:06:20 +00:00
Dave White
920f5b467d change to network code to make receives threaded;
changes to make the game compile on VC++
2005-02-26 22:16:34 +00:00
Guillaume Melquiond
a1a6bada6a NULL is not an integer,
...and trivial integer constants should be visible for compiler optimization.
2004-12-09 19:52:47 +00:00
Dave White
a242eede5a added experimental threading code 2004-10-11 23:46:44 +00:00
Dave White
aac88ce5cc added 'campaign server'...
...and capability to connect to the server to download campaigns
2004-09-12 21:55:21 +00:00
Dave White
825e5e9856 made hosting games work elegantly when wesnothd is running on the same machine 2004-08-28 04:51:51 +00:00
Dave White
b2c1ce5239 added new server commands to kick, ban, view status 2004-07-28 03:38:19 +00:00
Dave White
cefbd487ce improvements to make the server more stable 2004-06-22 16:10:38 +00:00
Dave White
f50ee653d3 made it so non-interactive mode works well with eras 2004-04-29 01:49:51 +00:00
Dave White
40e4b42aaa changes to network protocol to support framework for recovering connections 2004-04-13 18:27:45 +00:00
Dave White
5238dcc75a [[Game[lay fixes]]
- added randomization of temples in Muff Malal's peninsula
- made it so in MP games, players can receive labels and messages while it's their turn
- added patch to 'show possible enemy moves'
2004-04-05 19:29:23 +00:00
Dave White
4baca7de7f added in 'landform' setting to map generator 2004-03-27 20:31:43 +00:00
Dave White
00e44b11ea gave server 'max_packet_size' option to make it more efficient at dealing with multiple clients 2004-03-26 19:14:48 +00:00
uid68803
1ea1233dd7 fixed problem where after being disconnected from the server, ...
...players would be unable to reconnect without quitting the client
2004-02-02 16:51:56 +00:00
uid69097
6a068c1847 Configurable server port. Fixes task #2953 with patch #2489 2004-01-17 12:36:14 +00:00
uid68803
fe9d34d6db made it so when player quits multiplayer game, ...
...game creator chooses to replace them with ai/local player or abort.

fixed problem when player joins game and then leaves
2004-01-07 17:53:40 +00:00
uid68803
8c4711b6cb made it so that multiplayer games loaded will start properly 2004-01-02 06:05:01 +00:00
uid66289
b1c76bcb5b importing devsrv CVS to Savannah CVS 2003-12-23 22:45:30 +00:00
Dave White
d64e04a5ca added some comments 2003-11-12 18:37:30 +00:00
Dave White
ee5cd2890e improved network multiplayer stability...
...including server and client, and added 'lobby' area on server
2003-10-18 10:23:02 +00:00
Dave White
3a7d0ad85f fixed problem where restarting a network game...
...after already playing one doesn't work properly
2003-10-12 09:23:59 +00:00
Dave White
265e902ed5 added better error handling in network connection code 2003-10-05 08:09:56 +00:00
Dave White
8a8b84b4da added basic multiplayer capabilities 2003-10-04 22:38:42 +00:00