IRC logs for #openttd on OFTC at 2023-04-12
            
00:48:33 *** Flygon has quit IRC (Read error: Connection reset by peer)
01:16:38 *** Vadtec has quit IRC (Quit: Vadtec was here....)
01:16:45 *** Vadtec has joined #openttd
01:28:52 *** Wormnest has quit IRC (Quit: Leaving)
02:02:18 *** herms has quit IRC (Quit: bye)
02:03:06 *** herms has joined #openttd
02:50:25 *** D-HUND has joined #openttd
02:53:45 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:38:53 *** keikoz has joined #openttd
04:46:12 *** gnu_jj has quit IRC (Remote host closed the connection)
04:47:15 *** gnu_jj has joined #openttd
06:18:34 <andythenorth> o/
06:20:49 *** sla_ro|master has joined #openttd
06:44:44 <LordAro> moin
06:55:20 <TrueBrain> another day .. how unexpected
06:56:35 <andythenorth> it's a philosophy
07:09:29 <andythenorth> so...might be nice of grf could detect a specific gs being present
07:09:45 <andythenorth> FIRS grf ought to change behaviour if FIRS gs is in the game
07:28:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10640: Fix #10638: Incorrect water infrastructure total when building canal over object https://github.com/OpenTTD/OpenTTD/pull/10640#issuecomment-1504797978
07:30:21 <petern> Urgh
07:36:53 <andythenorth> I am on the wrong side of coffee
07:36:56 <andythenorth> it's on the outside of me
07:37:11 <petern> I have some
07:38:55 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095614009509687396/image.png
07:38:55 <andythenorth> 'bike factory' -> vehicles? πŸ˜›
07:45:59 <Kuhnovic> andythenorth: Technically not wrong πŸ˜›
07:51:12 <LordAro> wait, how did it get to be 8:50? i'm sure it was 8:00 a moment a go
07:51:17 * LordAro should get out of bed
08:03:13 <andythenorth> Easter holiday?
08:04:13 <Kuhnovic> Getting up at 8:00 is no holiday in my book
08:05:41 *** colde has quit IRC (synthon.oftc.net weber.oftc.net)
08:05:41 *** mindlesstux has quit IRC (synthon.oftc.net weber.oftc.net)
08:05:41 *** dale has quit IRC (synthon.oftc.net weber.oftc.net)
08:05:41 *** greeter has quit IRC (synthon.oftc.net weber.oftc.net)
08:06:41 *** greeter has joined #openttd
08:06:41 *** dale has joined #openttd
08:06:41 *** mindlesstux has joined #openttd
08:06:41 *** colde has joined #openttd
08:17:36 <petern> > 15 files changed, 334 deletions(-)
08:17:56 <petern> Has some noticable visual effects, oh well.
08:30:07 <LordAro> andythenorth: nope
08:48:11 <andythenorth> hmm 15% battery
09:01:53 *** D-HUND is now known as debdog
09:01:57 <LordAro> knee feeling better. not ready for my usual mid week ride, but better
09:05:17 <andythenorth> 4 Horse engines left to draw
09:12:36 <petern> Is there a standard for web-based query filters? There's OData but that's bulky and not very intuitive.
09:13:19 <petern> Hmm, GraphQL.
09:14:51 <petern> No that's more API-based
09:20:52 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095639664087535677/image.png
09:20:52 <andythenorth> train sprites needs to be better
09:20:58 <andythenorth> windows look all wrong
09:22:10 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095639994011496458/MM0112_1460066_Qty1_1.png
09:22:10 <andythenorth> is a this thing
10:03:46 <petern> Is it?
10:09:58 *** MarkoMarko has joined #openttd
10:09:58 <MarkoMarko> Can someone explain me how I can unpack the packet or command information that the server receives? I don't know much about it. I need this for logs. (If someone is griefing so I can see it).
10:09:58 <MarkoMarko> I used to use the network-command.cpp file, which had cp->p1, cp->p2, cp->tile. (I wrote down the command name, coordinates, company number).
10:09:58 <MarkoMarko> As far as I understand, this has now been replaced by cp->data. Maybe someone can advise me how to get this information or where to look for it.
10:12:38 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095652692161998928/image.png
10:12:38 <andythenorth> pleasing ugly train
10:16:46 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095653729681801216/image.png
10:16:46 <andythenorth> alternative sprite
10:17:42 <pickpacket> andythenorth: I like the second one more
10:17:54 <andythenorth> same, but it looks too powerful
10:18:32 <pickpacket> does it?
10:20:38 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095654707244060742/image.png
10:20:38 <andythenorth> further variant
10:21:48 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095654998681059379/image.png
10:23:58 <petern> How is it not midday yet?
10:24:03 <petern> I'm staaaaaaarving!
10:25:51 <andythenorth> same
10:25:59 <EmperorJake> I like it more, it looks less like the class 70
10:26:08 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095656091582476339/image.png
10:26:08 <andythenorth> this might be better
10:26:40 <andythenorth> the dogbone shape is more readable
10:31:19 <FLHerne> MarkoMarko: you should probably be using the adminport methods ADMIN_PACKET_SERVER_CMD_NAMES and ADMIN_PACKET_SERVER_CMD_LOGGING
10:31:36 <FLHerne> will save having to patch the source
10:31:56 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095657549694509116/image.png
10:31:56 <andythenorth> works
10:32:06 <andythenorth> I could improve the cab I think but eh
10:32:22 <FLHerne> or if you do need to add more info, please patch it there so that other server operators can use your work ;-)
10:33:06 <MarkoMarko> FLHerne: Thank you, I will try it.
10:35:52 <FLHerne> MarkoMarko: fwiw, the big rewrite of the command system was https://github.com/OpenTTD/OpenTTD/pull/9725
10:36:00 <andythenorth> is it early lunch?
10:36:49 <LordAro> andythenorth: no, denied
10:39:59 <MarkoMarko> FLHerne: Thank you. I will need to learn a lot of new information to understand it all.
10:40:01 <FLHerne> hm, I should put some soup on the stove so it's ready when it is lunch
10:41:18 <FLHerne> MarkoMarko: admin port docs https://wiki.openttd.org/en/Development/Server%20admin%20port https://github.com/OpenTTD/OpenTTD/blob/master/docs/admin_network.md
10:51:33 <MarkoMarko> FLHerne: Thank you. I already use a ready-made "script" that works through the admin port. It's time to figure it out. It will be useful for me.
10:51:40 <andythenorth> back to GS then?
10:51:48 <andythenorth> done some pixles
10:55:11 <Eddi|zuHause> GS don't have pixels
10:55:32 <andythenorth> exactly
10:55:49 <andythenorth> hmm, any reason we shouldn't extend this to read grf parameters? https://docs.openttd.org/gs-api/classGSNewGRF.html
10:56:14 <andythenorth> thought not πŸ˜›
11:04:14 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095665676674408508/image.png
11:04:14 <andythenorth> might be some things I don't understand about town growth
11:04:30 <andythenorth> Town is not growing, but growth rate is 77
11:05:21 <andythenorth> seems to be a city also
11:05:50 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095666082611732561/image.png
11:05:50 <andythenorth> other cities have correct growth rate
11:06:47 <petern> Oh, it middayed
11:08:33 <andythenorth> hmm maybe the story page is just out of date
11:09:12 <andythenorth> they only update once a month
11:09:14 <dP> MarkoMarko: As I said in #9725 there is no good way to inspect the command packet anymore.
11:09:14 <dP> I ended up just making an ugly script that parses openttd source files and generates a wrapper for my needs <https://github.com/citymania-org/cmclient/blob/master/gen_commands.py>. On C++ side of things probably the most important line to look at is this one: <https://github.com/OpenTTD/OpenTTD/blob/master/src/network/network_command.cpp#L538>
11:09:21 <andythenorth> and it takes GS up to a month to update 33 town story pages
11:09:39 <andythenorth> the story book is incredibly slow, probably because it's a command for each text element
11:10:10 <andythenorth> but very important the AI doesn't get an advantage over human players, so we *must* preserve this slowness πŸ™‚
11:10:45 <MarkoMarko> dP: Thank you. I will definitely look into it.
11:11:40 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095667550626512947/image.png
11:11:40 <andythenorth> maybe I can make this faster by using a single element
11:11:51 <andythenorth> and a giant GSText with many many parameters
11:12:00 <andythenorth> such optimisation
11:12:49 <andythenorth> updating that page currently requires 13 commands
11:13:23 <andythenorth> 429 commands for 33 towns, how many game days is that?
11:14:06 *** Deep3D has joined #openttd
11:27:20 <glx[d]> 429/74
11:28:40 <petern> Single widget, or somehow we allow batching.
11:28:53 <petern> (Either generic or specific to the story book)
11:29:57 <andythenorth> where is TB's gist
11:30:08 <andythenorth> found it https://gist.github.com/TrueBrain/ebeb53986081b506a46e51d1484bfc3a
11:31:07 *** Flygon has joined #openttd
11:37:19 <andythenorth> I'd be in Batch Mode all the time πŸ˜›
11:42:36 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #10641: Change: Make all dropdown lists extend width if necessary. https://github.com/OpenTTD/OpenTTD/pull/10641
11:43:53 <LordAro> <3
11:44:31 <petern> I will simplify #10635 to exclude the town name width.
11:46:38 <petern> The resize-based-on-selection stuff needs more extensive work to behave nicely. I have ideas but not implemented yet πŸ™‚
11:48:09 <petern> But #10641 fixes the "can't read the list" problem πŸ™‚
11:55:06 <andythenorth> goes it add a full layout grid? πŸ˜›
11:55:12 <andythenorth> oof no
11:55:20 <petern> To what for whom?
11:55:27 <petern> (Owl?)
11:55:45 <andythenorth> lol
11:55:57 <andythenorth> to the UI, for I don't know
11:56:17 <andythenorth> hmm we have the very helpful newgrf debugger, which can inspect values
11:56:31 <andythenorth> but GS I have been optimistically relying on story book
11:56:43 <andythenorth> but there are certain issues with that πŸ˜›
11:56:58 <andythenorth> I could really do with a way inspect towns, without patching the client to print values to stdout
11:57:12 <andythenorth> I have a town with a growth rate, but not a growth rate
11:57:17 <andythenorth> so now I'm wondering how that can be πŸ˜›
11:57:30 <petern> Oh, weather forecast has changed to heavy rain for tonight...
11:59:35 <dP> for debugging gs can just log whatever it needs to the console
11:59:53 <andythenorth> to console, to AI/GS debug?
12:00:00 <dP> yeah
12:00:04 <andythenorth> slow AF
12:00:05 <dP> GSLog or smth
12:00:08 <petern> If you could hook an actual debugger into it... that'd be cool πŸ˜‰
12:00:15 <andythenorth> GS runs days or weeks behind the game
12:00:20 <petern> Or implement it in the game.
12:00:39 <andythenorth> /me reading CmdTownGrowthRate currently
12:00:50 *** Deep3D has quit IRC (Remote host closed the connection)
12:00:51 <dP> btw, if you want town growth rate use cmclient, it shows that in ui
12:01:02 <petern> Well lunch was over pretty damn quick :/
12:01:36 <andythenorth> /me needs lunch
12:01:43 <andythenorth> waiting for my kids to finish making theirs
12:02:34 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095680357631795262/image.png
12:02:34 <andythenorth> JGRPP has this
12:02:47 <andythenorth> that's the thing I need
12:02:51 <andythenorth> in this specific case
12:03:14 <andythenorth> maybe I can pick it
12:03:41 <petern> Inspect for towns?
12:04:51 <andythenorth> yup
12:05:02 <petern> Do we list all variables or only those that are used?
12:05:10 <petern> (Potentially used)
12:05:11 <andythenorth> dunno πŸ™‚
12:06:08 <andythenorth> so many JGR patches πŸ˜„ https://github.com/JGRennison/OpenTTD-patches
12:06:36 <andythenorth> "Add setting to limit length of continuous inclined roads built by towns." yes please
12:09:48 <TallTyler> Why a setting? Pick a good default and use it, or make the town build a tunnel instead
12:09:52 <andythenorth> ok I need some of these https://github.com/JGRennison/OpenTTD-patches/commits/c14dcdadaf057a0a6c704baf35617288f9b3afb0/src/table/newgrf_debug_data.h
12:10:46 <andythenorth> https://tenor.com/view/fixing-programming-lightbulb-light-bulb-gif-14960625
12:10:51 *** osswix has joined #openttd
12:10:51 <osswix> ~~Imagine allowing towns to build roads ~~
12:11:02 <TallTyler> * is mostly frustrated by the frequency of Discord channel #openttd-help posts that are answered by β€œfind this setting and change it, the game is too configurable for its own good”
12:11:33 <andythenorth> spacebar heating though innit
12:12:05 <osswix> Configurable is good. And it's a good way to learn how to configure stuff.
12:12:27 <osswix> I think that openttd makes it super good by having a search bar.
12:14:26 <petern> But you're learning how to configure stuff that shouldn't need to be configured.
12:14:59 <osswix> Honestly; I don't think there is a shouldn't need to be configured in openttd.
12:15:12 <andythenorth> this is why the battle is lost
12:15:15 <andythenorth> spacebar heating
12:15:44 <osswix> Except for things where there is an obvious better choice; things that are an actual choice is very subjective to the player and play style.
12:17:32 <andythenorth> it's important to design your own pathfinder
12:17:33 <andythenorth> very
12:17:45 <andythenorth> ok so maybe I need this as the first pick? https://github.com/JGRennison/OpenTTD-patches/commit/8eeae134db2f4fb4ad90c816d37d1b797f710b34
12:18:01 <andythenorth> most of the rest seem to be here https://github.com/JGRennison/OpenTTD-patches/commits/c14dcdadaf057a0a6c704baf35617288f9b3afb0?before=c14dcdadaf057a0a6c704baf35617288f9b3afb0+70&branch=c14dcdadaf057a0a6c704baf35617288f9b3afb0&path%5B%5D=src&path%5B%5D=table&path%5B%5D=newgrf_debug_data.h&qualified_name=c14dcdadaf057a0a6c704baf35617288f9b3afb0
12:18:22 <andythenorth> oof I'll have to delete my story page button patch first πŸ˜›
12:18:33 <dP> TallTyler: idk about JGR but I just acknowledged that ship has long sailed :p
12:19:41 <dP> also openttd is a sandbox with no clear goal of playstyle so the more configurable it is the better
12:19:52 <JGR> In general I am much more fond of putting stuff in the debug windows than vanilla is
12:20:16 <JGR> It makes developing/debugging much easier
12:20:18 <petern> I just forgot they exist as I'm not a NewGRF developer πŸ™‚
12:20:43 <andythenorth> JGR: I think the fondness relates directly to 'how often playing the game' πŸ˜„
12:21:15 <JGR> It seems a shame to have a nice system of debug windows and then only use them for very uninteresting GRF variables
12:21:26 <andythenorth> dunno if these are straight picks, there are many JGRPP specific features?
12:21:26 <petern> I'm more like to pause the game in a debugger and view the elements directly.
12:22:18 <LordAro> if things never get backported, they're never going to get added to vanilla...
12:22:36 <JGR> andythenorth: Well yes, this is often how I develop new features
12:22:47 <LordAro> upstreamed*, perhaps
12:23:09 <petern> Well there's also this issue that people don't PR stuff because they think upstream isn't interested in it.
12:23:20 <petern> Most of the time upstream doesn't even know about it.
12:23:24 <LordAro> that too
12:23:35 <andythenorth> about 50% of it we wouldn't want
12:23:38 <andythenorth> but the other 50%....
12:25:24 * andythenorth fetches jgrpp as remote
12:25:32 <petern> Good luck πŸ˜„
12:25:59 <petern> (Doing that works fine but my git graphs were always chock full :))
12:27:41 <dP> I don't upstream most of my stuff because it's just 10x the work
12:27:56 <dP> half of it spent in annoying discussions
12:28:40 <andythenorth> oof conflicts with master https://github.com/JGRennison/OpenTTD-patches/commit/8eeae134db2f4fb4ad90c816d37d1b797f710b34
12:28:47 <andythenorth> failed at first fence πŸ˜›
12:29:06 <TallTyler> I have a whole bookmark folder of things to upstream
12:29:44 <TallTyler> Two diagonal railtypes per tile, etc
12:30:31 <dP> andythenorth: what does that window even show?
12:30:31 <JGR> andythenorth: It's not going to be a straightforward cherry pick, because there are various changes to how the whole debug window works
12:31:29 <andythenorth> ok, I seem to have a side-quest on my side-quest πŸ˜›
12:31:57 <andythenorth> to make FIRS do what I want, I have to make a GS, now I have to make debug tools to make the GS πŸ˜›
12:32:17 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095687836633677824/image.png
12:32:17 <andythenorth> dP
12:33:41 <andythenorth> or I just switch to JGRPP πŸ˜›
12:33:48 <dP> all of that is shown by cmclient
12:34:46 <dP> https://cdn.discordapp.com/attachments/1008473233844097104/1095688461912125460/Screenshot_from_2023-04-12_16-34-34.png
12:34:57 <dP> GR-growth rate, if it with * means set by gs
12:35:13 <dP> and town zones are shown on the map
12:35:17 <petern> Very useful I'm sure but as UIs go it's pretty obtuse.
12:35:34 <petern> "annoying discussions" indeed
12:35:34 <dP> yeah, ui is terrible
12:37:09 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095689063509532812/image.png
12:37:26 <andythenorth> so many macOS permissions needed for the unsigned binary
12:37:34 <andythenorth> can't be helped I guess
12:38:36 <andythenorth> will jgrpp build for me today?
12:38:39 <andythenorth> nope
12:41:26 <andythenorth> such libs issues, I blame Tim Cook
12:41:41 <pickpacket> I'd love to make a new HQ where the biggest version has a helipad that can actually take helicopter traffic. I guess I'd have to learn some GS stuff to pull that off
12:42:25 <pickpacket> So much I want to do with the game... so little time to do it
12:42:37 <andythenorth> you'd have to patch the game for that HQ
12:42:50 <pickpacket> not possible with GS?
12:42:55 <andythenorth> absolutely not πŸ™‚
12:43:01 <andythenorth> GS can do very little
12:43:06 <andythenorth> there was a patch a long time ago to add heliports to grf things
12:43:13 <andythenorth> but it never completed
12:43:17 <pickpacket> meh. Well, I can scratch that off my projects list
12:43:25 <andythenorth> to do: remove to do item
12:43:36 <petern> See how oilrigs do it πŸ™‚
12:43:52 <andythenorth> I have a grf somewhere where you can service a wind turbine with a helicopter
12:43:58 <pickpacket> petern: and patch the game?
12:44:05 <andythenorth> ancient yexo patch
12:44:23 <andythenorth> if jgrpp loads my save, it might finally be time to switch 😐
12:44:41 <andythenorth> nope, save isn't compatible
12:45:11 <LordAro> petern: "poorly"
12:45:15 <petern> Well probably not patch the game, you'll (and I would!) probably give up before trying that πŸ™‚
12:47:19 <pickpacket> petern: then what use would it be for me to look how oil rigs do it? :D :D :D
12:54:35 <JGR> andythenorth: I am a bit behind master
12:55:15 <LordAro> JGR: the more you upstream, the less work you need to do to update :p
12:55:46 <andythenorth> upstream is quite a grind πŸ˜›
12:56:08 <andythenorth> wait, what am I saying? πŸ™‚
12:56:12 <andythenorth> upstreaming is good
12:56:21 <andythenorth> /me wonders how superlib log levels work
12:56:31 <andythenorth> seems I can have "all the output" or "none"
12:56:37 <JGR> I am only 16 commits/3 days behind
12:56:41 <petern> . /ban andythenorth Discord channel #openttd-development
12:56:46 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095693998531821568/image.png
12:56:50 <JGR> Upstreaming is not going to make any difference at that level
12:56:55 <andythenorth> ^^ appears to be a bool πŸ˜›
12:57:24 <JGR> The save game version has been bumped in that time though
12:57:40 <LordAro> generally speaking
12:58:08 <JGR> I do try to upstream stuff which is obvious
12:59:24 <andythenorth> ha I nerfed the logging debug levels I think πŸ˜›
12:59:25 <andythenorth> lol
12:59:46 <petern> Don't make it configurable, just always output debug message πŸ˜‰
13:00:43 <andythenorth> I have hundreds
13:00:49 <andythenorth> and the scrollback is limited
13:01:07 <andythenorth> there is a nice breakpoint thing though
13:01:21 <petern> If we make it so that you can only log 1 message per tick, then it won't fill up so much
13:01:53 <andythenorth> it will be much more readable yes
13:01:55 <andythenorth> as it goes by
13:05:25 <andythenorth> ok how many town growth rates are there?
13:06:20 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1095696405827428402/image.png
13:06:32 <andythenorth> so town can have a growth rate, but not be growing it seems
13:06:46 <andythenorth> yeah no, that growth rate is 0xFF which is "none"
13:08:44 <glx[d]> Actually it's 0xFFFF
13:11:20 <andythenorth> thanks πŸ™‚
13:11:39 <andythenorth> /me looking what causes "TOWN_IS_GROWING" to be false
13:13:23 *** WormnestAndroid has quit IRC (Remote host closed the connection)
13:13:29 *** WormnestAndroid has joined #openttd
13:17:22 <andythenorth> ok I'm setting TOWN_GROWTH_NORMAL from GS, and the town's preconditions for growth aren't met
13:17:47 <andythenorth> and growth_rate > 0 is not the precondition πŸ˜›
13:18:46 <petern> Yeah, normal means the normal growth conditions.
13:33:05 *** HerzogDeXtEr has joined #openttd
13:34:12 <andythenorth> will be writing my own then πŸ˜›
13:36:37 <dP> andythenorth: you seem to be getting GROWTH_RATE_NONE though instead
13:37:20 <dP> do you have the right compat scripts for GS? I remember there being some issue with that
13:40:02 <dP> though I guess if you're writing it shouldn't matter if you have the right version requested
13:40:46 <petern> Mmm, original Civilization with GM music.
13:50:14 <andythenorth> dP: that was just because GS is slow to update the growth rate...I took the screenshot at game start where init sets it to NONE
13:55:10 *** gnu_jj_ has joined #openttd
13:57:00 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
14:03:06 *** gnu_jj_ has quit IRC (Read error: Connection reset by peer)
14:03:07 *** gnu_jj has joined #openttd
14:09:39 *** nielsm has joined #openttd
14:12:31 <dP> ah, ok
14:32:35 *** nielsm has quit IRC (Ping timeout: 480 seconds)
14:50:50 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #10639: Fix #10637: Incorrect water infrastructure total when building multi-tile object https://github.com/OpenTTD/OpenTTD/pull/10639
14:50:53 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 closed issue #10637: [Bug]: Building object larger than 1x1 on unowned canals updates water infrastructure total incorrectly https://github.com/OpenTTD/OpenTTD/issues/10637
14:55:25 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10640: Fix #10638: Incorrect water infrastructure total when building canal over object https://github.com/OpenTTD/OpenTTD/pull/10640#issuecomment-1505422425
15:02:41 <DorpsGek> [OpenTTD/OpenTTD] JGRennison commented on pull request #10640: Fix #10638: Incorrect water infrastructure total when building canal over object https://github.com/OpenTTD/OpenTTD/pull/10640#issuecomment-1505434610
15:24:32 <DorpsGek> [OpenTTD/OpenTTD] LaVenganzaArchivo commented on discussion #10577: OpenTTD Server running on Wireguard VPN https://github.com/OpenTTD/OpenTTD/discussions/10577
15:25:21 <DorpsGek> [OpenTTD/OpenTTD] Shituation commented on discussion #10577: OpenTTD Server running on Wireguard VPN https://github.com/OpenTTD/OpenTTD/discussions/10577
16:18:56 *** gelignite has joined #openttd
16:24:53 <andythenorth> why is the game so slow anyway? https://steamcommunity.com/app/1536610/discussions/0/3764481749068501534/
16:32:24 <LordAro> there does seem to be an issue with the vsync stuff *somewhere*
16:32:30 <LordAro> but thus far no one has been able to work out what
16:34:36 <petern> Not normally down to 12fps though.
16:35:05 <LordAro> that does seem a bit low
16:35:20 <LordAro> maybe their monitor is set to output at 12Hz
16:35:22 <LordAro> who can say
16:54:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10635: Fix: Inconsistent dropdown button width padding. https://github.com/OpenTTD/OpenTTD/pull/10635
16:56:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10635: Fix: Inconsistent dropdown button width padding. https://github.com/OpenTTD/OpenTTD/pull/10635#issuecomment-1505612355
17:12:15 <milek7_> maybe bad opengl drivers issue?
17:12:36 <andythenorth> imagine if we had telemetry
17:16:32 <petern> God damn it, it was pissing down so I posted a message about probably cancelling tonight's ride... and it's stopped now :p
17:19:47 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #10635: Fix: Inconsistent dropdown button width padding. https://github.com/OpenTTD/OpenTTD/pull/10635#pullrequestreview-1381766892
17:21:34 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10631: Codechange: Use std:: features for NewGRF town names. https://github.com/OpenTTD/OpenTTD/pull/10631
17:22:09 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10631: Codechange: Use std:: features for NewGRF town names. https://github.com/OpenTTD/OpenTTD/pull/10631#pullrequestreview-1381770360
17:22:32 *** Wormnest has joined #openttd
17:25:07 *** tokai has joined #openttd
17:25:07 *** ChanServ sets mode: +v tokai
17:26:12 <milek7_> adding d3d11 backend might solve some of those crappy opengl driver issues
17:28:41 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #10631: Codechange: Use std:: features for NewGRF town names. https://github.com/OpenTTD/OpenTTD/pull/10631#pullrequestreview-1381785786
17:31:50 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
17:35:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10631: Codechange: Use std:: features for NewGRF town names. https://github.com/OpenTTD/OpenTTD/pull/10631
17:36:36 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505672092
17:36:39 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 closed pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532
17:37:36 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10631: Codechange: Use std:: features for NewGRF town names. https://github.com/OpenTTD/OpenTTD/pull/10631#pullrequestreview-1381803694
17:38:46 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505676584
17:43:20 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10635: Fix: Inconsistent dropdown button width padding. https://github.com/OpenTTD/OpenTTD/pull/10635
17:53:15 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10636: Add support for unit tests, and a few unit tests https://github.com/OpenTTD/OpenTTD/pull/10636#pullrequestreview-1381828452
17:57:43 *** nielsm has joined #openttd
18:03:53 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505709427
18:05:31 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10636: Add support for unit tests, and a few unit tests https://github.com/OpenTTD/OpenTTD/pull/10636#pullrequestreview-1381847081
18:09:02 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10641: Change: Make all dropdown lists extend width if necessary. https://github.com/OpenTTD/OpenTTD/pull/10641#pullrequestreview-1381835357
18:12:05 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10610: Change: Use seconds for Linkgraph update settings https://github.com/OpenTTD/OpenTTD/pull/10610#issuecomment-1505719539
18:18:46 <dP> but if AIs don't see signs of deity they may lose faith πŸ˜…
18:19:30 <frosch> why is there so much fakenews here?
18:21:15 <petern> > BuildReplacementVehicle(old_vehs[i], (Vehicle**)&new_vehs[i], true);
18:21:22 <petern> That cast is pretty ugly πŸ˜„
18:21:35 <petern> > BuildReplacementVehicle(old_vehs[i], reinterpret_cast<Vehicle**>(&new_vehs[i]), true);
18:21:37 <petern> But that isn't much better.
18:21:59 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #10642: Expose more script APIs to GS https://github.com/OpenTTD/OpenTTD/pull/10642
18:22:44 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505732881
18:24:02 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #10642: Expose more script APIs to GS https://github.com/OpenTTD/OpenTTD/pull/10642
18:33:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505745883
18:35:03 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505747064
18:36:32 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #10643: Fix #10630: Don't allow shifting service date earlier than 0 https://github.com/OpenTTD/OpenTTD/pull/10643
18:37:36 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #10630: [Bug]: Using the date cheat can create vehicles with negative last service dates. https://github.com/OpenTTD/OpenTTD/issues/10630
18:38:45 <frosch> meh, english is so inprecise, or my understanding is so poor. I never understood the issue with 10532 πŸ™‚
18:38:59 <frosch> looking at the code is easier
18:42:24 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/a0d8545f6c534fe22807212e21d1508e559d6768
18:42:25 <DorpsGek> - Update: Translations from eints (by translators)
18:45:21 <DorpsGek> [OpenTTD/OpenTTD] michicc approved pull request #10643: Fix #10630: Don't allow shifting service date earlier than 0 https://github.com/OpenTTD/OpenTTD/pull/10643#pullrequestreview-1381909402
18:47:01 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
18:48:18 *** Wolf01 has joined #openttd
18:50:26 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #10532: Fix: deity should see all signs, AIs should not see signs of deity https://github.com/OpenTTD/OpenTTD/pull/10532#issuecomment-1505765660
18:51:48 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
18:52:04 *** WormnestAndroid has joined #openttd
18:52:43 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #10643: Fix #10630: Don't allow shifting service date earlier than 0 https://github.com/OpenTTD/OpenTTD/pull/10643
18:52:46 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #10630: [Bug]: Using the date cheat can create vehicles with negative last service dates. https://github.com/OpenTTD/OpenTTD/issues/10630
18:52:52 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #10644: Fix: Extra viewport cannot be scrolled with right-click-close. https://github.com/OpenTTD/OpenTTD/pull/10644
18:55:02 <petern> First, we take Manhattan (distance), then we take Berlin
18:58:50 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #10644: Fix: Extra viewport cannot be scrolled with right-click-close. https://github.com/OpenTTD/OpenTTD/pull/10644#pullrequestreview-1381928355
18:59:14 <michi_cc[d]> So much bot chatter today πŸ™‚
19:00:08 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
19:00:26 *** WormnestAndroid has joined #openttd
19:06:03 <TrueBrain> Lol @ 10644, that is a funny bug
19:14:53 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10644: Fix: Extra viewport cannot be scrolled with right-click-close. https://github.com/OpenTTD/OpenTTD/pull/10644
19:22:17 *** Wormnest has joined #openttd
19:47:06 *** NGC3982_ has joined #openttd
19:48:51 *** NGC3982 has quit IRC (Ping timeout: 480 seconds)
19:51:08 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
19:51:32 *** WormnestAndroid has joined #openttd
20:03:49 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
20:04:16 *** WormnestAndroid has joined #openttd
20:18:33 <dP> with how many weird mouse options openttd has 10644 is probably not the only one issue
20:26:19 <petern> Right click is very rarely used.
20:26:20 <frosch> yes, my ctrl+right click in train depot is broken with right-click close. but apparantly noone used/knew it except me :p
20:27:04 <frosch> who would expect ctrl for a tooltip :p
20:27:28 <petern> Probably just needs to return true even if it doesn't handle the right-click then
20:27:49 <petern> return _ctrl_pressed πŸ™‚
20:28:54 <dP> there is also `gui.right_mouse_btn_emulation` on macs
20:29:10 <andythenorth> mac users have right click since forever
20:29:12 <andythenorth> silly people
20:30:05 *** sla_ro|master has quit IRC ()
20:30:12 * andythenorth uses cmd-click for map scroll though
20:30:13 <petern> Probably won't run on a mac that only has a single button?
20:30:42 <andythenorth> oh I see, it's special custom right-click emulation
20:30:50 <andythenorth> not the OS supplied ctrl+mouse
20:31:04 <andythenorth> I guess the OS doesn't pass the event to the game
20:35:09 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10347: Fix #10343: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/pull/10347
20:36:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10347: Fix #10343: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/pull/10347#issuecomment-1505900397
20:37:03 <petern> Hmm, although that issue is probably moot at the moment
20:39:05 *** gelignite has quit IRC (Quit: Stay safe!)
20:45:15 *** bryjen has joined #openttd
20:45:22 <petern> <https://www.tt-forums.net/viewtopic.php?t=90717> Heh, he opened a forum poll in "protest"
20:46:00 <andythenorth> such don't care πŸ™‚
20:46:09 <petern> ofcn
20:46:18 <petern> I only find it amusing
20:49:57 <Rubidium_> I wonder how a date format is a (measurement) unit, but I guess that's some new thing I'm not aware of yet
20:50:16 <petern> Measuring time...
20:50:50 <Rubidium_> though... TallTyler can put a lot of his calendar stuff under units, after all what's the unit? seconds, minutes, days? :)
20:53:03 *** keikoz has quit IRC (Ping timeout: 480 seconds)
20:54:32 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10347: Fix #10343: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/pull/10347#pullrequestreview-1382103872
20:58:03 <TrueBrain> petern: If this is the dilemma we are facing in 2023, it will be a good year πŸ˜„
20:58:11 <TrueBrain> Tnx for linking it πŸ™‚
20:58:39 <petern> Context of the 'protest' part is the issue which was closed, the day before πŸ™‚ <https://github.com/OpenTTD/OpenTTD/issues/10595>
20:58:50 <TrueBrain> "I want a red bikeshed" "no, it should be blue!"
20:59:07 <TrueBrain> Such first world problems to have πŸ™‚
20:59:41 <TrueBrain> I guess: quick, while they are distracted, merge all the controversial things!
20:59:54 <petern> Pathfinder settings?
21:00:05 <TrueBrain> Good start!
21:00:27 <TrueBrain> Mandatory telemetry?
21:01:42 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10347: Fix #10343: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/pull/10347
21:02:09 <andythenorth> town debug info? πŸ˜›
21:02:12 <petern> TrueBrain: complete with user profile?
21:02:30 <petern> andythenorth: Have you cherry-picked it?
21:02:38 <andythenorth> I failed at that
21:02:44 <andythenorth> poor human skills
21:02:53 <andythenorth> I didn't ask GPT yet
21:02:58 <andythenorth> git-gpt exists yet?
21:03:43 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #10347: Fix #10343: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/pull/10347#pullrequestreview-1382116073
21:08:36 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:11:10 <LordAro> moce units under interface. done.
21:11:21 <LordAro> move*
21:11:34 <LordAro> where units is a subcategory
21:12:24 <petern> And hope translators know the difference between a measurement unit, and unit number unit.
21:15:08 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
21:15:34 *** WormnestAndroid has joined #openttd
21:21:40 <petern> Oh I forgot to go out to the pub.
21:30:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10347: Fix #10343: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/pull/10347
21:30:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #10343: [Bug]: Towns attempt and fail to extend disallowed roadtypes https://github.com/OpenTTD/OpenTTD/issues/10343
21:30:24 <petern> Huh?
21:30:37 <petern> That... merged even though checks are still running. What?
21:35:14 *** gnu_jj has quit IRC (Remote host closed the connection)
21:36:17 *** gnu_jj has joined #openttd
21:39:44 <glx[d]> because not all checks are required
21:41:03 <glx[d]> or maybe the last mingw is not reporting properly
21:50:52 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:58:06 <andythenorth> hmm, I don't really want to read OpenTTD settings directly in GS, might break between versions
21:58:33 <andythenorth> I want to respect the player's town growth speed setting somehow, but control growth triggers from GS
22:00:20 * andythenorth looks for `CountActiveStations`
22:00:56 <andythenorth> looks like I want to insert a GS hook here?
22:00:56 <andythenorth> ` if (t->fund_buildings_months == 0 && CountActiveStations(t) == 0 && !Chance16(1, 12)) return;`
22:01:31 <andythenorth> town_cmd.cpp L3524
22:02:05 <andythenorth> hmm might be a better way
22:02:37 <andythenorth> seems if I can set `TOWN_IS_GROWING` flag, that should work
22:02:47 <dP> simple cb does just that, it reads game settings and then replicates the whole growth rate calculation
22:02:49 <andythenorth> looks like L3518 conditional might do that
22:03:39 <dP> citymania server also does similar stuff but in c++
22:28:49 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
23:03:30 <petern> > 641 files changed, 6725 insertions(+), 6792 deletions(-)
23:03:32 <petern> Perfect
23:19:21 *** bryjen has quit IRC (Quit: Leaving)
23:40:04 <DorpsGek> [OpenTTD/OpenTTD] LC-Zorg commented on pull request #10596: Change: Increase max cargo age and let min cargo payment approach zero. https://github.com/OpenTTD/OpenTTD/pull/10596#issuecomment-1506101331
23:55:41 <DorpsGek> [OpenTTD/OpenTTD] LC-Zorg commented on pull request #10609: Change: Use seconds for AI start delay https://github.com/OpenTTD/OpenTTD/pull/10609#issuecomment-1506112282