IRC logs for #openttd on OFTC at 2024-10-23
⏴ go to previous day
01:31:04 *** Wormnest has quit IRC (Quit: Leaving)
02:47:29 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
02:58:58 *** debdog has quit IRC (Ping timeout: 480 seconds)
06:20:38 *** truebrain has joined #openttd
06:20:39 <truebrain> spam spam spam spam 😛
07:05:07 *** wensimehrp has joined #openttd
08:28:47 <peter1138> What if my enter key was not wobbly?
09:20:48 <peter1138> Hmm, splitting perhaps.
09:21:20 <peter1138> #13021 is quite big for something that was originally a single commit 😄
09:31:17 <xarick> I notice Rubidium never capitalises the first letter after Codechange/ Codefix, etc
09:32:03 <LordAro> some people add full stops on theirs too
09:32:07 <LordAro> i wouldn't worry about it
09:35:17 <peter1138> I know someone who would get irrationally wound up by people writing full sentences on IRC. So of course, I had to...
09:38:28 <peter1138> Okay, I've posted in cycling group, I might actually touch a bike this month.
09:54:53 <xarick> testing dumb stuff again
09:58:36 <kuhnovic> Going to bike 12 km after being sick for over a week. That's going to be fun.
10:00:36 <peter1138> Maybe I should check the bike is... well, still there.
10:16:56 *** Flygon has quit IRC (Read error: Connection reset by peer)
10:17:21 *** D-HUND is now known as debdog
10:30:34 <xarick> the one with ExitDir is == master
10:31:55 <xarick> savegame is 70000 ships no buoys
10:33:03 <kuhnovic> Looks like master is right in the sweet spot
10:33:49 <kuhnovic> And shorter lookahead leads to worse paths. Not so much on straight sections, but definitely when going diagonal.
10:37:39 <xarick> I was trying to achieve the accuracy of TrackDir with the latency of ExitDir...
10:38:38 <kuhnovic> There's no free lunch
10:49:36 <peter1138> Hmm, I had a patch to make ships prefer staying away from shores.
10:49:52 <peter1138> Wonder what I did with that.
10:53:38 <peter1138> What if you remove tracks from water?
10:54:00 <xarick> that's basically ExitDir
10:56:20 <peter1138> I mean allowing ships to use any part of a water tile.
11:03:38 <peter1138> Expand the problem from tiles to sub-tiles, that'll "help" 😉
11:19:01 *** keikoz has quit IRC (Ping timeout: 480 seconds)
11:19:36 <LordAro> peter1138: there's something about deeper water somewhere too
11:21:36 <kuhnovic> I considered abstracting water tiles to either "has water" or "has no water" when I was messing around with ideas for what ultimately became the new ship pathfinder. The problem is that not tiles can be entered from all directions, which makes the whole thing a lot more difficult.
11:22:54 <peter1138> Yeah, I was not really sure on that implementation of deeper water.
11:22:58 <kuhnovic> For example, this route would be possible if water tiles were just either water or not water.
11:31:09 <peter1138> I've been having ideas about restructuring the map, anyway...
11:31:22 <peter1138> Which is annoying, I've got plenty of other stuff to work on.
11:47:33 <andythenorth> flat SVG roadtype badges
11:48:09 <andythenorth> `I've got plenty of other stuff to work on.` please, where is your newsletter link, I would dearly like to subscribe
12:11:23 <LordAro> do you have a podcast
12:11:45 <andythenorth> you should start a blog
12:11:48 <andythenorth> put everything else down
12:17:40 <peter1138> Not Wordpress though, lol @ drama.
12:17:47 <peter1138> I assume there's a TrueBlog.
12:23:05 <andythenorth> runs the news pages
12:23:16 <andythenorth> although it's mostly just Jekyll iirc 🙂
13:21:31 <andythenorth> now you need to write a blog tool, so you can blog for me about not having too many things
13:21:39 <andythenorth> "something smells wrong"
13:40:32 *** Smedles_ has joined #openttd
13:43:40 *** Smedles has quit IRC (Ping timeout: 480 seconds)
13:57:53 <peter1138> Urgh, MTU issues suddenly.
14:03:00 <xarick> i think i made a mistake
14:04:13 <peter1138> Yeah, reducing the L2TP MTU helped.
14:05:02 <xarick> the 2nd 16x16 entry, the number of lookaheads is 1, not 2
14:05:21 <xarick> I didn't really test with a lookahead of 2
14:08:44 <xarick> the math wasn't adding up on the number of search nodes
14:09:03 <xarick> 16 * 16 * 12 * (2 + 1) = max search nodes
14:09:59 <xarick> i blame kuhnovic Lookahead "+ 1" attached to it
14:15:23 *** Smedles has joined #openttd
14:16:17 <peter1138> Conclusion: Don't change it.
14:22:25 *** Smedles_ has quit IRC (Ping timeout: 480 seconds)
14:27:40 *** talltyler has joined #openttd
14:27:40 <talltyler> kuhnovic: Canal tunnels when? 😛
14:28:24 <talltyler> (Yes, you have permanently established yourself as the Keeper of the Boats 😄 )
14:29:29 <peter1138> It's bad enough with people drawing overly long rail vehicles...
15:05:36 <kuhnovic> I'm a The Tim Traveler sub, loved that video!
15:05:57 <kuhnovic> Doesn't JGRPP support this?
15:16:35 *** karamidris has joined #openttd
15:16:35 <karamidris> Is citymania updated to latest version of openttd? I really love the QOL features but want things like wallclock and unbunching.
15:23:41 *** HerzogDeXtEr has joined #openttd
15:25:11 <peter1138> Last version is 13.4
16:06:34 <karamidris> peter1138: Ahh okay. Thanks for the reply
16:38:43 <xarick> "TileIndexDiffCByAxis"
16:40:16 <Rubidium> is there a case that would use it?
16:42:56 <LordAro> well you can add it then
16:44:33 <andythenorth> pff maybe there should be cargo label class grfs 😛
16:44:46 <andythenorth> so players can choose what classes go on which cargo
16:45:03 * andythenorth in rabbithole of testing grfs against grfs
16:51:35 <peter1138> Just let all vehicles carry all cargos.
16:52:32 <xarick> so, in master code it would be... `TileIndexDiff diff = TileOffsByAxis(OtherAxis(DiagDirToAxis(side)));` if Im not mistaken
16:53:12 <andythenorth> pff, I did think about an 'any vehicle' cargo class 😛
16:53:22 <andythenorth> but it won't be set on existing industry grfs 😛
16:53:40 <andythenorth> "cargo callback sir?
17:01:31 *** silent_tempest has joined #openttd
17:01:31 <silent_tempest> Is it review season yet? Lol
17:02:34 <silent_tempest> I remember some one saying in here that reviews over the summer are slow to non-existent (Which matches my experience.) but that they pick up towards the winter months.
17:09:19 <xarick> For master it is: `tile += TileOffsByAxis(axis);`
17:12:17 <xarick> hmm maybe I should make a PR?
17:12:35 <xarick> there's more similar changes around
17:16:04 <xarick> unless you're already taking care of it?
18:09:26 <truebrain> talltyler: not all that for that PR I hope? 😛 Be careful to not overask a first-time contributor (not saying you are, but just be on the lookout 🙂 )
18:11:38 <andythenorth> ok so I can do new cargoclass labels by publishing a little nml fragment with `const foo = bar`
18:11:46 <andythenorth> so no nml patch needed
18:11:52 <andythenorth> (if authors paste my fragment)
18:12:50 <talltyler> truebrain: I am not asking them to do that, no 🙂
18:13:00 <truebrain> Wasn't clear to me 😛
18:14:39 <andythenorth> ah some love in the channel 🙂
18:14:45 <andythenorth> better than me talking about cargo classes 🙂
18:15:07 <talltyler> I will start a Discussion where we can start to have the "how to remove cheat menu" arguments, without them being lost on Discord. I expect this will be a long process. 😄
18:15:52 <andythenorth> that nobody will read?
18:15:56 <talltyler> I plan to start the discussion and run away 😛
18:16:41 <andythenorth> can we inject js to a discussion?
18:16:48 <andythenorth> I am considering weighting some users 😛
18:17:07 <talltyler> Actually, can the PR author just remove the check without removing the `been_used` property? That's probably the easiest solution for now.
18:17:23 <andythenorth> maybe we could round trip some of them to an LLM, "sorry too long, the bot has summarised you"
18:25:13 *** gelignite has joined #openttd
18:35:30 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
19:10:58 <xarick> Rubidium, I noticed news are always using a TileIndexDiffC of (1, 1)
19:11:19 <xarick> make a constexpr for newspapers?
19:16:44 <_glx_> I still don't get why you'd want to do these changes, but your == overloads don't have the correct signature
19:18:03 <xarick> hmm how do I make it correctly
19:29:11 <xarick> @glx I can't make this work 😦
19:29:45 <andythenorth> testing suggests 302 is run time
19:30:46 <andythenorth> `const CC_FLATBED = CC_OVERSIZED;`
19:30:53 <andythenorth> ` nmlc ERROR: "generated/firs.nml", line 99: Syntax error, unexpected token "CC_FLATBED"`
19:40:55 <andythenorth> oh FIRS is stuck on that nml 309 branch 😛
19:41:04 <andythenorth> maybe it doesn't have const
19:41:23 <andythenorth> rebase wasn't clean, and I am tired 🙂
19:43:42 <xarick> bool T::operator==(const U& b) const; I can't do it
19:45:59 <xarick> `bool TileIndexDiffC::operator==(const TileIndexDiffC &other) const { /* whatever I write here doesn't work */ }`
19:46:20 *** locosage has joined #openttd
19:46:29 <locosage> it has some known issues but mostly playable
19:49:02 <_glx_> xarick: even `return this->x == other.x && this->y == other.y;` ?
19:50:02 <xarick> wow, why does it work now?
19:50:18 <Rubidium> or even easier replace the '{ ... }' with '= default;'?
19:50:43 <_jgr_> You can use `= default;` for trivial comparison implementations like this
19:51:14 <_jgr_> (I'm a bit too slow :P)
19:51:58 <xarick> wow, thx for the fix, i dont even need the other one
19:53:09 <xarick> does it do what I think it does?
19:53:11 *** gelignite has quit IRC (Quit: Stay safe!)
19:56:54 <xarick> I know i required two different versions of == for some reason
20:14:35 <andythenorth> hmm I can't delete my checkout of nml PR 309 locally
20:14:41 <andythenorth> git flat out refuses, with -d or -D
20:19:16 <andythenorth> ok seems `const` is now working at compile time 😛
20:19:27 <andythenorth> 'branch issues' 🙂
20:23:07 <xarick> where did I find the usage of ==...
20:23:23 <xarick> and why can't I find it now?
20:27:04 <xarick> okay one usage was in town_sl.cpp, but I know there was another
20:28:28 *** Wormnest has joined #openttd
20:43:14 <xarick> I can't find it... it's a mistery
20:47:33 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:17:58 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:27:29 <xarick> I made a conflict with a future pr
21:42:12 <andythenorth> I made a sleeping
21:47:08 <johnfranklin> And it was delicious!
21:52:04 *** tokai|noir has joined #openttd
21:52:05 *** ChanServ sets mode: +v tokai|noir
21:56:37 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:58:41 *** tokai has quit IRC (Ping timeout: 480 seconds)
22:28:05 <peter1138> > I built a 20,000 watt microwave oven!
22:28:09 <peter1138> Nothing could go wrong.
23:54:33 <ian01223> that's practically the power consumption of a 5G tower...
continue to next day ⏵