translators
9df60a2759
Update: Translations from eints
...
slovak: 39 changes by ApplePie420
2021-07-29 18:53:22 +00:00
translators
dea999566d
Update: Translations from eints
...
finnish: 14 changes by hpiirai
2021-07-28 18:52:35 +00:00
translators
476c039332
Update: Translations from eints
...
german: 10 changes by Wuzzy2
2021-07-27 18:51:08 +00:00
Jonathan G Rennison
9003ef7d11
When reversing train, ensure that loading is aborted if necessary
2021-07-27 18:06:44 +01:00
translators
d17e4f7d29
Update: Translations from eints
...
german: 4 changes by danidoedel
romanian: 23 changes by ALEX11BR
portuguese (brazilian): 6 changes by jpsl00
2021-07-26 18:51:36 +00:00
Jonathan G Rennison
2135aa2ae8
Fix false positive desync log message for powered free wagon chains
2021-07-26 18:08:56 +01:00
Rubidium
1c8f4bfaef
Fix #9388 : thread unsafe use of NetworkAdminConsole/IConsolePrint
...
(cherry picked from commit d7a0e80fc18b689455eaca09883fccbcc722d7e3)
# Conflicts:
# src/debug.cpp
# src/debug.h
# src/table/settings/gui_settings.ini
See: https://github.com/OpenTTD/OpenTTD/pull/9456
2021-07-26 17:55:19 +01:00
Jonathan G Rennison
63d8f3bdd7
Revert "Fix thread safety issues in network admin socket console logging"
...
This reverts commit ad15d4fd8f
.
2021-07-26 14:35:46 +01:00
translators
7409e6fea1
Update: Translations from eints
...
romanian: 17 changes by ALEX11BR
2021-07-25 18:50:47 +00:00
translators
cab212258f
Update: Translations from eints
...
swedish: 9 changes by joeax910
russian: 1 change by Ln-Wolf
2021-07-24 18:52:09 +00:00
translators
333de9f15d
Update: Translations from eints
...
russian: 9 changes by Ln-Wolf
catalan: 25 changes by J0anJosep
2021-07-23 18:52:46 +00:00
Jonathan G Rennison
71dfd2900a
Add depot order flag for specific depot
...
Use upper half of order flags for extra depot flags
See: #302
2021-07-23 18:33:24 +01:00
Jonathan G Rennison
fd0cb63963
Fix send vehicle to specific depot allowing incompatible rail types
2021-07-23 18:12:20 +01:00
Jonathan G Rennison
382955396f
Fix send vehicle to specific depot allowing incompatible road/tram types
...
See: #302
2021-07-23 18:06:15 +01:00
translators
72737a91f3
Update: Translations from eints
...
spanish (mexican): 13 changes by absay
2021-07-22 18:53:58 +00:00
Rubidium
ba29edb0b3
Cleanup: remove some references to the old master-server
2021-07-21 22:28:51 +02:00
Patric Stout
9cc706847c
Fix: crash when joining a server again after a TCP disconnect ( #9453 )
...
"my_client" wasn't always free'd when a game ended. "my_client"
keeps a reference inside the PT_NCLIENT pool. The rest of the
code assumes that when you are not in a game, it can freely
reset this pool.
In result: several ways to trigger a use-after-free.
2021-07-21 21:55:30 +02:00
translators
99d0d9be6b
Update: Translations from eints
...
english (us): 15 changes by 2TallTyler
korean: 12 changes by telk5093
russian: 3 changes by Ln-Wolf
portuguese: 12 changes by azulcosta
polish: 98 changes by pAter-exe
2021-07-21 18:51:59 +00:00
Charles Pigott
6c33b4ed28
Fix #8335 : Race condition in music mixer ( #9450 )
2021-07-21 10:32:33 +01:00
translators
dd54e4c835
Update: Translations from eints
...
swedish: 1 change by joeax910
romanian: 36 changes by ALEX11BR
2021-07-20 18:51:39 +00:00
Patric Stout
fa1e27994d
Feature: allow the use of TURN to connect client and server together
...
TURN is a last resort, used only if all other methods failed.
TURN is a relay approach to connect client and server together, where
openttd.org (by default) is the middleman.
It is very unlikely either the client or server cannot connect to
the STUN server, as they are both already connected to the Game
Coordinator. But in the odd case it does fail, estabilishing the
connection fails without any further possibility to recover.
2021-07-20 19:57:23 +02:00
Patric Stout
8a36134003
Fix: [Network] rework when to close connections and inform Game Coordinator if needed
2021-07-20 19:57:23 +02:00
Charles Pigott
f1dfc2f482
Codechange: Make OverflowSafeInt constexpr
2021-07-20 10:42:03 +01:00
Charles Pigott
549a58731f
Codechange: Remove (unused) ability to specify min/max of OverflowSafeInt
2021-07-20 10:42:03 +01:00
Charles Pigott
e6e2a67aa1
Codechange: Use GCC/clang builtins for overflow safety when supported
2021-07-20 10:42:03 +01:00
Charles Pigott
3d0d9edafd
Fix: OverflowSafeInt could underflow
...
Notably, a company with an extremely negative amount of money would
suddenly become very rich
2021-07-20 10:42:03 +01:00
Charles Pigott
1e439979f7
Fix: OverflowSafeInt negation not handling INT64_MIN
...
INT64_MIN negated is above INT64_MAX, and would overflow.
Instead, when negating INT64_MIN make it INT64_MAX.
This does mean that -(-(INT64_MIN)) != INT64_MIN.
2021-07-20 10:42:03 +01:00
Loïc Guilloux
9b0bb21f3b
Fix 57734fd
: Don't enable rename button for network clients in build vehicle window ( #9452 )
2021-07-19 22:38:36 +02:00
translators
d1cf56609d
Update: Translations from eints
...
german: 1 change by danidoedel
2021-07-19 18:53:13 +00:00
Charles Pigott
1e529e1632
Fix: [Fluidsynth] Crash when debug output enabled ( #9446 )
2021-07-19 10:36:35 +01:00
translators
9421cb1e2c
Update: Translations from eints
...
estonian: 1 change by siimsoni
russian: 20 changes by Ln-Wolf
2021-07-18 18:50:19 +00:00
Rubidium
386ef4dac3
Feature: [Game Coordinator] Send NewGRF names to the client
2021-07-18 19:36:38 +02:00
rubidium42
3eaa470632
Feature: [Network] Optionally send NewGRF names with NewGRFs in GameInfo
...
Before 8a2da49
the NewGRF names were synchronized using UDP packets, however
those have been removed. With this a new version of the GameInfo packet is
introduced that allows to specify the type of serialisation happens for
NewGRFs. Either only the GRF ID and checksum, or those two plus the name of
the NewGRF.
On this request for local servers will send the NewGRFs names.
The Game Coordinator will get the names on the first registration, and after
that only the GRF ID and checksum.
2021-07-18 19:36:38 +02:00
rubidium42
5dd524139f
Fix c921f6d
: [Network] Documentation of Game Info packet was not updated
2021-07-18 11:42:25 +02:00
rubidium42
09a7825d1e
Remove: the concept of UnknownGRFs
...
These were filled with "<Unknown>" (before 8a2da49
) and later their name would get filled via UDP requests to the server. These UDP packets do not exist anymore, so they will always remain "<Unknown>".
Remove that logic and just use the generic translated error GRF UNKNOWN string instead.
2021-07-18 11:42:25 +02:00
Jonathan G Rennison
6a009686c9
Fix #299 : Add estimated max speed (full) to template windows
2021-07-17 23:21:12 +01:00
Jonathan G Rennison
502af119e5
Rename and move train max speed estimation functions
2021-07-17 23:06:34 +01:00
Jonathan G Rennison
d01cfa8c08
Update template vehicle properties when freight multiplier or accel model changed
2021-07-17 22:50:26 +01:00
Jonathan G Rennison
8c9dd75b5b
Fix #301 : Network server local company change on load did not update network state
2021-07-17 21:30:05 +01:00
Jonathan G Rennison
2fc35aed2f
Fix #300 : Toggling auto separation does not redraw sched dispatch enable button
2021-07-17 21:02:05 +01:00
Jonathan G Rennison
4174fe727c
Add NewGRF feature: Extra station name strings
...
These are used when all the default names have been used up,
instead of "Town Station #NNN".
2021-07-17 20:54:10 +01:00
translators
3479e59eea
Update: Translations from eints
...
korean: 2 changes by telk5093
catalan: 3 changes by J0anJosep
french: 17 changes by glx22
portuguese: 1 change by azulcosta
portuguese (brazilian): 15 changes by Vimerum
2021-07-17 18:50:07 +00:00
Patric Stout
ab601115a9
Fix 75b6051b
: removing items from the ini could leave the group in a bad state ( #9445 )
2021-07-17 17:26:50 +02:00
Loïc Guilloux
460991ecf4
Feature: Persistant rotation of numbered auto/netsave after restart ( #9397 )
...
It was always starting from 0 on openttd restart.
Now the most recent auto/netsave number will be used as a base to generate the next filename.
2021-07-17 12:48:35 +02:00
glx22
16abdd5254
Change: [Win32] Set the console codepage to UTF-8
2021-07-16 23:01:08 +02:00
glx22
afea5e85ae
Fix 433f74e
: GetString() requires a language pack
2021-07-16 23:01:08 +02:00
translators
96add9c36d
Update: Translations from eints
...
spanish (mexican): 1 change by absay
dutch: 15 changes by Afoklala
portuguese: 1 change by azulcosta
2021-07-16 18:51:17 +00:00
Patric Stout
29cceb59a5
Doc: explain in a bit more detail how we implemented STUN
2021-07-16 19:50:29 +02:00
Patric Stout
8adade26ed
Feature: allow the use of STUN to connect client and server together
...
This method doesn't require port-forwarding to be used, and works for
most common NAT routers in home setups. But, for sure it doesn't work
for all setups, and not everyone will be able to use this.
2021-07-16 19:50:29 +02:00
Patric Stout
55eed246b8
Codechange: allow Connect() to bind to a local address
2021-07-16 19:50:29 +02:00