Back to Home / #openttd / 2021 / 06 / Prev Day | Next Day
#openttd IRC Logs for 2021-06-24

---Logopened Thu Jun 24 00:00:41 2021
00:15-!-tokai [] has joined #openttd
00:15-!-tokai is "Christian Rosentreter" on #openttd
00:15-!-mode/#openttd [+v tokai] by ChanServ
00:21-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
01:30-!-Flygon [~Flygon@2001:44b8:411e:4e00:bcf7:cbd0:bd33:ae40] has joined #openttd
01:30-!-Flygon is "Flygon" on #openttd
01:37-!-nielsm [] has joined #openttd
01:37-!-nielsm is "Niels Martin Hansen" on #openttd
02:02-!-sla_ro|master [slamaster@] has joined #openttd
02:02-!-sla_ro|master is "slamaster" on @#sla #openttd
02:05-!-nielsm [] has quit [Ping timeout: 480 seconds]
02:30-!-snail_UES_ [] has quit [Quit: snail_UES_]
03:05-!-tokai|noir [] has joined #openttd
03:05-!-tokai|noir is "Christian Rosentreter" on #openttd
03:05-!-mode/#openttd [+v tokai|noir] by ChanServ
03:12-!-tokai [] has quit [Ping timeout: 480 seconds]
03:42-!-Speedy` [] has joined #openttd
03:42-!-Speedy` is "Speedy's my name." on #openttd #sd
03:45-!-HerzogDeXtEr [~farci@] has joined #openttd
03:45-!-HerzogDeXtEr is "purple" on #openttd
04:13-!-iSoSyS [] has joined #openttd
04:13-!-iSoSyS is "realname" on #/r/openttd #openttd
04:34-!-iSoSyS [] has quit []
05:21-!-WormnestAndroid [] has quit [Remote host closed the connection]
05:22-!-WormnestAndroid [] has joined #openttd
05:22-!-WormnestAndroid is "WormnestAndroid" on #openttd
05:52-!-Samu [] has joined #openttd
05:52-!-Samu is "realname" on #openttd
06:32<Samu>wow, radeon drivers failed to installl
06:38-!-D-HUND is now known as debdog
06:42-!-Samu_ [] has joined #openttd
06:42-!-Samu_ is "realname" on #openttd
06:43<Samu_>ok, they installed now
06:43<Samu_>after a black screen
06:43<Samu_>got me scared for a while
06:43-!-Samu [] has quit [Ping timeout: 480 seconds]
06:44-!-Samu_ [] has quit []
06:45-!-Samu [] has joined #openttd
06:45-!-Samu is "realname" on #openttd
07:24-!-tokai [] has joined #openttd
07:24-!-tokai is "Christian Rosentreter" on #openttd
07:24-!-mode/#openttd [+v tokai] by ChanServ
07:29-!-Wuzzy [] has joined #openttd
07:29-!-Wuzzy is "Wuzzy" on #openttd
07:31-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
08:15-!-glx [] has joined #openttd
08:15-!-glx is "Loïc GUILLOUX" on #openttd.noai #openttd.notice #openttd
08:15-!-mode/#openttd [+v glx] by ChanServ
09:05<@DorpsGek>[OpenTTD/OpenTTD] glx22 opened pull request #9397: Feature: Persistant rotation of numbered autosave after restart
09:13-!-tokai|noir [] has joined #openttd
09:13-!-tokai|noir is "Christian Rosentreter" on #openttd
09:13-!-mode/#openttd [+v tokai|noir] by ChanServ
09:20-!-tokai [] has quit [Ping timeout: 480 seconds]
09:20-!-snail_UES_ [] has joined #openttd
09:20-!-snail_UES_ is "Jacopo Coletto" on #openttd
09:25-!-andythenorth [] has joined #openttd
09:25-!-andythenorth is "andythenorth" on #openttd
09:47-!-nielsm [] has joined #openttd
09:47-!-nielsm is "Niels Martin Hansen" on #openttd
10:23-!-andythenorth [] has quit [Quit: andythenorth]
10:28-!-tokai [] has joined #openttd
10:28-!-tokai is "Christian Rosentreter" on #openttd
10:28-!-mode/#openttd [+v tokai] by ChanServ
10:31-!-andythenorth [] has joined #openttd
10:31-!-andythenorth is "andythenorth" on #openttd
10:35-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
10:42-!-jottyfan [] has joined #openttd
10:42-!-jottyfan is "jottyfan" on #openttd
11:01<Samu>funny, i just discovered squirrel doesn't require "," to separate arguments
11:01<Samu>a space is enough
11:04<Samu>(tile, cargoType, 1, 1 radius); it works, even though I intended (tile, cargoType, 1, 1, radius);
11:10-!-sla_ro|master [slamaster@] has quit []
11:10<LordAro>there's nothing that's actually ambiguous, that i can think of
11:11<LordAro>string literals are a bit clearer, i suppose
11:11<LordAro>"string with spaces in" "another string"
11:11<LordAro>difficult to see at a glance which parameter is which
11:12<+glx>I think it's unintended, but the squirrel doc is so unclear :)
11:19<+glx>code seems to expect ','
11:19<+glx>I think your code compiles, but doesn't do what you expect
11:20<LordAro>that's also possible :)
11:22<+glx>and maybe it just fails at runtime
11:23<Samu>no, doesn't seem to fail
11:23<+glx>as I understand it, it's 4 args instead of 5
11:25<Samu>i didn't verify as of recently, but i think it's doing what I expect
11:25<Samu>the function takes 5
11:28<Samu>anyway, I added a comma for my next version, just in case
11:35-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
11:35-!-Gustavo6046 [~Gustavo60@] has joined #openttd
11:35-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
12:03<andythenorth>accessing town var 0x41 from nml?
12:03<andythenorth>it's a word
12:03<andythenorth>var[0x41, 0, 0xFFFF] ?
12:03<andythenorth>or var[0x41, 0, 0xFFFFFFFF]
12:03<andythenorth>or do I need to shift left?
12:03*andythenorth has NFI
12:04-!-Progman [] has joined #openttd
12:04-!-Progman is "Peter Henschel" on #openttd
12:16<TrueBrain>I hope yuo don't expect us to know :(
12:16<TrueBrain>sorry ;P
12:18<TrueBrain>wauw, the amount of typos in those 2 lines .. incredible
12:18<TrueBrain>well done TrueBrain, well done
12:19<andythenorth>GG WP
12:19<andythenorth>you kind of should know :P
12:20<andythenorth>it's basic nfo
12:20<andythenorth>maybe we could learn together
12:20<TrueBrain>no, it is NML :P
12:20<andythenorth>it's a var, a shift, a mask
12:20<andythenorth>I have learnt and forgotten about 15 times
12:20<TrueBrain>for these things I tend to look in existing code when doing a project :D
12:21<andythenorth>this is what I did
12:21<andythenorth>I used it multiple places before
12:21<andythenorth>but for differently sized vars
12:21<andythenorth>also sometimes there are surprises
12:21<+glx>ok, indeed squirrel seems to not enforce ',' in args, that's weird
12:21<andythenorth>when vars have complicated packing of multiple values into a dword etc
12:21<andythenorth>lol grf etc
12:21<andythenorth>the whole idea that vars are incredibly expensive
12:22<andythenorth>so we must pack lots of complexity into them
12:22<TrueBrain>I instead am going to breed bees in Minecraft, k? :)
12:22<TrueBrain>andythenorth: TTDp lurking in the back there :D
12:22<andythenorth>no shit :)
12:22<andythenorth>I have picked up some actual grf for the first time in a week, and this scares you off :P
12:22<andythenorth>I broke my brain too much recently for grf, needed a week of doing literal nothing
12:23*andythenorth checks the sitrep
12:23<andythenorth>frosch is still the only one who dares add anything to grf spec yes/no?
12:24*andythenorth wants a 'town has been founded' cb for industry to handle, returning [nothing], it's just for setting up town registers with values
12:24<andythenorth>I suspect it's two lines of code in OpenTTD
12:25<andythenorth>looks like this andythenorth contrib. added a similar callback once before
12:25<andythenorth>maybe they know how to do it?
12:25<andythenorth>anyone know if they're active?
12:26<andythenorth>problem is there's no entity in the grf to make a general callback to
12:27<andythenorth>not so simple eh?
12:28<andythenorth>TrueBrain do your bees live here?
12:32-!-jottyfan [] has quit [Quit: jottyfan]
12:33<andythenorth>hmm STORE_PERM during location checks eh
12:54<+glx>haha <-- regression script also skip some ','
12:55<+glx>I really think it's a squirrel bug to allow that
12:55*andythenorth forgot how scopes work
12:55<andythenorth>silly me
13:00-!-gelignite [] has joined #openttd
13:00-!-gelignite is "gelignite" on #debian #llvm #openttd
13:07<@DorpsGek>[OpenTTD/nml] andythenorth opened pull request #223: Add: town var 0x41 'town_index'
13:07<andythenorth>glx any chance? :)
13:41<@DorpsGek>[OpenTTD/OpenTTD] glx22 opened pull request #9398: Fix: [Squirrel] Enforce comma usage in function calls
13:42<Samu>wow glx :(
13:43<Samu>that's probably gonna trigger the old AIs
13:43<Samu>that currenly work, to stop working
13:43<+glx>yeah it's the main issue
13:44<Samu>unmaintaned working old AIs
13:45<+glx>I think missing ',' are an exception, but who knows
13:46<+glx>even regression AI was a victim :)
13:47<+glx>but I blame squirrel for allowing it
13:48-!-andythenorth_ [] has joined #openttd
13:48-!-andythenorth_ is "andythenorth" on #openttd
13:55-!-andythenorth [] has quit [Ping timeout: 481 seconds]
13:58-!-Wolf01 [] has joined #openttd
13:58-!-Wolf01 is "Wolf01" on #openttd
13:58-!-andythenorth_ [] has quit [Quit: andythenorth_]
13:59<Wolf01>Did I scare him?
13:59-!-andythenorth [] has joined #openttd
13:59-!-andythenorth is "andythenorth" on #openttd
13:59<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain commented on pull request #9398: Fix: [Squirrel] Enforce comma usage in function calls
14:00<LordAro>scared macOS's network stack, more like
14:01<@DorpsGek>[OpenTTD/OpenTTD] LordAro commented on pull request #9398: Fix: [Squirrel] Enforce comma usage in function calls
14:02<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain commented on pull request #9398: Fix: [Squirrel] Enforce comma usage in function calls
14:04-!-Flygon [~Flygon@2001:44b8:411e:4e00:bcf7:cbd0:bd33:ae40] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
14:11-!-andythenorth [] has quit [Quit: andythenorth]
14:15-!-andythenorth [] has joined #openttd
14:15-!-andythenorth is "andythenorth" on #openttd
14:15-!-andythenorth [] has quit []
14:17-!-andythenorth [] has joined #openttd
14:17-!-andythenorth is "andythenorth" on #openttd
14:17-!-sla_ro|master [slamaster@] has joined #openttd
14:17-!-sla_ro|master is "slamaster" on @#sla #openttd
14:29-!-andythenorth [] has quit [Quit: andythenorth]
14:38-!-tokai|noir [] has joined #openttd
14:38-!-tokai|noir is "Christian Rosentreter" on #openttd
14:38-!-mode/#openttd [+v tokai|noir] by ChanServ
14:45-!-tokai [] has quit [Ping timeout: 480 seconds]
14:56-!-andythenorth [] has joined #openttd
14:56-!-andythenorth is "andythenorth" on #openttd
14:59*andythenorth bounces up and down like a bouncy thing
14:59<andythenorth>anyone can approve?
15:05-!-Eddi|zuHause2 is now known as Eddi|zuHause
15:12-!-Wormnest [] has joined #openttd
15:12-!-Wormnest is "Wormnest" on #openttd
15:16<@peter1138>I have warm goats cheese so no, I can't.
15:20-!-andythenorth [] has quit [Quit: andythenorth]
15:21-!-andythenorth [] has joined #openttd
15:21-!-andythenorth is "andythenorth" on #openttd
15:22<andythenorth>I had halloumi
15:22<andythenorth>went ok
15:25<andythenorth>no chips though
15:30*andythenorth has forgotten how modulo works
15:31<andythenorth>seems that x % 0 and x % 1 might be unwise choices
15:31<@peter1138>You want to know how it works, or what the result is?
15:31<@peter1138>When you divide by 1, what's the remainder?
15:31<@peter1138>When you divide by 0... well...
15:32<andythenorth>debates about infinity
15:32<andythenorth>I want 3 town 'types', based on the town index
15:32<andythenorth>town_index % n would seem to be the thing
15:32<andythenorth>but I think I need to do more
15:33<andythenorth>town_index % 3, the result will be 0, 1, or 2
15:34<andythenorth>assuming integers
15:35<@peter1138>is a town index ever non-integer?
15:37<andythenorth>hope not
15:37<andythenorth>overlapping towns?
15:39<andythenorth>this kinda works surprisingly well
15:39<andythenorth>mining towns get mines and quarries
15:39<andythenorth>farming towns get.... farms
15:43<andythenorth>doesn't change the look of the map very much though
15:45-!-tokai [] has joined #openttd
15:45-!-tokai is "Christian Rosentreter" on #openttd
15:45-!-mode/#openttd [+v tokai] by ChanServ
15:52<@peter1138>NewGRF rocks
15:52<andythenorth>PBI quarries
15:52-!-tokai|noir [] has quit [Ping timeout: 481 seconds]
15:52-!-Beer [] has joined #openttd
15:52-!-Beer is "realname" on #openttd
15:55<andythenorth>goes it a newgrf var for number of towns?
15:55<andythenorth>looked like a pool, I couldn't figure out how to get the size of the pool
15:56<andythenorth>read the index of the last item in the pool? :P
16:09<@Rubidium>andythenorth: GetNumItems?
16:09<@peter1138>More desyncable vars ;)
16:10<@Rubidium>e.g. Town::GetNumItems
16:11<andythenorth>desyncs are so mysterious
16:11<@Rubidium>yeah, that would potentially be desyncable
16:12<andythenorth>I don't want to ask why right?
16:12<andythenorth>or rather...nobody will enjoy explaining? :P
16:14<@Rubidium>the number of towns can change without notifying industries or houses that the number of towns changed, so their caches do not get reset
16:15<andythenorth>caching I understand :)
16:16-!-orudge [] has joined #openttd
16:16-!-orudge is "orudge" on #thesinner #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttd
16:16-!-mode/#openttd [+o orudge] by ChanServ
16:18<andythenorth>I am limiting industries to something like mod(6) of the town index
16:18<andythenorth>so maps with less than 6 towns trouble :)
16:18*andythenorth is going to ignore that for now
16:20<TrueBrain>I will prepare a tt-forums reply indicate that it is absurd a NewGRF doesn't work on my 1 town map of 4kx4k
16:20<TrueBrain>I am joking of course; you can't make all settings on the spectrum playable :)
16:20-!-orudge` [] has quit [Ping timeout: 480 seconds]
16:21<andythenorth>I only read forums very selectively now
16:21<andythenorth>I read the Unsinkable Sam thread (nobody replies)
16:21<TrueBrain>you are such a smart cookie :)
16:21<andythenorth>and a post Erato wrote
16:22<andythenorth>the rest is .... trash at this point :)
16:22<andythenorth>anyway, need to break some eggs for this omelette
16:22*andythenorth has gameplay ideas
16:32-!-gelignite [] has quit [Quit: Stay safe!]
16:54<@DorpsGek>[OpenTTD/OpenTTD] glx22 commented on pull request #9398: Fix: [Squirrel] Enforce comma usage in function calls
17:10-!-Samu [] has quit [Quit: Leaving]
17:14<@DorpsGek>[OpenTTD/OpenTTD] TrueBrain commented on pull request #9398: Fix: [Squirrel] Enforce comma usage in function calls
17:20-!-nielsm [] has quit [Ping timeout: 480 seconds]
17:26-!-andythenorth [] has quit [Quit: andythenorth]
17:36-!-Beer [] has quit [Quit: Leaving]
17:36-!-Beer [] has joined #openttd
17:36-!-Beer is "realname" on #openttd
18:02-!-sla_ro|master [slamaster@] has quit []
18:15-!-Progman [] has quit [Remote host closed the connection]
18:31-!-Wormnest [] has quit [Quit: Leaving]
18:33-!-Gustavo6046_ [~Gustavo60@] has joined #openttd
18:33-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
18:36-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
18:36-!-Gustavo6046_ is now known as Gustavo6046
18:42-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:48-!-WormnestAndroid [] has quit [Ping timeout: 480 seconds]
18:49-!-WormnestAndroid [~WormnestA@2607:fb90:a8b4:4d74:0:d:b66d:8c01] has joined #openttd
18:49-!-WormnestAndroid is "WormnestAndroid" on #openttd
19:19-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
19:45-!-tokai|noir [] has joined #openttd
19:45-!-tokai|noir is "Christian Rosentreter" on #openttd
19:45-!-mode/#openttd [+v tokai|noir] by ChanServ
19:48-!-Wuzzy [] has quit [Quit: Wuzzy]
19:49-!-Gustavo6046 [~Gustavo60@] has joined #openttd
19:49-!-Gustavo6046 is "Gustavo Rehermann <>" on #openttd #llvm
19:51-!-tokai [] has quit [Ping timeout: 480 seconds]
19:53-!-tokai [] has joined #openttd
19:53-!-tokai is "Christian Rosentreter" on #openttd
19:53-!-mode/#openttd [+v tokai] by ChanServ
20:00-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
20:13-!-Beer [] has quit [Read error: Connection reset by peer]
20:17-!-Gustavo6046_ [~Gustavo60@2804:14d:4cd8:96b6:5cca:9041:ea3e:7195] has joined #openttd
20:17-!-Gustavo6046_ is "Gustavo Rehermann <>" on #openttd #llvm
20:22-!-Gustavo6046 [~Gustavo60@] has quit [Ping timeout: 480 seconds]
20:22-!-Gustavo6046_ is now known as Gustavo6046
21:07-!-HerzogDeXtEr [~farci@] has quit [Read error: Connection reset by peer]
21:12-!-WormnestAndroid [~WormnestA@2607:fb90:a8b4:4d74:0:d:b66d:8c01] has quit [Ping timeout: 480 seconds]
21:12-!-WormnestAndroid [] has joined #openttd
21:12-!-WormnestAndroid is "WormnestAndroid" on #openttd
21:59<@DorpsGek>[OpenTTD/OpenTTD] TriggeredSnake opened issue #9399: Track 00 of the "All" programme in the jazz jukebox doesn't play
22:07<@DorpsGek>[OpenTTD/OpenTTD] glx22 commented on issue #9399: Track 00 of the "All" programme in the jazz jukebox doesn't play
22:58-!-D-HUND [~debdog@2a00:79c0:636:3a00:7a24:afff:fe8a:d04d] has joined #openttd
22:58-!-D-HUND is "Wowbagger" on #openttd
22:59-!-glx [] has quit []
23:02-!-debdog [~debdog@2a00:79c0:604:f200:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
23:58-!-Ttech [] has quit [Ping timeout: 480 seconds]
---Logclosed Fri Jun 25 00:00:43 2021