OpenTTD

Tasklist

FS#994 - Spectator cannot see list of available vehicles

Attached to Project: OpenTTD
Opened by Bilbo (bilbo) - Saturday, 07 July 2007, 21:11 GMT
Last edited by andythenorth (andythenorth) - Saturday, 02 September 2017, 12:03 GMT
Type Feature Request
Category Interface
Status With patch
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

In r10470, spectator is not able to see list of vehicles (button "Available trains" on train list is missing, same for other vehicle types)

I joined a game with some interesting newGRF to spectate and I was curious what trains are available in the game. However, I was unable to invoke the available vehicle list from the list of company's trains.
This task depends upon

Comment by Matt D. (monoid) - Monday, 08 August 2011, 04:26 GMT
This patch allows all users to use the 'available vehicles' buttons.
Comment by andythenorth (andythenorth) - Saturday, 02 September 2017, 12:04 GMT
Patch fails to apply on r27908

openttd-trunk(master)$ curl https://bugs.openttd.org/task/994/getfile/7662/availveh.diff | patch -p0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11545 100 11545 0 0 72965 0 --:--:-- --:--:-- --:--:-- 73069
(Stripping trailing CRs from patch.)
patching file src/autoreplace_gui.cpp
Hunk #1 FAILED at 29.
Hunk #2 succeeded at 388 (offset 40 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/autoreplace_gui.cpp.rej
(Stripping trailing CRs from patch.)
patching file src/build_vehicle_gui.cpp
Hunk #1 succeeded at 890 with fuzz 2 (offset 58 lines).
Hunk #2 FAILED at 917.
Hunk #3 FAILED at 948.
Hunk #4 FAILED at 979.
Hunk #5 succeeded at 1050 with fuzz 2 (offset 111 lines).
Hunk #6 succeeded at 1148 (offset 112 lines).
Hunk #7 succeeded at 1189 with fuzz 2 (offset 113 lines).
Hunk #8 succeeded at 1208 with fuzz 2 (offset 114 lines).
Hunk #9 succeeded at 1233 with fuzz 2 (offset 115 lines).
Hunk #10 FAILED at 1402.
Hunk #11 succeeded at 1507 (offset 141 lines).
Hunk #12 succeeded at 1519 (offset 141 lines).
4 out of 12 hunks FAILED -- saving rejects to file src/build_vehicle_gui.cpp.rej
(Stripping trailing CRs from patch.)
patching file src/depot_gui.cpp
Hunk #1 succeeded at 767 with fuzz 2 (offset 65 lines).
(Stripping trailing CRs from patch.)
patching file src/group_gui.cpp
Hunk #1 FAILED at 349.
Hunk #2 FAILED at 480.
2 out of 2 hunks FAILED -- saving rejects to file src/group_gui.cpp.rej
(Stripping trailing CRs from patch.)
patching file src/vehicle_gui.cpp
Hunk #1 FAILED at 1181.
Hunk #2 succeeded at 1283 with fuzz 2 (offset 90 lines).
Hunk #3 FAILED at 1633.
2 out of 3 hunks FAILED -- saving rejects to file src/vehicle_gui.cpp.rej
(Stripping trailing CRs from patch.)
patching file src/vehicle_gui.h
Hunk #1 succeeded at 44 with fuzz 2 (offset -9 lines).

Loading...