IRC logs for #openttd on OFTC at 2019-08-15
            
00:24:44 *** Wolf01 has quit IRC
00:31:51 *** frosch123 has quit IRC
00:36:05 *** Progman has quit IRC
01:00:47 <DorpsGek_II> [OpenTTD/OpenTTD] Wuzzy2 commented on issue #7693: Some nonsensical news texts when industry production changes https://git.io/fjdUy
01:06:23 <DorpsGek_II> [OpenTTD/OpenTTD] Wuzzy2 commented on issue #7691: Infinite money exploit in multiplayer using shares and sending money back and forth https://git.io/fjdUN
01:09:19 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on issue #7691: Infinite money exploit in multiplayer using shares and sending money back and forth https://git.io/fjdUh
01:25:02 *** nielsm has joined #openttd
01:58:56 <DorpsGek_II> [OpenTTD/OpenTTD] Wuzzy2 commented on issue #7693: Some nonsensical news texts when industry production changes https://git.io/fjdT0
02:20:35 *** Wormnest_ has quit IRC
03:34:58 *** glx has quit IRC
04:04:58 *** Flygon has joined #openttd
04:31:22 *** Laedek has joined #openttd
04:32:34 *** Thedarkb1-X40 has joined #openttd
04:36:34 *** D-HUND has joined #openttd
04:38:31 *** Thedarkb-X40 has quit IRC
04:39:54 *** debdog has quit IRC
05:32:37 *** Wormnest_ has joined #openttd
05:33:53 *** Wormnest_ has quit IRC
05:36:42 *** Wormnest has joined #openttd
05:40:01 *** Wormnest_ has joined #openttd
05:47:30 *** Wormnest has quit IRC
05:47:52 *** Wormnest_ has quit IRC
05:50:14 *** Wormnest has joined #openttd
06:14:35 *** Wormnest has quit IRC
06:32:44 <Eddi|zuHause> i always get annoyed when looking for electronic parts... "parts: 1,60€, shipping: 6€"
07:05:50 <Eddi|zuHause> why are samsung ssds twice as expensive as everyone else?
07:27:34 <nielsm> because of brand
07:28:43 <nielsm> for a while samsung ssd's were the only with a good combination of reliability, performance, price, but that's no longer true
07:29:10 <nielsm> poor reliability in cheaper ssd's is not much of a problem any longer
07:42:37 *** sla_ro|master has joined #openttd
07:56:41 *** nielsm has quit IRC
08:07:14 *** nielsm has joined #openttd
08:44:28 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #7693: Some nonsensical news texts when industry production changes https://git.io/fjdmm
08:45:44 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #7691: Infinite money exploit in multiplayer using shares and sending money back and forth https://git.io/fjdm3
09:07:39 *** andythenorth has joined #openttd
09:14:29 <DorpsGek_II> [OpenTTD/OpenTTD] auge8472 commented on issue #7693: Some nonsensical news texts when industry production changes https://git.io/fjdmR
09:15:33 *** Compu has joined #openttd
09:20:33 *** Smedles_ has joined #openttd
09:23:45 *** Smedles has quit IRC
09:45:00 <andythenorth> yo
09:49:20 *** andythenorth has quit IRC
09:49:34 *** Wolf01 has joined #openttd
10:15:48 *** Samu has joined #openttd
10:45:37 <Samu> hmm, looks like I found a bad usage of AIController.Sleep
10:46:32 <Samu> or maybe not, unsure
10:48:02 <Samu> during AI save, it didn't register a station at a tile during build
10:48:28 <Samu> because it's still testing for roads before returning the value of the tile
10:48:38 <Samu> i wonder how I can solve this
10:50:05 <Samu> on load, it found out no register of that station, so it build it again
10:50:30 <Samu> now I have a n unused station tile lost
11:38:37 <DorpsGek_II> [OpenTTD/OpenTTD] Wuzzy2 commented on issue #7693: Some nonsensical news texts when industry production changes https://git.io/fjdOS
11:43:02 *** Wormnest has joined #openttd
11:45:58 <DorpsGek_II> [OpenTTD/OpenTTD] Wuzzy2 commented on issue #7694: Too much news spam on small economy changes https://git.io/fjdOp
11:46:25 *** D-HUND is now known as debdog
11:57:26 *** frosch123 has joined #openttd
12:09:03 *** Samu has quit IRC
12:34:39 *** Samu has joined #openttd
12:34:50 <Samu> they produce passengers at oil rigs!
12:35:30 *** Wormnest has quit IRC
14:02:59 <LordAro> it is definitely lunchtime
15:04:27 <Wolf01> https://youtu.be/5mv8YBavcZg?t=470 <- eddi, do you know the mod is he using here? (7:50)
15:21:31 <peter1139> It was lunch time. Lunch was had.
15:21:38 <peter1139> (Surprise salad!)
15:21:49 <Wolf01> It's almost biscuit time
15:21:59 <peter1139> Possibly. I just had a flat peach though.
15:32:35 <LordAro> peter1139: you shouldn't sit on them first
15:32:49 <peter1139> Stops them rolling off the desk though!
16:16:26 <Samu> dark blue should be bankrupting "soon"
16:17:26 <Samu> rocketAI
16:20:23 <Samu> YES!! finally no more 300 ms
16:20:39 <Samu> averages 5 ms now
16:36:03 *** Flygon has quit IRC
17:00:18 *** sla_ro|master has quit IRC
17:09:31 *** Gumle2 has joined #openttd
17:15:13 *** Wormnest has joined #openttd
17:16:36 <Wolf01> Damn mods, I want a one way single lane road... no, only from 2 to 6 lanes
17:17:20 <Wolf01> Also I need to drink
17:26:29 *** Thedarkb1-X40 has quit IRC
17:39:02 <peter1139> Yes, drink.
17:39:09 <peter1139> Some kind of real ale.
17:45:37 *** Samu has quit IRC
17:53:52 <Wolf01> I don't like ale, or beer :(
18:14:50 *** Samu has joined #openttd
18:14:56 <Samu> this video has a train https://www.youtube.com/watch?v=-gLs6YNnqZY
18:21:20 *** HerzogDeXtEr has joined #openttd
18:22:36 *** Progman has joined #openttd
18:30:09 *** Thedarkb1-X40 has joined #openttd
18:39:19 *** Thedarkb1-X40 has quit IRC
18:40:49 *** Gumle2 has quit IRC
18:43:58 *** Gumle2 has joined #openttd
18:59:08 *** Thedarkb-X40 has joined #openttd
19:20:53 *** sla_ro|master has joined #openttd
19:33:54 *** Gumle2 has quit IRC
19:37:09 <Eddi|zuHause> Wolf01: some kind of auto-roundabout-builder? never seen before...
19:37:19 <Eddi|zuHause> Wolf01: but i don't usually build roundabouts anyway
19:38:50 *** Thedarkb-X40 has quit IRC
19:47:20 <Eddi|zuHause> Wolf01: i'm pretty sure there's a 1-lane one-way road in my game
19:47:36 <Eddi|zuHause> technically it's 1 lane plus 1 parking lane
19:48:10 *** spnda has joined #openttd
19:48:44 <spnda> Uhm, quick question, where can I check if the player is on a server or not?
19:48:50 *** Thedarkb-X40 has joined #openttd
19:49:04 <nielsm> you mean whether it's multiplayer?
19:49:10 <spnda> yeah
19:49:10 <nielsm> in the C++ code?
19:49:13 <nielsm> _networking
19:49:19 <spnda> is that a bool?
19:49:21 <nielsm> yes
19:49:25 <spnda> ok, thanks
19:49:55 <nielsm> it's also set on a dedicated server, or if the player is spectating
19:50:37 <nielsm> and there's a related global bool that indicates whether the local instance is a dedicated server
19:56:30 *** gelignite has joined #openttd
19:58:42 <spnda> Is it also possible to find the server name the player is currently on?
20:01:14 <nielsm> it doesn't get stored anywhere easily accessible
20:01:16 <nielsm> iirc
20:01:33 <spnda> hmm ok, I'll check if I can store it in a variable anywhere
20:02:17 <nielsm> https://github.com/nielsmh/OpenTTD/commit/4b8bc891cfc12b76ec50e1d30b7ffb16771807dc#diff-1e9d0b035b69c918344fd1fb7dbb6d4aR1375
20:03:04 <nielsm> (that line is technically pre-connection)
20:04:10 <milek7> "social presence"? what's that?
20:04:37 <nielsm> reporting what the local client is doing to stuff like discord
20:05:25 <nielsm> I made a decoupled implementation of that somewhat as an experiment
20:07:10 <nielsm> it's windows-only so far (could be supported by more platforms with not too much work) and requires this dll to do anything useful: https://github.com/nielsmh/ottd-discord
20:09:37 <spnda> nooooo that's what I am doing atm
20:09:44 <spnda> But mine is not decoupled
20:09:45 <nielsm> lol
20:10:04 <spnda> nielsm, does yours work?
20:10:06 <nielsm> the decoupling is basically for license purposes
20:10:08 <nielsm> yes mine works
20:10:24 <spnda> why the license thing?
20:10:43 <nielsm> the decoupling allows the dll to easily be a different license which is more compatible with the restrictive licensing of the discord sdk
20:11:06 <nielsm> (I'm using the full game sdk since the older rich presence sdk is deprecated and no longer available for download)
20:11:13 <spnda> It's MIT.... Well I guess
20:12:01 <nielsm> and also avoids supporting a specific social platform directly in the ottd codebase which I know other devs would dislike and that alone would have a PR shot down
20:12:04 <spnda> Would it be against the licenses to use the DLL in a GPL licenced programm?
20:12:38 <spnda> Actually discord-rpc is made for Linux and Mac aswell
20:12:41 <nielsm> well sort-of yes, but on the other hand the person doing the linking that makes an unredistributable program is the end user
20:13:13 <nielsm> so both ottd and the dll remain individually redistributable
20:13:27 <nielsm> but possibly not in the same download package
20:14:28 <nielsm> but anyway, the API to the DLL is intended to be sufficiently generic that you could implement a different social presence system (e.g. steam) just with a different plugin dll
20:16:41 <nielsm> or, change it to use the old discord api if that's easier/more portable/whatever
20:17:23 <spnda> now I don't feel like continuing because of the licence...
20:17:59 <nielsm> you're very welcome to take my work and improve it, it's not quite finished or polished yet
20:18:06 <nielsm> e.g. it doesn't work at all if you are the server
20:18:20 <nielsm> and does useless things if the server is on a local network
20:18:30 <nielsm> there's tons of things that can be improved :)
20:18:32 <spnda> Mine is finished logic wise
20:18:37 <spnda> Has support for everything
20:19:51 <spnda> for example: https://cdn.discordapp.com/attachments/442748131898032138/611625083135459338/unknown.png
20:20:07 <spnda> Also has a custom message for servers now, scenario creator and updates on each month, year and company name change
20:21:21 *** Thedarkb-X40 has quit IRC
20:21:47 <nielsm> I didn't think to put current date in, and treats scenario editor as not-in-game
20:24:49 *** andythenorth has joined #openttd
20:33:34 *** Thedarkb-X40 has joined #openttd
20:38:25 <andythenorth> hi
20:53:38 <Samu> bots everywhere
20:55:13 *** glx has joined #openttd
20:55:13 *** ChanServ sets mode: +v glx
20:58:40 * andythenorth is not a bot
21:04:37 <Samu> "socialize" everything
21:05:19 <Samu> makes u anti-social if u think of it
21:11:47 <Samu> max population a house can produce is 250?
21:12:12 <Samu> erm, my bad
21:12:19 <Samu> max hs->population is 250?
21:12:24 <Samu> must check
21:14:59 <nielsm> 255 is the actual max possible, it's a byte
21:15:16 <nielsm> but in the default house set nothing is higher than 250
21:16:34 <Samu> ah
21:16:37 <Samu> thx
21:17:10 <Samu> btw, GetCargoProduction on company headquarters returns 0, for pass and mail
21:17:27 <Samu> but on tile loop, it does produce cargo
21:17:56 <Samu> somebody forgot
21:18:06 <Samu> to addproducedcargo
21:18:10 <Samu> for object tiles
21:33:34 <Eddi|zuHause> Wolf01: https://youtu.be/LgXLuIwAljg?t=362 <-- that here might give you some kind of overview?
21:34:21 *** spnda has quit IRC
21:39:59 *** Samu has quit IRC
21:50:02 *** sla_ro|master has quit IRC
21:53:25 *** gelignite has quit IRC
22:09:46 *** Thedarkb-X40 has quit IRC
22:09:54 *** nielsm has quit IRC
22:11:05 *** Samu has joined #openttd
22:17:01 *** frosch123 has quit IRC
22:44:01 *** berndj has quit IRC
22:44:13 *** berndj has joined #openttd
22:46:52 <Samu> i had a weird idea, 15 instances of my AI, since now transported cargo is taken into consideration when picking up towns, I wonder which of the min_route_dist value will be best
22:47:12 <Samu> 15 different min_route_dist values
22:48:26 <Samu> they all picked the same first town
22:48:33 <Samu> hmm, oh well
22:49:13 <Samu> 2nd and 3rd route picks shall be more diversse
23:00:29 *** andythenorth has left #openttd
23:07:21 <Wolf01> Eddi|zuHause: yeah, I found the mod looking for roundabouts, do you have some suggestions for good mods? Like something to make road crossings disappear when disabled or how to make traffic lights working for real?
23:07:49 <Eddi|zuHause> Wolf01: Traffic Manager: President Edition is a must have
23:08:04 <Eddi|zuHause> it has lane configuration and traffic light configuration tools
23:08:15 <Eddi|zuHause> which need some getting into, but they work great if used right
23:08:50 <Wolf01> Yes, I have that, road anarchy, I tried to get the one to draw lane lines etc but it doesn't load
23:08:51 <Eddi|zuHause> Wolf01: asymmetric roads (like 4+2) for having enough space for turning lanes
23:08:52 *** Progman has quit IRC
23:09:18 <Eddi|zuHause> Wolf01: the line drawing needs some prop placement and prop anarchy mod
23:09:26 <Eddi|zuHause> i haven't really got into that yet
23:09:49 <Eddi|zuHause> i'm really liking the Metro Overhaul Mod
23:12:08 <Wolf01> I need to understand how mass transport work, I can't get them to work right (too many passengers or too few, but in any case massive loss)
23:19:09 *** Samu has quit IRC
23:19:10 <Eddi|zuHause> i've never really had problems with that
23:19:33 <Eddi|zuHause> make sure the stations have proper walking connections, so the passengers getting off don't clog your roads
23:19:42 <Eddi|zuHause> and have bus feeders into a metro station or something
23:21:06 <Wolf01> Yeah, I'm using that for the industrial area, there are only trucks there now, private cars are like 5%
23:56:03 *** Thedarkb-X40 has joined #openttd