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
83bdec9b91
(svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'
...
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use
scripts/pre_dedicated.scr)
20 years ago
truelight
67731d344e
(svn r1045) -Fix: OpenTTD compiles again under VC6 (sign_de)
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
1d823bcef4
(svn r1031) -Fix: [Network] The unique-id was not as unique as I though it was..
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
a501e89624
(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network
...
disconnect without cleaning up.
20 years ago
truelight
d6a1f3e412
(svn r942) -Merged branch/network back into the trunk
20 years ago
tron
265ac67183
(svn r901) Small step in the process to clean up the DPARAM mess:
...
- 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
20 years ago
tron
acbd1801c7
(svn r815) Include strings.h only in the files which need it.
...
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.
20 years ago
tron
57c472e093
(svn r624) Merge r377 to trunk:
...
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
20 years ago
darkvater
089a2a7847
(svn r294) -Fix: autorail always builds rail, instead of occasional rail removal (on pressing hotkey after pressing 'bulldozer')
...
-Fix: network fixes (Tron)
-Some textfile changes, mainly URL's
20 years ago
dominik
da80dabe6b
(svn r287) Sorry, another mistake
20 years ago
dominik
431363908e
(svn r286) Sorry, little memalloc problem
20 years ago
dominik
7e882e8fa3
(svn r285) Fix: networkc.tmp will be created in user's homedir (Loki|muh)
20 years ago
signde
f7eccfc6fe
(svn r282) -Fix: decode params change accidently commited
20 years ago
signde
e049bd9b2b
(svn r281) -Fix: some endian issues fixed in network code
20 years ago
signde
dae15e81d8
(svn r275) -Fix: Client accidently marked as unready when sending framesync packets. [this caused occasional timeouts]
...
-Codechange: now all debug messages for network games show the frame_counter [better debugging]
20 years ago
signde
25b5a727e8
(svn r268) -Fix: console-command: script command now stops recording correctly
...
-Fix: network client should not stop sending ready packets anymore [client should not timeout without any reason]
20 years ago
truelight
a69e422cdd
(svn r266) -Fix: hopefully fixed the desync problem nicely (and reverted the
...
workaround for it)
20 years ago
signde
9dcf10eb6c
(svn r261) -Workaround: unplayeable network-game on busy maps because of wrong setup of _current_player. This is only a workaround that can cause desyncs too but not that often
20 years ago
darkvater
d48ce392b2
(svn r248) -Feature: console script files "exec myscript.file"
...
-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
20 years ago
signde
bb2f8d8d1a
(svn r240) -Fix: desync on subsidy generation
...
-Fix: sometimes commands got executed to early on some clients
-Feature: universal event packets for transmitting subsidys
20 years ago
darkvater
01dd0219d3
(svn r229) -Fix: Some more const stuff fixed .(Tron)
...
-Fix: ParseConnectionString() function to parse network connection string: <IP>[:<PORT>][#<PLAY_AS] .
20 years ago
darkvater
e295e46e3e
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
...
-CodeLayout: Remove trailing spaces and Windows linebreaks
20 years ago
signde
d6cab2e06d
(svn r221) -Feature: console command and variable hooking
...
-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]
20 years ago
darkvater
54fcdc9cfa
(svn r219) -Fix: fixed network stub declerations
20 years ago
darkvater
99687cf513
(svn r214) -Feature: CMD_NET_INSTANT [just in time command handling over 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
20 years ago
darkvater
24512d3da5
(svn r212) -Fix: Network-gui fixes (sign_de)
...
-Fix: any disabled button in a window doesn't receive WE_CLICK events
-Added network.h
20 years ago
signde
34ecc0d778
(svn r209) -Fix: network code based desync
...
-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
20 years ago
signde
1fb915df69
(svn r207) -Codechange: randomizer handling
...
-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]
20 years ago
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
20 years ago
darkvater
216abe4e93
(svn r189) -Fix: [1024750] Fix: network.c - timeout error. When one client timed out, all clients were disconnected (sign_de)
20 years ago
darkvater
5ecaebcc6c
(svn r188) -Fix: network fixes for players with higher latency (sign_de)
20 years ago
truelight
157e90b49f
(svn r186) -Add: debug 'net' for network debug (sign_de)
...
-Fix: desync problem (server was not waiting for clients) (sign_de)
20 years ago
darkvater
6b9929d0f3
(svn r178) -Fix: small network fix if network is not enabled
20 years ago
darkvater
3a241b5cce
(svn r176) -Fix: network_gui const and warnings fixes (Tron)
20 years ago
darkvater
51d928a478
(svn r174) -Network: [ 023268] small network.c changes/cleanups (MorphOS/AmigaOS) and one compiler warning fix (MorphOS) (tokai)
20 years ago
darkvater
9a6870fcfd
(svn r173) -Network: [1023231] Debug Code + ErrorBoxes + Load Game/Scenario. 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)
20 years ago
darkvater
bb75f30a79
(svn r170) -Fix: [1022902] network fix .. console fix bug [1018523]. Fixes some variable initialization errors and a console.h warning (sign_de)
20 years ago
darkvater
a7dd461672
(svn r145) -Fix: [1016921] Network Name Resolution for not only connecting with IP. (sign_de)
...
-Fix [1013884] network.c diffs (MorphOS/ AmigaOS) (tokaiz)
20 years ago
truelight
309ebe5f3f
(svn r111) -Fix: converted all linebreaks to UNIX-linebreak (\n)
20 years ago
dominik
a770903df7
(svn r107) Small fix for compiling without networking
20 years ago
dominik
0bd907e88d
(svn r106) New network core (by sign_de)
...
Features:
* network core is dynamicly loaded when needed (-n isn't needed anymore)
for easy switching between single and multiplayer. But commandline
shortcuts are still enabled:
-n = autodetect network server
-n [ip] = connect to the server
* udp now uses 2 different ports
- you can run 1 server and serveral clients on one pc
- the clients udp-socket gets unloaded when the
network game starts
- the servers udp-sockets remains online to allow the
network gui to detect itself
* new gameinfo structure
this struct is available for every online/lan game
* dynamic NetworkGameList
20 years ago
darkvater
dd5f3bbe37
(svn r82) -Fix ttd.rc issues on non VS compilers
...
-Fix: network.c more robust (check for NULL pointer), if gethostbyname failes, try resolving IP address
20 years ago
dominik
6c87ef6c65
(svn r9) Fixed a couple of warnings and minor coding issues
20 years ago
darkvater
804f038594
(svn r2) -Fix [993829] UDP Fixes (lucaspiller)
...
-Fix change 255/0xFF to OWNER_SPECTATOR for
spectator stuff (TrueLight)
20 years ago