Age | Commit message (Collapse) | Author |
|
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]
|
|
|
|
network] (sign_de)
-Fix: Only server can pause in network, action disabled for clients
-Fix: Direct Connect editbox can handle up to max ~35 characters
|
|
-Fix: any disabled button in a window doesn't receive WE_CLICK events
-Added network.h
|
|
-Feature: framesync packets to hold the clients framecount near the servers
-Fix: command queue now aligns the commands to be processed right after an sync or framesync packet
-Fix: added stubs for compiling without network
|
|
-Fix: desync problem fixes
-Fix: server doesnt hang anymore when a client timed out
-Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
|
|
|
|
timed out, all clients were disconnected (sign_de)
|
|
|
|
-Fix: desync problem (server was not waiting for clients) (sign_de)
|
|
|
|
|
|
(MorphOS/AmigaOS) and one compiler warning fix (MorphOS) (tokai)
|
|
Added some more desync debug code and replaced some of the error() calls with some better error boxes. Hopefully find desyncs easier (sign_de)
-GUI: Change some network GUI stuff (Darkvater)
|