IRC logs for #openttd on OFTC at 2019-06-06
            
00:14:27 *** smoke_fumus has joined #openttd
00:28:06 *** arikover has quit IRC
00:58:33 <Eddi|zuHause> i'm sometimes amazed at andy's ability to break things that shouldn't break
01:15:21 <glx> impressive skill :)
01:20:17 *** SimYouLater has joined #openttd
01:22:20 <SimYouLater> Can someone compile a version of JGRPP with the correct version of this patch? https://www.tt-forums.net/viewtopic.php?f=33&t=85232
01:22:28 <SimYouLater> Thanks in advance.
01:24:10 <ST2> SimYouLater: why not ask JGR himself?
01:25:36 <SimYouLater> I did, he said he couldn't make any promises that it would be included. I asked the patch maker, he said he can't do it because his internet won't let him upload it.
01:26:13 <ST2> so, the diff is there
01:26:34 <ST2> roll your sleaves and work on
01:26:49 <ST2> don't wait to others do the work
01:37:03 <SimYouLater> I tried. I can't get it to compile.
01:37:49 <SimYouLater> Keep in mind that the guy who made the patch said it might be because he compiles on Linux.
01:37:57 <SimYouLater> I use Windows 10 .
01:38:35 <SimYouLater> So it might not be possible for me to compile the code.
01:40:09 <SimYouLater> And no, I'm not going to install Linux just to compile a patch.
01:43:51 <ST2> https://visualstudio.microsoft.com/ <<-- free real estate, and yes, for W10 :D
01:44:06 <ST2> what's your excuse now?
01:44:22 *** smoke_fumus has quit IRC
01:45:58 <ST2> if only compiles on linux, there's a thing called VM's, at least to check if it works on your side
02:15:02 <Eddi|zuHause> maybe you start by compiling JGRPP without the patch?
02:15:25 <Eddi|zuHause> or, openttd stable?
02:16:47 *** Wormnest has quit IRC
02:51:22 *** Samu has quit IRC
03:10:30 *** Gustavo6046 has quit IRC
03:17:48 *** Samu has joined #openttd
03:19:41 *** Flygon has joined #openttd
03:22:30 *** Wormnest has joined #openttd
03:25:52 *** Samu has quit IRC
03:26:57 *** Laedek has joined #openttd
03:29:10 *** snail_UES_ has joined #openttd
03:30:38 <SimYouLater> Eh, I'll wait and hope JGR adds the patch. It is being coded specifically to work with it, so... yeah.
04:08:39 *** Wormnest has quit IRC
04:21:53 *** D-HUND has joined #openttd
04:25:09 *** debdog has quit IRC
05:06:30 *** SimYouLater has quit IRC
05:06:52 *** SimYouLater has joined #openttd
05:20:42 *** glx has quit IRC
05:34:13 *** snail_UES_ has quit IRC
06:07:46 *** Smedles has quit IRC
06:08:59 *** Smedles has joined #openttd
06:28:02 *** SimYouLater has quit IRC
07:24:11 *** HerzogDeXtEr has quit IRC
07:39:35 *** nielsm has joined #openttd
07:53:40 *** nielsm has quit IRC
08:28:43 *** andythenorth has joined #openttd
08:32:37 *** smoke_fumus has joined #openttd
08:44:16 <andythenorth> what criteria does OpenTTD use to identify a specific grf file when loading a savegame?
08:52:36 <Corns[m]> what functions should i use for timing? eg i want a loop to execute for 10ms at most
09:06:05 *** tycoondemon has joined #openttd
09:21:54 <Eddi|zuHause> andythenorth: have you tried just editing the grf config of the savegame?
09:22:41 <andythenorth> I don't see anything human-readable in the .sav file?
09:23:00 <Eddi|zuHause> no, i mean in the load game dialog, there should be a button to see the newgrfs used
09:23:14 <andythenorth> yes there is but there is no way to change the grf there
09:23:24 <Eddi|zuHause> delete it and add it again?
09:24:05 <andythenorth> I've tried replacing the grf with every hg rev since I started the savegame
09:24:31 <andythenorth> usually when this happens, I can load the save, then swap the grf (at my own risk)
09:25:05 <andythenorth> but in this case, if I load the save, OpenTTD just asserts due to missing roadtypes on tiles
09:27:30 <Eddi|zuHause> clearly there should be a fallback mechanism for that?
09:27:42 <andythenorth> "Assertion failed at line 229 of src/road.h: roadtype < ROADTYPE_END"
09:28:18 <andythenorth> there's no crashlog, because I changed the grfs
09:28:50 <andythenorth> "As you loaded a savegame for which you do not have the required NewGRFs no crash information will be generated"
09:29:32 <Eddi|zuHause> well... you can use a debugger...
09:29:50 <Eddi|zuHause> or edit afterload to ignore your corrupt data
09:32:44 <andythenorth> or I could stop changing the grf on a running game
09:32:53 *** Samu has joined #openttd
09:36:45 <Eddi|zuHause> or you could learn to use backups?
09:37:39 <andythenorth> filesystem backups?
09:37:56 <andythenorth> got out the habit, nearly everything is cloud or version-controlled :P
09:38:13 <andythenorth> does OpenTTD rely on the checksum of the grf to identify it?
09:39:12 <andythenorth> it's probable that the save is using some WIP version of the grf between two commits
09:44:23 <LordAro> checksum & filename, iirc
09:47:24 <Eddi|zuHause> it's the grfid and checksum, and if that's not right, it falls back to grfid and "compatible" version (as per action 14)
09:48:07 <Eddi|zuHause> if multiple files use the same version, it picks a random one
09:48:59 <Eddi|zuHause> it doesn't really use the filename for anything, i think.
10:26:42 <peter1139> Urgh, I had an energy crash on the way to work today :/
10:26:56 <peter1139> I wonder if I didn't eat enough last night, post-ride.
10:27:36 <LordAro> peter1139: :(
10:29:00 <peter1139> andythenorth, you could report a bug about the crash. It may get ignored, but it may be possible to fix it so the game aborts loading the save properly instead of crashing.
10:29:08 *** andythenorth has quit IRC
10:33:45 *** andythenorth has joined #openttd
10:34:07 <peter1139> He came back.
10:34:10 <andythenorth> I need to change something so that OpenTTD will generate a crash report?
10:34:23 <andythenorth> or just increase debug level?
10:34:35 * andythenorth tries for self
10:37:39 <andythenorth> seems I need to remove the guard on changed newgrfs
10:37:49 <andythenorth> oof I have to cycle to work
10:44:13 <peter1139> I did it.
10:54:59 *** andythenorth has quit IRC
10:55:48 *** chomwitt has joined #openttd
11:36:32 *** andythenorth has joined #openttd
12:03:14 <peter1139> Hmm.
12:03:17 <peter1139> Elevenses?
12:03:23 <peter1139> Or keep going til lunch?
12:03:42 <LordAro> 2nd breakfast
12:05:32 <peter1139> That's basically what elevenses is.
12:06:58 <peter1139> Nothing like a bacon buttie and a cake after 15 miles of cycling... (Not me but members of the slower group, heh)
12:07:10 *** andythenorth has quit IRC
12:24:31 <peter1139> Second mug of coffee.
12:24:45 <LordAro> not a bad idea
12:24:48 * LordAro goes to find some
12:25:01 <peter1139> + Lotus biscuit. (My 11ses)
12:27:33 <Corns[m]> > what functions should i use for timing? eg i want a loop to execute for 10ms at most
12:28:38 <LordAro> Corns[m]: a little weird, but https://en.cppreference.com/w/cpp/chrono ?
12:28:54 <LordAro> alternatively, if it absolute must not exceed 10ms, you probably want a thread
12:30:47 <peter1139> Yeah, use chrono. Get the current time before your loop, and then compare the time every so often.
12:32:19 *** andythenorth has joined #openttd
12:32:31 <Corns[m]> Sweet :) yeah it only needs to be loosely timed
12:42:31 *** peter1139 is now known as peter1138
12:42:40 <peter1138> "Finally"
12:45:04 <LordAro> ?
12:45:04 <Corns[m]> Hm?
12:49:17 <Corns[m]> Haha this whole tile highlighting system confuses me
12:50:29 <Corns[m]> How do i implement my own highlighting style?/viewport method? I want to just tileSelectionRect for the two corner tiles the player has selected and nothing else
12:56:41 <peter1138> You want just the two corner tiles highlighted, or the whole area?
12:57:03 <Corns[m]> just the corner tiles
12:57:09 <Corns[m]> i.e. start_tile and end_tile
12:57:26 <peter1138> You probably need a new highlight mode then.
12:57:49 <Corns[m]> yeah - would i just look at VPM_X_AND_Y and go from there?
12:58:41 <peter1138> No idea, you'll have to code it :p
13:00:41 <Corns[m]> :0 wish me luck
13:03:36 <peter1138> I wonder how that other guy got on with his university home work...
13:21:28 *** andythenorth has quit IRC
13:28:59 *** andythenorth has joined #openttd
13:40:07 <Corns[m]> Whuh who?
13:43:10 <peter1138> Ship collisions guy.
13:43:43 <Corns[m]> :0
13:44:15 <Corns[m]> Oh hey you know what would be nice
13:44:36 <Corns[m]> If each client could report their camera position on an infrequent basis
13:44:43 <Corns[m]> Like in locomotion
13:46:23 *** Fuco has joined #openttd
13:46:34 <peter1138> Of how many viewports? :P
13:46:51 <Corns[m]> Hm
13:47:30 <Corns[m]> Just the main one?
13:48:21 <Corns[m]> I reckon it would help make multiplayer a bit more involved
13:56:12 <peter1138> How so? What would the server do with it?
13:58:53 <LordAro> there's been a few "see what the other player is seeing" patches in the past, iirc
14:01:17 <peter1138> Also, lunch time.
14:02:29 <Corns[m]> yeah i have the patch that has a viewport to see the latest action of other companies
14:04:47 <Corns[m]> peter1138: server requests main viewport position for each client, once every two seconds for example.
14:04:48 <Corns[m]> client responds with viewport position, and also requests viewport position of other clients
14:04:48 <Corns[m]> server responds with positions of other clients
14:04:49 <Corns[m]> or smth idk
14:08:21 <peter1138> That's the technical details, what I mean is what would you want to do with it?
14:10:22 <peter1138> I guess it could be useful for players in the same company. Otherwise it's just a massive window for trolling.
14:28:15 <Corns[m]> well imo it would help the users feel less lonely while playing - before i was using the most-recent-company patch, i felt like i was just playing with ai (asides from chat)
14:28:59 <Corns[m]> re: trolling, that avenue already exists via said patch. also, you could make it an opt-in/opt-out option
14:29:19 *** andythenorth has joined #openttd
14:36:42 *** andythenorth has quit IRC
14:46:05 *** sla_ro|master has joined #openttd
14:49:58 *** andythenorth has joined #openttd
14:50:00 <andythenorth> hmm, I need Amphetamine
14:54:42 *** snail_UES_ has joined #openttd
14:55:08 <Corns[m]> hm
14:55:14 * andythenorth gets Amphetamine
14:55:17 <Corns[m]> have you considered: no
14:58:28 <Corns[m]> oh no
15:01:52 <andythenorth> it's just an app that stops my mac sleeping the network connection
15:01:58 <andythenorth> which stops me dropping out of irc
15:02:15 <andythenorth> at the cost of % of battery life
15:06:18 *** snail_UES_ has quit IRC
15:11:29 <V453000> I was considering I would like to create some form of a script which generates NewGRF settings based on some rules I give it, how would this generally be possible? Is the only option to kill openttd on the server, regenerate cfg, restart openttd, or can I do something like generate some form of a restart command without having to shut openttd down?
15:19:46 *** gareppa has joined #openttd
15:26:55 <Corns[m]> andythenorth: why don't u try using riotl.im?
15:26:59 <Corns[m]> riot.im *
15:27:14 <Corns[m]> it saves the chat history while you're away
15:28:00 <andythenorth> presumaby it has an irc bridge?
15:28:08 <dwfreed> yes, that's what Corns[m] is using
15:28:27 <andythenorth> oh it has PTT audio and video
15:28:28 <dwfreed> but there are tons of solutions that don't depend on going through Matrix
15:28:29 <andythenorth> that's interesting
15:28:53 * andythenorth has been resisting slack for a long time, because [just not compelling]
15:29:03 <dwfreed> because Matrix and IRC aren't exactly compatible protocols, so there are quite a few quirks
15:29:19 <dwfreed> also the IRC bridge is not the most stable thing in the world
15:29:36 <andythenorth> none of this would stop my Mac sleeping the network connection
15:29:42 <dwfreed> and when it goes offline, it takes several hours for it to finish starting up again
15:31:26 <Corns[m]> oh slack does IRC?
15:31:32 <Corns[m]> i have no clue how slack works
15:32:12 <dwfreed> there are slack IRC bridges as well, but you have to run those yourself
15:32:36 <dwfreed> (in some ways that's better, in some ways that's worse)
15:36:06 <peter1138> I recommend just using IRC.
15:38:49 *** tokai has joined #openttd
15:38:49 *** ChanServ sets mode: +v tokai
15:39:01 * andythenorth has not found a better irc yet than irc
15:40:36 *** tokai|noir has quit IRC
15:41:15 <Corns[m]> my computer is in my bedroom, and even with its noctua fans it makes some noise
15:41:22 *** nielsm has joined #openttd
15:41:23 <Corns[m]> so being able to switch it off is a priority for me :)
15:52:04 <peter1138> Why do people have PCs in their bedrooms? o_O
15:52:48 <LordAro> peter1138: lack of space
15:53:35 <Corns[m]> nah i have a study room
15:53:41 <Corns[m]> its just cosier here :)
15:53:56 <Corns[m]> also its winter and it helps warm the room
15:53:57 <milek7_> why leave computer running for night?
15:54:14 <peter1138> So Steam can update everything overnight :-)
16:00:51 <Corns[m]> i have slow internet so sometimes i actually do that
16:05:35 <peter1138> Some games are so large they take ages even with a fast connection.
16:09:54 <LordAro> peter1138: depends how fast is fast :p
16:13:37 *** sla_ro|master2 has joined #openttd
16:13:44 <Corns[m]> i say slow, i mean 10mbps download
16:17:37 *** sla_ro|master has quit IRC
16:22:06 *** sla_ro|master has joined #openttd
16:23:47 *** sla_ro|master2 has quit IRC
16:37:37 <peter1138> LordAro, well, 80 mbps VDSL. Not fast in the grand scheme but okay for a home connection.
16:39:12 *** Wormnest has joined #openttd
16:53:48 *** gareppa has quit IRC
17:18:30 *** Gumle2 has joined #openttd
17:33:22 *** Flygon has quit IRC
17:44:03 *** frosch123 has joined #openttd
17:46:56 *** SimYouLater has joined #openttd
17:55:34 *** HerzogDeXtEr has joined #openttd
18:03:00 *** gareppa has joined #openttd
18:04:40 *** Gustavo6046 has joined #openttd
18:41:04 *** gareppa has quit IRC
18:45:24 <peter1138> Hmm, need to update my GPU drivers.
18:55:14 *** andythenorth has quit IRC
19:11:18 *** Wolf01 has joined #openttd
19:11:32 *** WWacko1976-work has quit IRC
19:13:50 *** Gumle2 has joined #openttd
19:22:15 <Artea> seems my dedicated server crashed
19:22:39 <Artea> Last failed login: Wed May 22 05:39:48 CEST 2019 from admin.watercloset.co.nz on ssh:notty
19:22:39 <Artea> There were 48 failed login attempts since the last successful login.
19:22:40 <Artea> hmmmmmmm
19:31:42 <peter1138> So you don't believe in firewalls?
19:31:59 <peter1138> And I bet you log in as root, too?
19:32:16 <Artea> yeah
19:32:17 <Artea> I sux
19:32:42 <Artea> I feel hard to config firewall in vps
19:32:46 *** glx has joined #openttd
19:32:47 *** ChanServ sets mode: +v glx
19:32:53 <Wolf01> So, where is my quake 2 RTX?
19:33:28 <Artea> * it
19:38:22 <peter1138> Wolf01, Steam.
19:38:57 <Wolf01> I had to look in the comments to find it
19:39:51 *** gelignite has joined #openttd
19:42:36 <peter1138> I... found it by searching for "Quake 2 RTX", but whatever :p
19:45:44 *** Progman has joined #openttd
19:48:39 <Wolf01> Let's check the temperatures
19:48:42 <glx> hmm I think DorpsGek_II needs to be restarted, it didn't like the netsplit
19:48:56 <glx> https://github.com/OpenTTD/DorpsGek-irc/issues/14
19:51:44 <LordAro> seems like, yes
19:59:42 <Wolf01> 85°C
20:00:18 <Wolf01> And 101.52% of GPU power O_o
20:00:25 <LordAro> bit warm
20:00:52 <Wolf01> With proper air conditioning it should stay 10°C lower
20:01:29 <Wolf01> Ha, 7GHz top ram clock
20:03:41 <peter1138> How does it run?
20:03:48 <Wolf01> Fine :D
20:04:43 <peter1138> Your memory clock must be measured differently, I'm seeing 1750 MHz.
20:04:44 <Wolf01> It's nice to see some details in HD, like the area map on the wall
20:04:55 <peter1138> x4 = 7 GHz, indeed.
20:05:01 <peter1138> There's not a lot of HD textures :(
20:05:31 <Wolf01> No, but dynamic lighting and reflections are nice to see
20:07:03 <peter1138> 75 deg C
20:07:10 <peter1138> 99% TDP.
20:07:10 *** Thedarkb has joined #openttd
20:07:21 <peter1138> Fan speed, 30-40%, heh.
20:08:06 <Wolf01> What do you use to measure?
20:08:35 <peter1138> GPU-Z
20:09:13 <Wolf01> Oh, I used CPUID HWMonitor
20:11:02 *** Gumle2 has joined #openttd
20:16:17 *** andythenorth has joined #openttd
20:18:10 <peter1138> 71% TDP with vsync on.
20:22:49 <Wolf01> Mmmh, 99% with peaks of 101% with or without vsync
20:23:22 <Wolf01> Fan speed 75%
20:27:28 <peter1138> Hmm.
20:27:34 <peter1138> Oh but you have a 2060.
20:27:40 <peter1138> So it's probably working harder.
20:27:48 <peter1138> And your resolution is probably higher.
20:29:01 <Wolf01> 1920x1080
20:29:27 <peter1138> Yeah, 1680x1050. Old school :D
20:36:02 <Wolf01> 102.5% TDP
20:37:57 <Wolf01> 164W
20:38:31 <Wolf01> Lower than the old one, that was like 250W
20:42:20 <andythenorth> https://github.com/OpenTTD/OpenTTD/issues/7618
21:20:55 *** Gumle2 has quit IRC
21:40:42 *** arikover has joined #openttd
21:51:56 *** gelignite has quit IRC
22:14:58 *** SYL has joined #openttd
22:15:09 <SYL> Can someone give me the NML source for eGRVTS2 r202? I'd like to modify it to be compatible with NRT.
22:16:23 <SYL> Oh. Uh, I'm SimYouLater if you need to know. Let me log back in.
22:16:27 *** SYL has left #openttd
22:16:37 *** SYL has joined #openttd
22:17:40 *** SYL has joined #openttd
22:17:45 <SYL> Can someone give me the NML source for eGRVTS2 r202? I'd like to modify it to be compatible with NRT.
22:17:49 <SYL> >_<
22:17:55 <SYL> STUPID
22:18:03 <SYL> I hate IRC.
22:18:15 <SYL> Okay, let's try this one more time.
22:19:14 *** SYL has left #openttd
22:20:20 *** SimYouLater_ has joined #openttd
22:20:25 <SimYouLater_> Can someone give me the NML source for eGRVTS2 r202? I'd like to modify it to be compatible with NRT.
22:20:37 *** frosch123 has quit IRC
22:21:04 *** SimYouLater_ has quit IRC
22:22:34 *** SimYouLater has quit IRC
22:22:57 *** SimYouLater has joined #openttd
22:23:02 <SimYouLater> Finally.
22:23:45 <SimYouLater> Okay, I know you're all probably annoyed at me copy-pasting my question, so last time. Can I get the source code for eGRVTS2 r202?
22:24:04 <glx> ask the author ?
22:24:33 <glx> other option is to decompile and edit the nfo
22:25:46 <SimYouLater> I can't do NFO. Has Zephyris been on the forums recently?
22:26:29 <arikover> "Last active: Fri May 24, 2019 5:14 pm"
22:27:02 *** Wormnest has quit IRC
22:27:03 <SimYouLater> Wait. Zephyris didn't make r202. Is LaDoncella around?
22:27:33 <SimYouLater> Hmm... Last Active: Fri May 31, 2019 1:10 pm
22:34:11 *** SYL has joined #openttd
22:41:41 *** SimYouLater has quit IRC
22:48:11 *** SYL has quit IRC
22:56:49 *** HerzogDeXtEr has quit IRC
22:58:14 *** nielsm has quit IRC
23:14:55 *** Wolf01 has quit IRC
23:35:16 <LordAro> i'd be surprised if eGRVTS has NML source...
23:35:24 <LordAro> given it certainly predates NML
23:35:34 *** Thedarkb has quit IRC
23:42:38 *** Progman has quit IRC
23:45:19 *** andythenorth has quit IRC