Config
Log for #openttd on 18th November 2017:
Times are UTC Toggle Colours
00:02:16  <Samu> "By enabling this button, only aircraft matching the same type as the one selected for replacement are displayed"
00:02:29  <Samu> better?
00:02:35  *** andythenorth has quit IRC
00:03:08  <Samu> "By enabling this button, only aircraft of the same type as the one selected for replacement are displayed"
00:03:34  <Samu> where is the english expert!? :) a little help
00:03:59  *** ToBeFree has quit IRC
00:07:57  *** HerzogDeXtEr has quit IRC
00:08:28  *** Progman has quit IRC
00:13:36  *** SgtStroopwafel_ has joined #openttd
00:13:54  *** sla_ro|master has quit IRC
00:20:16  *** Tirili has quit IRC
00:20:25  *** oskari89 has quit IRC
00:21:06  *** Tirili has joined #openttd
00:30:10  <Samu> cyas
00:30:15  *** Samu has quit IRC
00:42:01  *** Gja has quit IRC
00:46:12  *** HiddenKnowledge has joined #openttd
00:47:41  <HiddenKnowledge> Hello, I tried getting a patch to work but I couldn't get it to merge. I even tried doing it manually but the code looked very different in some of the places.
00:48:14  <HiddenKnowledge> So I figured maybe I should post in the forum to ask, but now I don't know where to post, should I post in the support forum or in the thread for the patch?
00:48:59  <HiddenKnowledge> The thread doesn't really say which version of openttd it's supposed to be merged with.
00:49:06  *** chomwitt has quit IRC
00:49:13  <HiddenKnowledge> It just says 'Trunk'
00:49:33  <HiddenKnowledge> But that could have been any version, obviously.
00:56:14  *** Tirili has quit IRC
00:59:16  *** FLHerne has quit IRC
01:01:31  *** tokai has quit IRC
01:04:51  *** Flygon has joined #openttd
01:07:15  *** tokai has joined #openttd
01:07:16  *** ChanServ sets mode: +v tokai
02:06:35  *** Gustavo6046 has quit IRC
02:17:06  *** glx has quit IRC
02:27:46  *** sim-al2 is now known as Guest790
02:27:46  *** sim-al2 has joined #openttd
02:32:27  *** Guest790 has quit IRC
03:24:09  <HiddenKnowledge> Are there any patches that cap the fast forward speed? I tried to look for one but couldn't find it.
04:57:45  *** HiddenKnowledge has quit IRC
05:04:22  *** Smedles has quit IRC
05:04:26  *** Smedles has joined #openttd
05:15:50  *** Smedles has quit IRC
05:16:20  *** Smedles has joined #openttd
05:24:08  *** Smedles has quit IRC
05:36:43  *** Smedles has joined #openttd
05:54:55  *** supermop_ has quit IRC
06:29:58  *** Alberth has joined #openttd
06:29:59  *** ChanServ sets mode: +o Alberth
07:31:40  *** Progman has joined #openttd
08:04:59  *** sla_ro|master has joined #openttd
08:17:10  *** andythenorth has joined #openttd
08:17:20  <andythenorth> Road Hog is a song in original game music
08:17:23  <andythenorth> did not know that
08:25:11  *** gelignite has joined #openttd
08:26:56  *** stefino has joined #openttd
08:33:55  <Alberth> o/
08:34:41  <Eddi|zuHause> i only remember "an alien ate my railway"
08:38:38  *** Progman has quit IRC
08:44:12  *** Arveen has joined #openttd
08:46:12  *** stefino has quit IRC
08:46:28  *** stefino has joined #openttd
08:49:11  *** Arveen2 has quit IRC
09:28:56  *** synchris has joined #openttd
09:52:44  *** oskari89 has joined #openttd
10:01:11  <alluke> western metro opened finally after over year of delay
10:01:55  <alluke> could go drink beer there and test drive it
10:10:34  *** Stimrol has joined #openttd
10:12:16  *** FLHerne has joined #openttd
10:55:23  *** Stimrol has quit IRC
10:55:28  *** andythenorth has quit IRC
11:00:43  *** Cubey has joined #openttd
11:06:26  *** kaiserchief has joined #openttd
11:06:44  *** stefino has quit IRC
11:07:00  *** kaiserchief has quit IRC
11:25:02  *** Cubey has quit IRC
11:31:02  *** Gja has joined #openttd
11:39:19  *** HerzogDeXtEr has joined #openttd
12:03:29  *** Gja has quit IRC
12:17:15  *** Samu has joined #openttd
12:20:33  *** Stimrol has joined #openttd
12:54:41  *** Gja has joined #openttd
13:09:27  *** oskari89 has quit IRC
14:27:51  *** Flygon has quit IRC
14:34:39  *** Gustavo6046 has joined #openttd
14:56:42  *** gusta_000 has joined #openttd
14:57:49  *** Gustavo6046 has joined #openttd
15:00:57  <Samu> i'm failing to construct a widget
15:01:16  *** SgtStroopwafel_ has quit IRC
15:03:36  <Alberth> and it's so simple :(
15:05:16  <Samu> https://imgur.com/2K9tav9
15:05:19  <Samu> good vs bad
15:05:50  <Samu> i want that black hole to be filled with grey
15:08:05  <Samu> this->GetWidget<NWidgetStacked>(WID_RV_AIRCRAFT_ONLY)->SetDisplayedPlane(this->match_aircraft_type ? 0 : SZSP_HORIZONTAL);
15:08:28  <Samu> is it SZDP_HORIZONTAL  or VERTICAL?
15:08:55  <Samu> SZSP
15:09:38  *** SgtStroopwafel_ has joined #openttd
15:09:45  *** Mahjong1 has joined #openttd
15:10:15  <Samu> bah, vertical looks worse
15:10:22  <Samu> so, it must be somehwere else, halp
15:12:35  <Alberth> just make a widget, don't mess with widget sizes
15:13:03  <Alberth> ^ which is just 1-2 lines in the window widget tree
15:14:46  <Alberth> widget stacks are making changing window layout, way more advanced than you need, probably
15:14:54  <Alberth> *are for
15:15:50  <Samu> there's already one specifically for trains
15:16:05  <Samu> and other for the other vehicles
15:16:15  <Samu> do you mean i need to make one specifically for aircraft?
15:17:03  *** Mahjong has quit IRC
15:17:13  <Samu> that's too much copy paste
15:17:27  <Samu> that was the way I had before, i was trying to simplify it
15:18:39  <Samu> static WindowDesc _replace_rail_vehicle_desc( 	WDP_AUTO, "replace_vehicle_train", 500, 140, 	WC_REPLACE_VEHICLE, WC_NONE, 	WDF_CONSTRUCTION, 	_nested_replace_rail_vehicle_widgets, lengthof(_nested_replace_rail_vehicle_widgets) );
15:18:57  <Samu> static WindowDesc _replace_vehicle_desc( 	WDP_AUTO, "replace_vehicle", 456, 118, 	WC_REPLACE_VEHICLE, WC_NONE, 	WDF_CONSTRUCTION, 	_nested_replace_vehicle_widgets, lengthof(_nested_replace_vehicle_widgets) );
15:19:35  <Samu> was trying to reuse replace_vehicle
15:25:35  <Alberth> ok
15:26:58  <Alberth> then you must either use a stack widget, or initialize widgets to 0 size that you don't want to see, while creating the tree
15:28:25  <Alberth> where stack widget is for dynamically changing the window
15:29:07  <Alberth> although it's the most complicated form, there are much simpler forms if the sizes don't change after construction
15:41:33  <Eddi|zuHause> alluke: only one year delay? in what utopian world do you live?
15:46:36  <Samu> NWidget(WWT_TEXTBTN, COLOUR_GREY, WID_RV_MATCH_AIRCRAFT_TYPE), SetDataTip(STR_REPLACE_MATCH_AIRCRAFT_TYPE, STR_REPLACE_MATCH_AIRCRAFT_TYPE_HELP),
15:48:01  <Samu> NWidget(WWT_TEXTBTN, COLOUR_GREY, WID_RV_MATCH_AIRCRAFT_TYPE), SetDataTip(STR_REPLACE_MATCH_AIRCRAFT_TYPE, STR_REPLACE_MATCH_AIRCRAFT_TYPE_HELP), SetResize(1, 0), SetFill(1, 1),
15:49:48  <Samu> gonna try again
15:50:38  *** ToffeeYogurtPots has joined #openttd
15:52:01  <Samu> meanwhile, this was my copy/paste method
15:52:02  <Samu> https://paste.openttdcoop.org/puhsjpjyc
15:56:22  <Samu> do AIs have access to this stuff too?
15:56:32  <Samu> they can change my settings this way?
15:56:36  <Samu> lel
15:58:15  *** mindlesstux has quit IRC
15:58:50  *** mindlesstux has joined #openttd
16:00:58  <Samu> do AIs have their own 'openttd.cfg' file for gui stuff? or ?
16:04:18  <Samu> i need to understand what happens when an AI 'clicks' 'Match aircraft type' button, are they gonna change my openttd.cfg file, or do they have their own virtual openttd.cfg file?
16:04:48  <LordAro> AIs can't change game settings
16:05:13  <Samu> well, but the way I implemented this, might be doing that
16:05:28  <LordAro> not sure about game scripts, but i'd imagine they're the same
16:05:42  *** supermop has joined #openttd
16:06:08  <supermop> yo
16:06:36  <Samu> IConsoleSetSetting("gui.autoreplace_match_aircraft_type", !_settings_client.gui.autoreplace_match_aircraft_type);
16:06:53  <Samu> this thing is what happens when clicking match aircraft typoe
16:08:29  <Samu> i didn't want to make this a company setting, i wanted each client to have their own preference
16:08:37  <Samu> but i worry about ais
16:09:47  <Samu> i dont want ais to change my preferences, wish i could test an ai
16:14:08  <Alberth> you changed checks in the replacement command ?
16:16:17  <Samu> what ?
16:16:43  <Samu> https://paste.openttdcoop.org/puhsjpjyc#line-42 at line 42
16:17:27  <Samu> must be a DoCommand?
16:19:09  <Samu> line 44 is checking directly from the _settings_client
16:19:18  <Samu> to set the button state
16:22:06  <Samu> line 31 as well
16:23:49  *** andythenorth has joined #openttd
16:23:53  <andythenorth> o/
16:24:02  *** supermop has quit IRC
16:24:06  <Alberth> if you changed a CoCommand, then the other clients must also know the setting, or they block the replace, and desync
16:24:13  <Alberth> o/ andy
16:24:39  <Alberth> *DoCommand
16:25:22  <Samu> hmm autoreplace is a giant DoCommand
16:25:46  <Samu> but the outcome is unchanged regardless of this setting
16:26:00  <Samu> it's only acting as a filter for the list
16:27:32  <Samu> if a client has match aircraft type disabled and the other does not, it won't matter in the deciding moment when the aircraft is being replaced
16:28:06  <Samu> doesn't depend on it
16:29:40  <Samu> i think i have a way to test this, brb
16:32:40  <Samu> it's a setting of this kind: having a client with drag & drop toggled on and another having it toggled off
16:32:47  <Samu> playing in the same company
16:37:57  <Alberth> I am surprised the replacement doesn't check for a compatible aircraft type when replacing
16:38:22  <Alberth> *replacement code
16:40:12  <Samu> testing replacement
16:40:16  <Alberth> hmm, perhaps it makes sense, at an airport with both helicopters and aircraft
16:41:16  <Samu> no desync so far, aircraft is being sent for replacement
16:41:41  <Samu> will see if it desync, i got server and client playing in the same company, but with different match aircraft type
16:42:00  *** Wormnest has joined #openttd
16:42:10  <Alberth> sure, gui doesn't desync in itself, a command must do something different at different machines
16:42:28  <Alberth> but if you didn't change that code, it should not desync
16:43:16  <Alberth> if you did change that code, you should make sure your changes are computed in the same way at all machines
16:48:02  <Samu> strange, aircraft isn't being replaced, what's happening :(
16:50:54  <Samu> oh, i see why
16:51:09  <Samu> trying to replace passenger with mail, that doesn't work
16:51:21  <Samu> better test without av8
16:56:57  <Samu> network game synchronization failed
16:57:09  <Samu> interesting, it desyncs
16:58:22  <Samu> i knew this was too good to be true
17:00:16  <Samu> really have to learn how to generate lists
17:06:42  <Samu> lines 11-16 are the cause of desync
17:06:55  <Samu> i wanna learn how to generate lists
17:10:21  *** Stimrol has quit IRC
17:10:30  <Samu> my first desync :(
17:10:35  *** Gustavo6046 has quit IRC
17:11:40  *** Stimrol has joined #openttd
17:22:59  *** Gja has quit IRC
17:23:05  <Samu> maybe this ain't too hard, give me some time, i'm trying to generate a list in another manner
17:23:11  <Samu> b back later
17:30:09  *** supermop has joined #openttd
17:36:42  <Samu> done
17:36:43  <Samu> yay
17:36:54  <Samu> trying desync
17:36:57  <Samu> brb
17:42:36  *** Gustavo6046 has joined #openttd
17:45:08  <Samu> no desync!
17:46:47  <Samu> https://paste.openttdcoop.org/p9hlizjtm
17:47:11  <Samu> now back to my other issue, about AIs being able to change my settings
17:49:02  <Samu> Alberth: halp :o
17:49:13  <Samu> AIs or GSs
17:49:47  *** supermop has quit IRC
17:59:38  *** glx has joined #openttd
17:59:38  *** ChanServ sets mode: +v glx
17:59:51  <Samu> 			case WID_BRAS_PLATFORM_DRAG_N_DROP: { 				_settings_client.gui.station_dragdrop ^= true;
18:00:54  <Samu> do AIs have access to this button at all?
18:01:19  <Samu> what can AIs do afterall? :( i'm so depressed
18:12:27  *** Breckett has joined #openttd
18:25:35  <Samu> hmm instead of match aircraft type, i got an even better idea
18:26:51  <Samu> list all, list heli, list small, list large, list matching aircraft type
18:45:44  <DorpsGek> Commit by translators :: r27931 trunk/src/lang/portuguese.txt (2017-11-18 19:45:38 +0100 )
18:45:45  <DorpsGek> -Update from Eints:
18:45:46  <DorpsGek> portuguese: 7 changes by neuralshock
18:46:49  *** Gja has joined #openttd
19:06:28  *** Progman has joined #openttd
19:10:53  *** Tillerbob has joined #openttd
19:12:11  <Tillerbob> I have a really dumb question. I've been having issues with joining loading bays to oil wells and iron ore. I have put them all around and both types of bay. Any thoughts on what I'm doing wrong?
19:15:00  <Alberth> euhm, what do you want to transport?
19:15:11  <Alberth> with what type of vehicles?
19:15:33  <Alberth> laoding bays -> trucks?
19:15:37  <Tillerbob> I go with the oil wells. I have the oil trucks. The loading bays just say Accepts: Nothing
19:16:00  <Tillerbob> Same with the ore mine. I put the bay next to it and it says Accepts: Nothing
19:16:04  <Alberth> yes, you get oil, you don't bring it
19:16:18  <Tillerbob> <--- Dumbass
19:16:22  <Alberth> :)
19:16:30  <Tillerbob> It's been a long day already. Thanks...
19:16:36  <Alberth> enjoy the game
19:16:39  <Tillerbob> I've been fighting the most obvious thing ever. Appreciate the helpt
19:17:37  <Alberth> this is oneof those problems that just must have a stupid answer
19:17:51  <Alberth> and you're just blind
19:17:57  <Alberth> happens to all of us :)
19:22:01  *** supermop has joined #openttd
19:22:11  *** supermop has quit IRC
19:29:06  *** supermop_home has joined #openttd
19:43:13  <Samu> subsidies for cargo dist topic is hot
19:44:37  <Samu> i'd also like an option to completely disable subsidies
20:05:24  <Alberth> just ignore them
20:05:37  <Alberth> maybe you can disable the news items
20:06:31  <Alberth> additional income is non-relevant anyway
20:13:20  *** supermop_home has quit IRC
20:20:29  *** PressureLine has joined #openttd
20:26:56  *** supermop has joined #openttd
20:27:04  <PressureLine> wjee
20:28:29  *** Tillerbob has quit IRC
20:31:29  *** Breckett has quit IRC
20:39:17  <PressureLine> i think my project for the day should be "all default industries on one map!"
20:42:37  <Alberth> 64x64 map :)
20:42:52  <PressureLine> tempting
20:43:16  <Alberth> oh, it's fun for a few times
20:43:25  <PressureLine> but. I prefer larger maps, so when im making a grf for me, I don't really care about 64^2 maps
20:43:33  <Alberth> no room for large stations
20:44:22  <Alberth> you can always do 128x1024  or so
20:45:01  <Alberth> bit insanely long :)
20:46:45  <PressureLine> https://i.imgur.com/yPDDrMn.png
20:48:01  <PressureLine> eventual goal in that game is to be running 10TL mainline trains
20:49:13  <PressureLine> 64x4096
20:49:18  * PressureLine nods sagely
21:02:23  <Alberth> ieks
21:02:26  *** Alberth has left #openttd
21:08:19  <PressureLine> maybe i'll have a play around with OpenGFX+ Industries
21:09:17  *** Gustavo6046 has quit IRC
21:09:51  *** Gustavo6046 has joined #openttd
21:09:51  *** FLHerne_ has joined #openttd
21:13:28  *** FLHerne has quit IRC
21:13:55  *** SgtStroopwafel_ has quit IRC
21:15:05  *** SgtStroopwafel_ has joined #openttd
21:29:57  <Samu> well, in competitive servers, it matters
21:30:03  <Samu> about subsidies
21:30:34  *** sla_ro|master has quit IRC
21:33:17  <Samu> SQGSWindow.DefSQConst(engine, ScriptWindow::WID_RV_MATCH_AIRCRAFT_TYPE,                "WID_RV_MATCH_AIRCRAFT_TYPE");
21:33:36  <Samu> what is this SQGSWindow stuff supposed to do?
21:34:00  <Samu> src/script/api/game/game_window.hpp.sq
21:35:29  <Samu> seems like a whole different coding style, these .sq files
21:43:37  *** mczapkie has joined #openttd
21:43:49  <mczapkie> Hello
21:45:30  *** mindlesstux has quit IRC
21:46:09  *** mindlesstux has joined #openttd
21:53:14  <mczapkie> I can change allow_subsidy option to enumerate (off, manual, all)
21:53:32  <andythenorth> lo mczapkie
21:54:19  <mczapkie> Hello Andy
21:57:59  <mczapkie> I was answering to @Samu
21:59:27  *** Stimrol has quit IRC
22:06:24  *** Laedek_ has quit IRC
22:07:17  *** Laedek has joined #openttd
22:09:10  *** SgtStroopwafel_ has quit IRC
22:11:00  *** Pressure_Line has joined #openttd
22:11:56  <Samu> hi mczapkie plz do
22:13:08  *** kais58 has quit IRC
22:13:57  *** synchris has quit IRC
22:13:58  *** kais58 has joined #openttd
22:17:30  *** PressureLine has quit IRC
22:17:30  *** Smedles has quit IRC
22:17:46  *** Smedles has joined #openttd
22:18:55  *** gelignite has quit IRC
22:27:50  <mczapkie> Samu, good idea, hovewer I'm not sure if this patch would be implemented in trunk
22:41:52  <Samu> :)
23:00:50  *** sim-al2 has quit IRC
23:02:48  *** FLHerne_ has quit IRC
23:02:57  *** FLHerne_ has joined #openttd
23:22:06  *** Pressure_Line has quit IRC
23:42:23  *** FLHerne has joined #openttd
23:43:16  *** Wormnest has quit IRC
23:43:19  *** tokai has quit IRC
23:44:07  *** tokai has joined #openttd
23:44:07  *** ChanServ sets mode: +v tokai
23:46:04  *** FLHerne_ has quit IRC
23:51:27  <supermop> hi mczapkie, interesting post about subsidies
23:51:35  <andythenorth> bed
23:51:36  *** andythenorth has left #openttd
23:59:27  *** Flygon has joined #openttd

Powered by YARRSTE version: svn-trunk