Config
Log for #openttd on 8th March 2020:
Times are UTC Toggle Colours
00:01:45  *** Wolf01 has quit IRC
00:21:09  *** Progman has quit IRC
00:30:53  *** Wormnest__ has quit IRC
00:30:53  *** Smedles has quit IRC
00:33:15  *** adikt- has joined #openttd
00:33:27  *** Smedles has joined #openttd
00:34:10  *** adikt has quit IRC
00:52:57  *** Smedles has quit IRC
00:53:45  *** Smedles has joined #openttd
01:27:43  *** Wormnest__ has joined #openttd
01:51:45  *** arikover` has joined #openttd
01:52:13  *** Smedles has quit IRC
01:52:31  *** Smedles has joined #openttd
01:55:57  *** arikover` has quit IRC
01:57:08  *** gelignite has quit IRC
01:59:01  *** arikover has quit IRC
02:20:13  *** Wormnest__ has quit IRC
02:32:57  *** Smedles has quit IRC
02:35:10  *** Smedles has joined #openttd
02:54:02  *** Smedles has quit IRC
02:55:09  *** Smedles has joined #openttd
03:03:24  *** glx has quit IRC
03:21:56  *** Smedles has quit IRC
03:24:20  *** Smedles has joined #openttd
03:30:34  *** D-HUND has joined #openttd
03:33:59  *** debdog has quit IRC
04:14:34  *** mindlesstux has quit IRC
04:16:36  *** mindlesstux has joined #openttd
04:47:21  *** mindlesstux has quit IRC
04:47:28  *** Smedles has quit IRC
04:47:33  *** Smedles has joined #openttd
04:49:39  *** mindlesstux has joined #openttd
05:06:20  *** mindlesstux has quit IRC
05:08:12  *** mindlesstux has joined #openttd
05:54:12  *** snail_UES_ has joined #openttd
05:55:08  *** snail_UES_ has quit IRC
06:08:00  *** adikt has joined #openttd
06:12:12  *** sla_ro|master has joined #openttd
06:13:03  *** adikt- has quit IRC
06:18:08  *** Smedles has quit IRC
06:20:41  *** Smedles has joined #openttd
07:06:05  *** Wormnest__ has joined #openttd
07:34:24  *** andythenorth has joined #openttd
07:35:10  *** Wolf01 has joined #openttd
07:46:51  <andythenorth> yo
07:47:10  <Wolf01> o/
07:49:11  *** Smedles has quit IRC
07:49:25  *** Smedles has joined #openttd
07:49:38  * andythenorth has an Eddi|zuHause type problem
07:51:11  <Wolf01> Oh, quarantine, I prepared for ages :P (let's see if the law is really approved first, here they first give the news and then might approve it)
07:51:33  <andythenorth> did you panic buy?
07:51:40  <Wolf01> No
07:51:46  <andythenorth> the headlines here are great
07:51:55  <andythenorth> even responsible news outlets repeat the following pattern
07:52:15  <andythenorth> Headline: "government and supermarkets say no need to panic buy".  Picture: empty shelves in supermarket
07:52:33  <Wolf01> Yeah
07:53:29  <Wolf01> Also I bet no trip to Japan this year for me... :(
07:56:36  *** Progman has joined #openttd
07:58:43  *** Wormnest__ has quit IRC
08:11:48  <TrueBrain> :(
08:12:07  <TrueBrain> really sucks Wolf01  ..
08:22:11  *** andythenorth has quit IRC
08:28:06  *** Wolf01 is now known as Guest18533
08:28:08  *** Wolf01 has joined #openttd
08:28:26  *** andythenorth has joined #openttd
08:30:38  *** D-HUND is now known as debdog
08:32:07  *** Smedles has quit IRC
08:33:22  *** Smedles has joined #openttd
08:35:13  *** Guest18533 has quit IRC
08:36:29  *** andythenorth has quit IRC
08:38:11  *** andythenorth_ has joined #openttd
08:38:11  *** andythenorth_ is now known as andythenorth
09:07:51  *** Smedles has quit IRC
09:08:29  *** Smedles has joined #openttd
09:24:26  *** nielsm has quit IRC
09:30:01  <TrueBrain> < Content-Length: 44477
09:30:19  <TrueBrain> seems pm has many BaNaNaS entries in its name .. takes 45k bytes to send all the info back over the wire :D
09:30:20  <TrueBrain> ghehe
09:39:05  <Eddi|zuHause> some common musa config used for various projects?
09:41:13  <Eddi|zuHause> andythenorth: it might help if you actually stated your problem
09:41:47  *** Smedles has quit IRC
09:43:14  *** Smedles has joined #openttd
09:43:32  <Eddi|zuHause> on the topic of panic-buy: i've thought of the following psychologic phenomenon: if the news mention toilet paper, a larger than average amount of people go: "ah, i remember, i should get toilet paper"
09:44:00  <TrueBrain> now you mention it .... ;)
09:53:22  <andythenorth> Eddi|zuHause: I'll state it in two ways
09:53:44  <andythenorth> I want to space out cargo price factors algorithmically, whilst also having manual control
09:54:10  <andythenorth> the reason is that if two cargos have same price factor, the payment rate graph is unhelpful
09:54:39  <andythenorth> the actual problem is the payment graph, in terms of work, I'd rather do nothing at all about this :P
09:55:16  <Eddi|zuHause> i've never felt like the payment graph is actually helpful
09:55:39  <andythenorth> I was spacing price factors out manually, but that can mean a lot of manual shuffling when inserting a new cargo where there's no gap
09:56:10  <andythenorth> I could automate the shuffling :P
09:56:15  <andythenorth> I tend to agree about the graph
09:57:12  <Eddi|zuHause> so you need something if 3 cargos are set at 200, you want to give one +5 and another one -5?
09:57:30  <andythenorth> yes, but also have to check if 195 and 205 are free
09:57:32  <andythenorth> or recurse
09:58:03  <andythenorth> and also pin the min and max values for all cargos
09:58:05  <andythenorth> hmm
09:58:18  <andythenorth> I could just distribute evenly between min and max?
09:58:33  <Eddi|zuHause> that sounds like a "hard" problem
09:59:24  <Eddi|zuHause> it might be easier if you restrict it to only do "+5"
09:59:47  <andythenorth> the current price factor range is 120
09:59:50  <andythenorth> and there are 160 cargos
10:00:00  <andythenorth> so simple distribution won't work :(
10:00:32  <andythenorth> hmm no, my file browser is being weird
10:00:36  <andythenorth> only 96 cargos
10:01:06  <Eddi|zuHause> but cargos that don't appear in the same economy are free to have the same value?
10:01:09  <andythenorth> yes
10:01:29  <andythenorth> so maximum is 64
10:01:51  * andythenorth wonders what the graph looks like if they just space evenly
10:02:18  *** Progman has quit IRC
10:02:31  <Eddi|zuHause> doesn't the payment graph have 2 or 3 parameters?
10:02:57  <andythenorth> it has decay curves as well
10:03:36  <Eddi|zuHause> starting value and 2 decay cutoff dates, and a daecay rate, or something?
10:03:47  <andythenorth> yes
10:04:26  <Eddi|zuHause> so you could say: if two cargos have same starting value, they need to have different decay rates
10:04:46  * andythenorth wonders about changing it all :P
10:04:46  <andythenorth> probably not
10:04:46  <andythenorth> yes
10:04:49  <andythenorth> it's interesting, designing the gameplay, just to make the graph work :)
10:05:43  <Eddi|zuHause> it's probably backwards, you should redesign the GUI to fit your gamedesign instead
10:05:46  <TrueBrain> < Content-Length: 1423611 <- I might need to do some kind of pagination :D
10:07:52  <andythenorth> TrueBrain: probably fine?
10:08:14  <andythenorth> :P
10:08:14  <andythenorth> Eddi|zuHause: I'm +1, but I don't know what would be good :)
10:08:25  * andythenorth must to football with kids
10:08:28  <andythenorth> BBL
10:08:30  *** andythenorth has quit IRC
10:25:12  *** Samu has joined #openttd
10:25:19  <Samu> hello
10:27:15  <Samu> hello
10:27:26  <Samu> oops already said it, i'm sleepy
10:32:08  *** Smedles_ has joined #openttd
10:32:25  *** Smedles has quit IRC
10:36:06  <Samu> _dp_ remember yesterday, me saying CMD_SPECTATOR worked?
10:36:36  <Samu> turns out now companies are no longer able to respond
10:37:05  <Samu> the event is sent, but it's coming from spectator, even when i answered inside a company
10:46:08  *** andythenorth_ has joined #openttd
10:49:48  *** andythenorth_ has quit IRC
11:00:58  *** HerzogDeXtEr has joined #openttd
11:03:47  *** frosch123 has joined #openttd
11:04:26  <frosch123> swaggerhub duplicates a lot of emails
11:04:45  <frosch123> about half of the messages are duplicated
11:05:40  <TrueBrain> emails? It sends emails?
11:05:57  <TrueBrain> guess it ended up in a /dev/null for me :D
11:06:24  <TrueBrain> I have notifications enabled .. weird ..
11:06:29  *** gelignite has joined #openttd
11:06:37  <TrueBrain> anyway, lot of changes frosch123 ; mostly things I found during implementation :)
11:06:38  <frosch123> you had to grant it the user:email scope
11:06:49  <TrueBrain> yeah, it has my email .. I am just not getting any :P
11:06:59  <TrueBrain> its in my junk :D
11:10:51  <TrueBrain> yeah, here too, two emails about everything
11:10:52  <TrueBrain> how nice of them
11:10:54  <TrueBrain> ECHO ECHO ECHO :P
11:11:09  <TrueBrain> anyway, biggest change is a simple "Bearer" token for authentication (the username is the token :P)
11:11:22  <TrueBrain> I forgot some fields, like "archived" and "replaced-by"
11:11:39  <TrueBrain> spelling errors .. so if you made a stub, you need to make a new one :)
11:13:15  <TrueBrain> frosch123: one thing I noticed while implementing .. a PUT to update existing entries .. should that result in a commit to GitHub, or should there be a "publish"?
11:13:24  <TrueBrain> as I can imagine people want to stack a few changes on top, before sending it out to the world
11:13:28  <TrueBrain> not sure what is a good approach there
11:14:01  <TrueBrain> auto-publish 5 minutes after last change?
11:14:29  <frosch123> the premium approach would be to have a logfile per uniqueid (who changed what), and have a commit-delay of 15 minutes
11:14:48  <TrueBrain> those are 2 different things you mention :D
11:14:56  <TrueBrain> but not disagreeing :)
11:15:30  <TrueBrain> audit-log is a nice feature, I am going to put it on the imaginary wish-list .. I should make it less imaginary :D
11:15:36  <TrueBrain> as really that is a good idea
11:22:28  <frosch123> TrueBrain: i am missing a 4xx code from "publish" that reports all issues from package validation
11:22:56  <frosch123> not sure whether it needs "dryrun" action
11:28:26  <TrueBrain> Good point. And the GET does the dry run :)
11:50:00  <FLHerne> From Reddit: https://i.redd.it/xbfswr1nwal41.jpg
11:50:56  <frosch123> now find the date
11:52:37  <frosch123> https://www.reddit.com/r/openttd/comments/ff2bu3/openttd_1100_title_game/ <- also, everyone please upvote the comment about the rules
11:55:22  <Samu> a handy event would be, "ClientJoinedCompany"
11:55:49  <Samu> i wanted my gS to detect when a client joins a company
11:55:59  <Samu> how am I gonna do this
11:58:53  <Samu> GetJoinDate (ClientID client) ... too bad the game is paused at the moment , can't use this
12:06:44  <_dp_> stupid network commands :/
12:09:23  *** andythenorth has joined #openttd
12:20:35  <andythenorth> Eddi|zuHause: I thought of a really trivial way to shift price factors, walking a list and incrementing all values to right of position n when needed
12:20:38  <andythenorth> but
12:20:58  <andythenorth> doing anything more than that seems to balloon in complexity
12:21:11  <Eddi|zuHause> andythenorth: that should probably be a priority queue by lowest original value
12:21:38  * andythenorth googles
12:21:45  <andythenorth> that seems to be a standard structure?
12:21:58  <Eddi|zuHause> depends on your language/library
12:22:07  <andythenorth> https://en.wikipedia.org/wiki/Priority_queue
12:22:29  <andythenorth> I tried to devise a way to first fill gaps, then incremement all
12:22:44  <andythenorth> or even fill gaps, then incremement only next
12:23:04  <andythenorth> but everything I thought of either has some(n) value of complexity I don't understand
12:23:20  <andythenorth> or has nasty side effects, like accidentally bubbling a low value cargo to be very high value
12:23:58  <Eddi|zuHause> andythenorth: the idea is: no matter in which order you insert the values, you increment the higher ones first, until the condition is met
12:24:28  <Eddi|zuHause> that hopefully should preserve the original order, and avoid snowballing one low one
12:25:39  <Eddi|zuHause> so you start at value 0 (or 1, or 150, or whatever), collect all with that value in the queue, if there's more than one, you increment, and throw it into the next queue
12:25:52  <andythenorth> ok that makes sense
12:26:23  <Eddi|zuHause> once you're done incrementing, you collect all you've incremented, plus all ones that use that next as the starting value
12:26:23  <andythenorth> this is going to turn out to be more work than manually spacing :P
12:26:28  <andythenorth> but manually spacing is boring
12:27:05  <andythenorth> BIAB
12:28:04  <Eddi|zuHause> by using a priority queue, you're ensuring that the last item in the queue is the one with the lowest starting value, no matter in which order you throw in the values
12:28:36  <Eddi|zuHause> the last item won't be incremented
12:29:40  <Eddi|zuHause> (you potentially use a lot of queues, but that could be optimized if it turns out to be a problem)
12:46:35  *** Smedles_ has quit IRC
12:47:51  *** Smedles has joined #openttd
12:49:01  <Wolf01> <Wolf01> Oh, quarantine, I prepared for ages :P (let's see if the law is really approved first, here they first give the news and then might approve it) <- It looks like I just need to prove I'm going to work and I could move
12:53:08  <TrueBrain> enjoy the traffic jams, I guess :P
12:57:18  <Eddi|zuHause> Wolf01: what kind of document would prove that?
12:57:22  *** adikt- has joined #openttd
12:58:09  <Eddi|zuHause> Wolf01: and would you get fired if you called in you can't go to work because of quarantine?
13:02:46  <andythenorth> so who else had a 24-48hr fever in Jan or Feb?
13:03:09  <andythenorth> followed by possibly a 1-2 weeks of dry cough?
13:03:42  *** adikt has quit IRC
13:03:54  * andythenorth reading that CV19 now believed to have been circulating in Italy 'for weeks' prior to detection 
13:04:22  <TrueBrain> and what are the odds you really notice a fever that short?
13:04:33  <andythenorth> the one I had, was noticeable
13:04:34  <TrueBrain> ("worked too hard", etc)
13:04:42  <andythenorth> was in bed, in all my clothes, shivering cold
13:04:50  <TrueBrain> well, that is a clear fever, yes :P
13:04:52  <andythenorth> most of my office had same thing over several weeks
13:05:08  <andythenorth> not flu, you know if you've got flu
13:05:28  <TrueBrain> do you? Really? :D
13:05:37  <TrueBrain> so many people confuse "flu" with "a cold", etc :P
13:05:48  <TrueBrain> eat something bad? I HAVE THE FLU
13:06:02  <TrueBrain> I dont trust humans to guestimate what is wrong with them :P
13:06:03  <andythenorth> I had flu twice
13:06:05  <FLHerne> andythenorth: I did, and had exactly the same thought
13:06:20  <FLHerne> But I think that was mid-Jan
13:06:25  <andythenorth> FLHerne: I mean, it's one step away from mad conspiracy theories
13:06:36  <andythenorth> but it could have travelled really fast and been undetected
13:06:55  <andythenorth> it wouldn't show up in hospital admissions because doctors would file it as seasonal flu
13:07:13  <Eddi|zuHause> andythenorth: the conspiracy theory i've read is that the two countries italy and iran who are heavily affected also have a sizable chinese population working there
13:07:30  <TrueBrain> what I read, is that this is the democrats wanting to make Trump look bad
13:07:34  <andythenorth> it's lolz
13:07:45  <andythenorth> we seem to have exported it from Bristol to China in one case
13:08:06  <andythenorth> someone travelled *to* China with symptoms, was tested and quarantined on arrival
13:09:21  <TrueBrain> that is impressive
13:09:51  <TrueBrain> right .. changed my Python code to relative imports .. not sure I like that better
13:09:56  <TrueBrain> but at least it makes it a bit more portable :)
13:10:37  <andythenorth> is it time for coffee then?
13:10:44  <andythenorth> also has peter1138 had lunch?
13:17:59  <Eddi|zuHause> TrueBrain: not that it's a hoax by china to harm the US economy?
13:18:59  <TrueBrain> no no, this is dem vs rep
13:19:17  <TrueBrain> they know they are losing the election, so they had to come up with something
13:19:21  <TrueBrain> it totally make sense
13:19:31  <TrueBrain> kill a few thousand people to get a dem president
13:19:33  <TrueBrain> small offer
13:19:39  <TrueBrain> (this ofc is fully sarcastic)
13:24:06  <milek7> I had cold at beginning of february
13:24:12  <milek7> but well, I don't really know if it was cold :P
13:24:20  <frosch123> andythenorth: the mortality is higher for asian people, so it probably originates from an american bio weapon laboratory
13:25:14  <TrueBrain> the mortality is also higher for elder people ..... created by young people?!
13:25:52  <frosch123> or created by the elder people when they were younger?
13:26:10  <TrueBrain> :D
13:26:22  <TrueBrain> okay, I broke swaggerhub it seems ... every change adds 9 errors of "undefined"
13:26:23  <TrueBrain> :D
13:27:34  <Wolf01> <TrueBrain> and what are the odds you really notice a fever that short? <- that's the point, I always have some fever when I return home at the evening, 37.2-37.4°C
13:27:49  <Wolf01> <Eddi|zuHause> Wolf01: what kind of document would prove that? <- the payslip should be fine, it has my details and the company details
13:28:33  <Eddi|zuHause> Wolf01: what if i have 3 different work sites i need to get outside the company hq?
13:28:57  <Wolf01> We have those too, we'll limit the movements
13:28:57  <frosch123> Eddi|zuHause: then you are obviously a major risk
13:31:16  <TrueBrain> lets just hope this virus cannot jump electronical ..
13:31:43  <Wolf01> There are worse ones there :D
13:34:12  <Wolf01> At least you won't get wiretap from the Russians/Chinese/Koreans/USA/Iraq/Israel with a flu
13:40:04  <DorpsGek_III_> [OpenTTD/OpenTTD] SamuXarick opened pull request #8033: Change: A company goal type will open the company overview window when clicked https://git.io/Jvr58
13:47:13  <Samu> wondering if it was forgotten
13:47:19  <Samu> or if intended
14:11:17  *** Smedles has quit IRC
14:12:33  *** Smedles has joined #openttd
14:20:44  <TrueBrain> why did they make it so difficult to make a venv that is both Linux (WSL) and Windows compatible ..
14:20:51  <TrueBrain> but okay, I got it working again
14:27:05  <Samu> looks like I found a bug
14:27:39  <Samu> a difficult one to reproduce
14:28:48  *** WormnestAndroid has quit IRC
14:28:59  <Samu> goal gui window is bugged when trying to show a destination for global goal list in single player
14:29:46  <Samu> oh, also happens in multiplayer
14:30:08  <Samu> I need to make sure it's not caused by my PR
14:30:09  <Samu> brb
14:31:19  *** WormnestAndroid has joined #openttd
14:33:14  *** Flygon has quit IRC
14:35:38  <DorpsGek_III_> [OpenTTD/OpenTTD] PikkaBird opened issue #8034: Text in cheat menu window is excessively dramatic https://git.io/Jvrdw
14:37:38  <TrueBrain> lol, now that is some dramatic text indeed. Making that a bit more polite wouldn't hurt anyone :P
14:40:50  <_dp_> rofl, I constanly use cheat window but never noticed it has that warning xD
14:41:09  <Wolf01> I would replace it with "Use these solutions as you please, but your mischiefs will be saved with the game"
14:41:19  *** Smedles has quit IRC
14:41:58  <_dp_> which is ofc pure nonsense as you can only desync if you use it, not "betray" anyone.
14:42:42  <_dp_> btw, half of cheat window should just go to settings imo
14:42:46  <frosch123> isn't there a special circle in hell for people who cheated in ottd?
14:43:14  *** Smedles has joined #openttd
14:44:00  <TrueBrain> Wolf01: I agree :) Telling users that using cheats is stored in the savegame is the least we can do :)
14:44:13  <TrueBrain> frosch123: it is in the game, so it is just gameplay!!!!!!!!!1111
14:44:13  <TrueBrain> :D
14:45:37  <Wolf01> I also agree with _dp_, some of the cheats are just playstyle :P
14:45:58  <TrueBrain> money cheat? :D
14:46:07  <Wolf01> No ok, not that one
14:46:52  <_dp_> adding money is an action not a setting
14:47:01  <frosch123> there is an option to pay back your cheat money. just because dalestan complanied so loudly
14:47:06  <_dp_> but everything that is a setting may as well go where it belongs
14:47:26  <TrueBrain> I know little about the cheat menu, just that this conversation surfaces every N months :D
14:48:25  <Wolf01> Isn't the max map height already a setting?
14:48:36  <frosch123> yes, but it is readonly
14:48:53  <frosch123> the cheat window contains settings which are likely to break something
14:49:12  <frosch123> changing map height is an issue, disabling elrail is also quite bad
14:49:31  <_dp_> frosch123, elrail is not a cheat :p
14:49:36  <frosch123> the change climate setting was removed, becuase it really only crashed the game
14:50:00  <Wolf01> Also I would change the tooltip to explain what the cheat does, the label is a bit cryptic and the actual tooltip just say what should be written in the message at the top
14:50:21  <_dp_> I highly doubt plane crash setting can crash anything (but planes)
14:50:57  <_dp_> same goes for magic bulldozer
14:51:21  <_dp_> dunno about tunnels but seems safe too
14:51:24  <frosch123> _dp_: disabling elrail really causes problems
14:51:29  <DorpsGek_III_> [OpenTTD/OpenTTD] LordAro commented on issue #8034: Text in cheat menu window is excessively dramatic https://git.io/Jvrdw
14:51:55  <_dp_> frosch123, only if you switch it back and forth I suppose?
14:52:14  <_dp_> because we run without elrail for like 10 years and never noticed any problems
14:52:17  <frosch123> it clashes with newgrf railtypes
14:52:35  <_dp_> oh, silly newgrfs...
14:55:40  <DorpsGek_III_> [OpenTTD/OpenTTD] Wolfolo commented on issue #8034: Text in cheat menu window is excessively dramatic https://git.io/Jvrdw
14:58:01  <TrueBrain> {"errors": [], "files": [{"filesize": 393, "errors": [], "uuid": "374640f88004e0b30ebfda9c0cae8e74", "filename": "test.py"}], "warnings": [], "status": "OK"}
14:58:06  <TrueBrain> seems I can upload files :D W00p
14:59:59  <andythenorth> oh we're discussing cheats?
15:00:07  * andythenorth has been soldering train signals and crap
15:01:32  <andythenorth> so we have cheats
15:01:36  <andythenorth> but we can't use them in MP
15:01:39  <andythenorth> and where are the competitors?
15:08:56  <Samu> i need english help
15:09:02  <Samu> "Fix: Global goal list don't have company specific goals to scroll to a tile"
15:09:09  <Samu> how english is this?
15:11:16  <TrueBrain> https://gist.github.com/TrueBrain/22334f85b85001f52fc4d4b5dd53b56e <- frosch123 : getting there :D Validation works :)
15:11:43  <frosch123> \o/
15:12:02  <TrueBrain> now I need to change all exception into a validationexception, and make the validation async :)
15:12:07  <TrueBrain> detaaaiillllssss
15:12:29  <frosch123> so you went for aiohttp?
15:12:31  *** Smedles has quit IRC
15:12:33  <TrueBrain> yeah
15:12:38  <TrueBrain> there was no framework to worked
15:12:44  <TrueBrain> so this was significant easier :)
15:12:53  <TrueBrain> but for the frontend you can use what-ever, if you like
15:12:57  <TrueBrain> flask is fine there, for example
15:13:23  <TrueBrain> s/to/that/, sucky english much yes yes
15:13:57  *** Smedles has joined #openttd
15:22:36  <Samu> "Fix: The non-applicable goal in global goal list no longer show a destination on click"
15:22:41  <Samu> bettter english?
15:25:04  <Samu> "Fix: Non-applicable goal in global goals list is no longer clickable"
15:25:11  *** sla_ro|master has quit IRC
15:26:31  <DorpsGek_III_> [OpenTTD/OpenTTD] SamuXarick opened pull request #8035: Fix: Non-applicable goal in global goals list is no longer clickable https://git.io/JvrFj
15:26:40  <Samu> meh, sorry for my english
15:31:44  <Samu> Can't use my GS as test case, because it only sets goals of type COMPANY
15:31:55  <Samu> which is another PR
15:32:32  <Samu> busybee perhaps?
15:34:09  <Samu> interesting, busy bee doesn't trigger it
15:34:54  *** tokai has joined #openttd
15:34:54  *** ChanServ sets mode: +v tokai
15:35:10  <Samu> now im intrigued, why didn't it trigger the bug
15:41:23  *** Smedles has quit IRC
15:41:29  <Samu> I see, it doesn't set global goals
15:41:42  <TrueBrain>     "More than one NewGRF files was detected, where only one was expected." <- w00p :D
15:41:49  <Samu> so it needs a global goal and a company specific goal
15:41:53  *** tokai|noir has quit IRC
15:43:08  *** Smedles has joined #openttd
15:45:36  *** arikover has joined #openttd
15:46:32  *** sla_ro|master has joined #openttd
15:57:59  *** gelignite has quit IRC
16:00:24  *** snail_UES_ has joined #openttd
16:09:27  <Samu> I can't believe I couldn't find a GS that could trigger this bug
16:10:15  <Samu> no one sets a destination on click on their global goals
16:10:25  <Samu> only me?
16:11:46  *** arikover` has joined #openttd
16:12:10  <_dp_> I don't send destinations because I was fed up rewriting goal management code 5 times even without them :p
16:13:13  <TrueBrain> I was thinking you were a better programmer :P (TROLOLOLOL)
16:13:14  <TrueBrain> <3
16:14:00  <_dp_> TrueBrain, you just underestimate how bad goal api is :p
16:15:22  <TrueBrain> so fix it! :D
16:17:14  *** arikover has quit IRC
16:17:28  <TrueBrain> w00p, I can also now remove files from my new packages ... I like working from OpenAPI to implementation :)
16:17:33  <_dp_> easier said than done
16:17:50  <_dp_> besides, I already kinda sorted it out for myself :p https://pastebin.com/N868gxRG
16:18:18  *** Compu has joined #openttd
16:18:23  <TrueBrain>     "Expected exact 5 NewGRF file(s), but 6 were found",
16:18:23  <TrueBrain>     "License is not yet set for this package"
16:18:24  <TrueBrain> :D
16:18:54  <TrueBrain> _dp_: I still don't like reading Squirrel :P
16:19:12  <TrueBrain> (I am joking, to be clear :P)
16:19:19  <Samu> ok, i dont need a company specific goal, i just need a single global goal with a destination set to some tile, enough to trigger the bug, that's doable
16:19:28  <_dp_> that's c++ though...
16:19:46  * _dp_ never bothered to learn squirrel
16:20:05  <TrueBrain> I see my attempt of being funny failed :P
16:20:20  <TrueBrain> let me rephrase: I am heavily disapointed it is not done in Squirrel :P
16:20:48  <TrueBrain> so you compiled this in the server, or how should I read this?
16:21:12  <_dp_> TrueBrain, well, it's impossible to do with squirrel :p
16:21:23  <_dp_> yeah, it's part of a server patch
16:22:01  <TrueBrain> I wanted to rewrite how stuff integrates with OpenTTD, but it was not ... received well, to make an understament of the centry :P
16:22:09  <TrueBrain> so yeah, server patch seems to be a valid solution :)
16:22:15  <TrueBrain> just a bit sad that it is needed ;)
16:26:46  <TrueBrain> okay ... OpenTTD-content-api is functional-ish .. at least, all the API call (except for search :D) work, validate their data, and return what they should
16:27:11  <_dp_> I mostly missed that drama
16:27:25  <_dp_> also would take a lot of rewriting to make it good
16:27:32  <TrueBrain> still work to do .. asyncio, GitHub repository management, CDN upload, and I am forgetting something .. hmm ...
16:27:41  <_dp_> as a lot of it is due to design limitations
16:27:51  <TrueBrain> _dp_: yup; so it cannot be done in current formats :)
16:28:46  <_dp_> though thing I'm missing the most atm is client-side coding
16:28:55  <_dp_> server-side is more or less sorted out with patches
16:29:09  <TrueBrain> yeah, that is always the trickest to tackle :)
16:29:33  <TrueBrain> games created the last few years do this from the ground up, like lua-interfacing
16:29:53  <TrueBrain> which is rather nice, I guess :)
16:29:57  <TrueBrain> what mods can do these days, is crazy
16:29:59  <_dp_> wasm seems to be a good tool for that but idk if I'll ever get to making anything usable with it
16:30:56  <TrueBrain> I am forgetting something with openttd-content-api, but I cannot remember :D
16:30:59  <TrueBrain> guess it is time for some food :P
16:31:38  <DorpsGek_III_> [OpenTTD/OpenTTD] SamuXarick commented on pull request #8035: Fix: Non-applicable goal in global goals list is no longer clickable https://git.io/JvrNY
16:33:20  *** MalaGaM has joined #openttd
16:38:02  <TrueBrain> ah, I remember: I also have to make sure ValidationExceptions are thrown in the right places :)
16:39:05  <TrueBrain> guess I should wrap this in a Docker, so others can test if this also works for them, etc :D
16:39:08  <TrueBrain> but, yeah, food :)
16:41:54  *** nielsm has joined #openttd
16:43:12  *** tokai|noir has joined #openttd
16:43:12  *** ChanServ sets mode: +v tokai|noir
16:50:17  *** tokai has quit IRC
16:59:59  <andythenorth> Eddi|zuHause: this probably has some horrible pathological cases I failed to consider, but appears to work https://github.com/andythenorth/firs/blob/876a26decdd688ee700479c76d3252ec8348cd33/src/economy.py#L18
17:12:01  *** Smedles has quit IRC
17:12:14  *** Smedles has joined #openttd
17:15:34  *** snail_UES_ has quit IRC
17:36:24  *** snail_UES_ has joined #openttd
18:03:50  <nielsm> I obtained another classic MIDI synth today, a yamaha MU50
18:03:57  <nielsm> so yet another way to listen to old game music...
18:22:55  <andythenorth> :D
18:24:48  <andythenorth> ok what's left to do for FIRS v4?
18:26:56  *** Progman has joined #openttd
18:53:10  <Samu> release it
18:58:12  <LordAro> burn it
19:12:14  <snail_UES_> damn, it’s so hard to find a good dark yellow in the ttd palette
19:12:32  <snail_UES_> it should be -B, but the gap is so wide among the tones...
19:16:55  <andythenorth> brown
19:17:04  <andythenorth> no dark yellows really
19:33:56  *** syr has quit IRC
19:34:27  *** syr has joined #openttd
19:48:31  *** gelignite has joined #openttd
20:11:41  *** Smedles has quit IRC
20:12:56  *** Smedles has joined #openttd
20:14:13  *** WormnestAndroid has quit IRC
20:16:50  *** arikover` has quit IRC
20:17:30  *** arikover` has joined #openttd
20:29:18  *** glx has joined #openttd
20:29:18  *** ChanServ sets mode: +v glx
20:38:34  *** arikover` has quit IRC
20:38:51  *** arikover` has joined #openttd
20:44:25  *** arikover` has quit IRC
20:44:38  *** arikover` has joined #openttd
20:56:26  *** sla_ro|master has quit IRC
21:04:59  <Samu> glx, hi, i'm testing 8032
21:07:03  <Samu> testing against the commit before this https://github.com/OpenTTD/OpenTTD/commit/39e6247bec6b958b11c6ab58430a4197eb1deb6a
21:07:44  <Samu> erm, i mean not before, sorry. it's really against it
21:08:17  <Samu> seems to be easy to trigger with visual studio breakpoints
21:10:32  *** frosch123 has quit IRC
21:12:03  <Samu> i suppose i didn't need to rollback to that commit
21:20:52  <Samu> I expect fast forward to be slower, let's see
21:43:08  <Samu> heh, it's faster, like 0.000001%, negligible
21:56:09  *** Wolf01 has quit IRC
22:05:16  *** Smedles has quit IRC
22:06:35  *** Smedles has joined #openttd
22:11:47  *** Smedles has quit IRC
22:13:12  *** Smedles has joined #openttd
22:18:11  *** nielsm has quit IRC
22:19:10  *** Smedles has quit IRC
22:20:30  *** Smedles has joined #openttd
22:24:10  *** Progman has quit IRC
22:30:02  *** Smedles has quit IRC
22:47:16  *** andythenorth has quit IRC
22:49:14  *** Samu has quit IRC
23:08:03  *** arikover` has quit IRC
23:19:32  *** snail_UES_ has quit IRC
23:54:18  *** gelignite has quit IRC

Powered by YARRSTE version: svn-trunk