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.
|
|
|
|
instead of TILES_[XY]
|
|
A server can ban people via ClientList
Both server and dedicated can do it via console:
'ban', 'unban', 'banlist'.
|
|
|
|
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
|
|
MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
|
|
itself
from the server-list
|
|
-Fix: UDPListener was launched wrongly
-Fix: Not all sockets have broadcast enabled anymore
-Fix: Server-advertise retries 3 times before giving up
|
|
|
|
list. Those will be remembered until you delete them by pressing the Delete key.
|
|
company
went bankrupt, without joining the wrong company (or even failing to do so)
|
|
(tnx to
GeniusDex (that makes 10 ;)))
|
|
hardcoded strings)
|
|
and 'void' where needed, prefixed all functions, typedefs and global
vars with 'Network' and organized all externals nicely.
|
|
file. Add a section [servers] with the addresses each in a new line. Those will be checked upon OpenTTD startup.
|
|
really
does not like strncpy for some silly reason.
|
|
ClientList (tnx to teeone for reporting)
|
|
map.c and map.h
|
|
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)
|
|
master-server option. No GUI yet, and disabled by default (it still is WIP)
|
|
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
|
|
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use
scripts/pre_dedicated.scr)
|
|
|
|
(somehow
windows uses WITH_REV_HACK instead of WITH_REV :s)
|
|
|
|
unique id (generated via md5)
|
|
disconnect without cleaning up.
|
|
|
|
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns
|
|
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
|
|
Remove the memmove special case for MSVC
According to the MSDN it was just plain wrong and memmove was directly used in some places anyway
|
|
removal (on pressing hotkey after pressing 'bulldozer')
-Fix: network fixes (Tron)
-Some textfile changes, mainly URL's
|
|
|
|
|
|
|
|
|
|
|
|
packets. [this caused occasional timeouts]
-Codechange: now all debug messages for network games show the frame_counter [better debugging]
|
|
-Fix: network client should not stop sending ready packets anymore [client should not timeout without any reason]
|
|
workaround for it)
|
|
wrong setup of _current_player. This is only a workaround that can cause desyncs too but not that often
|
|
-Feature: console logging (of debug messages with *developer = 2 and debug_level #) to text-files "script test.txt"
-Feature: server and client are auto-executing "on_server.scr" and "on_client.scr" scripts
|
|
-Fix: sometimes commands got executed to early on some clients
-Feature: universal event packets for transmitting subsidys
|
|
-Fix: ParseConnectionString() function to parse network connection string: <IP>[:<PORT>][#<PLAY_AS] .
|
|
for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
|
|
-Fix: added another network.c stub
-Consolecommand: "scrollto <tile>" center main view on <tile> [Darkvater]
-Consolecommand: "resettile <tile>" force bulldoze <tile> without any checks (DEBUG only) [Darkvater]
-Fix: resetengines is hooked to be not available in network games
-Codechange: "connect <connectstr>": the connect command now uses a connectionstring like the network-gui
-Fix: Direct Connect editbox can handle up to max ~35 characters [Darkvater]
|