IRC logs for #openttd on OFTC at 2018-12-31
            
00:11:56 *** gelignite has quit IRC
00:29:59 *** nielsm has quit IRC
01:01:35 *** Progman has joined #openttd
01:12:58 *** wodencafe has quit IRC
01:14:26 *** wodencafe has joined #openttd
01:51:32 *** Thedarkb-T60 has quit IRC
01:58:02 *** Flygon has joined #openttd
02:01:59 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 opened pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
02:04:53 *** Wolf01 has quit IRC
02:27:08 *** Thedarkb-T60 has joined #openttd
02:28:41 <peter1138> Process 'msbuild.exe' exited with code '1'.
02:28:42 <peter1138> ;/
02:46:58 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
02:47:45 <glx> msbuild didn't like the configuration names
02:49:15 <glx> now if everything works as intended it should fail at regression test due to missing grfs
02:55:19 *** Progman has quit IRC
03:02:15 <glx> and of course it doesn't start the build
03:08:42 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLQF
04:48:04 *** glx has quit IRC
05:26:04 *** Mahjong has quit IRC
05:26:23 *** Mahjong has joined #openttd
05:32:18 *** HerzogDeXtEr1 has joined #openttd
05:38:59 *** HerzogDeXtEr has quit IRC
06:08:32 *** erratic has quit IRC
06:11:11 *** HerzogDeXtEr1 has quit IRC
06:33:24 *** tycoondemon has quit IRC
06:43:48 <DorpsGek_II> [OpenTTD/OpenTTD] gregcarlin opened pull request #7003: Feature #6918: Add option to adjust font size separately from GUI size. https://git.io/fhLFX
06:58:10 *** HeyCitizen has joined #openttd
07:03:24 *** HeyCitizen_ has quit IRC
07:22:59 *** erratic has joined #openttd
08:30:38 *** nielsm has joined #openttd
08:49:15 *** andythenorth has joined #openttd
08:57:25 <andythenorth> o/
09:01:51 <nielsm> morning
09:54:23 <nielsm> I can't figure out how to specify what tile graphics to use for an industry tile...
09:54:56 <andythenorth> you want your own, or reuse original?
09:55:26 <nielsm> later my own, for now really just reuse original
09:56:32 <nielsm> something with making a spritelayout, then referencing it in a graphics{} block inside the item?
09:57:24 *** wodencafe has quit IRC
09:57:43 *** wodencafe has joined #openttd
09:58:26 <nielsm> also, is it possible to remap base graphics? i.e. remap the above-snowline landscape tiles into the toyland base tiles?
09:58:38 <andythenorth> kinda
09:59:00 <andythenorth> spriteset is action1 realsprites
09:59:07 <andythenorth> spritelayout is action2 iirc
09:59:21 <andythenorth> then the graphics block maps via the layout to the realsprites
09:59:44 <andythenorth> I have to go out for a few hours, ogfx+ industries might be a help
10:00:37 <andythenorth> hmm it has CPP in it
10:00:49 <andythenorth> and FIRS graphics chains are....seriously complex :|
10:00:57 <andythenorth> BBL
10:00:57 *** andythenorth has left #openttd
10:34:46 *** sla_ro|master has joined #openttd
10:43:12 *** sla_ro|master has quit IRC
10:44:35 *** Wolf01 has joined #openttd
10:45:26 <Wolf01> o/
10:50:31 <nielsm> hmm nml years_available prop for houses doesn't accept the MAX_YEAR value used for built-in houses
11:14:57 <TrueBrain> okay, this is weird .. Azure Pipelines only started to work when I got on their page .. I read something about that .. you need to regular visit their page for them to process your CI ..
11:15:00 <TrueBrain> that is kinda useless :s
11:16:48 <peter1138> o_O
11:19:02 <peter1138> Can you make a pipeline that "visits" their page regularly? :p
11:19:20 <LordAro> oh dear
11:19:33 <TrueBrain> `Someone must view a page in your organization regularly for CI and scheduled builds to run. It can be any page, including, for example, Azure Pipelines.`
11:19:49 <nielsm> how often is that
11:19:51 <TrueBrain> what is that for a bullshit
11:19:53 <peter1138> That's somewhat annoying.
11:20:06 <TrueBrain> `Your organization goes dormant five minutes after the last user signed out of Azure DevOps.`
11:20:10 <TrueBrain> what is "signed out" ..
11:20:36 <TrueBrain> they also wrote it down like it is the most normal thing in the world
11:20:56 <nielsm> "if someone makes a commit, and nobody is around to observe it, can it build?"
11:21:15 *** Progman has joined #openttd
11:21:54 <TrueBrain> guess we are just going to make a crontab that fetches a page every hour :P
11:22:03 <TrueBrain> I mean, wtf, seriously, what is this for a bullshit :o
11:22:06 <peter1138> I guess they've misunderstood what the C in CI means.
11:22:26 <peter1138> Like it's setup to work when you're logged in checking the results.
11:23:44 <nielsm> getting weirder... https://0x0.st/s5_2.png
11:24:14 <peter1138> That needs a NSFE warning.
11:24:20 <nielsm> :D
11:26:11 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLhP
11:26:33 <Eddi|zuHause> not safe for eyes?
11:26:50 <TrueBrain> hmm .. odd, another CI did run .. I am confused
11:27:02 <TrueBrain> might be that it doesn't run if you change the azure-pipelines.yaml until you login?
11:27:16 <TrueBrain> we will give it some time, see how things go
11:29:40 <Eddi|zuHause> so you need to hire someone that presses F5 on a browser for the automatted system to work?
11:31:17 <peter1138> Eddi|zuHause, yes, eyes.
11:32:11 <peter1138> It'll run once after log out, apparently. I guess log out is not the same as closing the page.
11:37:23 <DorpsGek_II> [OpenTTD/OpenTTD] btzy opened issue #7004: Cargo flow legend does not get redrawn in additional area when zoomed out https://git.io/fhLjv
11:45:26 *** wodencafe has quit IRC
11:46:40 <TrueBrain> ugh, moving repositories to OpenTTD is more annoying than I expected .. lot of moving parts :D
11:48:53 <DorpsGek_II> [OpenTTD/website] TrueBrain merged pull request #4: Add: dorpsgek configuration for IRC notification https://git.io/fhLjC
11:48:59 <TrueBrain> there we go
11:49:14 *** wodencafe has joined #openttd
12:01:01 <TrueBrain> every Saturday the website now automatically updates with the latest software updates
12:01:02 <nielsm> okay it's not possible to remap baseset sprites to different baseset sprites I guess, the replacement sprites have to come from the newgrf
12:03:05 <Eddi|zuHause> i don't know how, but the alpine set somehow reused existing house sprites and only added snowy roofs
12:08:37 *** sla_ro|master has joined #openttd
12:27:16 <peter1138> Weird, rebooted a VM and its status on the host changed to "paused" o_O
12:34:04 <peter1138> Eddi|zuHause, probably included the original graphics in it.
12:34:24 <Eddi|zuHause> not as far as i could see
12:38:59 *** gelignite has joined #openttd
13:06:37 *** Progman_ has joined #openttd
13:11:42 *** Progman has quit IRC
13:17:15 *** Borg has joined #openttd
13:18:12 <nielsm> copy-pasting some graphics from opengfx... https://0x0.st/s5Lc.png
13:18:15 <nielsm> looking better now :P
13:19:27 *** Thedarkb-T60 has quit IRC
13:19:49 *** Thedarkb-T60 has joined #openttd
13:30:32 *** Wacko1976 has joined #openttd
13:50:52 *** Wacko1976 has quit IRC
13:50:55 <DorpsGek_II> [OpenTTD/OpenTTD] btzy commented on issue #7004: Cargo flow legend does not get redrawn in additional area when zoomed out https://git.io/fhtf5
14:01:22 *** Thedarkb-T60 has quit IRC
14:12:38 *** Thedarkb-T60 has joined #openttd
14:25:36 *** HerzogDeXtEr has joined #openttd
14:27:51 <DorpsGek_II> [OpenTTD/OpenTTD] btzy opened pull request #7005: Fix #7004: Redraw linkgraph overlay correctly after zoom https://git.io/fhtUO
14:30:42 *** nielsm has quit IRC
14:56:10 *** andythenorth has joined #openttd
14:58:08 <andythenorth> yo
15:01:52 <andythenorth> but should I make 4/8 engines?
15:02:24 <Eddi|zuHause> no
15:02:33 <andythenorth> because...?
15:03:12 <Eddi|zuHause> not enough time to explain right now, happy end of the year...
15:03:34 <TrueBrain> andythenorth: I moved the website repository: https://github.com/OpenTTD/website
15:03:53 <andythenorth> TrueBrain: \o/
15:03:58 <andythenorth> eddi is being enigmatic :)
15:12:44 *** Thedarkb-T60 has quit IRC
15:45:21 *** Thedarkb-T60 has joined #openttd
15:59:29 *** Progman_ is now known as Progman
16:03:51 *** glx has joined #openttd
16:03:51 *** ChanServ sets mode: +v glx
16:10:39 *** Flygon has quit IRC
16:13:51 <andythenorth> o_O https://dev.openttdcoop.org/attachments/download/9234/4_8_diesels.png
16:14:11 <andythenorth> top one is 6/8, rest are 4/8
16:15:34 <Borg> top one looks good.. others are too short
16:20:17 <andythenorth> o_O
16:21:59 <andythenorth> probably a 'nope' eh? https://dev.openttdcoop.org/attachments/download/9235/4_8_diesels_2.png
16:23:38 <Borg> yep... 6/8 looks good.. as u can see
16:24:07 <Borg> but.. its just me..
16:24:32 <andythenorth> nah
16:24:39 <andythenorth> every 6 months I try 4/8 and reject it
16:24:59 <andythenorth> the \ / views are even worse, just 8 pixels to draw with
16:26:12 <andythenorth> I try it because of the MJS 250 in the tropic base set
16:26:35 <Borg> yeah.. I never use it.. looks bad... works bad.. ;P
16:27:48 <Borg> andythenorth: btw... basic cargo's do overlap or not? I mean between climates?
16:28:24 <andythenorth> ?
16:28:37 <Borg> ok.. nevermind.. it might be bad idea anyway..
16:29:58 <Borg> anyway.. any players today? I want to start new server....
16:32:22 *** Thedarkb-T60 has quit IRC
16:32:43 *** Thedarkb-T60 has joined #openttd
16:33:06 <planetmaker> https://newgrf-specs.tt-wiki.net/wiki/CargoTypes#Cargo_Labels <-- does that answer your question partially @ Borg?
16:35:18 <Borg> no its not..
16:35:22 <Borg> lets dig futher...
16:37:35 <Borg> https://newgrf-specs.tt-wiki.net/index.php?title=CargoTypes&oldid=2861
16:37:39 <Borg> this answer my question
16:38:04 *** Progman has quit IRC
16:38:12 <Borg> so they do overlap..
16:44:54 *** Wormnest has joined #openttd
17:00:30 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
17:01:29 *** wodencafe has quit IRC
17:04:06 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhtY9
17:04:32 *** wodencafe has joined #openttd
17:06:30 *** Alberth has joined #openttd
17:06:30 *** ChanServ sets mode: +o Alberth
17:06:36 <Alberth> moin
17:12:01 *** Progman has joined #openttd
17:20:49 *** andythenorth has quit IRC
17:23:18 *** andythenorth has joined #openttd
17:25:28 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
17:27:57 <andythenorth> hi Alberth
17:28:06 <andythenorth> so...NRT merge? :D
17:28:49 <Alberth> :o could be
17:29:35 <Alberth> you got a report about a missing diamond mine in firs 3.0.10, I tried it too and it worked for me
17:30:00 <Alberth> got a few NRT links ?
17:30:44 <Alberth> he did have a few other newgrfs, although nothing industry-ish at first sight
17:31:14 <andythenorth> most recent rebase by peter https://github.com/PeterN/OpenTTD/tree/nrt-block-rebased
17:31:25 <LordAro> i'm guessing it's too much to ask for 1.9.0-beta1 for tomorrow? :p
17:31:27 <andythenorth> conflicts with current master
17:31:38 *** Samu has joined #openttd
17:31:56 <Alberth> hai lord aro, asking is always possible, getting is the tricky bit :p
17:32:07 <Samu> hello
17:32:14 <Alberth> hai samu
17:33:09 <Samu> webchat.oftc.net isn't working
17:33:27 <Samu> trying kiwi irc
17:33:47 <Alberth> proper irc client is so much better imho :)
17:35:03 <andythenorth> Alberth: even a partial rebase would be a step forward :)
17:35:19 <andythenorth> it's a PITA due to docs and sprite conflicts
17:36:44 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
17:38:47 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fht3M
17:39:10 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fht39
17:40:10 <Wolf01> Starting to build the new lego robotic arm moc killed me .-.
17:40:26 <Alberth> :( dead wolf
17:40:40 <LordAro> rip
17:41:20 <Alberth> LordAro: you got a notification on a freerct enhancement too?
17:42:05 <LordAro> er
17:42:25 <LordAro> ah yes
17:42:37 <Wolf01> Now I have more or less an idea of what it will come out at the end, and it's only a bit bigger than the old one, but 6dof instead of 4
17:42:46 <LordAro> Alberth: do you still remember where anything goes?
17:42:48 <LordAro> :p
17:43:05 <Alberth> mot really :p
17:43:44 <Alberth> the guy would be better off just forking and going hiw own direction perhaps
17:44:44 <Alberth> wolf survived, phew!
17:47:04 <LordAro> Alberth: or give them commit writes :p
17:47:15 <LordAro> rights*
17:49:38 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhtsZ
17:53:57 <Heiki> https://wiki.openttd.org/Openttd_(x11)_screensaver_howto wow, I just found this (although I was looking for the opposite, i.e. how to force OpenTTD not to inhibit screensaving)
17:55:57 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhtsr
17:56:05 <Borg> Heiki: what do you mean? not to inhibit SS?
18:02:49 *** Thedarkb-T60 has quit IRC
18:03:01 <Heiki> Borg: when OpenTTD is running (other than with -D), my screen won’t blank (I’m using Xfce and light-locker, but presumably it would be the same for any X window manager and screensaver)
18:04:56 <Heiki> “xset dpms force off” does blank the screen, but only for a second or so
18:05:30 <andythenorth> these small freight engines didn't convince me http://bundles.openttdcoop.org/iron-horse/push/v6938-2883/docs/html/trains.html#saxon
18:05:33 <Heiki> (yes, this is somewhat Linux-specific (:)
18:05:37 <andythenorth> redrawn them :P http://bundles.openttdcoop.org/iron-horse/push/LATEST/docs/html/trains.html#saxon
18:05:51 <andythenorth> Goliath cab + steps needs more tweaks :P
18:06:39 <TrueBrain> LordAro: releases will not be done via azure-pipelines-ci.yml .. as the name.might suggest :p
18:07:05 <TrueBrain> so glx can go nuts with where to place gfx
18:07:08 <LordAro> TrueBrain: very good :)
18:07:35 <glx> anyway it still doesn't work :(
18:09:55 <glx> the batch works fine when started via the project in VS, or from VS2017 command window
18:10:44 <glx> but on the azure pipelines VS tools are only available for VS tasks it seems
18:12:34 <Borg> Heiki: ah.. Linux... cant help then
18:12:59 <Borg> in windows there is function to handle that..
18:32:48 *** Mahjong1 has joined #openttd
18:36:03 <Borg> any NoGO experts here? is this valid?
18:36:08 <Borg> tab=list.GetValue(i); tab.var=0;
18:36:12 <Borg> will that update list tab var? I mean those are references? or I need to do SetValue(i,tab) again?
18:40:04 *** Mahjong has quit IRC
18:44:22 <Samu> i am na expert, sort of, lol
18:45:01 <Samu> it's tab.GetValue(i) i think
18:45:29 <Samu> damn the auto correction is kicking in in kiwi irc
18:45:33 <Samu> how do i disable it
18:47:04 <Samu> what is the name of the setting that correct my words?
18:47:08 <Samu> on edge
18:47:11 <Samu> browser
18:47:43 <Samu> ah, think i got it
18:48:54 <Samu> nop, i didn't
18:50:39 <Borg> Samu: no you dont get it.. :)
18:51:03 <Borg> earlier I did this: tab={}; tab.val <- 1; list.AddItem(tab);
18:51:29 <Borg> now I need to modify it.. and if GetValue returns reference.. that would be cool.. because tab.. is table.. not scalar
18:56:07 *** Progman has quit IRC
18:56:30 *** Progman has joined #openttd
18:56:59 <Samu> i guess i'm a noob
18:59:15 <Samu> let me copy paste some of my code, maybe it's what you're looking for
19:00:08 <Samu> wow, really?
19:00:12 <Samu> can't paste on kiwi irc
19:00:47 <Samu> check it on paste.openttdcoop.org
19:00:54 <Samu> should be the first
19:01:47 <LordAro> i'd be very surprised if you couldn't paste into kiwiirc
19:01:55 *** Thedarkb-T60 has joined #openttd
19:05:51 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
19:07:02 <Samu> looks like im gonna get mirc
19:07:07 <Samu> not copy pasting annoys me
19:07:54 <Samu> this auto spelling correction is also annoying me
19:07:56 <LordAro> mirc? has anyone used that in the last 20 years?
19:08:07 <LordAro> hexchat is the usual windows irc client
19:08:36 <Samu> hexchat? let me check that one
19:09:05 <peter1138> putty + tmux + irssi ;)
19:09:20 <LordAro> Samu: https://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients ;)
19:09:22 <TrueBrain> wait, people still use IRC?!
19:09:48 <Borg> peter1138: no need for putty :) u can get irssi on windows too
19:09:49 <Samu> hexchat €9,99, really?
19:09:52 <Samu> no thx
19:09:56 <LordAro> ...what
19:10:21 <Borg> Samu: just get console based irssi... and IRC like a real man.. ;D
19:10:23 <Samu> the download for windows 10
19:10:31 <Samu> is na app
19:10:35 <Samu> costs €9,99
19:10:48 <LordAro> "NOTE: This application is free the purchase is optional."
19:11:03 <LordAro> (alternatively just download the installer, not via MS store)
19:13:54 <Samu> screw hexchat, can't find a windows 10 installer
19:15:07 <LordAro> https://hexchat.github.io/downloads.html it's literally right there
19:16:01 <LordAro> though if you're confused about the Win7 installer...
19:16:42 <LordAro> that is '"Win 7+" installer', rather than "Win 7 + installer"
19:17:44 <Samu> brb
19:17:46 *** Samu has quit IRC
19:18:00 *** Samu has joined #openttd
19:18:04 <Samu> test
19:18:09 <Samu> ok this is mIRC
19:19:23 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7002: Add: [Win32] regression testing with MSVC https://git.io/fhLHR
19:20:42 *** sla_ro|master has quit IRC
19:20:51 <glx> building release is so slow, just to see it still fails at the end
19:21:19 <LordAro> setting up CI does tend to be that way
19:22:39 <glx> at least I know the regression script properly set the failure status of regression :)
19:22:50 <Samu> https://paste.openttdcoop.org/pe2m5s2o1?/pe2m5s2o1
19:22:56 <Samu> yes, copy paste works
19:23:12 <LordAro> glx: :)
19:23:38 <glx> but it's not for the good reason
19:25:51 <Samu> what is the Font used in paste.openttdcoop.org? mirc lets me chose from a big list of fonts
19:26:04 <Samu> i like the one in paste side
19:26:12 <Samu> site
19:26:25 <LordAro> Samu: inspect element
19:26:35 <LordAro> (on paste.ottdc.org)
19:26:46 <glx> looks like a monospace font
19:26:54 <LordAro> indeed it is
19:27:52 <glx> victory \o/
19:27:57 <LordAro> :o
19:28:02 <LordAro> \o/
19:28:24 <LordAro> Samu: the site just asks for a generic "monospace" font, so it'll be dependent on your system
19:29:01 <glx> I personally use arial unicode (so it can display almost anything)
19:29:10 <glx> but it's not a monospace font
19:29:26 <Samu> "Helvetica Neue",Helvetica,Arial,sans-serif
19:29:30 <Samu> let me try
19:29:49 <glx> helvetica is not monospace
19:30:43 <Samu> i dont have helvetica, wtf
19:30:47 <Samu> bah doesn't matter
19:34:46 <Samu> got it!
19:34:52 <Samu> It was "Consolas"
19:35:26 <Borg> localization.. the root of all evil on earth.. ;)
19:36:52 <Samu> oh, Borg, was that of any help?
19:39:55 <Wolf01> Meh, social interactions, I'll return later :P
19:40:53 *** andythenorth has quit IRC
19:41:04 <Samu> looks like with mirc i can connect to multiple servers at the same time
19:41:18 <Samu> ST2 what is your mirc server thing?
19:41:20 <Samu> irc
19:41:39 <ST2> I like AdiIRC
19:42:18 <Samu> no, i mean your btpro channels, how do i reach them, which server
19:42:43 <ST2> http://openttd.btpro.nl/index.php/contact-us/contact
19:43:06 <Samu> ah, boxor
19:58:32 <Borg> Samu: what?
20:00:17 <Samu> https://paste.openttdcoop.org/pe2m5s2o1?/pe2m5s2o1
20:01:51 <Borg> Samu: I think not.. but nevermind... I will test it live.. one day ;)
20:04:35 *** Thedarkb1-T60 has joined #openttd
20:04:56 *** Wacko1976 has joined #openttd
20:10:32 *** Thedarkb-T60 has quit IRC
20:13:10 <Borg> fuuuck...
20:13:20 <Borg> GS crashed on AddItem(i,tab)
20:13:33 <Borg> tab is table . yet addItem complains its null
20:15:49 *** andythenorth has joined #openttd
20:15:51 <Borg> because GSList doesnt support anything else.. dammit
20:15:55 <Borg> time to use tables
20:31:42 <Samu> if the table is null
20:32:07 *** andythenorth has left #openttd
20:33:36 <Samu> AddList is for GSList()
20:34:00 <Samu> lists can't accept tables, only ints, i think
20:34:09 <Samu> AddItem*
20:34:55 <Samu> brb checking log
20:35:02 <Samu> forgot what was the question
20:36:11 <Samu> <Borg> earlier I did this: tab={}; tab.val <- 1; list.AddItem(tab);
20:36:44 <Samu> meh, im confused
20:37:38 <Samu> i have this.companies = {};
20:39:22 <Samu> for each c_id, this.companies[c_id] <- null; this.companies[c_id] = {goal_id = null, inauguration_date = null};
20:39:26 <Samu> in your case
20:40:14 <Samu> you want to add a table to '1' ??
20:41:17 <Samu> meh, i'm a noob trying to help :(
20:42:44 <Samu> list.AddItem(tab.val); ?
20:44:24 <Samu> 17:36:03 <Borg> any NoGO experts here? is this valid?
20:44:24 <Samu> 17:36:08 <Borg> tab=list.GetValue(i); tab.var=0;
20:44:24 <Samu> 17:36:12 <Borg> will that update list tab var? I mean those are references? or I need to do SetValue(i,tab) again?
20:45:42 <Borg> Samu: yep.. Lists can only accept int64..
20:45:58 <Borg> Samu: dont worry, I already solved it using tables.. instead of GSList()
20:46:07 <Samu> oh, cool
20:48:12 *** Thedarkb1-T60 has quit IRC
20:48:43 *** Thedarkb1-T60 has joined #openttd
20:49:42 *** Wacko1976 has quit IRC
20:50:44 <Borg> hmm
20:50:50 <Borg> time to do RTFS..
20:54:40 <Borg> CMD_STR_CTRL <- can anyone explain that?
20:54:47 <Borg> is that {...} control? or escape codes?
20:55:07 <Borg> im trying to use some codes in GSTown.SetText(). but w/ GSText
20:55:10 <Borg> but w/o I mean
20:59:11 <Samu> meanwhile i'm having crashes on my AI, because autorenew is still screwing me
21:00:51 <Samu> on a list that was supposedly meant to be only for aircraft, I get a road vehicle in it...
21:02:49 <Samu> https://imgur.com/poc2mus - look at veh_name :(
21:03:12 <Samu> damn u autorenew, i wanna use it, but u making it very hard to use
21:31:12 <Borg> well. fuck it.. nothing work.. nor escape codes for GRF.. or CTRL codes from GSText()
21:42:29 *** Wacko1976 has joined #openttd
21:49:53 <planetmaker> CMD_STR_CTRL
21:49:54 <planetmaker> the command's string may contain control strings <-- that means it is a property which allows certain strings to contain control strings. It certainly doesn't apply vehicle names
22:00:44 *** Wormnest has quit IRC
22:02:56 <Borg> planetmaker: and what are those control strings? is it {...} ?
22:13:38 *** Thedarkb1-T60 has quit IRC
22:18:55 *** Thedarkb1-T60 has joined #openttd
22:21:21 <Alberth> http://bundles.openttdcoop.org/eints/nightlies/LATEST/docs/string_commands.html#non-positional-gamescript-string-commands
22:21:54 <Alberth> http://bundles.openttdcoop.org/eints/nightlies/LATEST/docs/string_commands.html#positional-gamescript-string-commands
22:25:18 <Borg> ok.. they do NOT work.. when used directly on GSTown.SetText() via string..
22:25:42 <Alberth> nope, they dont
22:26:04 <Alberth> just wrap a string around it
22:26:24 <Borg> what do you mean wrap?
22:27:02 <Alberth> STR_THING : {BLUE}{STRING} then print STR_THING with parameter the text
22:27:23 <Borg> ahh yeah this I wanted to avoid :)
22:28:18 <Alberth> translators will be so happy with your hard-coded strings all wrong then
22:28:39 <Borg> yeah yeah.. it just internal test GS..
22:29:27 <Alberth> juist print {blue} as text then
22:30:13 <Borg> I tried {BLUE} and it displayed exacly this... didnt made it colored blue
22:30:17 <Borg> case matters?
22:30:59 <Borg> anyway.. it was just experiment.. nothing to worry about :)
22:31:05 <Alberth> it matters, but wont work, the command processor is in strgen, which handles language files only
22:31:24 <Borg> ah.. ok
22:36:38 <Alberth> ugh, 5 line diff over one assert statement, too complicated for now
22:41:15 <Borg> 32 ticks in GS is around one sec?
22:43:01 <Alberth> sorry, no idea
22:43:44 <planetmaker> there probably is somewhere a constant which defines how many ticks a GS can consume. They're not tied to RL time
22:44:00 <planetmaker> IIRC. I might be wrong :)
22:44:32 <Alberth> speed relative toopenttd day seems more useful to me
22:44:50 <Borg> lets see
22:44:55 *** Wacko1976 has quit IRC
22:45:16 <planetmaker> well, yes. GS ticks per game tick. Or somewhat like that
22:46:07 <Samu> with autorenew, this can't be done, or i just can't figure a way that wouldn't make it slower than it should
22:46:48 <Samu> i thought i would be safe with using groups
22:46:51 <Samu> but nope
22:47:18 <Samu> when looping over tons of vehicles, like about 4000+ atm
22:47:40 <Samu> some of the vehicles on the list can be autorenewed, getting new id's
22:47:44 <Borg> static const int DAY_TICKS = 74; ///< ticks per day
22:47:46 <Samu> that breaks the ai
22:47:50 <Borg> so.. one game day is 74 ticks..
22:47:58 <Borg> good..
22:48:09 <Borg> 148 ticks 2 days..
22:48:23 <Samu> the list becomes automatically outdated
22:49:07 <Samu> autorenew needs rework
22:49:20 <Borg> so going lower that 128 is not much sence.. for checks..
22:49:23 <Samu> it works for humans, it sucks for ais
22:49:31 <Borg> and less that 32 for interactive.. is too intense.. ok..
22:53:23 <Samu> so much work for nothing, i'm losing motivation
22:53:46 *** Wormnest has joined #openttd
22:54:13 <Samu> hello Wormnest
22:54:44 <Borg> Samu: you are AI fan? :) try Grobots ;)
22:54:50 <Samu> do you use autorenew/autoreplace? how do u keep track of vehicle id?
22:55:33 <Samu> the autorenew kicks in during my loop of sending 4000+ vehicles to depots
22:56:12 <Samu> i have no idea how to deal with this
22:56:22 <Samu> keep renewing the list?
22:56:42 <Samu> inside a for loop? that's impossible
22:57:52 <Wormnest> Samu: I think I turned off autorenew but it´s a long time ago I looked at it.
22:58:07 <Samu> ok let me go test worm ai
22:59:20 <Samu> nop
22:59:24 <Samu> wormai doesn't use autorenew
22:59:51 <Samu> autorenew breaks ais, why is the feature even allowed
22:59:57 <Samu> just remove it
23:00:55 <Alberth> lol
23:01:16 <Samu> allowed on AI's, that is
23:01:28 <Wormnest> Just work around it
23:01:54 <Samu> must check which AIs use autorenew
23:01:56 <Samu> brb
23:02:01 <Alberth> why is id important at all?
23:02:07 <Wormnest> Other AI´s can handle it so you should be able to too
23:02:32 <Borg> Alberth: probably because of vehicle[id] ? :)
23:02:40 <planetmaker> autorenew... doesn't it mean that the game renews vehicles for you? So what's the gist?
23:02:57 <Samu> it makes my lists useless
23:03:11 <Alberth> planetmaker: the id of the vehicle changes
23:03:19 <Alberth> samu why?
23:03:34 <planetmaker> handle vehicle groups and worry less about the single vehicle then
23:03:38 <Samu> a list i created on jan, is useless if im still looping it on march
23:04:07 <Samu> but to get a list of vehicles in a group, i also need a "list"
23:04:27 <Wormnest> You need to assume that a vehicle id can become invalid at any time
23:04:47 <planetmaker> so just check for its validty before you do sth
23:05:03 <planetmaker> and new vehicles... they should be ok and are considered the next time.
23:08:39 <Samu> https://imgur.com/poc2mus
23:09:55 <Samu> this was looping a list of about 4000+ aircraft, with also about 3000+ road vehicles
23:10:06 <Samu> changes of autorenewing happening during the loop is high
23:10:32 <Samu> veh_name indicates I wasn't working with an aircraft
23:10:40 <Samu> and that list was created with only aircraft
23:11:22 <Samu> chances*
23:12:05 <Samu> autorenew should be reworked in order to maintain the id imo
23:12:21 <Samu> but i see that may not be possible
23:12:35 <Samu> some aircraft use 3 ids, some use 2
23:12:43 <Samu> rotors and shadow and whatever
23:16:00 <Samu> the list was generated directly from a group
23:16:03 *** Thedarkb1-T60 has quit IRC
23:16:10 <Samu> an aircraft group
23:16:26 <Samu> the group of aircraft that are heading to a depot
23:16:51 <Samu> groups aren't helping either, which I initially thought they would
23:17:14 <Samu> i still need to generate a list of vehicles on that group
23:20:15 <Samu> must think what to do
23:30:11 <Samu> sentToRenewAirGroup = AIVehicleList_Group(vehicle_to_depot[1]);
23:30:22 <Samu> gonna try refreshing the list more often
23:30:37 <Samu> will probably slow down management, something I wanted to speed up t.t
23:42:22 <planetmaker> Samu, only refresh it, once you iterated over the whole list. And when processing one entry check it for its validity (existing and correct vehicle type)
23:42:33 <planetmaker> Ignore it, if it fails that check
23:42:46 <planetmaker> And refresh the list only once you're completely through it
23:46:58 <peter1138> Mmmkay, going to need a bit more than 16GB storage for my Retropie machine ...
23:49:19 *** Wacko1976 has joined #openttd
23:57:31 *** Wormnest has quit IRC