IRC logs for #openttd on OFTC at 2019-02-28
            
00:01:06 *** guru3_ has joined #openttd
00:01:06 *** guru3 has quit IRC
00:02:13 <andythenorth> ouch
00:02:15 <andythenorth> it's late
00:05:15 <peter1138> Suddenly.
00:05:25 <peter1138> I was ready to go to bed early, and then...
00:09:32 <Samu> so my code is desync free :=)
00:11:29 *** Progman has quit IRC
00:11:31 <Eddi|zuHause> then you're still here 3 hours from now?
00:13:42 <peter1138> Probably.
00:17:30 *** Flygon has joined #openttd
00:21:38 *** drac_boy has joined #openttd
00:22:37 <drac_boy> hi there .. correct me if I saw it wrong but do catenary poles have to be drawn on only one side because otherwise it'll probably cause clipping issues with junctions and alike?
00:22:48 <drac_boy> (one side of rails I mean sorry heh)
00:23:01 <peter1138> No.
00:23:30 <peter1138> They're drawn on one side because only one sprite is drawn.
00:24:54 <Eddi|zuHause> huh? catenary poles can switch sides depending on what junction you place
00:25:22 <peter1138> Huh to who?
00:25:32 <Eddi|zuHause> and they also alternate sides when you have parallel lines
00:25:39 <Eddi|zuHause> so where do you get "only one side" from?
00:26:18 <drac_boy> eddi .. these sort that have poles on both sides of the track :)
00:26:42 *** kiwitree has quit IRC
00:27:09 <drac_boy> and of course some odd ones such as this being non-metal https://i.pinimg.com/originals/97/9f/69/979f695155e8c472ba5b56d7e69b82e7.jpg
00:27:39 <peter1138> Eddi|zuHause, "drawn on one side" i mean, the image is of one side, not both sides.
00:27:42 * andythenorth is failing to go to bed
00:27:43 <peter1138> Meh
00:27:47 <peter1138> Or something.
00:27:48 <andythenorth> making cargo charts
00:27:53 <andythenorth> none of you can see :P
00:28:23 <peter1138> Eddi|zuHause, and of course, they are only drawn on on side.
00:28:25 <Eddi|zuHause> oh, so "bridge" style catenary holders
00:28:53 <andythenorth> so vehicle industry chain.....Paint cargo? o_O
00:28:55 <peter1138> That doesn't mean always the same side.
00:28:59 <Eddi|zuHause> well, that would be possible, if you allow two sprites to be drawn with separate bounding boxes
00:29:08 <peter1138> But there's never 2 drawn on a tile.
00:29:10 <peter1138> Eddi|zuHause, sure.
00:29:16 <peter1138> 23:23 <@peter1138> They're drawn on one side because only one sprite is drawn.
00:29:27 <peter1138> That's basically what I said.
00:29:54 <Samu> what does slice out of range mean?
00:29:56 <peter1138> However, I've just proved myself wrong :D
00:30:09 <Eddi|zuHause> the catenary pole drawing code is a tiny bit complicated already, i don't think it would be too great of an idea to further complicate it with this
00:30:18 <peter1138> Some "end-rail" poles are on opposite sides.
00:30:36 <andythenorth> hmm
00:30:40 <peter1138> Actually drawing both poles would be simpler.
00:30:48 <andythenorth> is Aluminium also Steel? :P
00:30:56 <peter1138> if there was a flag, then it can just always do it :p
00:31:12 <Eddi|zuHause> peter1138: but there's like 6 or 8 different postions you could draw a pole
00:32:11 * andythenorth decides Aluminium is meh
00:32:21 <Eddi|zuHause> also, the real complicated bit would be to allow a "bridge" style catenary support to span multiple tracks
00:32:36 * andythenorth running out of silly cargos now
00:32:54 <Samu> glass
00:33:02 <Samu> computers
00:33:08 <Samu> iphones
00:33:28 <peter1138> Eddi|zuHause, hmm, yeah.
00:33:45 <andythenorth> I kind of have glass
00:33:49 <andythenorth> and electrical machines :P
00:34:04 <Eddi|zuHause> TF has a bit of a problem with catenary poles on junctions
00:34:29 <peter1138> "This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed"
00:34:32 <peter1138> Well, that's a cock.
00:34:37 <Eddi|zuHause> on parallel tracks it's fine, but junctions it just omits them and the catenary is attached to the air
00:35:04 <peter1138> My Linux VM is running under Hyper-V...
00:35:06 <Samu> pharmaceutic cargo
00:35:13 <Samu> the urgent one
00:37:05 <Samu> kidneys, hearts, blood transfusions, hmm...
00:37:22 <andythenorth> samu blood is not bad :)
00:37:25 <andythenorth> body parts
00:37:37 <andythenorth> we'd need to do them like diamonds, low weight, high value
00:38:00 <Samu> wheel chairs
00:38:18 <Samu> peacemakers?
00:38:21 <Samu> whatever it's called
00:39:01 *** andythenorth is now known as Guest1843
00:39:02 *** andythenorth has joined #openttd
00:40:44 <andythenorth> I need somewhere to publish docs too
00:40:49 <andythenorth> maybe this git move was premature :P
00:41:16 <Samu> i have an ai with 'slice out of range' error
00:41:23 <Samu> what is
00:41:24 <LordAro> andythenorth: github wiki
00:41:32 <LordAro> or, if you're feeling fancy, a gh-pages site
00:41:59 <Samu> company.nut line 43, let me investigate
00:42:14 <andythenorth> can GH wiki do uploads?
00:42:19 <andythenorth> gh-pages would probably work
00:42:31 <andythenorth> I'm not using jekyll for these docs though :P
00:42:47 <Samu> if (theirName && name.find(theirName.slice(0,4))) { //names are too similar
00:43:06 <Samu> so this caused a "slice out of range", what is a slice out of range? :o
00:43:32 <LordAro> Samu: what do you think "foo".slice(0, 4) would do ?
00:43:43 <Samu> no idea
00:44:01 <LordAro> i'll let you try to work it out
00:44:12 <Samu> theirName is "Aro"
00:44:35 <Samu> "Aro".slice(0,4)
00:44:44 <andythenorth> gets you Aro no?
00:45:00 <LordAro> one presumes not
00:45:05 <LordAro> given the error
00:45:40 *** Guest1843 has quit IRC
00:45:58 <Samu> name is "Public Railroad S.A."
00:47:09 * andythenorth publishes screenshots of web pages :P
00:47:10 <andythenorth> https://dev.openttdcoop.org/attachments/download/9291/steeltown_v4.png
00:47:44 <andythenorth> looks better than http://bundles.openttdcoop.org/firs/releases/3.0.12/docs/html/economies.html#steeltown ??
00:49:05 <drac_boy> if you mean upload it as a png instead then yes I do like that one a lot better
00:50:15 <andythenorth> I mean the flow
00:51:37 <drac_boy> ah well the png one does look nice :)
00:51:48 <drac_boy> (plus labelling the engineering supplies in first oval too)
00:52:28 <Samu> http://www.squirrel-lang.org/squirreldoc/reference/language/builtin_functions.html?highlight=slice#string.slice
00:52:44 <andythenorth> it's considered bad to commit generated files to the repo?
00:52:54 <andythenorth> I don't see how to publish GH pages otherwise
00:53:11 <LordAro> andythenorth: well you'll have to commit those, yes
00:53:21 <andythenorth> hmm
00:53:37 <andythenorth> does github have some kind of CI integration?
00:54:01 <andythenorth> how hard can it be to run a makefile?
00:54:06 <andythenorth> even jenkins can manage that
00:54:09 <LordAro> not actually sure
00:54:10 <LordAro> maybe
00:54:39 <andythenorth> oh do I have to buy a service maybe?
00:55:03 <andythenorth> looks like Travis is the winner
00:55:23 <andythenorth> "Testing your open source projects will always be free!"
00:55:30 <andythenorth> ugh I have to get an account, that means using email
00:55:46 <andythenorth> oh no, I can do it with github creds :D
00:56:48 <andythenorth> maybe not tonight :P
00:58:27 <andythenorth> looks like travis needs a script to install dependencies
00:58:50 <andythenorth> wonder if they're cached, or if they build fresh every time
00:59:04 <andythenorth> also that means I have to write something to install python deps
00:59:11 <andythenorth> ouch
00:59:44 <LordAro> pip install ...
01:01:05 <andythenorth> still needs install.sh or something
01:01:13 <andythenorth> or maybe there's a set of yaml steps
01:01:19 * andythenorth reading
01:01:30 <andythenorth> oh anything in standard debian might be available
01:01:42 <andythenorth> does debian include all the python module crap?
01:02:30 <LordAro> depends what you need :p
01:02:39 <andythenorth> markdown, chameleon, pillow
01:02:49 <andythenorth> eh I can try at the weekend maybe
01:02:54 <andythenorth> and travis can publish
01:03:09 <LordAro> and it will be glorious
01:03:13 <andythenorth> so maybe coop bundles can be replaced by an S3 bucket
01:03:19 <andythenorth> no jenkins, no bundles
01:03:21 <andythenorth> no servers
01:03:24 <andythenorth> no sysadmins
01:03:40 <andythenorth> also bedtime
01:03:43 *** andythenorth has quit IRC
01:03:44 *** Thedarkb-T60 has quit IRC
01:12:36 *** Thedarkb-T60 has joined #openttd
01:14:41 *** Supercheese has quit IRC
01:15:03 *** Gustavo6046 has quit IRC
01:18:29 <Samu> what is gm folder for? in the downloads?
01:20:05 <Samu> general midi?
01:30:01 <drac_boy> samu is it empty or theres anything inside?
01:30:10 <Samu> empty
01:32:42 <drac_boy> hmm oh well was worth asking .. in that case you may be right about the possible acronym but I really won't know tbh
01:33:52 <Samu> ohhh.. AroAI crashed
01:37:29 <Samu> LordAro, https://www.tt-forums.net/viewtopic.php?p=1218909#p1218909
01:43:15 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #7290: Change: Disallow taking over AI companies in multiplayer https://git.io/fhNDM
01:50:54 <drac_boy> samu btw being curious I did find it for you: 'gm' is music files aka the ones used for in-game songs playing (rather than sound effects)
01:51:05 <drac_boy> so I think it simply meant Game Musics
01:51:16 <Samu> oh i see, ty
01:51:20 <drac_boy> np
01:51:55 <Samu> yeah i didn't download any music
01:52:13 <Samu> except openmsx, but it doesn't go to that folder apparently
01:52:58 <drac_boy> samu hmm just a wild guess but is it under content_download instead? ;)
01:53:29 <Samu> it's content_download/gm
01:55:34 <drac_boy> :)
01:57:22 <Beerbelott> planetmaker: btw #2155 is awaiting ur review ;) https://github.com/OpenTTD/OpenTTD/pull/7286
01:58:28 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #7291: Change: Allow town bridges over rails. https://git.io/fhNDF
02:08:04 <drac_boy> samu anything interesting tonight or just boring things?
02:10:00 *** Supercheese has joined #openttd
02:11:19 <Samu> Looking through my old svn patches
02:12:01 <drac_boy> mm
02:12:32 <drac_boy> well have fun with that or something .. I'm going off for tonight's .. might try a little more sprites drawing later on if theres not much else in hallway tho
02:12:38 <drac_boy> anyway goodnight for now tho
02:12:42 *** drac_boy has left #openttd
02:15:53 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #7292: Change: No need to save AI/GS data when joining a multiplayer server https://git.io/fhNyv
02:18:28 *** Beerbelott has left #openttd
02:37:03 *** Thedarkb-X40 has joined #openttd
02:39:47 *** snail_UES_ has joined #openttd
02:41:41 *** APTX has quit IRC
02:42:14 *** Thedarkb-T60 has quit IRC
02:46:17 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #7293: Add: No plane crashes unless runway is too short option https://git.io/fhNy3
02:50:29 <Eddi|zuHause> didn't we already have that?
03:00:24 *** Thedarkb-X40 has quit IRC
03:02:35 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7293: Add: No plane crashes unless runway is too short option https://git.io/fhNyB
03:12:31 <Samu> hold on
03:12:37 <Samu> kinda busy
03:13:16 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #7294: Add: Allow or disallow company level crossings as a game setting https://git.io/fhNy2
03:13:32 <Samu> ok let me look
03:17:40 <Samu> plane_crashes == 0 -> return
03:19:37 <Samu> plane_crashes == 1 -> prob = 0x4000 << 1
03:20:48 <Samu> if cheats are disabled, prob / 20 --> high probability
03:21:03 <Samu> if cheats are enabled, prob / 1500 --> low probability
03:21:52 <Samu> if aircraft is not fast
03:22:02 <Samu> -> return
03:22:36 <Samu> hmm confusing indeed
03:23:11 <Samu> plane_crashes == 1 -> return no matter plane size
03:23:20 <Samu> seems to do what I intend
03:23:38 <Samu> plane_crashes == 2 -> prob = 0x4000 << 1
03:24:03 <Samu> if cheats disabled, prob / 20
03:24:13 <Samu> if cheats enabled, prob / 1500
03:24:36 <Samu> if aircraft is not fast
03:25:06 <Samu> plane_crashes == 2, so prob / 1500
03:25:41 <Samu> that's a low probability
03:26:04 <Samu> plane_crashes == 3 -> prob = 0x4000 << 2
03:26:21 <Samu> yada yada, same as previous one
03:26:37 <Samu> looks correct to me Eddi|zuHause
03:27:02 <Samu> confusing perhaps, but correct
03:29:13 <Samu> doesn't duplicate the cheat imo
03:30:48 <Samu> it's useful for setting up competitive servers
03:31:17 <Samu> I've always wanted ppl to use the correct aircraft types on short airports
03:31:55 <Samu> penalize them if running the wrong planes
03:32:07 <Samu> but have no crashes for those who use the right planes
03:32:21 <Samu> currently, there is no way to setup that
03:52:51 *** mikegrb has quit IRC
03:55:04 *** Samu has quit IRC
03:57:28 *** mikegrb has joined #openttd
04:13:08 *** Wormnest has joined #openttd
04:14:40 *** debdog has joined #openttd
04:15:39 *** keoz has quit IRC
04:17:59 *** D-HUND has quit IRC
04:20:14 *** Wormnest has quit IRC
04:52:29 *** tokai has joined #openttd
04:52:29 *** ChanServ sets mode: +v tokai
04:59:03 *** tokai|noir has quit IRC
05:48:32 *** glx has quit IRC
05:51:54 *** Supercheese has quit IRC
05:58:59 *** Supercheese has joined #openttd
06:08:46 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhN9f
06:12:48 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhN9J
07:09:46 *** snail_UES_ has quit IRC
07:56:07 *** andythenorth has joined #openttd
07:58:04 <peter1138> Hello.
08:00:23 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7292: Change: No need to save AI/GS data when joining a multiplayer server https://git.io/fhN9j
08:01:30 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7292: Change: No need to save AI/GS data when joining a multiplayer server https://git.io/fhNHf
08:04:00 <andythenorth> moin
08:06:03 *** andythenorth has quit IRC
08:07:02 <peter1138> Oh
08:09:05 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7291: Change: Allow town bridges over rails. https://git.io/fhNHL
08:15:10 *** andythenorth has joined #openttd
08:15:57 *** Smedles has quit IRC
08:16:12 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhNHZ
08:18:38 <andythenorth> eh, it's pretty much finished?
08:18:52 <andythenorth> just do vehicle variants, 100% completed?
08:19:18 <peter1138> Nearly
08:19:39 <andythenorth> then we can make open source Chocks Away
08:22:49 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhNHB
08:24:39 <peter1138> Towns bridging one-way roads?
08:25:37 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhNHE
08:29:31 *** Smedles has joined #openttd
08:32:59 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7291: Change: Allow town bridges over rails. https://git.io/fhNHV
08:34:40 <peter1138> "Issue would be a good enhancement; we accept Pull Requests!"
08:35:10 <peter1138> ^ Not really a brilliant label decscription when applied to a PR :p
08:41:29 <andythenorth> hmm no free AWS buckets
08:42:28 * andythenorth wonders what bundles is doing, apart from being easier to use than banananaramas
08:42:40 <andythenorth> http://bundles.openttdcoop.org/firs/
08:42:48 <andythenorth> and publishing the docs also
08:44:11 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhNHP
08:48:09 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhNH9
08:54:20 *** Supercheese has quit IRC
09:00:34 *** HerzogDeXtEr has joined #openttd
09:14:07 *** keoz has joined #openttd
09:31:53 <Eddi|zuHause> uhm, the function "GetParamVal" in newgrf.cpp, is that missing a check for param>=0x80 in the first line?
09:34:08 <Eddi|zuHause> it seems to currently rely on overflow behaviour being "sane"
09:46:04 *** HerzogDeXtEr has quit IRC
09:47:30 <Eddi|zuHause> i can't see a quick way to make this work, as you can't pass a parameter to a global variable
09:59:55 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker approved pull request #7286: Add #2155: newheightmapgame command https://git.io/fhN7v
10:00:14 <planetmaker> moin
10:00:40 <andythenorth> moin planetmaker
10:01:45 <andythenorth> so I might try https://travis-ci.com/
10:01:56 <andythenorth> then we don't have to maintain a Jenkins
10:02:05 <andythenorth> but we would have to maintain Travis configuration
10:02:16 <andythenorth> but that can be in project repos, probably
10:03:39 <planetmaker> you want to do that on the openttdcoop account I created there?
10:03:42 <planetmaker> I think I did
10:05:06 <andythenorth> possibly
10:05:17 <andythenorth> I was just going to use my github creds initially
10:05:45 * andythenorth wonders whether we want a coop organisation on GH
10:05:50 <planetmaker> if you do, that never will change :P
10:05:52 <planetmaker> we do
10:06:00 <andythenorth> I like having everything grouped under coop
10:06:06 <andythenorth> it makes it less of a solo effort
10:06:41 <andythenorth> although...we should probably recruit some new coop members :)
10:06:49 <planetmaker> he, yeah
10:07:03 <peter1138> OpenTTDCoopPatchPack?
10:07:21 <planetmaker> na
10:07:36 <peter1138> Hmm, wonder if I still have the sources for my NewGRFs...
10:09:40 <planetmaker> hm, I made a build of nml on travis like 4 months ago
10:11:18 <andythenorth> o_O
10:13:12 <planetmaker> you got an invite to the github coop org
10:13:46 <planetmaker> it's... pretty empty so far
10:13:54 <planetmaker> I did the nml test on my private account
10:14:17 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN requested changes for pull request #7286: Add #2155: newheightmapgame command https://git.io/fhN7O
10:22:21 <peter1138> I remembered to add "make regression" to my git pre-push hook :)
10:24:28 <peter1138> That's a very empty clone.
10:25:01 <peter1138> One day planetmaker will "get" git and realise everything that was wrong ;)
10:25:17 <planetmaker> ?
10:26:06 <planetmaker> err-no-context
10:26:53 <peter1138> Re git vs hg :)
10:27:15 <andythenorth> one of them, branches are usable :P
10:27:20 <peter1138> Yes, git.
10:27:23 <planetmaker> yet still... where are you coming from, what are you referring to?
10:27:45 <peter1138> Just remembered you said git was... "baroque"
10:27:54 <andythenorth> are we doing vi vs. emacs?
10:27:57 <peter1138> yes.
10:28:01 <andythenorth> python vs ruby?
10:28:07 <peter1138> planetmaker, I have no point, I'm just randomly chatting.
10:28:23 <peter1138> andythenorth, python.
10:28:24 <planetmaker> don't confuse me with what I said yesterday ;)
10:28:30 <peter1138> Hehe
10:28:50 <peter1138> 1.9 is going to be the most unpopular relase.
10:28:53 <peter1138> *release.
10:28:53 <andythenorth> I just like having a vcs where the recommended fix to most issues isn't "delete the repo and start again"
10:28:55 <andythenorth> :P
10:29:03 <andythenorth> which I have been told n times about hg
10:30:18 <planetmaker> yes... and with git it's "screw it, I just rewrite all history and force push". Same thing. Just different colour
10:32:13 <LordAro> andythenorth: tabs vs spaces
10:39:10 <andythenorth> pipemania has some interesting problems peter1138
10:39:27 <andythenorth> e.g. A->B route, with 20 units / tick segments
10:39:41 <andythenorth> but near B, a 10 units / tick segment
10:39:57 <andythenorth> which nerfs the total flow
10:40:09 <andythenorth> and that rate needs propogated upstream to all the bigger segments
10:40:41 <andythenorth> propagated *
10:43:01 *** Gustavo6046 has joined #openttd
10:44:57 <DorpsGek_II> [OpenTTD/OpenTTD] hidegh opened issue #7295: Proposal: quick settings overrides / filter https://git.io/fhN7M
10:46:01 *** andythenorth is now known as Guest1870
10:46:02 *** andythenorth has joined #openttd
10:49:19 *** Guest1870 has quit IRC
10:50:31 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker commented on issue #7295: Proposal: quick settings overrides / filter https://git.io/fhN7F
11:04:24 <peter1138> A configurable set of presets might be nice.
11:05:04 <peter1138> Maybe with content-download support.
11:08:52 *** andythenorth has quit IRC
11:12:59 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhN53
11:17:12 <peter1138> Hmm, how does the CI accept C++14 features?
11:19:31 *** Gabda has joined #openttd
11:28:07 <planetmaker> Settings: Yes, I think presets for everything, settings + NewGRF + GS would be a nice thing
11:28:17 <planetmaker> with content-download support even better :)
11:28:45 <planetmaker> factorio offers to export the settings as base64-encoded string for easy export and import
11:31:28 <dwfreed> yeah, map exchange strings are great
11:33:34 <peter1138> That would be a long string :-)
11:35:30 <peter1138> Mmm, viennese chocolate biscuit.
11:38:26 <dwfreed> peter1138: compression
11:46:19 *** Beerbelott has joined #openttd
11:46:53 <peter1138> Hmm, interesting, I just found my old original DOS TTD graphics set :D
11:47:34 <Beerbelott> Hi all
11:47:45 <Beerbelott> peter1138: Does it fit w/ OpenTTD? :p
11:47:50 <peter1138> It works, yes.
11:47:58 <Xaroth> got screenie of it?
11:51:30 <peter1138> -rw-r--r-- 1 nobody 4294967294 7298 Sep 2 2005 freighttrains4.diff
11:51:38 <peter1138> Hmm, that's my oldest patch lying around.
11:51:46 <peter1138> Xaroth, er... no, it's TTD.
11:51:57 <peter1138> I mean, it's the same as the Windows TTD, mostly.
11:52:05 <peter1138> Just a palette change.
11:52:12 <peter1138> Probably some minor things.
11:52:16 <peter1138> It's not the original TT graphics set.
11:56:51 *** andythenorth has joined #openttd
12:03:24 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7286: Add #2155: newheightmapgame command https://git.io/fhNdr
12:11:09 <planetmaker> peter1138, yes, a long string. Yet very easy to handle: just one string
12:11:41 <peter1138> Hmm.
12:12:06 <peter1138> Replacing NewGRF presets would not be a bad thing :-)
12:12:34 <planetmaker> they're not bad. But they have a bad interface
12:12:48 <andythenorth> they never pay off
12:12:54 <planetmaker> which makes them... unpleasant to use
12:13:05 <andythenorth> I often find I've started a game with missing grfs or whatever
12:13:11 <planetmaker> I sometimes use a preset for a subset
12:13:18 <andythenorth> can we store the last n game configurations?
12:13:25 <Eddi|zuHause> planetmaker: that needs proper copy-paste support on all platforms
12:13:37 <andythenorth> 'here are settings you used to start recent games'
12:13:47 <andythenorth> AI, GS, settings, map, newgrf
12:13:51 <planetmaker> https://wiki.factorio.com/World_generator#Map_exchange_string
12:14:00 <andythenorth> seed as well
12:14:06 <peter1138> I think ours would be somewhat large :)
12:14:08 <peter1138> +r
12:14:13 <andythenorth> child #1 is obsessed with us putting the sead back in the UI :P
12:14:15 <andythenorth> fuck knows why
12:14:22 <andythenorth> I think it's because minecraft has it
12:14:29 <andythenorth> or he wants to regenerate same map
12:14:38 <andythenorth> or because he's 9 and has no clue :P
12:14:43 <peter1138> I don't know why it was removed :/
12:14:46 * andythenorth is a harsh parent
12:14:56 <planetmaker> peter1138, removed what?
12:14:59 <andythenorth> peter1138: because mapgen is overwhelming with shitty options :)
12:15:03 <andythenorth> that don't work as expected
12:15:21 <peter1138> planetmaker, seed.
12:15:30 <planetmaker> uh... hm, was it? :D
12:16:07 <planetmaker> I didn't notice
12:17:21 <peter1138> That might be partly why.
12:17:26 <peter1138> I don't know when it went either.
12:17:47 <peter1138> @seen belugas
12:17:47 <DorpsGek> peter1138: belugas was last seen in #openttd 1 year, 47 weeks, 4 days, 14 hours, 59 minutes, and 16 seconds ago: <Belugas> yeah, a birthday :) a good friend of mine!
12:18:22 <peter1138> Hmm!
12:18:29 <peter1138> I have a suspicion that would be mine...
12:21:06 <Eddi|zuHause> happy ... belated... birshday? :p
12:24:46 <Eddi|zuHause> /* TODO: More params. More condition types. */ <-- i'm sure that has been sitting there untouched since at least 10 years :p
12:25:06 <peter1138> :-)
12:25:09 <peter1138> -pasky
12:25:22 <peter1138> There is/was a comment once about not removing the comment :p
12:40:32 <andythenorth> it's lunchtime btw
12:40:34 <andythenorth> mac and cheese
12:41:19 <peter1138> Someone ordered pizzas last night but didn't eat them all.
12:41:23 <peter1138> Guess what that means?
12:42:00 * andythenorth is baffled
12:44:06 <peter1138> It means there's pizza in the bin. They binned the leftovers instead of leaving them for the morning like a normal sane person.
12:44:25 <planetmaker> *facepalm*
12:45:01 <Eddi|zuHause> i don't understand how people can throw away food
12:45:44 <peter1138> I know. I almost fished it out! But only almost.
12:53:18 *** Gabda has quit IRC
12:56:02 <andythenorth> was it in the boxes?
12:56:13 <andythenorth> there are acceptable limits to bin-diving
12:56:31 <peter1138> Yeah but not closed properly.
12:56:45 <andythenorth> meh
12:57:17 *** Gustavo6046 has quit IRC
13:19:55 <andythenorth> "something must be done" http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html#extreme
13:20:15 <peter1138> Hmm
13:20:18 <andythenorth> look at that linkgraph :x :|
13:22:48 <Eddi|zuHause> bulk terminal seems to be at an odd place
13:23:30 <andythenorth> the port-type industries are choke points
13:23:46 <andythenorth> the 16 in / 16 out enables a huge improvement to those
13:24:01 <andythenorth> I can reduce the number of port-types in the graph
13:24:11 <andythenorth> and move one near the end of the chain, and one to the middle
13:24:38 <andythenorth> and fortunately realisms does not have to apply to an arbitrary port
13:25:33 <andythenorth> well I now have 4 economies to test, and 2 more to fix
13:25:40 <andythenorth> that will keep OpenTTD fresh :P
13:26:29 <peter1138> :/
13:28:26 <andythenorth> shall we write some GS?
13:28:36 <andythenorth> that's the other thing that keeps the game fresh :P
13:28:49 <peter1138> Add some new blocks.
13:29:00 <peter1138> And another realm, along with portals.
13:29:08 <peter1138> OpenTTDCraft.
13:29:23 <andythenorth> creepers
13:29:25 <andythenorth> mobs
13:29:27 <andythenorth> lava
13:29:29 <andythenorth> lava!!
13:29:32 <andythenorth> we should have that
13:29:47 <peter1138> NewDisasters?
13:29:51 <Eddi|zuHause> there was the TTO mars addon...
13:31:42 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd opened issue #7296: Can't type non-latin symbols in game on linux https://git.io/fhNbG
13:32:41 <Eddi|zuHause> hm... i could hack a parameter onto global vars, but that would only work in action 7/9, or introduce side effects on other existing stuff
13:52:51 <peter1138> Hmm?
13:52:53 <Eddi|zuHause> all the options here seem terrible :/
13:54:00 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7296: Can't type non-latin symbols in game on linux https://git.io/fhNby
13:55:51 <Eddi|zuHause> there's a function "GetParamVal" which is called from action6/7/9/D which has a second parameter, but this is NULL in action 6&D
13:56:28 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols in game on linux https://git.io/fhNb9
13:56:28 <Eddi|zuHause> for 7/9 it contains a parameter which is used for patchvar-magic
13:56:49 <Eddi|zuHause> i could reuse that as parameter for global vars
13:58:49 <Eddi|zuHause> but to use that in action D, where it would be most useful, it would change the semantics of the patchvar-magic
13:59:19 <Eddi|zuHause> and action6 syntax doesn't provide space for a parameter at all
14:04:14 <peter1138> Use an action 7 to skip the action 6.
14:05:36 <Eddi|zuHause> well, the workaround there would be to make the calculation in an action D and then use that result in action 6...
14:06:00 <peter1138> Seems like a solution.
14:06:24 <peter1138> Dunno if NML can express all that.
14:06:37 <Eddi|zuHause> let's worry about NML later :)
14:07:42 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNL
14:08:11 <peter1138> @summon samu
14:08:11 <DorpsGek> peter1138: out of chalk
14:08:38 <Eddi|zuHause> why would you do that?!? :p
14:08:46 <peter1138> He's funny.
14:09:10 <Eddi|zuHause> you must be very bored at your job :p
14:09:33 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNq
14:10:34 *** Beerbelott has quit IRC
14:11:16 *** APTX has joined #openttd
14:11:44 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNO
14:12:38 <Eddi|zuHause> i can certainly input all kinds of weird characters through my keyboard
14:15:29 <peter1138> Is vehicle group names being unique a useful feature at all?
14:15:35 *** Flygon has quit IRC
14:16:01 <Eddi|zuHause> dunno who even thought that would be a sensible requirement
14:16:14 <peter1138> Habit.
14:16:21 <Eddi|zuHause> especially across all vehicle types
14:16:22 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNW
14:17:46 <peter1138> I made it not care about types, but...
14:18:02 <peter1138> Definitely since hierarchical groups it makes no sense.
14:18:05 <peter1138> And... I added that :/
14:18:14 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNN8
14:20:42 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNE
14:20:51 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNu
14:23:51 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNP
14:24:39 <peter1138> Yeah differently layouts activate different features :/
14:25:01 <peter1138> But for me ctrl-shift-u is handled by a gtk+ layer, not Xorg.
14:25:14 <peter1138> gnome-terminal knows about it, etc, but xterm does not.
14:28:33 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7126: custom font settings in openttd.cfg seem to be ignored https://git.io/fhNNQ
14:31:46 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNF
14:33:25 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNN
14:33:34 *** snail_UES_ has joined #openttd
14:35:11 <_dp_> oh, I know that non-latin bug, I tried to fix it but found out it's an SDL one
14:35:19 <_dp_> and nobody's gonna fix it for sdl 1.x ofc
14:35:37 <_dp_> should be fine with sdl 2 though
14:35:47 <_dp_> also works fine with allegro
14:35:57 <peter1138> What's SDL doing? o_O
14:36:07 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNNh
14:37:23 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAe
14:38:33 *** octernion has quit IRC
14:38:58 <_dp_> what? no, russian layout is just like any other layout, there is nothing hardware
14:39:29 <Eddi|zuHause> _dp_: i'm fairly sure that the problem is not actually with the physical keyboard :p
14:39:59 *** planetmaker has left #openttd
14:40:04 *** planetmaker has joined #openttd
14:40:04 *** ChanServ sets mode: +o planetmaker
14:40:30 <_dp_> Eddi|zuHause, yeah, I'll try to google that SDL bug I mentioned
14:41:03 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAU
14:45:02 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAq
14:46:59 <_dp_> hm... actually, just checked and russian characters work for me now as well
14:47:06 <_dp_> but they sure didn't at some point
14:47:18 <DorpsGek_II> [OpenTTD/OpenTTD] btzy commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhNA3
14:47:20 <_dp_> I may have switched from fedora to ubuntu in between
14:49:33 *** snail_UES_ has quit IRC
14:50:15 <_dp_> it was something related to X-server as well iirc
14:53:35 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhNA4
14:54:19 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAR
14:54:27 <DorpsGek_II> [OpenTTD/OpenTTD] btzy updated pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhGxd
14:56:53 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAa
14:57:10 *** octernion has joined #openttd
14:59:52 <DorpsGek_II> [OpenTTD/OpenTTD] btzy updated pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhGxd
15:03:47 <DorpsGek_II> [OpenTTD/OpenTTD] btzy commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhNA6
15:06:38 <DorpsGek_II> [OpenTTD/OpenTTD] btzy commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhNA1
15:08:07 *** Beerbelott has joined #openttd
15:10:24 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAd
15:15:01 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7028: Feature: Option to group vehicle list by shared orders https://git.io/fhNAx
15:15:02 <DorpsGek_II> [OpenTTD/OpenTTD] paulcobbaut commented on issue #7126: custom font settings in openttd.cfg seem to be ignored https://git.io/fhNAp
15:15:54 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7126: custom font settings in openttd.cfg seem to be ignored https://git.io/fhNAh
15:16:49 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNAj
15:16:53 <peter1138> Comment: The file /etc/sysctl.d/inotify.conf is set to be changed
15:16:53 <peter1138> Started: 14:03:38.542863
15:16:53 <peter1138> Duration: 14.918 ms
15:16:53 <peter1138> Changes:
15:16:54 <peter1138> erm
15:16:58 <peter1138> checking freetype2... not found
15:16:59 <peter1138> Yeah
15:19:44 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNxU
15:21:51 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNxI
15:27:25 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNx3
15:27:56 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNxs
15:45:53 *** Samu has joined #openttd
15:45:57 <Samu> hi
15:50:38 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #7291: Change: Allow town bridges over rails. https://git.io/fhNDF
15:52:16 *** nielsm has joined #openttd
15:52:59 <peter1138> Samu, Oops, I didn't update the comments... "or rails" -> ", rails or one-way roads"
15:53:13 <Samu> :(
15:53:18 <Samu> too late
15:53:50 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhNpn
15:53:52 <peter1138> That's okay, you can do it :-)
15:54:42 *** sla_ro|master has joined #openttd
16:05:01 <Samu> what's wrong with variable name?
16:05:36 <Eddi|zuHause> "/* TODO: You can access the parameters of another GRF file by using source2=FE" <-- how is that a TODO? for all i can tell, this is implemented.
16:05:54 <peter1138> ?
16:06:18 <Samu> _save_empty_script
16:06:20 <Eddi|zuHause> peter1138: in actionD code in newgrf.cpp
16:06:22 <peter1138> Oh
16:06:54 <peter1138> bool _save_empty_script; ///< are we sending a map to a client over the nework?
16:07:14 <peter1138> That comment doesn't bear any relation to the variable name.
16:07:59 <Samu> true when we asre sending a map to a client over the network
16:09:31 <Samu> what do I type there?
16:10:30 <Eddi|zuHause> there's also a "/* TODO */"
16:10:33 <Eddi|zuHause> do what?!?
16:10:43 <peter1138> Welcome to historical comments, Eddi|zuHause.
16:10:55 <peter1138> Sometime they are worse than current comments :P
16:11:04 <peter1138> Like Samu's above.
16:11:29 <Eddi|zuHause> i'm tempted to just remove all TODOs from newgrf.cpp
16:12:01 <peter1138> They probably date from 2005.
16:12:15 <Samu> how to comment it?
16:12:25 <Eddi|zuHause> yeah, nobody is going to do those :p
16:13:43 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
16:13:57 <Eddi|zuHause> 2314431a59 newgrf.c (peter1138 2005-09-26 18:43:58 +0000 8240) * TODO
16:14:31 <peter1138> newgrf.c
16:14:32 <peter1138> :D
16:14:57 <Eddi|zuHause> at least opposing to SVN, git actually ignores the cpp renaming
16:15:06 <Eddi|zuHause> and makefile rewrite
16:15:14 <peter1138> I think it's safe to say that the TODO was done.
16:15:38 <peter1138> I suspect it refers to resetting all the other data.
16:16:02 <peter1138> I guess that's kinda different since the engine pool...
16:16:56 <Samu> bool _save_empty_script; ///< are AI/GS requested not to save their data? (true if sending a map to a client over the network, false otherwise)
16:17:01 <Samu> better? worse?
16:17:01 <Eddi|zuHause> "case 0x93: // Tile refresh offset to left" <-- i'm fairly convinced that we're never going to implement those
16:24:07 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z opened pull request #7297: Cleanup: spurious TODOs in newgrf.cpp https://git.io/fhNpj
16:25:50 <Samu> bool _save_empty_script; ///< are AI/GS not going to save? (true if sending a map to a client over the network, false otherwise)
16:31:19 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #7292: Change: No need to save AI/GS data when joining a multiplayer server https://git.io/fhNyv
16:32:58 <Samu> i need to test something
16:33:03 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhNhc
16:33:15 <Samu> town bridge over one-way roads
16:33:27 <Samu> fishy
16:42:37 *** pnda has joined #openttd
16:45:28 <Samu> https://imgur.com/bhbNKPm
16:45:36 <Samu> is that intended?
16:48:09 *** Wormnest has joined #openttd
16:48:29 <Samu> I suppose it is
16:48:37 <peter1138> Well...
16:48:53 <peter1138> Above the town sign, yes.
16:49:05 <Eddi|zuHause> is there a useful method to have PRs depend on each other?
16:54:33 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #7291: Change: Allow town bridges over rails. https://git.io/fhNDF
16:54:55 *** Gustavo6046 has joined #openttd
17:10:03 <Samu> the reaction icons are so obnoxious
17:10:24 <Samu> https://github.com/OpenTTD/OpenTTD/pull/7293
17:15:41 *** tokai|noir has joined #openttd
17:15:41 *** ChanServ sets mode: +v tokai|noir
17:17:46 <peter1138> Hmm, JGR uses the text parameter for network commands to stuff additional informatioN :/
17:19:21 <nielsm> ew
17:20:20 <nielsm> well just take it the whole way, make programmable signals, program id is stored in m8 and the program is free text transmitted that way
17:21:58 *** tokai has quit IRC
17:24:34 <peter1138> :p
17:36:18 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7297: Cleanup: spurious TODOs in newgrf.cpp https://git.io/fhAeC
17:36:38 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas commented on pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhAeB
17:39:09 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z updated pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhI7h
17:40:07 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhAer
17:40:30 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
17:41:34 *** Gumle2 has joined #openttd
17:44:12 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7297: Cleanup: spurious TODOs in newgrf.cpp https://git.io/fhAeH
17:45:44 *** Alberth has joined #openttd
17:45:44 *** ChanServ sets mode: +o Alberth
17:46:01 <Alberth> hai hai
17:46:13 <nielsm> ugh I forgot where I hid the emergency netsave function...
17:47:32 <Eddi|zuHause> so, who is crazy enough to make a (nfo) test grf for #7000?
17:51:08 <peter1138> andythenorth!
17:51:57 <Eddi|zuHause> we also need some railtype GRFs
17:56:30 <Alberth> huh? we have this standardized railtype labeliing thing, and nobody made a newgrf for it?
17:57:08 <Eddi|zuHause> well, we have an ever unpublished dbset with accompanying railtypes... :p
17:57:33 <Eddi|zuHause> i know there were a few projects, but i haven't followed if any of them ever got released
17:57:59 <Eddi|zuHause> and i never got around to making the trackset i had in mind for CETS
17:58:14 <nielsm> is there a debuggish way to force a network desync?
17:58:43 <Eddi|zuHause> nielsm: put a Random() anywhere in the client code?
17:59:27 <nielsm> I suppose I could make a key press handler in the video driver that takes a Random()
18:00:34 <Eddi|zuHause> give Alt+0 a little friend :p
18:00:47 <Alberth> :)
18:00:50 <nielsm> I don't know any of those magic debug keys
18:04:07 <Eddi|zuHause> nielsm: i'm sure there is a completely ancient wiki page about them
18:14:05 <nielsm> okay found it, main_gui.cpp has the definitions
18:14:18 <nielsm> added alt+3 as the desync key
18:17:17 <nielsm> okay it works :)
18:18:10 <Alberth> :p
18:18:18 <nielsm> maybe alt+9 would be better as that's closer to the crash key
18:18:47 *** glx has joined #openttd
18:18:47 *** ChanServ sets mode: +v glx
18:18:49 <LordAro> o/
18:18:56 <Alberth> alt+c(rash) :p
18:18:58 <nielsm> huh, the netsave.sav is correct here
18:19:21 <nielsm> and not a title screen save as I got on the beta3 server the other day
18:19:49 <nielsm> oh otoh, I did do some things different already
18:19:53 <nielsm> should maybe revert that first
18:20:26 <_dp_> citymania client has cheats enabled in mp
18:20:27 <_dp_> p
18:20:30 <_dp_> ez desync
18:21:19 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z updated pull request #7297: Cleanup: spurious TODOs in newgrf.cpp https://git.io/fhNpj
18:21:26 <glx> cheats in mp, what a silly idea
18:22:35 <_dp_> I did it to see which cheats are enabled
18:22:42 <_dp_> never bothered to disable the buttons
18:23:49 *** Progman has joined #openttd
18:27:23 *** octernion has quit IRC
18:28:05 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z updated pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhI7h
18:28:19 <Eddi|zuHause> why did i write 39 when i meant 3F? :p
18:30:20 <Alberth> keyboard turned around?
18:31:25 <Eddi|zuHause> more like "so, what is 40-1 again?"
18:31:39 <Alberth> fair enough :)
18:32:09 <Eddi|zuHause> i put the correct 0x3F in the code, but put 39 in the commit message
18:32:36 <Alberth> lol, better than the other way around though :)
18:33:32 <Eddi|zuHause> well, at this point it's basically a random number anyway
18:33:54 *** HerzogDeXtEr has joined #openttd
18:34:51 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7280: Emergency netsave on desync saves title game https://git.io/fhAfl
18:37:44 *** Gumle2 has quit IRC
18:37:53 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7243: Change: Decrease the min #opcodes https://git.io/fhdIq
18:38:16 <peter1138> nielsm, possibly something about timing.
18:39:13 <nielsm> I don't _think_ SaveOrLoad called the way I do can cause a drop to main menu before the save occurs
18:40:14 <peter1138> I don't think it would, but it's possible it was already dropped to the main menu.
18:40:43 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN approved pull request #7291: Change: Allow town bridges over rails and one-way roads. https://git.io/fhAfg
18:42:54 *** Wolf01 has joined #openttd
18:43:25 <Wolf01> o/
18:45:19 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7291: Change: Allow town bridges over rails and one-way roads. https://git.io/fhNDF
18:48:48 <Wolf01> Oh, nice one
18:52:21 *** cHawk has quit IRC
18:57:23 *** Wormnest has quit IRC
19:06:23 <peter1138> Hmm, so CMD_CLIENT_ID sends a client ID in p2.
19:06:42 <peter1138> How large do client IDs get?
19:07:23 <peter1138> Obviously it depends on how busy and how long a server has been running.
19:07:40 <peter1138> CMD_CLIENT_ID is a flag, btw, not an actual command.
19:07:49 *** Progman has quit IRC
19:07:59 <_dp_> ids get reused iirc, so like 255 max or smth
19:08:03 <peter1138> Nope
19:08:17 <peter1138> dbg: [net] Closed client connection 271
19:08:33 <peter1138> And I got that high by spamming the refresh server button ;)
19:08:37 *** Progman has joined #openttd
19:08:39 <_dp_> hm. ok, mb they don't :)
19:08:45 <peter1138> I did, indeed, want to check.
19:08:56 <peter1138> I'm wondering if it is sane to limit it to 16 bits instead of 32 bits.
19:09:01 <peter1138> Or...
19:09:17 <DorpsGek_II> [OpenTTD/OpenTTD] hidegh commented on issue #7295: Proposal: quick settings overrides / filter https://git.io/fhAJk
19:09:22 <peter1138> 16:17 <@peter1138> Hmm, JGR uses the text parameter for network commands to stuff additional information :/
19:09:26 <peter1138> :/
19:10:30 *** andythenorth has quit IRC
19:12:26 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7295: Proposal: quick settings overrides / filter https://git.io/fhAJm
19:13:52 <_dp_> 43:static ClientID _network_client_id = CLIENT_ID_FIRST;226: this->client_id = _network_client_id++;
19:13:58 <_dp_> and that's it :)
19:14:09 <_dp_> ClientID is enum so I guess it's uint or smth
19:15:57 <_dp_> curiously luukland's server resets _network_client_id on a new game
19:20:58 <Eddi|zuHause> i guess the question here is, if you let it wrap around, how do you make sure it's not reusing an active one?
19:23:10 *** HerzogDeXtEr has quit IRC
19:23:19 <peter1138> I'm working on it :-)
19:24:12 *** HerzogDeXtEr has joined #openttd
19:24:34 <Eddi|zuHause> also, i guess it should be more than 255 to avoid some potential denial-of-service corner cases?
19:25:04 <peter1138> Not a corner case, there are some low values with special meanings, and also you get a client ID just for querying the server.
19:25:31 <_dp_> max ID I could find is 7k+ on n-ice server so I guess wrapping isn't rly a concern here :)
19:26:17 <peter1138> Wrapping at 1024 would seem sufficient.
19:27:52 <_dp_> peter1138, that depends on how it is assigned
19:28:05 <_dp_> peter1138, you don't want crashing servers by opening 1024 connections
19:28:44 <Eddi|zuHause> 1024 seems a tad low for that
19:29:06 <peter1138> DoS, yeah.
19:29:23 <peter1138> Well, 32768 or 65536 then.
19:29:43 <peter1138> I suspect it'd fall over way before then.
19:32:29 <peter1138> Weird, I'm getting double log messages with bin/openttd -D
19:32:48 *** Gumle2 has joined #openttd
19:33:00 *** octernion has joined #openttd
19:36:05 <Samu> oh already merged?
19:36:08 <Samu> ok removing branch
19:37:59 <peter1138> Of course, it's very rare that it'll try reusing an ID, but you never know.
19:38:44 *** HerzogDeXtEr1 has joined #openttd
19:38:47 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh opened pull request #7298: Fix multiplayer emergency save https://git.io/fhAJ2
19:39:07 <Samu> what is wrong with no plane crashes unless runway is too short?
19:41:46 <peter1138> Oops, I made it reuse the last ID if it's not in use...
19:44:07 <Samu> nielsm, https://github.com/OpenTTD/OpenTTD/pull/7190 just in case
19:45:23 *** andythenorth has joined #openttd
19:45:37 <TrueBrain> nielsm: I like your debug command :D
19:45:44 *** HerzogDeXtEr has quit IRC
19:46:38 <andythenorth> yo
19:46:43 <Alberth> oy
19:46:46 <peter1138> TrueBrain, the OS X build is not built with freetype. I'm not sure where to look to see if I can fix this.
19:46:49 <andythenorth> ohai Alberth
19:46:56 <peter1138> andythenorth didn't text that one very well ;(
19:47:11 <andythenorth> I didn't text it at all
19:47:15 <peter1138> TEST
19:47:18 <andythenorth> what it is?
19:47:20 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7298: Fix multiplayer emergency save https://git.io/fhAJi
19:47:27 <peter1138> https://github.com/OpenTTD/OpenTTD/issues/7126
19:47:53 <peter1138> I had a false start thinking I found an issue, but it turns out it's far simpler...
19:47:58 <TrueBrain> peter1138: OSX is built completely via azure-pipelines
19:48:01 <andythenorth> yes my testing on that was not very good
19:48:01 <TrueBrain> osx-build.yaml, I guess
19:48:04 <andythenorth> I didn't do any
19:48:09 *** keoz has quit IRC
19:48:20 <peter1138> andythenorth, sacked!"
19:48:24 <andythenorth> oh dear
19:48:34 <TrueBrain> peter1138: owh, and osx-dependencies.yml
19:48:35 <andythenorth> TrueBrain Travis!
19:48:37 <andythenorth> opinions?
19:48:39 <TrueBrain> those two files run it
19:48:41 <andythenorth> as newgrf CI?
19:48:48 <peter1138> brew install?
19:49:06 <peter1138> Wow, that looks dangerous :-)
19:49:07 <TrueBrain> what I did to test this out
19:49:14 <TrueBrain> is to create my own project on azure pipelines
19:49:20 <TrueBrain> and make it build my own branch from my own fork
19:49:23 <TrueBrain> so I could select only OSX
19:49:27 <SpComb> I wrote my first AWS Lambda function this week
19:49:29 <TrueBrain> and I just ran it over and over and over
19:49:48 <andythenorth> SpComb how on-trend :)
19:49:51 <andythenorth> what does it do?
19:49:55 <TrueBrain> I also really don't know where to start with a dep like freetype not being picked up ... brew install might just be sufficient
19:49:56 <andythenorth> is it serverless?
19:49:56 <peter1138> Do you still have that going? i.e. so I can be lazy and not figure it all out.
19:50:00 <TrueBrain> andythenorth: NewGRF CI? Azure Pipelines, duh
19:50:12 <andythenorth> that's why I'm asking
19:50:13 <peter1138> TrueBrain, I would've just added "freetype2" and see if it works :-)
19:50:36 <peter1138> Hmm, might just be freetype, not freetype2
19:50:36 <TrueBrain> https://dev.azure.com/truebrain/OpenTTD/_build?definitionId=4
19:50:43 <peter1138> https://brewformulas.org/Freetype
19:50:49 <peter1138> I asume that's related.
19:50:50 <TrueBrain> and I just copy/paste the bash script in there, after selecting the correct image
19:50:56 <TrueBrain> but .. if you think it is just one package
19:50:58 <TrueBrain> just make a PR
19:51:08 <TrueBrain> the CI should tell you if it was detected, I guess
19:51:58 <TrueBrain> SpComb: gratz :) You never forget your first :P
19:52:42 <peter1138> andythenorth, do you use "brew install" ?
19:52:47 <andythenorth> yes
19:53:10 <andythenorth> do you want me to wreck my OS with something? o_O
19:53:25 <peter1138> where would "brew install freetype" put its thing?
19:53:26 <TrueBrain> he came in like a WRECKING BALL
19:53:42 <peter1138> We have lines to rm /usr/local/Cellar/xz/*/lib/*.dylib
19:53:53 <peter1138> I'm *guessing* we'd need one for freetype
19:54:06 <peter1138> I dunno if it would be .../Cellar/freetype/*/lib/*.dylib.
19:54:07 <TrueBrain> I am guessing the same :D
19:54:14 <peter1138> Seems likely based on the others.
19:54:37 <TrueBrain> you can always add an 'ls /usr/local/Cellar/*/*/*/*.dylib' or something
19:54:40 <TrueBrain> and run it :)
19:54:41 <andythenorth> (bin35) firs.hg.deprecated$ brew info freetype
19:54:41 <andythenorth> freetype: stable 2.9.1 (bottled)
19:54:42 <peter1138> Hahaha
19:54:43 <andythenorth> Software library to render fonts
19:54:44 <andythenorth> https://www.freetype.org/
19:54:55 <andythenorth> "/usr/local/Cellar/freetype/2.9.1 (60 files, 2.6MB) *"
19:54:55 <SpComb> andythenorth: manages EC2 volume snapshots on scheduled events, because eu-north-1 is missing both AWS Backup and DLM services for whatever reason
19:55:39 <TrueBrain> peter1138: we did so many 'ls' and 'find' when creating this, you have no idea :P
19:55:46 <peter1138> I:D
19:55:50 <peter1138> -I
19:55:55 <TrueBrain> remote debugging ftw! Or something ...
19:55:57 <peter1138> andythenorth, thanks, that looks good.
19:56:42 <TrueBrain> I am off; I can help out if you didn't figure it out by then peter1138 :)
19:56:49 <TrueBrain> (by when-ever I am back :P)
19:56:50 <peter1138> :-)
19:56:57 <peter1138> Thanks, you've helped lots :)
19:57:25 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7299: Change: [AzurePipelines] Add freetype dependency for OSX. https://git.io/fhAJN
19:57:35 <peter1138> BOOM BOOM
19:59:23 <Eddi|zuHause> "checking freetype2... found"?
19:59:26 <peter1138> Yes!
19:59:55 <Eddi|zuHause> you have 10 seconds to merge it for nightly :p
20:00:04 <peter1138> That is unlikely.
20:00:07 <Eddi|zuHause> too late :p
20:01:17 <peter1138> It might yet fail to build ;)
20:03:40 <peter1138> Those warnings though...
20:04:37 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7299: Change: [AzurePipelines] Add freetype dependency for OSX. https://git.io/fhAUv
20:07:40 *** gelignite has joined #openttd
20:07:42 <peter1138> Anyone dare approve it?
20:09:13 <peter1138> src/script/api/script_object.cpp: if (GetCommandFlags(cmd) & CMD_CLIENT_ID && p2 == 0) p2 = UINT32_MAX;
20:09:16 <peter1138> Hmm :-)
20:10:39 <peter1138> I guess if you had 4.2 billion connections you might be able to impersonate the GS...
20:10:47 <Eddi|zuHause> "ld: warning: directory not found for option '-L/usr/local/Cellar/libpng/1.6.34/lib'" <-- why is that there when it apparently links to 1.6.36?
20:11:48 <Eddi|zuHause> peter1138: but do you get to know your own client id yourself?
20:17:11 <Samu> hmm the crash test is done the entire runway ramp
20:17:13 *** Gumle2 has quit IRC
20:17:24 <Samu> i thought it was only once, on touching ground
20:17:38 <Samu> interesting
20:21:16 *** frosch123 has joined #openttd
20:24:08 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #7299: Change: [AzurePipelines] Add freetype dependency for OSX. https://git.io/fhAU8
20:33:34 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7299: Change: [AzurePipelines] Add freetype dependency for OSX. https://git.io/fhAJN
20:33:35 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN closed issue #7126: custom font settings in openttd.cfg seem to be ignored https://git.io/fhiS6
20:34:12 <peter1138> Not much point in not doing that, as we can't test the builds from the PR.
20:34:42 <peter1138> "Also adds a hotkey to help in testing desync behaviour."
20:34:50 <peter1138> nielsm, I don't think that's quite appropriate? :)
20:35:13 <LordAro> i'm not clear how moving the netsave function call actually fixes it
20:35:47 <nielsm> the desync key is first, only enabled in debug builds, second is roughly equivalent to disconnecting yourself from the game from the view of everyone else
20:35:57 <peter1138> It's already switched to the menu save, LordAro.
20:35:59 <nielsm> (if you do it on the server I guess you drop all the clients instead)
20:39:51 <Eddi|zuHause> well, that GUI server running a debug build could just Alt+0 anyway
20:40:14 <Eddi|zuHause> i don't see a problem with the debug key
20:41:04 <nielsm> and even in singleplayer I suppose it might occasionally be useful to trigger a junk random? to cause a game to go another direction
20:41:51 <LordAro> seems a bit redundant to trigger a desync netsave when there's not a desync, even on purpose
20:42:09 <nielsm> what?
20:42:11 <LordAro> how is it different from just saving normally in that case?
20:42:26 <Eddi|zuHause> you trigger the desync, not the netsave
20:42:38 <nielsm> the point is to make a save when you lose connection to a server due to an error
20:42:40 <Eddi|zuHause> the netsave is just a side effect
20:43:00 <nielsm> whether that error is network connection lost, desync reported by server, detected by client, or server timeout
20:43:05 <LordAro> right, so what point is there to trigger a desync when there isn't one?
20:43:23 <nielsm> yes the point is to have a method to test that the desync triggers the netsave correctly
20:43:26 <Eddi|zuHause> it's a debug feature. same as alt+0 which triggers a crash when there isn't one.
20:43:29 <peter1138> LordAro, he needed to test the desync save, as it didn't work properly
20:43:47 <peter1138> LordAro, that's why I questioned adding the desync debug button, though.
20:43:58 <peter1138> I'm sure it was using for this test, but I don't think it's needed to keep it around.
20:44:01 <peter1138> *useful
20:44:12 <LordAro> right, makes sense :)
20:44:20 <nielsm> well, it's there for now if anyone wants to test the patch
20:44:26 <nielsm> can take it out before a merge
20:45:19 <DorpsGek_II> [OpenTTD/OpenTTD] drsid opened issue #7300: Fatal Application Failure https://git.io/fhAUH
20:46:09 <LordAro> hmm, russian...
20:46:26 <LordAro> anyone want to have a go at decoding the stacktrace? :)
20:47:32 <nielsm> font is Arial, it might be an ICU thing
20:47:36 <peter1138> Can't be bothered. It'll be ICU.
20:47:49 <LordAro> probably, but not necessarily
20:48:41 <nielsm> according to the module list, it's inside openttd.exe code
20:52:46 <nielsm> can't find any 1.8.0 crash reports relating to ICU...
20:52:51 <nielsm> that aren't a 32 bit build
20:53:47 <Eddi|zuHause> https://github.com/OpenTTD/OpenTTD/issues/6688?
20:54:30 <Eddi|zuHause> https://github.com/OpenTTD/OpenTTD/issues/6571?
20:54:51 <Eddi|zuHause> frankly, these all look the same to me :p
20:55:27 <peter1138> 1.8.0 crashes for me on 64 bit.
20:55:31 <nielsm> offset 385FE8 when I just made an 1.8.0 ICU crash with hebrew, offset 391A2A in that new ticket
20:55:50 <nielsm> so within 64k
20:55:57 <nielsm> very likely it's inside ICU code
20:56:03 <Eddi|zuHause> that doesn't mean anything :p
20:56:13 <nielsm> true the linker might reorder things at random
20:56:24 <nielsm> did nobody save a PDB of 1.8.0 release build? :(
20:57:01 <LordAro> didn't it used to be on the download page?
20:57:17 <nielsm> oh... the gamelog looks like it's the title screen game
20:58:10 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7300: Fatal Application Failure https://git.io/fhAUh
20:59:06 <Eddi|zuHause> just making sure, we did merge the ICU replacement into 1.9.0-beta?
20:59:14 <nielsm> yes
20:59:21 <nielsm> it's using uniscribe on windows
20:59:24 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7300: Fatal Application Failure https://git.io/fhAUj
20:59:27 <nielsm> and coretext on macos
20:59:36 <nielsm> but still icu on linux
21:00:25 *** gelignite has quit IRC
21:00:33 <frosch123> nielsm: are you looking for http://binaries.openttd.org/binaries/releases/1.8.0/openttd-1.8.0-windows-win64.pdb.xz ?
21:07:40 <nielsm> okay, ran my 1.8.0 copy with the pdb next to it, attached debugger, did break
21:08:04 <nielsm> then took the offset of the crash in that posted report, added to my own load base for openttd.exe
21:08:13 <nielsm> and pasted that address into disassembly view
21:08:31 <nielsm> result: icu_51::AnchorTable::getAnchor(...)
21:08:36 <LordAro> F
21:08:40 <Eddi|zuHause> nielsm: well, theoretically you could load the crash.dmp with the .pdb
21:08:51 <LordAro> if you had the crash.dmp
21:08:52 <nielsm> Eddi|zuHause sure, if it had been posted
21:12:15 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7300: Fatal Application Failure https://git.io/fhATJ
21:12:16 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh closed issue #7300: Fatal Application Failure https://git.io/fhAUH
21:13:00 *** Maarten has joined #openttd
21:15:47 *** Supercheese has joined #openttd
21:20:16 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhAT3
21:28:25 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhAT4
21:40:47 *** Maarten has quit IRC
21:41:04 <andythenorth> hmm
21:41:09 <andythenorth> is FIRS fixed yet?
21:43:17 <peter1138> " Today, I can still eat: 1234 out of about 3186 cals "
21:43:20 <peter1138> Uh huh... 1234 eh?
21:47:26 *** Maarten has joined #openttd
21:48:07 <frosch123> next stop 1138?
21:52:31 *** Alberth has left #openttd
21:54:33 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhATQ
21:55:09 <andythenorth> frosch1234
21:55:25 <peter1138> Hmm, so I have to eat 94 kcal :D
21:56:51 * peter1138 ponders #7279
22:00:19 <andythenorth> no more bouys?
22:00:41 <peter1138> Yeah, that's sad.
22:01:24 <andythenorth> no more routing all the way there
22:01:27 <andythenorth> and all the way back
22:01:30 * andythenorth not sad
22:02:03 <andythenorth> should I fix this then?
22:02:04 <andythenorth> http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html#extreme
22:02:09 <andythenorth> players will be sad :(
22:02:37 <andythenorth> especially after we do the great bananas clean up
22:02:41 <andythenorth> and delete all old grfs etc
22:03:28 <peter1138> What's sad?
22:03:39 <peter1138> I've not played FIRS enough to know the changes :p
22:04:00 <nielsm> the madness of 51 industries? :D
22:04:26 <andythenorth> the gameplay makes no sense
22:04:49 <andythenorth> it's just blah blah blah
22:07:07 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
22:07:09 <andythenorth> FIRS or tanks?
22:07:12 <TrueBrain> nice work peter1138 on fixing that OSX issue :D \o/
22:07:56 <andythenorth> TrueBrain: so Azure then? :P
22:08:05 <TrueBrain> andythenorth: you speak in riddles :)
22:08:14 <andythenorth> very riddles
22:08:32 *** sla_ro|master has quit IRC
22:08:36 <andythenorth> I guess I should research Azure by clicking on stuff
22:08:48 <andythenorth> I 'researched' Travis because GH said it has won
22:08:52 <andythenorth> and it's one click to get it working
22:09:49 <TrueBrain> so is *insert other CI here*
22:09:52 <andythenorth> so the jobs are non-parallel
22:09:56 <andythenorth> ok
22:10:11 <andythenorth> oh no, they're parallel
22:10:15 <andythenorth> it's just confusing page
22:10:19 <TrueBrain> anyway, if you want a serious answer from me, you have to explain a bit of context to me :D
22:10:40 <andythenorth> do you want the end goal, or the current state?
22:10:50 <TrueBrain> I want context :P
22:11:14 <TrueBrain> imagine someone at work comes to you: Travis?
22:11:20 <TrueBrain> you fire him on the spot, I imagine :P
22:11:45 <andythenorth> context is the coop has VMs on a physical host somewhere, one of those (afaik) is running a Jenkins install, which compiles projects from coop devzone, and (optionally afaik) publishes them bundles server for distribution
22:11:59 <TrueBrain> ah; the old fashion way
22:12:03 <andythenorth> this is used to build projects including newgrf
22:12:03 <TrueBrain> drop it, drop it nowhhhhh :)
22:12:07 <andythenorth> I have moved FIRS to GH
22:12:10 <andythenorth> and now have no CI
22:12:15 <andythenorth> nor publishing
22:12:39 <andythenorth> on the one hand, I can probably click buttons to get a solution for me
22:12:48 <andythenorth> and on the other hand, a solution for all coop would be better
22:12:58 <TrueBrain> Travis vs Azure Pipelines is not much of a difference .. both need a configuration file
22:13:02 <TrueBrain> both won't give you anything to publish on
22:13:06 <TrueBrain> although
22:13:12 <TrueBrain> you can publish on the GH releases
22:13:16 <TrueBrain> so that would work fine, I guess
22:13:19 <andythenorth> well we could publish back existing bundles server, or GH
22:13:29 <andythenorth> or we get an S3 bucket and put the bundles domain in front of it
22:13:37 <andythenorth> or we use OpenTTD mirrors?
22:13:39 <andythenorth> dunno
22:13:44 <TrueBrain> I like AP, as you get much more parallel domains
22:13:50 <TrueBrain> we could link the OpenTTD CDN to it, sure
22:13:53 <andythenorth> what about the having to log in crap?
22:13:55 <andythenorth> is that fixed?
22:14:03 <andythenorth> or is it FUD?
22:14:09 <TrueBrain> no clue; I am afraid someone has a browser open somewhere :P
22:14:26 <TrueBrain> Travis works-ish, but as OSS it is more limited, in my experience
22:14:31 <TrueBrain> (as in, less agents running jobs)
22:14:34 <TrueBrain> not always an issue
22:14:41 <TrueBrain> especially for NewGRFs I doubt that is a real issue
22:14:43 <andythenorth> newgrf doesn't have multiple platform targets
22:14:47 <andythenorth> just one
22:14:53 <TrueBrain> there are a few other of these platforms .. it is all the same honestly
22:14:58 <andythenorth> and even across all of coop, only a couple of people push at once
22:14:58 <TrueBrain> might be easiest if we all use AP
22:15:07 <TrueBrain> especially as you can imagine GH and AP to integrate more and more
22:15:21 <TrueBrain> soon GitHub Actions will be GA
22:15:27 <TrueBrain> that also makes things a bit easier, for CD mostly
22:15:32 <TrueBrain> (CI is easy; CD often is the harder part)
22:15:42 <TrueBrain> but AP also solved CD, and so far it has been pretty stable
22:15:49 <TrueBrain> and you can configure it with some simple clicks
22:15:55 <TrueBrain> you can make it publish on GH easily
22:15:57 <TrueBrain> or on CDN
22:15:59 <TrueBrain> OpenTTD does both
22:16:03 <andythenorth> ok
22:16:05 *** Thedarkb-T60 has joined #openttd
22:16:24 <andythenorth> so Travis looks initially friendlier, but I would rather be familiar with AP if you see no reason to leave it any time soon
22:16:38 <andythenorth> AP is still too mysterious here
22:16:45 <andythenorth> only working with it will solve that
22:16:51 <TrueBrain> I guess Travis has better documentation :P
22:16:56 <TrueBrain> because they are essentially the same
22:17:00 <TrueBrain> and indeed
22:17:11 <TrueBrain> on GH, go to Marketplace, find AP, install it
22:17:13 <TrueBrain> select your repo
22:17:15 <TrueBrain> and it takes you from there
22:17:19 <TrueBrain> you don't have to start with a YML file
22:17:24 <andythenorth> I'm pretty much clicking on it already
22:17:26 <TrueBrain> you can just click together a CI
22:18:08 <andythenorth> oh it gives AP write access to the repo?
22:18:10 <andythenorth> that's interesting
22:18:13 <andythenorth> Travis got read
22:18:18 <andythenorth> or I misread
22:18:32 <TrueBrain> yeah, AP can commit the yml file, if you like
22:18:37 <TrueBrain> it can help you with that
22:19:11 <TrueBrain> but I guess we should publish NML or something on a place it can download and use it
22:19:14 <andythenorth> ok I try it later
22:19:20 <TrueBrain> that might be the biggest thing to get it easily to work
22:19:26 <andythenorth> it wants me to create an account with MS, which is fine, but not now
22:19:35 <TrueBrain> yeah; creating the account is simple and easy
22:19:51 <TrueBrain> https://github.com/OpenTTD/CompileFarm/releases <- the reason we publish that file, is to make other things easier
22:19:56 <TrueBrain> I can imagine we need something similar for NML
22:20:01 <TrueBrain> but .. that can all be arranged ofc
22:20:19 <DorpsGek_II> [OpenTTD/OpenTTD] Nik-mmzd commented on issue #7296: Can't type non-latin symbols from keyboard in game on linux https://git.io/fhAk4
22:20:22 <TrueBrain> once you have an MS account, it helps you create a job based on the GitHub repository you came from
22:20:32 <TrueBrain> and from there you will understand the click-and-configure behaviour
22:20:35 <TrueBrain> it is pretty slick tbh
22:20:37 <andythenorth> ok
22:20:52 <andythenorth> does the yml file configure which deps are needed?
22:20:56 * andythenorth can read docs tbh
22:21:03 <peter1138> 21:14 < TrueBrain> no clue; I am afraid someone has a browser open somewhere :P
22:21:17 <peter1138> About that...
22:21:27 <TrueBrain> andythenorth: "deps"? And you don't be doing yml at first :)
22:21:42 <TrueBrain> don't -> won't :P
22:22:24 <nielsm> if you use the free VMs AP offers, you basically get a fresh, clean machine for every run
22:22:33 <nielsm> so you have to install any non-standard software needed
22:22:45 <andythenorth> that was my assumption
22:23:06 <TrueBrain> and for most stuff it has default things for you
22:23:10 <TrueBrain> but NML you have to do yourself
22:23:11 <TrueBrain> every run
22:23:17 <TrueBrain> but you will see once you get to the click+configure part
22:23:21 <TrueBrain> it will make sense there :)
22:23:29 <andythenorth> ok, I will create an account tomorrow or so
22:23:36 * andythenorth hates account creation
22:23:41 <TrueBrain> the MS was easy
22:23:42 <andythenorth> mostly I just auth with GH if I can
22:23:43 <TrueBrain> no weird questions
22:23:48 <TrueBrain> just .. name, username, email, password
22:23:50 <TrueBrain> done
22:23:52 <andythenorth> email confirmation link?
22:23:53 <nielsm> it may be easiest to set up a pack with your dependencies somewhere it can just fetch as part of the job
22:24:16 <TrueBrain> yeah, I expect we need to make NML releases on GH which work like that
22:24:18 <TrueBrain> or something
22:24:26 <andythenorth> they were on pypi for a bitt
22:24:31 <andythenorth> which would solve it
22:24:46 <andythenorth> https://pypi.org/project/nml/
22:24:49 <andythenorth> then it's just pip
22:25:17 <TrueBrain> works as well
22:25:25 <TrueBrain> if you use the Ubuntu agent or something, pip is preinstalled I think
22:25:30 <TrueBrain> so yeah .. easy peazy
22:26:59 <TrueBrain> https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/linux/Ubuntu1604-README.md
22:27:10 <TrueBrain> "pip3 (pip 8.1.1 from /usr/lib/python3/dist-packages (python 3.5))"
22:27:11 <TrueBrain> yeah
22:27:57 <andythenorth> ez pz
22:28:24 <TrueBrain> Cached container images
22:28:24 <TrueBrain> jekyll/builder:latest
22:28:26 <TrueBrain> LOL
22:28:28 <TrueBrain> that is new to me :)
22:28:30 <TrueBrain> funny :P
22:28:32 <TrueBrain> sadly, we don't use it
22:28:33 <TrueBrain> but still
22:32:00 <TrueBrain> andythenorth: and as OpenTTD shows, you can push AP very far, as far that when you tag your NewGRF, it auto-uploads to BaNaNaS, I guess
22:32:15 <TrueBrain> meaning you only ever have to work with GitHub if you get that in place :)
22:32:34 <andythenorth> auto musa
22:32:38 <TrueBrain> exactly
22:32:49 <TrueBrain> results in this: https://hub.docker.com/r/openttd/website/tags
22:33:01 <TrueBrain> 6 pages of containers already :P
22:33:37 <andythenorth> so where does Docker Hub fit in?
22:34:03 <TrueBrain> with NewGRF, it does not
22:34:19 <TrueBrain> Docker Hub for the website is used as "BaNaNaS" would be for NewGRFs
22:34:24 <TrueBrain> or the CDN is for OpenTTD nightlies
22:34:54 <TrueBrain> (the target of the binary for the CD part)
22:37:09 <andythenorth> ok
22:37:27 * andythenorth wonders where we can publish newgrf docs to
22:37:42 <TrueBrain> I can create space in the CDN for you
22:37:47 <TrueBrain> that isn't a real issue
22:38:02 <andythenorth> ok
22:38:17 <TrueBrain> some security thingies we have to cover, but that won't be a real issue
22:38:32 <TrueBrain> easiest if we run those jobs under the OpenTTD account, but otherwise we figure something out too
22:38:38 <TrueBrain> build first, tune later :)
22:38:38 <andythenorth> maybe this weekend I make some progress
22:38:49 <TrueBrain> let us know if we can ehelp ofc :)
22:39:01 <TrueBrain> ehelp, lol
22:41:26 <andythenorth> thx
22:42:08 <TrueBrain> maybe this weekend I can look at migrating MSU again .. hmm .. tempting
22:44:08 <TrueBrain> oeh, and maybe I migrate all current binaries to CDN
22:44:11 <TrueBrain> that sounds like a good plan too
22:45:03 *** nielsm has quit IRC
22:45:05 <TrueBrain> oeh, and I want to add a bot that when it sees a crashdump on GitHub, it posts the content of it :)
22:45:33 <TrueBrain> oeh, and I want to look at auto-uploading crashdumps (after users says OK ofc)
22:45:40 <TrueBrain> sentry-like
22:47:32 <TrueBrain> too many ideas
22:47:33 <TrueBrain> sleep now
22:48:31 <Samu> I'm bored
22:48:58 *** frosch123 has quit IRC
22:50:06 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7293: Add: No plane crashes unless runway is too short option https://git.io/fhAIf
22:59:46 <peter1138> Oh, I found some free bits...
22:59:59 <peter1138> p1: bits 16-31, used by subfunctions...
23:00:14 <peter1138> Except it's not. Only one of them uses it, and then only 1 bit.
23:01:19 <andythenorth> more bits \o/
23:01:21 <peter1138> So no need to mess about with client_id
23:01:24 <andythenorth> put pipemania in them
23:01:48 <peter1138> So yeah, I reimplemented buy & refit :p
23:01:51 <andythenorth> how many bits for pipemania anyway? o_O
23:01:56 <peter1138> Due to me cocking up several times on the ottdcoop server.
23:02:01 <andythenorth> what is buy & refit?
23:02:22 <andythenorth> is it like station refits?
23:02:26 <peter1138> If you use the cargo filter in the purchase list, it will automatically refit to that cargo type.
23:02:36 <peter1138> It does, of course, ignore those silly subtypes.
23:03:29 <andythenorth> I had to refit on that coop server
23:03:34 <andythenorth> haven't done it for ages
23:03:39 <andythenorth> the zellepin doesn't station refit
23:06:21 <peter1138> Nice, make regression crashed :D
23:06:30 <peter1138> Nice, git pre-push commit saved me.
23:06:49 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
23:11:31 *** Thedarkb-X40 has joined #openttd
23:14:00 <andythenorth> oof bed
23:14:05 <andythenorth> or tanks
23:14:15 <peter1138> Hmm, well, maybe this is simpler as a callback :/
23:20:10 <andythenorth> so how do I do an Africa-ish FIRS economy, without repeating dumb stereotypes?
23:20:33 <andythenorth> like, there's no snow in Africa at Christmas :P
23:20:37 <andythenorth> much lolz
23:21:23 <LordAro> you can hear the drums echoing tonight though
23:21:38 <andythenorth> met an old man along the way
23:21:52 <andythenorth> https://www.bbc.co.uk/news/uk-england-bristol-45608054
23:21:56 <andythenorth> I consdered going to that :P
23:22:12 <LordAro> lol
23:22:35 <andythenorth> I made FIRS Hot Country twice already
23:22:36 <andythenorth> http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html#in_a_hot_country
23:22:52 <andythenorth> the first one I deleted because it was a bit glamourising colonial exploitation
23:23:02 <andythenorth> the second one is just boring to play
23:23:25 <andythenorth> it's still resource exploitation, just more modern chinese-funded style :P
23:26:09 <LordAro> i feel like playing the game
23:27:31 <andythenorth> do it! :)
23:27:48 <LordAro> i am doing so!
23:27:53 *** octernion has quit IRC
23:32:16 <Eddi|zuHause> my going down a youtube suggestions chain yesterday ended at https://www.youtube.com/watch?v=WNn_Vlv3XWM
23:33:05 <andythenorth> obvs. there's a floppotron version https://www.youtube.com/watch?v=q260bjSiyq0
23:33:51 <Eddi|zuHause> of course, if you're looking for "avoid the stereotypes", that song is the worst place to start from :p
23:35:09 *** Thedarkb-X40 has quit IRC
23:39:12 <andythenorth> well this needs rewriting https://github.com/andythenorth/firs/blob/master/src/templates/produce_secondary.pynml
23:39:17 <andythenorth> for > 3 cargos
23:40:36 <peter1138> Hmm, this is nasty :(
23:40:53 <andythenorth> such joy
23:42:30 *** Progman has quit IRC
23:43:34 <andythenorth> refits?
23:47:48 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7301: Feature: When filtering purchase list by cargo type, make buy button perform a refit if required. https://git.io/fhAIp
23:47:55 <peter1138> :/
23:50:32 *** Wormnest has joined #openttd
23:52:03 *** Supercheese has quit IRC
23:52:24 *** Supercheese has joined #openttd
23:59:17 *** pnda has quit IRC