Config
Log for #openttd on 12th July 2022:
Times are UTC Toggle Colours
10:44:15  *** WormnestAndroid has quit IRC
10:44:19  *** WormnestAndroid has joined #openttd
11:34:11  *** Quibi has joined #openttd
11:34:40  *** Quibi has left #openttd
11:47:59  *** Tirili has joined #openttd
12:11:50  *** glx has joined #openttd
12:11:50  *** ChanServ sets mode: +v glx
12:55:34  *** Deep3D has joined #openttd
13:02:46  *** OsteHovel_ has quit IRC
13:22:15  *** ChoHag has joined #openttd
13:23:01  <ChoHag> Is it normal to build a bus service in a town and come back to it 10 minutes later to find around 2/3 of the town's population waiting at the bus stops? Or is it just me?
13:33:06  <peter1138> Yeah
13:42:43  *** gelignite has joined #openttd
13:52:21  <FLHerne> buses are fairly low capacity
13:52:31  <FLHerne> you'll need a lot of them
13:53:52  *** nielsm has joined #openttd
14:00:11  <Samu> what's "faster", and "less cpu intensive": AIList, or table
14:00:17  <Samu> how to measure
14:03:42  <Samu> gonna try https://docs.openttd.org/ai-api/classAIController.html#af878b5cd20739d7c1ce5702dc996cb3b
14:04:04  <nielsm> depends what you're doing exactly, but I'd guess that for data that you don't receive from OpenTTD using a table is faster
14:05:52  <Samu> it's the _closed list
14:06:20  <Samu> it stores tile as key with direction as value
14:06:55  *** sla_ro|master2 has quit IRC
14:07:43  <Samu> I'm currently looking for ways to make pf more efficient
14:11:22  <ChoHag> The more buses I build the more passengers I get.
14:12:10  <ChoHag> The people rate the bus stops so high they can't help themselves but to hang around in them.
14:12:20  <ChoHag> Admiring the scenery I guess.
14:21:26  <FLHerne> ChoHag: Do you have cargo distribution on?
14:21:51  <FLHerne> paying attention to the network layout can help in either case
14:22:06  <FLHerne> and make sure your buses don't have a ton of dead mileage to turn around
14:23:23  <ChoHag> I do. Symmetric IIRC for passengers.
14:40:56  <FLHerne> Are you looking at the capacity graph?
14:41:24  <FLHerne> whatever it's called
14:41:33  <FLHerne> Map -> Cargo Flow Legend
15:11:13  *** HerzogDeXtEr has joined #openttd
15:13:26  <ChoHag> Sorry, I'm not playing right now. I didn't pay it much attention. The bus routes are mainly to keep the local authorities sweet.
15:29:22  *** mikegrb has quit IRC
15:50:00  <Samu> how do I simplify this check ? https://gist.github.com/SamuXarick/3a52c9c057606dc7448e4a5637e2a5a0
16:13:51  *** Tirili has quit IRC
16:15:14  <nielsm> a table lookup, if you want the code to become shorter
16:15:34  <nielsm> whether that would be faster/consume fewer ops is another question
16:16:40  <nielsm> or some kind of bitmask check
16:24:00  <nielsm> okay bitmask check won't work I see, due to the design of the Slope enum
16:27:43  <andythenorth_> hmm
16:27:57  * andythenorth_ signal obsessions
16:28:11  <andythenorth_> there are new signal types in JGRPP, which I don't understand but look better
16:30:42  <andythenorth_> block is now like PBS somehow
16:30:56  <andythenorth_> and there's a fancy multi-aspect signal with some sort of advance reservation
16:32:07  *** Smedles has quit IRC
16:32:15  *** Smedles has joined #openttd
16:45:10  <Samu> omg, i found a last minute bug!
16:45:32  <Samu> reviving my hopes for dual rail pathfinding, for the last time
16:48:14  <Samu> a bug in check direction
16:48:36  <Samu> could really mean the reason why i was still seeing rail splitting/merging
16:55:07  <Samu> i'm really surprised this didn't happen before
20222022-

Powered by YARRSTE version: svn-trunk