summaryrefslogtreecommitdiff
path: root/network_client.c
AgeCommit message (Collapse)Author
2005-01-05(svn r1389) -Add: [Network] Added packet protection. No longer a client or ↵truelight
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-02(svn r1322) -Add: banning system (mostly tnx to guru3)truelight
A server can ban people via ClientList Both server and dedicated can do it via console: 'ban', 'unban', 'banlist'.
2004-12-23(svn r1246) -Fix: [ 1090099 ] Company-messages did crash the game, because truelight
company-index was sent, which should have been the client-index
2004-12-23(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.darkvater
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
2004-12-21(svn r1204) -Add: [Network] Added some cheaters-protection (money-cheat mostly)truelight
2004-12-20(svn r1186) -Fix: [Network] You can now join a company on a server where a ↵truelight
company went bankrupt, without joining the wrong company (or even failing to do so)
2004-12-19(svn r1174) -Fix: [Network] All strings can now be translated (no more ↵truelight
hardcoded strings)
2004-12-19(svn r1169) -Fix: [Network] [ 1087591 ] When you want to be a spectator, you ↵truelight
now stay a spectator even if someone else joins.
2004-12-19(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const' truelight
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
2004-12-16(svn r1125) -Fix: [Network] You can now safely join a company againtruelight
2004-12-15(svn r1108) -Fix: [Network] Fixed problem around slow clients:truelight
They joined, they got the map, but it took some time before the new player was created. In this time a player could do stuff, causing a player-id-mismatch, and the player was kicked out. Now a player get's a nice GUI which says: registering.. When that is gone, the player is joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
2004-12-15(svn r1096) -Fix: [Network] PlayAs is now registered correctlytruelight
-Codewise: [Network] Cleaned some code, removed some comment, changed some wrong comment
2004-12-15(svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. ↵darkvater
Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
2004-12-14(svn r1090) -Fix: Made the _openttd_revision variable global, and with that truelight
hopefully killed the windows-revision problem. If WITH_REV is defined, for both Windows as *nix system _openttd_revision is filled with normal info, else _openttd_revision is set to 'norev000' -Fix: Small possible server-crash
2004-12-13(svn r1042) -Fix: [Network] Hopefully enabled revision-check for windows ↵truelight
(somehow windows uses WITH_REV_HACK instead of WITH_REV :s)
2004-12-12(svn r1026) -Add: [Network] Added unique id, so in network, each client has an truelight
unique id (generated via md5)
2004-12-08(svn r982) -Fix: [Network] Because dparams are misused as a char, we had some truelight
endian-problems. To fix this, we are sending dparams byte by byte (instead of an uint32). Because of this dparam is sent not-uint32-endian-safe, but char-endian-safe. Too bad dparam can no longer be used for normal stuff (which is currently not the case) (tnx to Tron and Bjarni)
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight