IguannaB wrote:Thanks for the patch Bilbo, I used it the other day to clone like 1200 trains to test something, and it was awesome. :)
If you enhanced it so we could set the production of many/all industries quickly as well, I would definitely use that too. Actually I've been wondering if (hoping) there was a way to do exactly that.
Some time ago I needed to maximize production of all industries on map in one scenario, so I wrote some hackish patch to add console command for that. Now I decided to add some more general industry manipulation/query functions to console.
IguannaB wrote:
In regards to the town commands, would this mean someone could run a script to do things like buy/keep exclusive transport rights?
Well, yes, they can do that (IF they have enough money). These commands won't do that automatically, but they can manually construct command "buy exclusive right where I don't have it" and run it from console repetitively (console have history, so it's easy). But on many servers, buying exclusive rights is disabled anyway.
IguannaB wrote:
IMHO it would be best if a players effectiveness in multilayer was not influenced by what scripts he/she had ready to use. There was another game,
Spring where you could run lua scripts to modify the GUI and do almost anything, and there was a huge disadvantage to new players using the standard interface vs anyone who had got hold of some of the scripts to make it easier. I would not like to see OpenTTD become like that, but I guess as long as it that functionality was disabled by default, there would be no problem, and it could be handy, like for testing or whatever. That's my 2c anyway, maybe something to consider.
I don't know how you can "disable" such functionality - you are free not to use the console commands if you do not want to. But no script or GUI improvement will think for you, they can just make realization of your ideas easier, or they can help you with collecting necessary information :)
There are many other patches that give you advantage in multiplayer - many GUI patches, that allow you to do some things more effectively, or to see important information better (like ability to filter industry list to see only industries you want), copy & paste patch that allow you to construct your railway system faster, the vehicle console patch that allows you to easier management of your vehicles once you have too manmy of them. And now the planned town/industry console commands. Well, my primary personal interest are the querying functions (pick towns where I can build certain airport, query for good industries, then also semi-automatical town management: build statues, fund buildings and run advertising campaigns periodically in the cities where it would be useful, etc ...)
There is no way to run these commands automatically every month or every X days or something like that - that would need some "cron" function (hmm .... I think I have idea for another patch :)
The only big advantage that will affect your performance greatly from the planned features is the "automatic" rebuying of exclusive rights. But once both side have these console commands - the side with more money wins :)
But as the exlusive rights are mostly used not to give you advantage but rather to harm competition, these are disabled on many (I think most) servers and so I don't consider this a major issue.
I offered this patch to trunk -
http://bugs.openttd.org/task/1060 - so all players can use these commands, but it was rejected because devs planned to replace the console with system based on squirrel (well, if that is what I think, anybody can launch any piece of code taken from some AI and that could give players with clever script quite a lot of advantage)
Devs also suggested having some nice "Mass vehicle commans" GUI for these features, but as I do not understand much the openttd gui system, I've not made it (yet) - but I could consider doing that in some future.