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
tron
559babcdc9
(svn r2673) Include functions.h directly, not globally via openttd.h
2005-07-22 07:02:20 +00:00
tron
284d9ed7fb
(svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
2005-07-21 18:44:27 +00:00
ludde
bd974bb443
(svn r2590) Fix: [network] Fixed NetworkHandleLocalQueue
2005-07-16 14:29:36 +00:00
ludde
8ff1f8c526
(svn r2589) Fix: [network] Fixed static variable that wasn't initialized. Would stop the sync checking from working in some cases.
2005-07-16 12:59:23 +00:00
ludde
f12b3a0c18
(svn r2588) Codechange: Remove PLAYER_SEED_RANDOM
2005-07-16 12:30:03 +00:00
ludde
71f9078bdd
(svn r2583) Move OS specific code out of misc.c
...
Added support for Mersenne Twister random number generator (not implemented in network yet)
Wrap player randoms around #ifdef
2005-07-15 20:29:06 +00:00
ludde
3e62457107
(svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state".
...
Added a way to bind a C-string to an openttd string which doesn't modify the game state.
2005-07-14 09:43:59 +00:00
tron
43f7974f6d
(svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing
2005-06-04 07:35:12 +00:00
truelight
143dd26ef5
(svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
2005-05-17 16:01:19 +00:00
Darkvater
d102d0c26d
(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
...
- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup"
2005-05-02 15:52:19 +00:00
Darkvater
5109df6f55
(svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu
...
- Feature: If the to be started server is using a password, draw a red '*' after the set password button to remind the user.
2005-04-06 18:44:34 +00:00
Darkvater
d35f965c47
(svn r2126) - Fix : #2 Fix compilation with network disabled, and comment out some of the warnings (unused function) (I missed this out the last commit, sorry)
2005-04-02 15:08:31 +00:00
truelight
d97ff67129
(svn r2108) -Fix: the server now also unpause when a client desyncs or something
2005-03-30 08:50:34 +00:00
truelight
508738f836
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
...
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you
can auto-pause the game when a client wants to join the game. This to
avoid connection losses because of big maps (200+ trains). (with tnx to
#openttdcoop for the ideas and testing)
2005-03-29 19:10:13 +00:00
tron
34f14e657d
(svn r1970) Fix some warnings which Cygwin showed
2005-03-09 11:49:34 +00:00
tron
552d84884f
(svn r1836) Clean up some strange constructs concerning socket options
2005-02-07 09:56:16 +00:00
tron
eed181245d
(svn r1833) byte -> char transition: the rest
2005-02-06 22:25:27 +00:00
tron
b2ae5b197e
(svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
2005-02-06 13:41:02 +00:00
tron
0381073e56
(svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
2005-02-06 08:18:00 +00:00
tron
f0f85a7ef3
(svn r1803) Move debugging stuff into files of it's own
2005-02-05 15:58:59 +00:00
tron
e5cd6b6193
(svn r1596) Add some more statics
2005-01-22 22:47:58 +00:00
tron
189ca73707
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
2005-01-22 20:23:18 +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
tron
3a838447a8
(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
2005-01-14 19:44:42 +00:00
tron
49584082a0
(svn r1451) Fix some of the signed/unsigned comparison warnings
2005-01-09 21:25:44 +00:00
truelight
523a6a1cff
(svn r1389) -Add: [Network] Added packet protection. No longer a client or server
...
reads beyond the size of the packet
-Fix: [Network] A server no longer crashes when a client sends an
invalid DoCommand, but drops the client instead.
2005-01-05 14:39:48 +00:00
dominik
e31da8532e
(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
2005-01-05 09:59:45 +00:00
tron
c0702318d2
(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
2005-01-03 18:59:58 +00:00
truelight
a11f46fed4
(svn r1322) -Add: banning system (mostly tnx to guru3)
...
A server can ban people via ClientList
Both server and dedicated can do it via console:
'ban', 'unban', 'banlist'.
2005-01-02 12:03:43 +00:00
miham
57852f6498
(svn r1297) Language fixes in the source.. (ln-)
2004-12-29 13:13:29 +00:00
darkvater
c4836bbd70
(svn r1239) -Feature: Added gui option of setting company password. It can be found in the 'company information' window
...
-Spiced up 'set company_pw' a bit, where if no pw is typed, it shows the current one.
-Added a space between company name and player; looks better
2004-12-22 23:24:53 +00:00
bjarni
fb345e983e
(svn r1236) MorphOS: added make release like in OSX (tokai)
...
MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
2004-12-22 21:12:36 +00:00
truelight
d66adc937d
(svn r1228) -Add: [Network] When a server normally shuts down, it removed itself
...
from the server-list
2004-12-22 18:56:52 +00:00
truelight
90b2b2144b
(svn r1227) -Add: Ingame Server-list (select Internet, then Find Servers)
...
-Fix: UDPListener was launched wrongly
-Fix: Not all sockets have broadcast enabled anymore
-Fix: Server-advertise retries 3 times before giving up
2004-12-22 18:42:56 +00:00
truelight
07d0fd6719
(svn r1202) -Fix: removed unused variable
2004-12-21 16:56:43 +00:00
dominik
7cfaa8a418
(svn r1194) Feature: You can now add and remove servers from the server list. Those will be remembered until you delete them by pressing the Delete key.
2004-12-20 22:14:39 +00:00
truelight
5f25a0788a
(svn r1186) -Fix: [Network] You can now join a company on a server where a company
...
went bankrupt, without joining the wrong company (or even failing to do so)
2004-12-20 16:02:01 +00:00
truelight
36ce6a7e4f
(svn r1184) -Fix: [Network] %p as chat message no longer gives funny result (tnx to
...
GeniusDex (that makes 10 ;)))
2004-12-20 15:25:39 +00:00
truelight
db16262698
(svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings)
2004-12-19 15:14:55 +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
dominik
853c11d301
(svn r1162) The server list can now be automatically filled from the config file. Add a section [servers] with the addresses each in a new line. Those will be checked upon OpenTTD startup.
2004-12-18 18:58:03 +00:00
truelight
da24f97483
(svn r1137) -Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows really
...
does not like strncpy for some silly reason.
2004-12-16 15:51:18 +00:00
truelight
e5a2abb872
(svn r1124) -Fix: [Network] Also the server now has the option Give Money in
...
ClientList (tnx to teeone for reporting)
2004-12-16 11:04:43 +00:00
tron
765ecfed84
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
2004-12-15 22:18:54 +00:00
truelight
5f51b42c99
(svn r1113) -Add: [Network] Added the GUI part for server advertising. When you go
...
to Start Server, you can select by connection: 'Internet (advertise)'.
When selected, the server will announce itself to the server-list at
http://servers.openttd.org (when finished)
2004-12-15 21:54:07 +00:00
truelight
015fb81810
(svn r1106) -Add: [Network] Added master-server protocol and advertise to
...
master-server option. No GUI yet, and disabled by default (it still is WIP)
2004-12-15 20:10:34 +00:00
darkvater
f1b6b1711b
(svn r1098) -Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c)
2004-12-15 16:51:55 +00:00
truelight
29b844a408
(svn r1096) -Fix: [Network] PlayAs is now registered correctly
...
-Codewise: [Network] Cleaned some code, removed some comment, changed
some wrong comment
2004-12-15 15:19:51 +00:00