tron
4450ff105c
(svn r1451) Fix some of the signed/unsigned comparison warnings
20 years ago
truelight
503ccc81c9
(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.
20 years ago
truelight
5eeab7fcfe
(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'.
20 years ago
truelight
aacd9f7b0a
(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!)
20 years ago
miham
7bf7cf80ee
(svn r1297) Language fixes in the source.. (ln-)
20 years ago
truelight
4a5e11cea9
(svn r1263) -Fix: [Network] Client-names are limited (serverside) to 25 chars
...
-Fix: You can enter some more chars in the chatbox
20 years ago
truelight
824d73be2d
(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)
20 years ago
truelight
2f2842ec05
(svn r1246) -Fix: [ 1090099 ] Company-messages did crash the game, because
...
company-index was sent, which should have been the client-index
20 years ago
truelight
6b047f7b14
(svn r1204) -Add: [Network] Added some cheaters-protection (money-cheat mostly)
20 years ago
truelight
9938d19d76
(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)
20 years ago
truelight
f3a8d2ad39
(svn r1185) -Fix: [Network] Send to team now results in correct company on the sender
20 years ago
truelight
182eb874e8
(svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings)
20 years ago
truelight
df995a32ed
(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.
20 years ago
truelight
366833eda0
(svn r1136) -Fix: [Network] Revision check on windows-servers is working now
20 years ago
truelight
44f808132e
(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>'
20 years ago
truelight
aa023ad37f
(svn r1127) -Fix: [Network] Protect the network against an illegal PLAYER_CTRL (in
...
which a modified client could, for example, delete a random active company)
20 years ago
truelight
bd4da76891
(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)
20 years ago
darkvater
48b417b456
(svn r1104) -Fix: nasty server crash buffer overflow problem when using 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.
20 years ago
darkvater
d7f4528a57
(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)
20 years ago
truelight
ac96c1ae07
(svn r1096) -Fix: [Network] PlayAs is now registered correctly
...
-Codewise: [Network] Cleaned some code, removed some comment, changed
some wrong comment
20 years ago
darkvater
c21659ae7e
(svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. 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.
20 years ago
truelight
b0fa342aaa
(svn r1090) -Fix: Made the _openttd_revision variable global, and with that
...
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
20 years ago
truelight
a477d3655c
(svn r1054) -Fix: [Network] Redid revision 1024, only a bit more nice this time
...
(revision length is back to 10, and checking is now done correctly)
20 years ago
truelight
05c585d593
(svn r1042) -Fix: [Network] Hopefully enabled revision-check for windows (somehow
...
windows uses WITH_REV_HACK instead of WITH_REV :s)
20 years ago
truelight
b50b664f36
(svn r1026) -Add: [Network] Added unique id, so in network, each client has an
...
unique id (generated via md5)
20 years ago
truelight
d86b06a7f5
(svn r982) -Fix: [Network] Because dparams are misused as a char, we had some
...
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)
20 years ago
truelight
d6a1f3e412
(svn r942) -Merged branch/network back into the trunk
20 years ago