summaryrefslogtreecommitdiff
path: root/network_server.c
AgeCommit message (Collapse)Author
2004-12-16(svn r1136) -Fix: [Network] Revision check on windows-servers is working nowtruelight
2004-12-16(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set ↵truelight
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(svn r1127) -Fix: [Network] Protect the network against an illegal ↵truelight
PLAYER_CTRL (in which a modified client could, for example, delete a random active company)
2004-12-15(svn r1106) -Add: [Network] Added master-server protocol and advertise to truelight
master-server option. No GUI yet, and disabled by default (it still is WIP)
2004-12-15(svn r1104) -Fix: nasty server crash buffer overflow problem when using ↵darkvater
release build. Big thanks to Truelight for the guidance in fixing this very annoying bug! -VS.NET now treats warnings as errors too in the release build.
2004-12-15(svn r1098) -Fix: server without revision build doesn't care about the ↵darkvater
client's version. Also moved all revision things where it belongs (network.c)
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 r1054) -Fix: [Network] Redid revision 1024, only a bit more nice this time truelight
(revision length is back to 10, and checking is now done correctly)
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