Difference between revisions of "Autopilot/Avignon"
From #openttdcoop wiki
(→Starting a Server OpenTTD: Wrong spacing caused some <pre> things to fail) |
(→Configuration: the alpha release is quie old and might be very buggy...) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{beta}} | ||
==Avignon== | ==Avignon== | ||
− | Avignon is an | + | Avignon is an ground-up re-write of [[ap+]] with an emphasis on being modular. |
− | + | It is available from [http://www.codecubes.org CodeCubes].<br /> | |
− | + | ||
− | + | ||
− | + | == Configuration == | |
− | + | Checkout via | |
+ | svn co http://svn.codecubes.org/avignon/trunk | ||
− | + | Once you have a checkout, configuration of Avignon is handled by making a copy of ''config/default.ini'' to ''config/user.ini'' | |
− | == | + | === [IRC] === |
− | + | important settings are | |
− | + | * auto.connect = no<br /> | |
+ | set this to yes, to avoid having to make it connect everytime (you may want to leave this on 'no' till you have everything set) | ||
+ | * network.host = HOSTNAME | ||
+ | * network.pass = | ||
+ | * network.port = 6667 | ||
+ | * nick = NICKNAME | ||
+ | * nick.alternatives = NICKNAME2 NICKNAME3 | ||
+ | * channels = #CHANNEL #CHANNEL2 | ||
+ | * channels.key.#CHANNEL = PASSWORD | ||
+ | * nickserv = NICKSERV IDENTIFY {password}<br /> | ||
+ | These should be straightforward enough | ||
+ | * command.char = !<br /> | ||
+ | trigger character for the bot on IRC | ||
+ | |||
+ | === [plugins] === | ||
+ | * load = Alias DemoPlugin<br /> | ||
+ | Sets the plugins loaded on startup | ||
+ | * prefer.irc.COMMAND = PLUGIN<br /> | ||
+ | if there are multiple versions of a command this sets the default plugin used.<br /> | ||
+ | i.e. 'version' is in both Avignon and OpenTTD | ||
+ | |||
+ | == Starting a Server OpenTTD == | ||
+ | |||
+ | The OpenTTD app is subject to rapid change, see [http://www.codecubes.org/browser/avignon/trunk/extensions/apps/OpenTTD/readme.txt readme.txt] for lastest info | ||
+ | |||
+ | The following was correct at time of writing (07 March 2010). | ||
+ | |||
+ | To load issue | ||
<code>load OpenTTD</code> | <code>load OpenTTD</code> | ||
− | + | if not alread loaded by default. (see [[#.5Bplugins.5D|[plugins]]]) | |
− | < | + | |
− | ... | + | The OpenTTD app, looks for an openttd install in ./openttd relative to avignon.tcl |
− | + | <code>openttd start</code> | |
− | + | will start the OpenTTD server. | |
− | + | <code>openttd load [savegame_here.sav]</code> | |
− | < | + | will load a game. There is no need to give the ''save/savegame.sav'' path, as the app assumes saves are in save.<br /> |
+ | <b>!</b>Though currently, loading anything other than game.sav sends a bad command and may fail to load | ||
+ | |||
+ | OpenTTD's app has a few settings, the default will normally suffice, but can be overridden by adding a new section to the user.ini | ||
− | + | === [OpenTTD] === | |
+ | Th defaults should be fine, but you may like to tweak; | ||
+ | * irc.bridge = <#irc_channel><br /> | ||
+ | This is probably the one you want to attck first, the #channel should already be joined by setting it in the [[#.5BIRC.5D|[irc]]] section. | ||
+ | * password.randomize = <yes>|<no><br /> | ||
+ | Do you want to enable password randomzing (default: no) | ||
+ | * password.file = <path/to/file> | ||
+ | The file storing passwords; one word per line (default: ./extensions/apps/OpenTTD/words6) | ||
+ | * password.frequency = <int><br /> | ||
+ | Frequency of password change in seconds (default: 300) |
Latest revision as of 20:32, 7 March 2010
This article or section contains information relating to beta software. Any information here, is subject to change, always consult any README files available. Further discussion might be found on the talk page. |
Contents
Avignon
Avignon is an ground-up re-write of ap+ with an emphasis on being modular.
It is available from CodeCubes.
Configuration
Checkout via
svn co http://svn.codecubes.org/avignon/trunk
Once you have a checkout, configuration of Avignon is handled by making a copy of config/default.ini to config/user.ini
[IRC]
important settings are
- auto.connect = no
set this to yes, to avoid having to make it connect everytime (you may want to leave this on 'no' till you have everything set)
- network.host = HOSTNAME
- network.pass =
- network.port = 6667
- nick = NICKNAME
- nick.alternatives = NICKNAME2 NICKNAME3
- channels = #CHANNEL #CHANNEL2
- channels.key.#CHANNEL = PASSWORD
- nickserv = NICKSERV IDENTIFY {password}
These should be straightforward enough
- command.char = !
trigger character for the bot on IRC
[plugins]
- load = Alias DemoPlugin
Sets the plugins loaded on startup
- prefer.irc.COMMAND = PLUGIN
if there are multiple versions of a command this sets the default plugin used.
i.e. 'version' is in both Avignon and OpenTTD
Starting a Server OpenTTD
The OpenTTD app is subject to rapid change, see readme.txt for lastest info
The following was correct at time of writing (07 March 2010).
To load issue
load OpenTTD
if not alread loaded by default. (see [plugins])
The OpenTTD app, looks for an openttd install in ./openttd relative to avignon.tcl
openttd start
will start the OpenTTD server.
openttd load [savegame_here.sav]
will load a game. There is no need to give the save/savegame.sav path, as the app assumes saves are in save.
!Though currently, loading anything other than game.sav sends a bad command and may fail to load
OpenTTD's app has a few settings, the default will normally suffice, but can be overridden by adding a new section to the user.ini
[OpenTTD]
Th defaults should be fine, but you may like to tweak;
- irc.bridge = <#irc_channel>
This is probably the one you want to attck first, the #channel should already be joined by setting it in the [irc] section.
- password.randomize = <yes>|<no>
Do you want to enable password randomzing (default: no)
- password.file = <path/to/file>
The file storing passwords; one word per line (default: ./extensions/apps/OpenTTD/words6)
- password.frequency = <int>
Frequency of password change in seconds (default: 300)