IRC logs for #openttd on OFTC at 2019-06-06
⏴ go to previous day
00:14:27 *** smoke_fumus has joined #openttd
00:58:33 <Eddi|zuHause> i'm sometimes amazed at andy's ability to break things that shouldn't break
01:20:17 *** SimYouLater has joined #openttd
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: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: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?
03:22:30 *** Wormnest 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.
05:06:52 *** SimYouLater has joined #openttd
06:08:59 *** Smedles has joined #openttd
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: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: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:33:45 *** andythenorth has joined #openttd
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: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:55:48 *** chomwitt has joined #openttd
11:36:32 *** andythenorth has joined #openttd
12:03:23 <peter1139> Or keep going til lunch?
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:24:31 <peter1139> Second mug of coffee.
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: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: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:03:36 <peter1138> I wonder how that other guy got on with his university home work...
13:28:59 *** andythenorth has joined #openttd
13:43:10 <peter1138> Ship collisions guy.
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:46:34 <peter1138> Of how many viewports? :P
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: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: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: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:14 * andythenorth gets Amphetamine
14:55:17 <Corns[m]> have you considered: 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: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: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: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 *** ChanServ sets mode: +v tokai
15:39:01 * andythenorth has not found a better irc yet than irc
15:41:15 <Corns[m]> my computer is in my bedroom, and even with its noctua fans it makes some noise
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: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
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:45:24 <peter1138> Hmm, need to update my GPU drivers.
19:11:32 *** WWacko1976-work has quit IRC
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: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:42 <Artea> I feel hard to config firewall in vps
19:32:53 <Wolf01> So, where is my quake 2 RTX?
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
20:00:18 <Wolf01> And 101.52% of GPU power O_o
20:00:52 <Wolf01> With proper air conditioning it should stay 10°C lower
20:01:29 <Wolf01> Ha, 7GHz top ram clock
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: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:09:13 <Wolf01> Oh, I used CPUID HWMonitor
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: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:27 <peter1138> Yeah, 1680x1050. Old school :D
20:38:31 <Wolf01> Lower than the old one, that was like 250W
21:40:42 *** arikover 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: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:18:15 <SYL> Okay, let's try this one more time.
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:22:57 *** SimYouLater has joined #openttd
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: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: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
23:35:16 <LordAro> i'd be surprised if eGRVTS has NML source...
23:35:24 <LordAro> given it certainly predates NML
continue to next day ⏵