Few minor patches from me
Moderator: OpenTTD Developers
Few minor patches from me
I have put up few minor patches that I've put into openttd bugtracker, but I got no response from devs about them, so I put them here, so everybody can try them or use them.
Allow listing companies also outside network games - FS#2820
The command "companies" was previously available only to network servers. Since the command provides useful information also for network clients and when debugging AI's, I think it should be available also without networking. I am attaching a patch that allows that. Without networking (when playing locally), the list will say whether the company is controlled by AI (appending " AI" at end of line with companies) or not, instead of telling if it is protected/unprotected.
This allows using commands like stop_ai without having to leave console to look for the company numbers Build when paused in scenario editor - FS#1521, Added to trunk in r21429
Since in scenario editor you can do basically whatever you want , it does not make sense to restrict your building while pause. This patch allow you building while paused in scenario editor. In-game the things are unchanged (build-while-paused available only as cheat) Edit: updated Build while paused and console companies patch to newer versions
Due to limit of max. 3 files per post, I am attaching link to next post in this thread containing further patches from me.
Next set of patches >>
Allow listing companies also outside network games - FS#2820
The command "companies" was previously available only to network servers. Since the command provides useful information also for network clients and when debugging AI's, I think it should be available also without networking. I am attaching a patch that allows that. Without networking (when playing locally), the list will say whether the company is controlled by AI (appending " AI" at end of line with companies) or not, instead of telling if it is protected/unprotected.
This allows using commands like stop_ai without having to leave console to look for the company numbers Build when paused in scenario editor - FS#1521, Added to trunk in r21429
Since in scenario editor you can do basically whatever you want , it does not make sense to restrict your building while pause. This patch allow you building while paused in scenario editor. In-game the things are unchanged (build-while-paused available only as cheat) Edit: updated Build while paused and console companies patch to newer versions
Due to limit of max. 3 files per post, I am attaching link to next post in this thread containing further patches from me.
Next set of patches >>
Last edited by Bilbo on 26 Feb 2012 18:02, edited 10 times in total.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Few minor patches from me
FS#2821 is a really usefull and nice PATCH!
I love it much...
EDIT: Sorry! Thx
I love it much...
EDIT: Sorry! Thx
Last edited by Timmaexx on 12 Apr 2009 10:01, edited 1 time in total.
Re: Few minor patches from me
What?..
FS#2821 is a patch that keeps console history cleaner as far as I understood, not a AI.
FS#2821 is a patch that keeps console history cleaner as far as I understood, not a AI.
Re: Few minor patches from me
I have fixed bug in console-history patch that caused crash when scrolling history while it was empty. See updated version in first post.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Few minor patches from me
<< Previous set of patches
Reload AI without deleting company - FS#2837
Patch that allows reloading AI without deleting the company in the process. Old reload_ai console command is renamed to restart_ai and new reload_ai command is added to allow this. If you specify extra parameters beyond company ID (name and settings opf new company) you can even load different AI instead of just reloading the old one - all that without deletion of any company property.
Note: the "Reload AI" button on AI debug console still works the old way - company is deleted and created from scratch. The true reload is currently only from console. Console command to reconnect - FS#2843 (in trunk since r17466)
This patch adds console command to reconnect to last server (last_host and last_port in settings). Useful to quickly reconnect after network disconnection or alike ... Edit: new version of reload AI patch
Reload AI without deleting company - FS#2837
Patch that allows reloading AI without deleting the company in the process. Old reload_ai console command is renamed to restart_ai and new reload_ai command is added to allow this. If you specify extra parameters beyond company ID (name and settings opf new company) you can even load different AI instead of just reloading the old one - all that without deletion of any company property.
Note: the "Reload AI" button on AI debug console still works the old way - company is deleted and created from scratch. The true reload is currently only from console. Console command to reconnect - FS#2843 (in trunk since r17466)
This patch adds console command to reconnect to last server (last_host and last_port in settings). Useful to quickly reconnect after network disconnection or alike ... Edit: new version of reload AI patch
Last edited by Bilbo on 14 Apr 2010 14:01, edited 6 times in total.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Few minor patches from me
Nice patches, Bilbo - would you perhaps consider including an additional button (Reload_AI) also in the AI_debug console, and with that renaming the old button to Restart/Reset_AI as that would better describe the behaviour.
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Few minor patches from me
Hi Bilbo
Really like " Build while paused in Editor", thank you.
Does this mean its in the latest nightly?
Really like " Build while paused in Editor", thank you.
Does this mean its in the latest nightly?
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Few minor patches from me
It means that you can add it without much complication to the source code of the last nightliesRollo wrote:Hi Bilbo
Really like " Build while paused in Editor", thank you.
Does this mean its in the latest nightly?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Few minor patches from me
Well, the build-when-pause-while-in-editor is simple two-line-changed patch, so ask openttd devs why it is not yet in trunk :)
I guess they either missed the patch or they don't have currently time to review it.
I guess they either missed the patch or they don't have currently time to review it.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Few minor patches from me
I have updated console reconnect command (fixed company ID validation) and companies command (fixed possible crash when run as network client). Updated versions are posted in appropriate posts :)
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Few minor patches from me
I have removed patch that fixed duplicate and empty commands to get in history, since this feature is already in trunk. I have updated the "companies" console command patch to newest trunk and also to lastest stable - 0.7.1. Get the files in the first post.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Few minor patches from me
Congratulations. Console command to reconnect was added into trunk, r17466. We should see it in the next stable.Bilbo wrote: Console command to reconnect - FS#2843
This patch adds console command to reconnect to last server (last_host and last_port in settings). Useful to quickly reconnect after network disconnection or alike ...
Edit: fixed company ID validation in console reconnect command
Re: Few minor patches from me
Very Nice, very useful!
Congrats too! Thank you very much for your Patches!
Congrats too! Thank you very much for your Patches!
Re: Few minor patches from me
I have updated all my patches in this thread to r19627. Get the updated versions in appropriate posts.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
-
- Engineer
- Posts: 60
- Joined: 11 Jan 2010 15:34
Re: Few minor patches from me
Hi...I've got 1.0.4 OPEN TTD version for Windows...I've downloaded "console-companies-19627.patch". Is it the correct file to control companies in Single Player game??? If it's correct, how can I install it. Please, don't give me specialized links...I'm not so good with computers. Thx for help.
Re: Few minor patches from me
It doesn't sound correct to me.
1. It sounds like you want something else than this patch does
2. The patch file that you have downloaded does not work against 1.0.4
3. In order to use a patch file, you need to (re-)compile OpenTTD - a task that requires quite a bit of computer knowledge. If you have problem with opening links, then compiling is simply not possible for you.
1. It sounds like you want something else than this patch does
2. The patch file that you have downloaded does not work against 1.0.4
3. In order to use a patch file, you need to (re-)compile OpenTTD - a task that requires quite a bit of computer knowledge. If you have problem with opening links, then compiling is simply not possible for you.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
-
- Engineer
- Posts: 60
- Joined: 11 Jan 2010 15:34
Re: Few minor patches from me
Ah...ok...anyway, thanks...
Who is online
Users browsing this forum: No registered users and 33 guests