Age | Commit message (Collapse) | Author |
|
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.
|
|
A server can ban people via ClientList
Both server and dedicated can do it via console:
'ban', 'unban', 'banlist'.
|
|
talk).. 1
variable was still byte instead of uint16 (with a very big tnx to guru3!)
|
|
|
|
-Fix: You can enter some more chars in the chatbox
|
|
date for in
which year the server must restart hisself. (0 = disabled, default value)
|
|
company-index was sent, which should have been the client-index
|
|
|
|
company
went bankrupt, without joining the wrong company (or even failing to do so)
|
|
the sender
|
|
hardcoded strings)
|
|
and 'void' where needed, prefixed all functions, typedefs and global
vars with 'Network' and organized all externals nicely.
|
|
|
|
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>'
|
|
PLAYER_CTRL (in
which a modified client could, for example, delete a random active company)
|
|
master-server option. No GUI yet, and disabled by default (it still is WIP)
|
|
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.
|
|
client's version. Also moved all revision things where it belongs (network.c)
|
|
-Codewise: [Network] Cleaned some code, removed some comment, changed
some wrong comment
|
|
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.
|
|
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
|
|
(revision length is back to 10, and checking is now done correctly)
|
|
(somehow
windows uses WITH_REV_HACK instead of WITH_REV :s)
|
|
unique id (generated via md5)
|
|
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)
|
|
|