IRC logs for #openttd on OFTC at 2022-07-03
⏴ go to previous day
00:00:32 *** wallabra has quit IRC (Ping timeout: 480 seconds)
00:02:10 *** sla_ro|master has quit IRC ()
00:55:15 *** skrzyp has quit IRC (Remote host closed the connection)
01:13:50 *** gelignite has quit IRC (Ping timeout: 480 seconds)
01:53:30 *** wallabra has joined #openttd
02:12:29 *** Wormnest has quit IRC (Quit: Leaving)
02:23:35 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:51:16 *** wallabra_ has joined #openttd
02:56:05 *** wallabra has quit IRC (Ping timeout: 480 seconds)
02:59:47 *** HerzogDeXtEr has joined #openttd
04:47:33 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
05:50:40 *** jpw has quit IRC (Ping timeout: 480 seconds)
06:56:50 *** andythenorth has joined #openttd
07:32:54 *** HerzogDeXtEr has joined #openttd
07:54:32 *** sla_ro|master has joined #openttd
08:15:03 *** Smedles has joined #openttd
09:55:22 *** gelignite has joined #openttd
10:01:12 *** Speedy` has joined #openttd
12:02:35 *** andythenorth has quit IRC (Quit: andythenorth)
12:23:33 <Samu> i think i solved the problem of yesterday
12:34:03 <Samu> how do i debug this? it's so hugehttps://i.imgur.com/SNERRZb.png
12:35:42 <Samu> train can actually go from start to end, but i wonder if it took any "shortcut"
12:37:17 <Samu> how do i find out if there is no track spliting
12:39:49 <nielsm> write a GS that analyzes the map
12:48:36 *** andythenorth has joined #openttd
13:33:00 <Samu> weird, if i increase bridge lenghts, it bugs out
13:33:47 <Samu> maybe my priority queue is buggy?
13:38:48 *** WormnestAndroid has quit IRC (Remote host closed the connection)
13:54:57 *** andythenorth has quit IRC (Quit: andythenorth)
13:55:07 <Samu> very strange, i can't trigger it again
14:01:14 <Samu> what's the maximum number of items in an array?
14:02:57 *** andythenorth has joined #openttd
14:19:50 <Rubidium> Samu: essentially until your memory runs out
14:37:23 <Samu> how many entries can it have?
14:37:50 <Samu> my_stuff[999999999999999999999] is possible what is the limit for squirrel
14:39:06 <Samu> i can't reproduce the bug
14:39:14 <Samu> there's something wrong, somewhere
14:56:55 <Samu> ah, I think i know what the bug as
14:57:37 <Samu> it's testing building bridges without regard to map boundaries
14:58:30 <Samu> with the default max_bridge 64, it doesn't occur
14:58:49 <Samu> but now i am testing 4096 max bridge length
15:21:55 *** andythenorth has quit IRC (Quit: andythenorth)
15:30:02 *** D-HUND is now known as debdog
15:33:18 *** WormnestAndroid has joined #openttd
15:45:41 *** Wormnest has joined #openttd
15:59:57 *** gelignite has quit IRC (Read error: Connection reset by peer)
16:00:07 *** gelignite has joined #openttd
16:01:33 *** andythenorth has joined #openttd
16:35:15 *** Smedles has joined #openttd
17:04:14 <Samu> demolishing a rail bridge now gives an income? since when?
17:20:50 <Samu> complement |= 1 << 3; why doesnt this work?
18:01:23 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:15:42 <TrueBrain> Context is not important glx
18:31:42 *** Tirili has quit IRC (Quit: Leaving)
18:40:42 <Samu> complement += 1 << 3; works
18:49:11 <Rubidium> Samu: what should the value of complement be after the calculation when complement was 8?
18:57:46 <Samu> local complement = is_bridge ? 1 << 1 : 0 << 1;
18:58:12 <Samu> that's how often i make changes to complement
19:00:06 <Rubidium> + is fine if you are sure/guaranteed that the bit has not been set yet, although it is a somewhat confusing coding style
19:31:41 *** ChanServ sets mode: +v tokai
19:38:15 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
19:39:22 <Samu> anyway to simplify this code
20:26:18 *** gelignite has quit IRC (Quit: Stay safe!)
20:52:15 *** Montana has joined #openttd
21:39:09 *** Montana has quit IRC (Remote host closed the connection)
21:39:35 *** Montana has joined #openttd
21:56:26 *** Samu has quit IRC (Quit: Leaving)
21:57:52 *** andythenorth has quit IRC (Quit: andythenorth)
22:35:57 *** sla_ro|master has quit IRC ()
22:50:22 *** Smedles has joined #openttd
22:50:34 *** wallabra has joined #openttd
22:52:57 *** Wormnest has quit IRC (Quit: Leaving)
22:55:30 *** wallabra_ has quit IRC (Ping timeout: 480 seconds)
23:01:26 *** Montana has quit IRC (Quit: Leaving)
23:27:11 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
continue to next day ⏵