peter1138
3c40fe42d4
(svn r19374) -Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help.
15 years ago
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
rubidium
ab35d95b5a
(svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection
15 years ago
rubidium
2db44fc18e
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
15 years ago
rubidium
f608ad7baf
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
f89d6bea0e
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
15 years ago
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
rubidium
b0f18a27fb
(svn r18054) -Change/Fix [FS#3310]: make pause on join pause during the whole joining (including download) phase
15 years ago
rubidium
2a1cab4d46
(svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are.
15 years ago
rubidium
934e6a295d
(svn r18051) -Codechange: make the active clients pause use a separate bit in the pause mode
15 years ago
rubidium
c08c10f329
(svn r18048) -Change: make no distinction between unpausing because of a client aborting to join or actually joining
15 years ago
rubidium
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
rubidium
58a36f038b
(svn r17737) -Codechange: remove the chat window when you were chatting with someone who lost his/her connection or when you were team chatting and moved out of the company.
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
afed4330da
(svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers.
15 years ago
rubidium
124e543b1d
(svn r17667) -Fix [FS#3245]: autopause tried to (un)pause the server every tick when the pause command only gets processed once every frame_freq ticks. So it would spam the console with duplicate attempts.
15 years ago
rubidium
b3c5c8cadb
(svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
bd9670ea47
(svn r17467) -Change: show the client id in join messages at the server (patch by dihedral)
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
9b156c1bd4
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
15 years ago
rubidium
f8bccce555
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
15 years ago
smatz
35635c6248
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
15 years ago
smatz
2b4d37de3d
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
15 years ago
alberth
bab70a823d
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
15 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
15 years ago
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
15 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
15 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
15 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
15 years ago
rubidium
101af1f9b5
(svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company
15 years ago
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
15 years ago
rubidium
169a003e9a
(svn r16135) -Fix [FS#2856]: always give the server an already resolved 'client address' so we can be sure the client address is always resolved
15 years ago
rubidium
2663ad302f
(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary.
15 years ago
rubidium
7d3db3ee91
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
15 years ago
rubidium
ebe0f9e7f7
(svn r15998) -Codechange: some coding style updates
15 years ago
rubidium
e779c56e31
(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.
15 years ago
rubidium
08e37a6f10
(svn r15987) -Fix: make the master socket only listen on the IP the server is bound to.
15 years ago
rubidium
9d6edae94d
(svn r15981) -Fix: don't print the address family when writing the IP+port to the config file.
15 years ago
rubidium
a5a424ce28
(svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses.
15 years ago
rubidium
8cf88876ef
(svn r15973) -Codechange: make it possible to listen on multiple TCP sockets
15 years ago
rubidium
c0f8214218
(svn r15972) -Codechange: remove unneeded parameter
15 years ago
rubidium
2a6e9288fd
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
15 years ago
rubidium
82f8badc07
(svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited.
15 years ago
rubidium
22d9306889
(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly
15 years ago
rubidium
c9ebf14ba5
(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address.
15 years ago
rubidium
2fd9f0fffa
(svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching.
15 years ago
rubidium
1463b00b48
(svn r15940) -Codechange: move setting reuse address to the binding process.
15 years ago
rubidium
5386fe1a1c
(svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates.
15 years ago
rubidium
89d0eca6b7
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
15 years ago
rubidium
11723c40b2
(svn r15926) -Codechange: make the broadcast IP list less AF dependent.
15 years ago
rubidium
47602d7b60
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
15 years ago
rubidium
632d74c6b1
(svn r15922) -Codechange: unify the ways to listen on a socket
15 years ago
rubidium
ba5aafb9bb
(svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol
15 years ago
rubidium
beef5da970
(svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb)
15 years ago
rubidium
c5160c7c8e
(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.
15 years ago
rubidium
1e205e01b8
(svn r15916) -Codechange: let the network game list use NetworkAddress
15 years ago
rubidium
ee4a660b0c
(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
4a5c4f6089
(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting
16 years ago
smatz
642dc1ea5e
(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block
16 years ago
rubidium
66a8c0a132
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
16 years ago
rubidium
c5677da94d
(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game.
16 years ago
rubidium
8dae160d0f
(svn r15425) -Codechange: some color->colour changes and type safety.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago
peter1138
727ffeedc9
(svn r15194) -Fix: Don't count dedicated server as a spectator
16 years ago
rubidium
eeb38a8e3a
(svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out.
16 years ago
rubidium
28a641066e
(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers.
16 years ago
glx
24351416f6
(svn r15160) -Fix (r15157): port != IP
16 years ago
rubidium
5f3772a42c
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
16 years ago
rubidium
9b463c26de
(svn r15155) -Codechange: remove unused return value
16 years ago
rubidium
3a13b75e37
(svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
16 years ago
peter1138
a039ec0d21
(svn r15094) -Feature: Add support for IP range bans using CIDR notation.
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
cda853872a
(svn r14944) -Cleanup: add spaces around some operators
16 years ago
rubidium
c08f520acf
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
16 years ago
rubidium
d4b6cc997d
(svn r14910) -Codechange: merge the command queue handling into a single location
16 years ago
rubidium
3c6add5293
(svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option.
16 years ago
rubidium
ad1c52abf8
(svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :(
16 years ago
rubidium
a25e3f8d70
(svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable.
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
ece37ca2c0
(svn r14731) -Fix: don't initialise UDP multiple times without closing it.
16 years ago
rubidium
afddfcb2b1
(svn r14730) -Codechange: remove the need for networkclientsockets and networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
...
-Note: 255 should really be enough for now... making it any more means network protocol bumps.
16 years ago
rubidium
f8f7febe41
(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the amount of slots in the array, but one less as a dedicated server takes a slot too.
16 years ago
rubidium
9476a49763
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
16 years ago
rubidium
d501a20065
(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/
16 years ago
rubidium
ae96ca635c
(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for.
16 years ago
rubidium
d95a485108
(svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the latter describes the name more precisely.
16 years ago
rubidium
b4734ee9a4
(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
16 years ago
rubidium
94e7f41a9d
(svn r14718) -Change: remove some direct network core variable accesses from non-network locations.
16 years ago
rubidium
f49cc67f83
(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex
16 years ago
rubidium
a687667448
(svn r14714) -Codechange: only allocate the company network "state" variables (password/months not used) when needed, i.e. only for servers.
16 years ago
rubidium
abc903d625
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
16 years ago
rubidium
782b80eff7
(svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays.
16 years ago
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
smatz
7a031b60cd
(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken
16 years ago