Jonathan G Rennison
5fe5884613
Debug: Add experimental command to switch baseset
2020-12-26 10:54:01 +00:00
Patric Stout
4319d31036
Fix #6468 : don't store version of AIs-started-via-console in name
...
You can do: "startai myai.3", which starts version 3 of "myai".
This is very useful for testing save/load code between different
versions of your AI.
However, when using this syntax, the AI got saved as "myai.3" as
name of the AI, instead of "myai". This caused several problems,
like indicating to the user the AI could not be found, but still
load the AI. But in all cases, the AI never got the chance to
load the saved data, making the whole reason this exists pointless.
By splitting the name and version already in the console command,
the code becomes simpler and AIs started this way now follow the
normal flow after initialization.
2020-12-25 17:03:44 +01:00
Jonathan G Rennison
4da3cfcf56
Merge branch 'master' into jgrpp
...
# Conflicts:
# CMakeLists.txt
# src/bootstrap_gui.cpp
2020-12-07 17:56:44 +00:00
Patric Stout
dddf885fb4
Remove: console command "content select all" ( #8363 )
...
The intention of this function was that you could download
everything after a filter was applied; but this never really
took off. Instead, a select few people used this functionality
to download every available package on BaNaNaS. This is not in
the spirit of this service. Additionally, these few people were
good for 70% of the consumed bandwidth of BaNaNaS.
2020-12-07 14:48:13 +01:00
Jonathan G Rennison
a20112e48f
Add console command to dump desync message log
2020-11-22 11:49:18 +00:00
Jonathan G Rennison
f5499852b6
Add debug console command to change rail type map colour
2020-11-21 16:48:20 +00:00
Jonathan G Rennison
b86f19c121
Add console command to dump bridge types
2020-11-01 19:40:15 +00:00
Jonathan G Rennison
39ace3bbe4
Add console command to dump road types
2020-11-01 00:34:30 +00:00
Jonathan G Rennison
d5cad68292
Add GRF details to dump road types console command
2020-11-01 00:34:20 +00:00
Jonathan G Rennison
22d2b4cc90
Add console command to dump road types
2020-10-30 21:48:46 +00:00
Jonathan G Rennison
ffe3c769a3
Add road tile cached one way state, one way road section detection
2020-10-28 00:27:48 +00:00
Jonathan G Rennison
b13abd327a
Debug: Add road/tram type flag ctl console command
2020-10-16 22:41:26 +01:00
Jonathan G Rennison
d29a08dfe1
Add gfx_debug console command
2020-10-02 02:10:09 +01:00
Jonathan G Rennison
2cad094725
Allow sending an empty password to drop settings_access
2020-09-29 18:21:06 +01:00
Jonathan G Rennison
bf0bdfdd93
Add sleep debug console command
2020-09-28 21:09:30 +01:00
Jonathan G Rennison
e2eed7cb8a
Add console command to dump link graph jobs
2020-09-28 21:09:30 +01:00
Jonathan G Rennison
e90b39c559
Add console command to get full game date
2020-09-27 23:07:44 +01:00
Jonathan G Rennison
9be6eb92f8
Console: Add network server commands to get/set company pw hashes
2020-09-25 17:49:39 +01:00
Jonathan G Rennison
3b49f892fa
Redraw connecting link graph overlay links when moving station sign
...
Add test console command
2020-09-18 18:58:16 +01:00
Jonathan G Rennison
5b78090a61
Merge branch 'master' into jgrpp
...
# Conflicts:
# CMakeLists.txt
# src/saveload/town_sl.cpp
# src/screenshot.h
# src/script/api/ai/ai_date.hpp.sq
# src/script/api/ai/ai_marine.hpp.sq
# src/script/api/ai/ai_station.hpp.sq
# src/script/api/game/game_date.hpp.sq
# src/script/api/game/game_marine.hpp.sq
# src/script/api/game/game_station.hpp.sq
# src/script/api/game/game_window.hpp.sq
# src/script/api/script_window.hpp
# src/script/api/template/template_window.hpp.sq
# src/signal.cpp
# src/statusbar_gui.cpp
# src/toolbar_gui.cpp
# src/viewport.cpp
# src/viewport_func.h
2020-08-27 18:31:09 +01:00
Jonathan G Rennison
8bf41a6f1d
Add setting to show unlisted console commands
2020-08-15 00:37:46 +01:00
Jonathan G Rennison
4ac30471a3
Add debug console command to merge all linkgraph jobs ASAP
2020-07-06 19:51:26 +01:00
TechGeekNZ
cf8ea74733
Update: Merge branch 'jgrpp_master_cmake' into jgrpp_cmake
2020-06-28 21:56:43 +01:00
Miguel Horta
40436019fd
Fix: Display banlist's indexes correctly
...
Bug introduced via commit ab711e6942
2020-06-08 21:56:57 +01:00
Jonathan G Rennison
eef6ad7b2a
Crash log: Save config file in new crash save chunk
2020-04-21 18:17:13 +01:00
Jonathan G Rennison
850f860f2d
Fix dump_load_debug_log console command overwriting data
2020-04-21 18:01:39 +01:00
Jonathan G Rennison
8ef367b126
Add viewport debug commands
2020-03-05 00:27:17 +00:00
Jonathan G Rennison
99e0229860
Merge branch 'master' into jgrpp
2020-02-10 18:24:33 +00:00
Charles Pigott
8800225bdb
Fix #7993 : Compile warning in kick/ban debug messages
2020-02-09 23:25:53 +00:00
Jonathan G Rennison
babe98cdb1
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/network/network_server.h
# src/pathfinder/yapf/yapf_road.cpp
# src/viewport.cpp
2020-02-09 15:43:47 +00:00
Niels Martin Hansen
805ecd32be
Fix 5880f147
: Integer width warnings
2020-02-06 16:09:36 +00:00
Bjarni Thor
5880f1479f
Feature #7756 : Allow server to supply a reason to kicked/banned clients
...
This commit adds the missing feature of allowing the server owner to
provide a reason for kicking/banning a client, which the client sees in
a pop-up window after being kicked. The implementation extends the
network protocol by adding a new network action called
NETWORK_ACTION_KICKED that is capable of having an error string, unlike
the other network error packages. Additionally, the kick function
broadcasts a message to all clients about the kicked client and the
reason for the kick.
2020-02-04 22:17:39 +00:00
Jonathan G Rennison
81a1094cc8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_cmds.cpp
# src/date.cpp
# src/economy.cpp
# src/misc.cpp
# src/newgrf_house.cpp
2020-01-29 19:32:06 +00:00
Niels Martin Hansen
c8779fb311
Feature: NewGRF callback profiling ( #7868 )
...
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
2020-01-26 13:45:51 +01:00
Jonathan G Rennison
7960db35f2
Merge branch 'master' into jgrpp
...
# Conflicts:
# config.lib
# projects/openttd_vs140.vcxproj
# projects/openttd_vs140.vcxproj.filters
# projects/openttd_vs141.vcxproj
# projects/openttd_vs141.vcxproj.filters
# projects/openttd_vs142.vcxproj
# projects/openttd_vs142.vcxproj.filters
# src/aircraft_cmd.cpp
# src/base_station_base.h
# src/core/pool_type.hpp
# src/disaster_vehicle.cpp
# src/economy.cpp
# src/engine.cpp
# src/group.h
# src/group_cmd.cpp
# src/group_gui.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/linkgraph/linkgraph_gui.cpp
# src/network/network_command.cpp
# src/network/network_server.cpp
# src/openttd.cpp
# src/order_cmd.cpp
# src/road_cmd.cpp
# src/saveload/afterload.cpp
# src/saveload/cargopacket_sl.cpp
# src/saveload/linkgraph_sl.cpp
# src/saveload/order_sl.cpp
# src/saveload/station_sl.cpp
# src/saveload/town_sl.cpp
# src/saveload/vehicle_sl.cpp
# src/screenshot.cpp
# src/screenshot.h
# src/settings_gui.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/station.cpp
# src/station_cmd.cpp
# src/table/settings.ini
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/train.h
# src/train_cmd.cpp
# src/train_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehiclelist.cpp
# src/window_type.h
2020-01-06 18:45:51 +00:00
TELK
e04ca904a9
Feature: Minimap screenshot
2020-01-04 18:21:38 +01:00
glx
3a14cea068
Codechange: Replace FOR_ALL_COMPANIES with range-based for loops
2019-12-21 20:13:03 +01:00
Jonathan G Rennison
cbdd9f84d8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
2019-11-12 18:43:10 +00:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Jonathan G Rennison
edfd378e93
Merge branch 'master' into jgrpp
...
# Conflicts:
# source.list
# src/blitter/32bpp_anim.cpp
# src/linkgraph/linkgraphjob.cpp
# src/order_cmd.cpp
# src/vehicle.cpp
# src/vehicle_type.h
2019-10-05 21:45:54 +01:00
Jonathan G Rennison
170e71787b
Add console commands to dump station flow stats
2019-10-01 02:34:37 +01:00
JMcKiern
04f659e768
Fix: Some typos found using codespell
2019-09-29 21:27:32 +01:00
Jonathan G Rennison
6562937899
Merge branch 'master' into jgrpp-nrt
...
# Conflicts:
# src/console_cmds.cpp
# src/script/api/script_order.cpp
# src/station_cmd.cpp
# src/statusbar_gui.cpp
# src/town_gui.cpp
2019-08-24 11:00:41 +01:00
Jonathan G Rennison
ec892879f4
Add passworded mechanism to change server game settings from client
2019-08-20 20:42:17 +01:00
TELK
bcc73bd40d
Add: 'getsysdate' console command ( #7658 )
...
Add `getsysdate` console command to display system's local time, which is might be useful to check current time in script logging.
2019-08-04 20:35:56 +02:00
Jonathan G Rennison
36eb4165b8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/bridge_map.h
# src/crashlog.cpp
# src/industry.h
# src/linkgraph/linkgraph_type.h
# src/order_type.h
# src/saveload/afterload.cpp
# src/settings.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/spritecache.cpp
# src/stdafx.h
# src/table/settings.h.preamble
# src/train.h
# src/vehicle.cpp
# src/viewport.cpp
# src/viewport_func.h
# src/widgets/station_widget.h
# src/zoom_func.h
# src/zoom_type.h
2019-07-08 16:19:07 +01:00
stormcone
29bdab23f7
Fix: Fix some copy-paste typos.
2019-06-17 20:37:22 +02:00
Jonathan G Rennison
5f44741428
Add console commands to show station and industry windows
2019-06-15 10:01:29 +01:00
Jonathan G Rennison
16e590dc88
Add console command to show town window
2019-06-09 11:14:36 +01:00
Jonathan G Rennison
5a9790a196
Store crash/desync logs in crash/desync savegame
...
Add console command to dump loaded debug log
2019-05-23 22:53:17 +01:00