IRC logs for #openttd on OFTC at 2022-04-30
⏴ go to previous day
00:02:22 *** Eddi|zuHause has quit IRC (Remote host closed the connection)
00:03:09 *** WormnestAndroid has joined #openttd
00:03:14 *** Eddi|zuHause has joined #openttd
00:07:34 *** Eddi|zuHause has quit IRC (Read error: Connection reset by peer)
00:08:12 *** Eddi|zuHause has joined #openttd
00:15:18 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
00:20:16 *** WormnestAndroid has joined #openttd
00:40:33 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
00:43:09 *** WormnestAndroid has joined #openttd
00:53:05 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
00:54:00 *** WormnestAndroid has joined #openttd
01:00:02 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:00:20 *** WormnestAndroid has joined #openttd
01:08:04 *** targrub has joined #openttd
01:12:14 <targrub> Very odd. Another project that fails, when compiling game/game_includes.hpp, my path gets a "/" stripped out of the middle of it. I have no clue why a seemingly arbitrary character in a ~90 character path is being deleted.
01:12:28 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
01:13:21 <targrub> What's the equivalent of echo within a .cmake file? I'll echo out the path of each file to see if there's some kind of pattern I can detect.
01:14:04 *** WormnestAndroid has joined #openttd
01:14:54 *** targrub has quit IRC (Remote host closed the connection)
01:15:27 *** targrub has joined #openttd
01:22:05 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
01:23:14 <targrub> yeah...wtf! it compiles a bunch of files in the same folder, then gets to api/game/game_tunnel.hpp.sq and that file has a "/" deleted out of the middle of its path
01:24:53 *** WormnestAndroid has joined #openttd
01:30:22 <targrub> Here's an excerpt of the log:
01:30:27 <targrub> 14>-- C:/Users/zzz/source/repos/OpenTTD/openttd-20220423-master-ged0b0b80d3/build/generated/script/api/game/game_tilelist.hpp.sq 14>-- C:/Users/zzz/source/repos/OpenTTD/openttd-20220423-master-ged0b0b80d3/build/generated/script/api/game/game_town.hpp.sq 14>-- C:/Users/zzz/source/repos/OpenTTD/openttd-20220423-master-ged0b0b80d3/build/generated/script/api/game/game_townlist.hpp.sq 14>-- C:/Users/zzz/source/reposOpenTTD/openttd-
01:31:27 <targrub> Note the abscence of a "/" between "repos" and "OpenTTD" in the last path.
01:44:20 <targrub> ok...those full paths are coming from argv. for one it's happening with argv[73]; for the other, argv[71]
01:48:30 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
01:58:30 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
02:10:46 *** ChanServ sets mode: +v tokai
02:11:03 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:11:55 *** D-HUND is now known as debdog
02:17:37 *** targrub has quit IRC (Remote host closed the connection)
02:17:38 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:32:19 *** WormnestAndroid has joined #openttd
02:52:38 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
02:53:24 *** WormnestAndroid has joined #openttd
02:58:53 *** lobster has quit IRC (Ping timeout: 480 seconds)
03:07:17 *** Wormnest has quit IRC (Quit: Leaving)
03:08:26 *** Cthulhux has quit IRC (Quit: Cthulhux)
03:47:57 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
03:48:29 *** snail_UES_ has joined #openttd
05:24:51 *** snail_UES_ has quit IRC (Quit: snail_UES_)
06:19:39 <Gustavo6046> nothing like playing openttd-jgrpp to the sound of Dream Theater
06:44:56 *** andythenorth has joined #openttd
06:49:57 *** andythenorth_ has joined #openttd
06:57:08 *** andythenorth has quit IRC (Ping timeout: 480 seconds)
07:03:07 <LordAro> Gustavo6046: excellent choice
07:09:17 <andythenorth_> what shall we do today Brain?
07:11:04 <andythenorth_> oh 9863 merged :) thanks
07:42:56 *** sla_ro|master has joined #openttd
07:46:30 <andythenorth_> can't see many issues to obviously close
07:46:48 <andythenorth_> but so many valid issues that are quite esoteric, edge-case type things
07:47:02 <andythenorth_> quite a bit of "I tried this broken idea and broke the game"
08:01:34 <TrueBrain> always annoying, when you try to clean, and there is nothing to clean :P
08:01:37 <TrueBrain> you can visit my house and help me clean?
08:11:43 <andythenorth_> cleaning actual house is less fun
08:12:24 <andythenorth_> most of our github issues are now like that cupboard everyone has
08:12:35 <andythenorth_> full of useless things that can't be thrown out
08:12:58 <Gustavo6046> cleaning my room feels good sometimes
08:13:00 <andythenorth_> old paperwork, instruction manuals, IKEA furniture parts
08:13:08 <andythenorth_> spare fixings for bike lights
08:19:00 <andythenorth_> hmm got a valid case for python multi-inheritance
08:19:14 <andythenorth_> last time I did it though I ended up deleting it, too much brain space needed
08:19:44 <LordAro> multi-inheritance is fine, as long as your class diagram doesn't end up becoming a diamond
08:23:53 <andythenorth_> AIUI, I'm strictly limiting myself to mixins
08:24:02 <andythenorth_> I have a base class that is concerned about engine power
08:24:09 <andythenorth_> and a base class that is concerned with cargo refits
08:24:15 <andythenorth_> now I need to combine them
08:38:15 <Gustavo6046> the metal music was getting a bit grinding after a while (their Awake album)
08:38:20 <Gustavo6046> so i decided to switch to something else for a bit
08:38:30 <Gustavo6046> but now I'm sleepy so I'm gonna go sleep
08:39:17 <andythenorth_> just for the name?
08:39:28 <Gustavo6046> andythenorth_, nooo you're a good north
08:41:13 *** Gustavo6046 has quit IRC (Quit: Goodbye! Leave messages at my XMPP @ gustavo6046@anonym.im or my Discord Gustavo6046#9009 or possibly my Mastodon gustavo6046@fosstodon.org – I don't ch)
09:22:37 <LordAro> compiled OTTD with clang13 & gcc11
09:41:28 <LordAro> that one didn't go quite as smoothly
09:45:21 *** andythenorth has joined #openttd
09:47:02 *** andythenorth has quit IRC (Read error: Connection reset by peer)
09:47:48 *** andythenorth has joined #openttd
09:50:38 *** andythenorth_ has quit IRC (Ping timeout: 480 seconds)
09:54:42 <LordAro> someone else can merge those :)
10:31:17 *** HerzogDeXtEr has joined #openttd
10:46:13 *** HerzogDeXtEr1 has joined #openttd
10:49:08 *** andythenorth_ has joined #openttd
10:52:03 *** HerzogDeXtEr has quit IRC (Ping timeout: 480 seconds)
10:52:45 *** lobster has joined #openttd
10:54:23 *** lobstarooo has joined #openttd
10:56:33 *** andythenorth has quit IRC (Ping timeout: 480 seconds)
11:00:48 *** lobster has quit IRC (Ping timeout: 480 seconds)
11:00:54 *** lobstarooo is now known as lobster
11:11:07 *** WormnestAndroid has joined #openttd
11:26:56 <nielsm> can we just ban intel opengl drivers (with a video driver flag to override it)?
11:31:56 *** Wuzzy has quit IRC (Remote host closed the connection)
12:14:27 *** Cthulhux has joined #openttd
12:14:45 *** frosch123 has joined #openttd
13:14:51 *** virtualrandomnumber has joined #openttd
13:14:54 *** virtualrandomnumber has quit IRC ()
14:01:03 *** targrub has joined #openttd
15:13:43 *** Wormnest has joined #openttd
15:37:29 <targrub> re my earlier problem: seems to be a problem with length of command line
15:45:39 <targrub> I'll have to shorten my project path. :(
15:50:00 <LordAro> if it's just cmake, running cmake via the gui might work
15:54:58 <targrub> No problems now that it's a shorter path.
15:55:19 *** targrub has quit IRC (Remote host closed the connection)
15:55:32 *** targrub has joined #openttd
15:55:50 <targrub> Or do you mean building from within Visual Studio?
15:56:02 <targrub> I was building from within VS.
16:15:12 *** snail_UES_ has joined #openttd
16:16:12 <nielsm> okay probably visual studio auto-formatting on copy-paste that changed it around there... hmm
16:16:33 *** andythenorth_ has quit IRC (Quit: andythenorth_)
16:22:57 <nielsm> making separate lines for "base" video driver and GPU driver is annoying because the GPU driver line has to be hidden when there isn't one
16:34:34 *** targrub has quit IRC (Quit: Page closed)
16:43:24 <nielsm> making a linux build now, to see how it works with SDL
16:52:38 <LordAro> nielsm: ooh, how about displaying the full gl text in a tooltip?
16:54:11 <nielsm> also kind of non-obvious
17:23:16 <glx> hmm maybe we should use a temporary file to list input files for generating scripts
17:44:59 <LordAro> glx: might be a good idea
18:30:46 *** snail_UES_ has quit IRC (Quit: snail_UES_)
18:51:43 *** lobster has quit IRC (Remote host closed the connection)
18:52:10 *** lobster has joined #openttd
19:11:36 *** gelignite has joined #openttd
19:24:23 <Venemo> is there a good guide about how to host an openttd game on a VPS?
19:34:37 <TrueBrain> the workflows were disabled again, so nightly didn't run for the last .. 7 days? I re-enabled them :P
19:35:48 <glx> I did it last time, though it was not too long ago
19:36:11 <TrueBrain> 60 days? Something like that
19:37:14 <TrueBrain> yeah, they say it is constant, but I aint buying it
19:40:01 <TrueBrain> haha, I like how they think :D
19:41:14 <TrueBrain> I was considering an action that makes a commit in a random branch every 7 days :P
19:42:14 <michi_cc> The action route makes sense if you don't already use AWS somewhere.
19:44:31 <TrueBrain> the other thing that crossed my mind, was enabling the workflow and have that script run in this repo, and in a second
19:44:36 <TrueBrain> and make sure they are staggered
19:44:45 <TrueBrain> so one re-enables the other, re-enabling the first
19:44:56 <TrueBrain> it all boils down to: it is stupid there is not an admin checkbox to hit: do not suspend this repo
19:45:55 <michi_cc> The whole point of this is likely to preserve GitHub resources, so a checkbox would make it pointless.
19:46:06 <TrueBrain> not if it is off by default :P
19:46:13 <TrueBrain> I get why they do it btw, it honestly makes sense
19:46:16 <TrueBrain> just not in all cases :)
19:46:27 <glx> in our case it's annoying
19:46:41 <TrueBrain> they kinda want you to run these workflows from the main repo
19:46:43 <TrueBrain> not from a side-repo
19:46:55 <glx> but we kinda abuse the system ;)
19:48:04 <TrueBrain> also good odds that if we email them to not disable the workflows in that repo, they grant that request ;)
19:48:30 <FLHerne> just ignore the obviously-outdated parts :p
20:06:58 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
20:25:57 <glx> wow building is noisy (of course eints didn't cleanup removed lines yet)
20:26:37 <nielsm> it should be safe to put the info in the crashlog without any additional checking
20:26:52 <nielsm> none of the drivers construct the string dynamically on request, just return an already existing string
20:27:50 <TrueBrain> guess if _glGetString crashes it would crash the crashlog too :P But let's not consider that a likely issue :D
20:27:59 <nielsm> the opengl variations of the video drivers assemble the info string in the Start() call and store in a std::string
20:28:35 <nielsm> if glGetString(GL_VERSION) crashes the user would likely have more serious issues
20:44:45 <Venemo> FLHerne: so basically just 'openttd -D' --- how do I specify the port?
20:45:15 <glx> in the cfg, but there's also a command line ard IIRC
20:46:39 <FLHerne> Venemo: [network] server_port = 1234
20:46:54 <Venemo> where should this config file be?
20:47:23 <FLHerne> "-D [ip][:port] = Start dedicated server" <- and yes on command line if you want
20:49:24 <FLHerne> or `openttd -c /path/to/config/file.cfg`
20:49:30 <Venemo> if I connect to it with a client and change the settings, does the server process automatically create this file and will it remember the settings?
20:49:53 <FLHerne> just take your client file and put it on the server
20:50:07 <FLHerne> having set the settings you want
20:50:25 <Venemo> the wiki says I can change the settings from the client
20:51:09 <Venemo> also, will save games be located on the server?
20:51:10 <nielsm> yes if you use rcon console commands
20:51:31 <FLHerne> Venemo: Unless you mean the console commands, it doesn't, it's just confusingly-worded :p
20:51:32 <nielsm> if the server is configured to autosave, or you send rcon console commands to save the game
20:51:55 <Venemo> if I click save on the UI?
20:52:03 <nielsm> that saves the game on the client
20:52:37 <FLHerne> " Launch a single player game, change the settings, and close the game" means literally if you start an OpenTTD client using the relevant config file
20:52:54 <FLHerne> *OpenTTD local single-player game using
20:55:12 <FLHerne> anyway, the config file is independent of either client/server (although obviously some settings are irrelevant) or platform
20:59:48 <nielsm> saying it's "independent" might not be the right word, rather: a config file can be copied from client to server (or the other way) and be used to transfer settings that way
20:59:59 <NGC3982> this is my quarterly visit where i tell you guys that im proud of you and that you are very nice
21:01:04 *** virtualrandomnumber has joined #openttd
21:01:19 *** virtualrandomnumber has quit IRC ()
21:02:25 <glx> some settings values are system dependant (like newgrf paths or font paths)
21:44:03 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
21:46:28 *** sla_ro|master has quit IRC ()
21:48:37 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
21:51:56 *** Gustavo6046 has joined #openttd
21:58:36 *** WormnestAndroid has joined #openttd
21:58:39 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
21:59:02 *** WormnestAndroid has joined #openttd
22:01:00 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
22:01:25 *** WormnestAndroid has joined #openttd
22:01:54 <glx> based on my numbers it's a huge benefit
22:20:30 <nielsm> the ancient title game
22:20:44 <nielsm> but I'm changing the landscale VehicleEnterTile function to a new return type
22:21:23 <glx> so missing conversion somehow
22:21:43 <nielsm> yeah one place I had made it return "cannot enter" instead of "enter wormhole"
22:25:33 *** Wormnest has joined #openttd
22:27:12 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
22:28:47 <nielsm> next step, make the function take a const Vehicle * instead of a non-const...
22:30:11 <nielsm> I... may have some questionable ideas for that
22:30:21 <nielsm> possibly involving std::function
22:31:36 <nielsm> or otherwise split the function into two, "can enter tile?" and "do enter tile"
23:07:53 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:21:08 *** nielsm has quit IRC (Ping timeout: 480 seconds)
continue to next day ⏵