Config
Log for #openttdcoop.dev on 13th November 2013:
Times are UTC Toggle Colours
11:21:25  *** tycoondemon has quit IRC
11:34:56  *** tycoondemon has joined #openttdcoop.dev
12:38:14  *** tycoondemon has quit IRC
12:56:44  <Taede> !quit
12:56:45  *** coopserver has quit IRC
13:02:14  <planetmaker> hm, is !date supported by soap?
13:02:24  <Taede> yes
13:02:29  <planetmaker> :-)
13:02:45  <Taede> i copied most generic commands from autopilot, only some coop-specific ones should be missing*
13:02:54  <Taede> disclaimer: this information may not be 100% accurate
13:03:51  *** coopserver has joined #openttdcoop.dev
13:04:13  <planetmaker> :-)
13:05:00  <Taede> !config channel plugins.Soap.saveUrl http://www.openttdcoop.org/files/publicserver_archive/PublicServerGame_{ID}_Final.sav
13:05:00  <coopserver> Taede: Error: You don't have the #openttdcoop.dev,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
13:05:14  <Taede> !config channel plugins.Soap.saveUrl http://www.openttdcoop.org/files/publicserver_archive/PublicServerGame_{ID}_Final.sav
13:05:14  <coopserver> Taede: The operation succeeded.
13:05:40  <Taede> !start
13:05:42  <coopserver> Taede: ofs-start.py reported an error, exitcode: 1. See bot-log for more information.
13:05:47  <Taede> o_O
13:06:09  <Taede> !apconnect
13:06:09  <coopserver> Connecting...
13:06:16  <Taede> hmm
13:06:40  <Taede> !apconnect DS
13:06:40  <coopserver> Connecting...
13:06:46  <Taede> !upkeep
13:06:47  <coopserver> Taede: 612 objects collected.
13:08:53  <Taede> ah, wrong password
13:09:36  <Taede> !apconnect
13:09:37  <coopserver> Connecting...
13:09:38  <coopserver> Now playing on #openttdcoop - Public Server (www.openttdcoop.org) (Version r25936)
13:09:40  <Taede> !date
13:09:40  <coopserver> Jun 20 2712
13:09:42  <Taede> !ding
13:09:43  <coopserver> Dong! reply took 0:00:00.133143
13:11:09  <Taede> i've also created a rescan command that rescans newgrf, ai and scenarios. however on a less-powerfull server with a lot of online-content downloaded it may cause clients to disconnect anyway as it runs in the main thread
13:15:12  <planetmaker> why would they disconnect? Slow server is no reason to disconnect? Or does it mean loading new game?
13:15:38  <Taede> coop's servers are fast enough, but whilst server is scanning, no network traffic is sent
13:15:41  *** tycoondemon has joined #openttdcoop.dev
13:16:12  <planetmaker> ah. Well. Our server mostly are fast. But not always
13:16:22  <Taede> so at the least people will get a red box telling them no data has been received for x seconds
13:16:43  <planetmaker> hm, I wonder whether that could be put in an extra thread :-9
13:17:00  <Taede> the command is there, it can be used instead of a restart, or it can be ignored
13:17:20  <planetmaker> I mean in openttd, not soap
13:17:59  <Taede> dunno bout that, we can always run with rescan the way it is, and see how disruptive it is
13:18:58  <Taede> it tends to get done when they are getting ready to load a new map, and theres 1-2 players at the most with little or nothing to do
13:24:24  *** tycoondemon has quit IRC
13:28:18  <Taede> !shutdown
13:28:18  <coopserver> Shutting down server...
13:28:19  <coopserver> Successfully saved game as autosavesoap.sav
13:28:20  <coopserver> Server Shutting down
13:28:21  <coopserver> Disconnected from #openttdcoop - Public Server (www.openttdcoop.org)
13:28:45  <planetmaker> that's a fake public server it seems :D
13:28:54  <V453000> :0
13:28:55  <Taede> yeah, i renamed it all
13:29:00  <V453000> evul
13:29:38  <Taede> well, it will be the new publicserver
13:30:24  <Taede> had renamed it last time current ps didnt restart properly
13:31:37  <Taede> !start
13:31:46  <coopserver> Server is starting...
13:32:56  <Taede> !apconnect
13:32:57  <coopserver> Connecting...
13:33:03  *** tycoondemon has joined #openttdcoop.dev
13:33:54  <coopserver> Connecting...
13:33:56  <coopserver> Now playing on #openttdcoop - Development Server (www.openttdcoop.org) (Version r25936)
13:35:30  <planetmaker> I don't complain :-)
13:36:21  <Taede> no, but ppl using the server browser mightve
13:37:50  <planetmaker> he, true
13:40:24  <Taede> http://dev.openttdcoop.org/projects/soap/repository/entry/README.txt <-- V453000, planetmaker: apart from !transfer and !save, does the command lack any important commands?
13:41:28  <planetmaker> kick
13:41:36  <planetmaker> ban
13:41:52  <planetmaker> though that's rcon
13:41:54  <Taede> !commands
13:41:54  <coopserver> Taede: add, alert, announce, apconnect, apdisconnect, apropos, author, auto, ban add, ban list, ban remove, capabilities, capability add, capability list, capability remove, capability set, capability setdefault, capability unset, changename, channel, channels, cmd, commands, companies, config, content, contributors, cpu, cycle, date, default, defaultcapability, defaultplugin, dehalfop, deop, devoice,
13:41:55  <coopserver> Taede: ding, disable, dl, download, enable, export, flush, getsave, ghost, halfop, help, hostmask, hostmask add, hostmask list, hostmask remove, identify, ignore add, ignore list, ignore remove, invite, ip, ircquote, join, kban, key, kick, last, less, limit, list, load, lobotomy add, lobotomy list, lobotomy remove, lock, log, mode, moderate, more, net, nick, nicks, op, part, password, pause, ping,
13:41:56  <coopserver> Taede: playercount, players, plugin, quit, rcon, register, reload, remove, rename, rescan, save, search, server, set password, set secure, setdef, shutdown, source, start, stats, status, tell, threads, transfer, unban, unidentify, unload, unlock, unmoderate, unpause, unregister, unrename, update, upkeep, uptime, username, version, voice, and whoami
13:42:11  <planetmaker> :-O
13:42:24  <Taede> kick and ban are already used internally
13:42:27  <Taede> by supybot
13:42:41  <Taede> either way, you can do those via rcon
13:43:41  <planetmaker> hm, you know that one can have the same command in several supybot modules, yes? They can explicitly be specified by giving module name
13:43:48  <planetmaker> @help
13:43:48  <Webster> planetmaker: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
13:43:53  <Taede> yes, i did that with some command already
13:43:57  <planetmaker> ok :-)
13:44:00  <Taede> password i think
13:44:13  <planetmaker> !help
13:44:13  <coopserver> planetmaker: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
13:44:22  <planetmaker> !admin
13:44:35  <Taede> thats an ingame command
13:44:48  <planetmaker> I should actually read. yes
13:44:51  <Taede> as is !nick or !name
13:45:03  <Taede> (itll take both, though only one is listed)
13:46:11  <Taede> it cn also move players to spectators automatically if their nick starts with player
13:46:18  <Taede> and tell them they should change their nick
13:47:33  <planetmaker> player or Player? :-)
13:47:47  <Taede> i think its insensitive
13:48:34  <V453000> suggestion: make !players require op
13:48:42  <V453000> people highlighting each other all over again isnt really helpful
13:48:50  <V453000> let them learn to use !playercount instaed
13:48:50  <planetmaker> !players
13:48:50  <coopserver> planetmaker: The server is empty, noone is connected. Feel free to remedy this situation
13:49:00  <planetmaker> !playercount
13:49:01  <coopserver> planetmaker: There are currently 0 players and 0 spectators, making a total of 0 clients connected
13:49:10  <V453000> playercount is all they need to know
13:49:11  <planetmaker> yeah, sensible suggestion
13:49:24  <Taede> easily changed
13:49:33  <V453000> many people suggested it many times through the years :P
13:50:02  <V453000>  !nick was !name for now I think
13:50:08  <V453000> I use the console "name" anyway :D
13:50:49  <Taede> i used nick initially cause im used to that from irc, but both !nick and !name work and are identical
13:50:56  <V453000> yeah I figured
13:51:01  <V453000> oh, good
13:51:03  <V453000> (:
13:53:06  <Taede> ill change the !players to op-only, and ill leave kick and ban
13:53:31  <V453000> giving kick and ban to "normal people" might not be the best idea indeed :D
13:53:47  <Taede> they'd just turn into clientkick or playerban to not obstruct the built-in kick/banm, and rcon kick is just as short to typ
13:53:50  <Taede> e
13:53:58  <V453000> is there !info anywhere ?
13:53:59  <Taede> wasnt planning that like ever
13:54:06  <V453000> :P
13:54:07  <Taede> no
13:54:18  <Taede> !url
13:54:19  <V453000>  !info is good to give basic info about th company
13:54:27  <V453000> most notably train count and date
13:54:33  <V453000> url is good too
13:54:41  <Taede> !rcon companies
13:54:42  <coopserver> #:1(Orange) Company Name: 'Dunningwell Transport'  Year Founded: 2100  Money: 146101510079  Loan: 100000  Value: 146114999837  (T:1510, R:0, P:0, S:1) unprotected
13:54:58  <V453000> thats info I assume
13:55:13  <Taede> thats what !info in #openttdcoop returns
13:55:14  <V453000> well having it only grep some parts would be useful but having it as a whole isnt terribly painful either
13:55:16  <V453000> ye
13:55:22  <Taede> !companies
13:55:22  <coopserver> Taede: Company 1 (Orange): Dunningwell Transport
13:55:44  <Taede> customizing that at a later time wont be hard
13:55:55  <V453000> yay
13:56:31  <Taede> would also give the same info for all companies on welcome server then
13:57:00  <V453000> not important command for stable, but yeah, that would make sense to do that
13:57:22  <planetmaker> !grf
13:57:24  <planetmaker> !grfs
13:57:26  <Taede> im trying to keep all commands generic enough that they make sense for other ppl to use them for their servers
13:57:37  <planetmaker> @grfs
13:57:41  <planetmaker> @grf
13:57:59  <Taede> something like !grf which returns a single ur, i can easily stick in a separate plugin
13:58:12  <Taede> brb
13:58:28  <V453000> right
14:57:51  <Taede> with companies, do you mean date founded?
15:05:26  <Taede> [15:04:49] <Lestat> Taede: Company 1 (Blue): Taede Transport, Founded in 1950, Vehicles owned: 1 Trains, 0 Roadvehicles, 0 Ships and 0 Aeroplanes
17:18:14  *** Progman has joined #openttdcoop.dev
17:39:49  *** Progman has quit IRC
17:40:42  *** Progman has joined #openttdcoop.dev
18:08:44  *** V453000 has quit IRC
18:10:38  *** Progman has quit IRC
18:11:41  *** V453000 has joined #openttdcoop.dev
18:11:41  *** ChanServ sets mode: +o V453000
18:33:12  <Taede> btw, currently logfiles are rotated so there's 3 at most (per server), current one plus previous 2 games
18:33:19  <Taede> is that sufficient?
18:38:21  <planetmaker> and they're rotated with every !update ?
18:38:25  <planetmaker> which is a server restart?
18:39:13  <Taede> no, only on loading a new game
18:39:22  <Taede> eg, rcon load
18:39:27  <planetmaker> server update loads also a new game, no?
18:40:00  <Taede> no, it loads the last savegame from the autosave directory, and update saves a game in there before shutting the server down
18:40:13  <Taede> so it would just resume current game, and append the log appropriately
18:40:32  <Taede> you will get a line indicating soap got disconnected at that point
18:40:33  <planetmaker> Nice
18:41:04  <planetmaker> well, I'd probably go for a rotation of 12. How big is one file?
18:41:12  <Taede> unknown at this time
18:41:22  <Taede> need to play at least a full psg before i know that
18:41:35  <planetmaker> probably a few MB, so not worrysome
18:42:58  <Taede> i should probably make that a global setting
18:43:04  <Taede> currently its 'hard' coded
18:43:36  <planetmaker> makes sense to make that a setting yes :-)
18:44:03  <planetmaker> but the amount of log rotation is not a show stopper for production usage
18:44:09  <Taede> nop
18:44:17  <planetmaker> thus v1.1 :D
18:44:17  <Taede> a simple reload will change it
18:44:25  <Taede> im not really using versions yet
18:44:30  <Taede> i probably should
18:44:48  <planetmaker> well. you got the revision control, that's versioning.
18:44:58  <planetmaker> I'd tag it 1.0.0 when we start using it in production
18:45:02  <Taede> yes, but the code has no knowledge of it
18:45:15  <planetmaker> !revision ?
18:45:18  <planetmaker> !revision
18:45:26  <planetmaker> used to tell the self-version of the bot
18:45:31  <Taede> for ap yes
18:45:34  <Taede> not for soap
18:46:00  <planetmaker> not sure how much it's needed. It's just useful if s/o asks
18:46:14  <planetmaker> and to check what is run when repository shows  version X
18:46:39  <Taede> true
18:46:48  <Taede> it was just waaaaay down on the priority list
18:46:55  <planetmaker> rightfully
18:47:03  <planetmaker> thus could also be 1.1
18:47:18  <Taede> :)
18:48:11  <planetmaker> hm, do you have ssh to our public server, too?
18:48:30  <Taede> not the current one no
18:48:45  <planetmaker> I'd be meanwhile really curious to see soap in action. Life action :D
18:49:30  <planetmaker> would you dare to do the switch for the stable server?
18:49:42  <Taede> yes, in a bit
18:49:49  <Taede> bath/bedtime is about to begin for the kids
18:50:00  <planetmaker> I'll have to leave in like a minute as well. Sailing theory course starts :D
18:50:12  <Taede> prozone can be done at the same time, as they reside on the same server
18:50:17  <planetmaker> yup.
18:50:27  <planetmaker> Please feel encouraged to do the switch when you feel comfortable
18:50:50  <Taede> :)
18:51:09  <planetmaker> anyway, see you later :-)
18:51:10  <Taede> what about the public_html side of things?
18:51:19  <Taede> hf
18:51:31  <Taede> bbiab myself
20:42:27  *** Progman has joined #openttdcoop.dev
21:27:51  <planetmaker> Taede, you mean the page which we have right now also for each server?
21:36:55  <Taede> yes
21:37:10  <Taede> i assume it will need to be changed to the new user on games.o.o
21:39:48  <Taede> i've copied the important files over, but i'd rather apache-config be handled by someone familiar with the setup
21:49:38  <planetmaker> hm, you assume that s/o knows the setup on that VM :P
21:52:33  <Taede> well, someone set it up
21:52:49  <planetmaker> yes, ammler did
21:52:52  <Taede> ah
21:53:45  <Taede> and whilst his client is still connected, there is no sign of the person still?
21:55:28  <planetmaker> quite correct, yes
21:56:03  <planetmaker> that's the bouncer, but he's connected sometimes but does not respond at all to any communication attempt
21:56:14  <planetmaker> funnily the server is registered on him - though I pay ;-)
21:57:18  <planetmaker> big advantage there is that Swiss don't pay VAT, thus 19% saved
21:57:44  <Taede> so what happens when its up for renewal?
22:02:04  <Taede> hm, cant see anything relating to stable.openttdcoop.org
22:02:15  <Taede> does stable.openttdcoop.org simply redirect to games.o.o?
22:07:14  *** Progman has quit IRC
22:10:12  <Taede> ./etc/apache2/vhosts.d/mz.openttdcoop.org.conf seems to configure games.openttdcoop.org to use /home/ottdc/public_html/ as its docroot
22:10:23  <Taede> did mz.o.o get renamed to games.o.o at some point?
22:13:21  <planetmaker> Taede, it's a contract which needs no active renewal
22:13:35  <planetmaker> you pay, it extends
22:14:22  <planetmaker> mz.o.o indeed got renamed to games.o.o at some stage, yes
22:15:19  <planetmaker> the naming 'memberzone' kinda didn't hit the nail anymore
22:18:46  <Taede> well, i've made a full backup of the apache configuration
22:19:24  <Taede> vhost.d and sysconf.d dirs seem to be the only ones touched this year
22:20:55  <Taede> i think right now the only semi-important file is the finger/openttd used by zuu's updating program, but itll still need to be done properly when pz is in use
22:21:17  <Taede> when i re-introduce password-key files
22:29:09  <Taede> hm, i suppose it will work without webserver for the time being
22:30:20  <Taede> for now, i bid you goodnight
22:30:30  <planetmaker> sleep well :-)

Powered by YARRSTE version: svn-trunk