Darkvater
cad526ef36
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
...
disabled hardcode _networking/_network_available to zero and let the compiler
handle all optimizations.
2006-10-12 14:59:27 +00:00
tron
453028b3a7
(svn r6275) Get rid of an ugly cast
2006-08-31 14:51:50 +00:00
Darkvater
ed96dcd868
(svn r4521) - Fix: be consistent about the size of the player-name in MP. This hopefully fixes a crash on lesser OS's (eg Win98). Use ttd_strlcpy() to just copy over strings and properly terminate them because different implementations of snprintf() behave differently. Courtesy of TrueLight
2006-04-22 09:46:31 +00:00
tron
2cc2154ad2
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
...
nothing spectacular, just some stuff, which piled up
2005-10-22 06:39:32 +00:00
Darkvater
e611fee4e5
(svn r3067) - Feature: allow unbanning players based on banlist-id (as well as IP).
...
- Feature: 'status' and 'clients' now show the IP of the players
2005-10-19 19:38:35 +00:00
Darkvater
8e6a911700
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
...
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
2005-09-18 20:56:44 +00:00
ludde
bb1e1f2b5f
(svn r2755) Fix: Fix a desync issue with autoreplace
2005-07-29 21:55:49 +00:00
tron
a227065ab7
(svn r2701) Insert Id tags into all source files
2005-07-24 14:12:37 +00:00
truelight
24c9e6ff66
(svn r1527) -Add: RCon (Remote Connection). A server can set:
...
'set rcon_pw <password>'
Which enables rcon. A client can now do:
'rcon <password> "<command>"'
The command will be executed on the server. (guru3)
-Fix: 'kick 1' did crash dedicated servers
-Fix: server password is now correctly saved
!!Warning!!: do not give your rcon password to people you do not thrust!
2005-01-15 20:09:16 +00:00
truelight
a0716c39de
(svn r1320) -Fix: fixed chat-bug (that from a certain moment, nobody could talk).. 1
...
variable was still byte instead of uint16 (with a very big tnx to guru3!)
2005-01-01 16:34:54 +00:00
truelight
c9645885d0
(svn r1252) -Add: [Network] With 'set restart_game_date' you can set the date for in
...
which year the server must restart hisself. (0 = disabled, default value)
2004-12-23 17:37:26 +00:00
truelight
0e19f74c16
(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
...
and 'void' where needed, prefixed all functions, typedefs and global
vars with 'Network' and organized all externals nicely.
2004-12-19 10:17:26 +00:00
truelight
5e28fb8f97
(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set autoclean_companies on/off').
...
When enabled, empty companies (companies with no active clients) with no
password are declared bankrupt after 1 year of emptyness.
For empty companies with password, the password is removed after 3 years
of emptyness.
The delay of removing company/password can be configured via:
- 'set autoclean_protected <months>'
- 'set autoclean_unprotected <months>'
2004-12-16 13:59:23 +00:00
truelight
b8f6d41418
(svn r942) -Merged branch/network back into the trunk
2004-12-04 17:54:56 +00:00