Times are UTC Toggle Colours
00:03:06 *** Progman has quit IRC 00:16:46 *** Wacko1976 has quit IRC 00:41:30 *** Samu has quit IRC 01:10:19 *** Supercheese has joined #openttd 01:27:57 *** WWacko1976-work has joined #openttd 01:33:06 *** Supercheese has quit IRC 01:33:27 *** Supercheese has joined #openttd 01:56:00 *** Flygon has joined #openttd 02:11:02 *** chomwitt has quit IRC 02:21:59 *** sim-al2 has joined #openttd 03:16:33 *** KouDy has joined #openttd 03:21:14 *** snail_UES_ has quit IRC 03:22:42 *** snail_UES_ has joined #openttd 03:30:25 *** Hobbyboy has quit IRC 03:30:27 *** rocky113844 has quit IRC 03:33:20 *** haudrauf has quit IRC 03:34:20 *** haudrauf has joined #openttd 03:38:52 *** Hobbyboy has joined #openttd 04:52:50 *** Wacko1976 has joined #openttd 05:07:40 *** Heiki has quit IRC 05:53:56 *** KouDy has quit IRC 06:03:12 *** Supercheese has quit IRC 06:03:34 *** Supercheese has joined #openttd 06:03:39 *** andythenorth has joined #openttd 06:04:40 *** Supercheese has quit IRC 06:05:01 *** Supercheese has joined #openttd 06:06:27 *** Heiki has joined #openttd 06:14:21 *** Wacko1976 has quit IRC 06:22:28 *** andythenorth has quit IRC 06:25:52 *** KouDy has joined #openttd 06:33:12 *** snail_UES_ has quit IRC 06:43:24 *** KouDy has quit IRC 06:45:18 *** Supercheese has quit IRC 06:48:46 *** andythenorth has joined #openttd 06:51:19 *** KouDy has joined #openttd 06:51:38 *** andythenorth has left #openttd 07:06:48 *** sim-al2 is now known as Guest2432 07:06:49 *** sim-al2 has joined #openttd 07:07:36 *** crem has quit IRC 07:13:01 *** Guest2432 has quit IRC 07:14:17 *** KouDy has quit IRC 07:14:28 *** Samu has joined #openttd 07:16:28 *** KouDy has joined #openttd 07:21:03 *** crem has joined #openttd 07:37:16 *** sla_ro|master has joined #openttd 07:43:58 *** Progman has joined #openttd 08:25:17 *** Samu has quit IRC 08:36:40 *** snail_UES_ has joined #openttd 09:43:25 *** KouDy has quit IRC 10:08:20 *** WWacko1976-work has quit IRC 10:13:04 *** WWacko1976-work has joined #openttd 10:17:49 *** KouDy has joined #openttd 10:54:41 *** Wacko1976 has joined #openttd 10:59:24 *** Samu has joined #openttd 11:00:04 *** snail_UES_ has quit IRC 11:14:15 *** WWacko1976-work has quit IRC 11:15:26 *** WWacko1976-work has joined #openttd 12:35:31 *** Thedarkb has joined #openttd 12:58:10 *** [1]sim-al2 has joined #openttd 12:58:10 *** sim-al2 is now known as Guest2451 12:58:11 *** [1]sim-al2 is now known as sim-al2 13:03:50 *** Guest2451 has quit IRC 13:42:42 *** nielsm has joined #openttd 13:44:26 *** Thedarkb has quit IRC 13:45:24 *** Progman has quit IRC 13:46:54 *** Thedarkb has joined #openttd 14:01:15 *** sim-al2 has quit IRC 14:10:27 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on issue #6891: Question Building the project on Windows https://github.com/OpenTTD/OpenTTD/issues/6891#issuecomment-418745172 14:13:53 *** Alberth has joined #openttd 14:13:53 *** ChanServ sets mode: +o Alberth 14:14:01 <Alberth> o/ 14:18:38 *** KouDy has quit IRC 14:20:29 <Samu> Alberth: can you fix a bug I reported last night? 14:21:15 <Samu> trying to persuade someone to fix it :p 14:23:24 <LordAro> Samu: did you report it on github? 14:23:29 <LordAro> if not, do that 14:24:08 <Samu> uh i dont have an account 14:24:12 <LordAro> make one 14:36:48 <peter1138> 23:28 < Samu> peter1138: can u look into this? 14:36:51 <peter1138> lol 14:37:06 <peter1138> no, not when i'm driving in London at that time. 14:37:18 <peter1138> Just create a github account already, fucking hell. 14:37:37 <nielsm> "if it's not in a ticket it's not a bug" 14:37:45 <peter1138> +1 14:38:52 <nielsm> (the contrary is not true by the way, just because it is in a ticket doesn't mean it's certainly a bug, tickets can contain non-bugs, but bugs can never be considered if they are not covered by a ticket!) 14:39:21 <Samu> ok 14:40:16 *** Wacko1976 has quit IRC 14:40:21 <peter1138> And if you have a fix you can just file a PR. 14:40:47 *** Wormnest has joined #openttd 14:44:52 <Samu> ok, registered an account let's see what i can do 14:51:52 <Samu> PR? 14:52:59 <peter1138> Might need your own fork for that, I suppose. 14:53:21 <peter1138> But at least the issue tracker will be simple. 14:53:21 <nielsm> Pull Request 14:54:25 <Samu> no idea what's a pull request for or forks 14:54:32 <Samu> bah i knew i shouldn't have registere 14:54:42 <peter1138> Don't worry about them then. 14:55:08 <peter1138> https://github.com/OpenTTD/OpenTTD/issues/new < is what you want. 14:55:49 <LordAro> the horror, you don't understand everything immediately 14:58:38 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened issue #6892: CONFIG_RANDOM bug https://github.com/OpenTTD/OpenTTD/issues/6892 14:58:43 <Samu> ok i submited 14:58:49 <Samu> oh, it's here 14:58:50 <Samu> lel 14:59:02 <Samu> too fast 15:03:39 <Samu> btw there is no single AI that uses CONFIG_RANDOM 15:03:53 <Samu> not sure about GS'es 15:05:40 <Samu> so... if u wanna test it 15:05:45 <Samu> i guess i gotta submit my ai? 15:07:00 <Samu> I didn't finish it :( 15:08:47 *** ed-209 has quit IRC 15:09:03 *** quiznilo has joined #openttd 15:11:49 *** andythenorth has joined #openttd 15:11:53 <andythenorth> o/ 15:14:54 <andythenorth> Alberth: I had a more complete GS idea https://paste.openttdcoop.org/ps8xl6rne/rdnjbc/raw 15:18:09 <Alberth> lots of ideas, apparently! 15:20:14 <andythenorth> mumble mumble strategies 15:20:35 <andythenorth> only specifying where the player must build is quite boring 15:20:56 <andythenorth> restricting the build, but offering strategic and tactical choices is interesting 15:21:01 <Alberth> Samu: just a script that performs 20 random draw things is sufficient 15:21:27 <Alberth> I never heard of RANDOM_CONFIG at all btw, no idea what you're talking about 15:24:16 <Alberth> problem is somewhat I have sufficient distractions currently 15:24:41 <Samu> AIInfo flags 15:25:09 <Samu> https://noai.openttd.org/api/trunk/classAIInfo.html#5c8349ebc14ec2c4b63187780c33f5b9 15:27:47 <Samu> the AI has to be randomly chosen from a pool of AIs 15:27:56 <Samu> you can't specify it 15:30:18 <andythenorth> Alberth: I wondered about composing this GS from different components 15:30:46 <andythenorth> so a Connection Builder component, which sets connection goals, in a similar player interface to Busy Bee 15:31:12 <andythenorth> and a separate Industry Constructor component which rewards goal completion by building industries, against a pattern 15:31:42 <andythenorth> and an option for the industry constructor to also control map at game start 15:31:50 <andythenorth> 'have a new industry' could incidentally be a reward in Busy Bee 15:34:27 <Alberth> make each component a class, and forward all events from the main loop (possibly using knowledge what events the component wants to have) 15:34:46 <andythenorth> I'm kind of curious about testing GS 15:34:52 <andythenorth> sitting playing them is one valid approach 15:34:54 <andythenorth> but time consuming 15:35:05 <andythenorth> I wonder if they could be 'tested' by logged output 15:35:31 <Alberth> not sure how you make progress in a component, likely you call it from some other point 15:35:52 * andythenorth wonders about a self-test mode :P 15:36:27 <Alberth> I typically test by printing what it decides while building the code 15:37:20 <Alberth> but you could make a separate object that performs game operations, and replace that while testing 15:37:53 <Alberth> then you don't even need openttd, you can just run the bare squirrel interpreter 15:38:11 <Alberth> perhaps with a few mock objects 15:42:51 *** Thedarkb has quit IRC 15:46:31 <Samu> damn it, i thought i had 7-zip installed 15:50:38 <Samu> we can't support that file type? 15:50:43 <Samu> i can't upload .tar 15:56:10 <LordAro> not to github, it only accepts a few types 15:56:43 <LordAro> it'll accept a zip or a tar.gz though 15:56:56 <LordAro> https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/ 15:57:25 <LordAro> (*it).max_value - (*it).min_value) + (*it).min_value 15:57:31 <LordAro> that is rather suspicious, isn't it? :) 15:57:56 *** frosch123 has joined #openttd 16:03:40 <Samu> https://github.com/OpenTTD/OpenTTD/issues/6892 uploaded 16:04:47 <Samu> no 16:04:50 <Samu> it's only InteractiveRandomRange((*it).max_value - (*it).min_value) 16:05:07 <Samu> watch parenthesis 16:05:52 <Samu> the result of that is then + (*it).min_value 16:06:27 <andythenorth> quak and so on 16:06:44 <nielsm> why is it written like that and not it->min_value etc... 16:07:06 <Samu> no idea, it's not my code 16:07:19 <frosch123> hoi 16:07:26 <frosch123> nielsm: actually very few people know that 16:08:00 <frosch123> people read about *iterator, and use it like that 16:09:40 *** Flygon has quit IRC 16:12:56 <LordAro> i guess in some ways it's clearer that it's an iterator rather than a pointer? 16:13:01 <LordAro> but eh 16:13:21 <nielsm> the entire point of iterators is to look almost exactly like a pointer, though 16:13:27 <LordAro> aye 16:14:02 <frosch123> everyone i met who uses the (*). syntax got huge eyes when i told them that -> also works, so I doubt it is intentional 16:14:45 <LordAro> Samu: i'm pretty sure there's no situation in which "(a + b) - b" is different to "a + b - b" 16:14:56 <LordAro> (which is the same as "a" 16:14:57 <LordAro> ) 16:16:00 <LordAro> even accounting for overflows and what not 16:16:53 <Samu> it is setting a value for a setting 16:17:00 <Samu> :( 16:17:54 <Samu> min_value = 0, max_value = 1 16:19:01 <Samu> the randomizer dude randomizes between its own 0 and the limit -1 16:19:22 <Samu> (a - b) is the limit 16:19:59 <LordAro> Samu: you can stop now 16:20:02 <Samu> ok :( 16:20:03 <LordAro> go work on something else 16:20:05 <LordAro> :) 16:22:23 *** wodencafe has quit IRC 16:27:29 *** KouDy has joined #openttd 16:37:02 *** Laedek has quit IRC 16:42:06 *** Gja has joined #openttd 17:00:59 *** gelignite has joined #openttd 17:04:50 *** Wolf01 has joined #openttd 17:06:53 <Wolf01> o/ 17:07:01 <andythenorth> o/ 17:18:40 *** HerzogDeXtEr has joined #openttd 17:29:16 *** chomwitt has joined #openttd 17:44:35 <Alberth> o/ 17:53:55 *** Progman has joined #openttd 18:00:53 *** Laedek has joined #openttd 18:06:53 *** tokai|noir has joined #openttd 18:06:53 *** ChanServ sets mode: +v tokai|noir 18:12:01 *** Gja has quit IRC 18:13:29 <Samu> damn valuators are lame 18:13:40 *** tokai has quit IRC 18:15:09 <Samu> is this valuator function heavy? https://paste.openttdcoop.org/pjzwj6cj6 18:15:58 <Samu> oh, the optimalfakedist function missing 18:16:13 <Samu> there https://paste.openttdcoop.org/pex5dlqpr 18:19:01 <Samu> what's the newgrf with the most aircraft engines? 18:19:04 *** wodencafe has joined #openttd 18:19:11 <Samu> must put the valuator into some stress test 18:26:47 <Samu> hmm :( 18:27:02 <Samu> i better make a separate function to act as valuator 18:35:48 <DorpsGek_II> [OpenTTD/OpenTTD] RailwAI commented on issue #6890: Crash: disconnecting road vehicle https://github.com/OpenTTD/OpenTTD/issues/6890#issuecomment-418835665 18:46:11 *** Wacko1976 has joined #openttd 19:00:06 *** Thedarkb has joined #openttd 19:03:25 *** KouDy has quit IRC 19:05:01 <Alberth> the early STL implementations didn't do it-> 19:09:40 *** Supercheese has joined #openttd 19:14:11 <Samu> it is done differently! 19:16:14 <Samu> https://paste.openttdcoop.org/p8fx5g6cz 19:16:25 <Samu> much lighter valuator now 19:21:45 *** Thedarkb has quit IRC 19:43:55 *** sla_ro|master has quit IRC 19:54:05 *** gelignite has quit IRC 19:55:57 *** nielsm has quit IRC 20:13:15 *** Alberth has left #openttd 20:22:07 *** andythenorth has left #openttd 20:25:29 *** KouDy has joined #openttd 20:30:49 *** Thedarkb has joined #openttd 20:46:56 *** frosch123 has quit IRC 20:48:16 <Wolf01> 'night 20:48:22 *** Wolf01 has quit IRC 21:18:06 *** KouDy has quit IRC 21:25:21 *** Wacko1976 has quit IRC 21:36:08 *** glx has joined #openttd 21:36:08 *** ChanServ sets mode: +v glx 21:37:01 *** KouDy has joined #openttd 22:17:43 <Samu> well, the income estimators 22:18:01 <Samu> almost always return the engine with the most capacity 22:18:51 <Samu> I was hoping for some variety with av8, but nop... mass airships 22:21:11 *** Wormnest has quit IRC 22:24:47 *** snail_UES_ has joined #openttd 22:27:30 <Samu> I need a better means to estimate the min_dist 22:27:37 <Samu> of an aircraft route 22:38:31 <Samu> maybe I don't 22:38:33 <Samu> screw variety 22:45:24 *** sim-al2 has joined #openttd 22:57:47 *** Thedarkb has quit IRC 22:59:14 *** HerzogDeXtEr has quit IRC 23:04:33 *** Thedarkb has joined #openttd 23:13:45 *** Thedarkb has quit IRC 23:16:25 *** Progman has quit IRC 23:20:53 *** snail_UES_ has quit IRC 23:23:19 *** Samu has quit IRC 23:40:12 *** Supercheese has quit IRC 23:49:01 *** Tharbakim has quit IRC