IRC logs for #openttd on OFTC at 2019-08-13
            
00:05:50 *** HerzogDeXtEr has quit IRC
00:10:05 *** Laedek has joined #openttd
00:13:25 *** frosch123 has quit IRC
00:15:25 *** Laedek_ has quit IRC
00:16:24 *** Thedarkb-X40 has quit IRC
00:18:20 *** Thedarkb-X40 has joined #openttd
00:20:33 <Samu> https://imgur.com/0CSglgz - the unexpected challenger
00:20:44 <Samu> Convoy -- trashing the competition
00:21:11 <Samu> thrashing*
00:22:09 <Samu> 300 buses in 8 years, on the most difficult tileset
00:22:25 <Samu> and against other ais
00:22:40 <Samu> only buses
00:22:44 <Samu> for everyone
00:22:54 <Samu> i'm surprised
00:24:56 *** Progman has quit IRC
00:28:36 *** Samu has quit IRC
01:21:39 *** Wolf01 has quit IRC
03:39:30 *** Wormnest_ has joined #openttd
04:05:00 *** Flygon has joined #openttd
04:32:30 *** Wormnest_ has quit IRC
04:38:31 *** D-HUND has joined #openttd
04:41:54 *** debdog has quit IRC
05:10:37 *** Wormnest_ has joined #openttd
05:31:11 *** glx has quit IRC
05:52:55 *** quiznilo has quit IRC
06:14:25 *** Wormnest_ has quit IRC
06:19:43 *** quiznilo has joined #openttd
06:23:30 *** Wormnest_ has joined #openttd
06:57:34 *** quiznilo has left #openttd
07:15:52 *** Wormnest_ has quit IRC
09:07:30 *** andythenorth has joined #openttd
09:07:33 <andythenorth> moin
09:37:17 <argoneus> moin
09:37:23 <argoneus> how are you doing?
10:42:23 *** Samu has joined #openttd
10:44:49 *** Wolf01 has joined #openttd
10:57:21 <Wolf01> Hmmm... need to go full Rube Goldberg for the next lego creation
12:31:41 <Samu> eh... the more logic i put in the ai, the worse it becomes... :(
12:33:15 <Samu> I don't understand how Convoy can be so successful
12:33:36 <Samu> it's even buggy
12:33:39 <Wolf01> KISS
12:33:45 <Samu> and still does obliterate everyone
12:36:28 <Samu> and the original LuDiAI performing mine does leave a sour taste
12:36:33 <Samu> better than mine*
12:43:20 <planetmaker> Is there someone here who can and is willing to actually handle the organization of a public event which is either a gaming and/or AI challange? Time horizon 3-4 months
12:43:57 <planetmaker> Tasks are especially in making it known within the community and dealing with all kinds of stuff related to organization. We would have a sponsor with prices for such event...
12:51:21 <Samu> I rather say no
12:53:41 <Samu> my immediate future is uncertain, I rather not commit to anything
12:56:52 <Wolf01> I'm a bit busy with lego events and job, which don't seem to mix well too
12:59:26 *** Thedarkb-X40 has quit IRC
13:02:39 <DorpsGek_II> [OpenTTD/OpenTTD] Wuzzy2 opened issue #7691: Infinite money exploit in multiplayer using shares and sending money back and forth https://git.io/fj5zX
13:20:51 <Wolf01> Lol, one of the possible fixes is to remove the feature
13:25:59 <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on issue #7691: Infinite money exploit in multiplayer using shares and sending money back and forth https://git.io/fj5gt
13:43:01 <andythenorth> 7691 might look like a bug
13:43:03 <andythenorth> but it's realistic
13:43:34 <Wolf01> The problem is that you shouldn't be able to buy shares for $0
13:44:45 <Samu> disable giving money to companies, problem solved!
13:44:46 <andythenorth> but that's what they're worth at that point
13:45:38 <andythenorth> people really struggle to believe that money is simply invented
13:45:46 <andythenorth> but the Bank of England have a primer on it https://www.bankofengland.co.uk/knowledgebank/how-is-money-created
13:46:03 <Samu> it's not an exploit, it's a server with the setting left enabled
13:46:04 <andythenorth> by lending money, I create money
13:50:17 <Wolf01> Yes, but there is a thing to consider on that: the FakeCorp is... fake, doing this trick in RL will get you a fine or even worse
13:51:10 <Samu> i thought it was up to newgrfs to decide lending money to companies
13:51:18 <Samu> why is it even a setting
13:51:47 <Samu> gamescripts*
13:53:15 <planetmaker> it is a general setting which also works in vanilla OpenTTD
13:53:32 <planetmaker> but you can disable it... so that the exploit mentioned doesn't work
13:53:57 <planetmaker> as such, my personal view is: yes, it's an exploit. But disable the setting and problem solved
13:54:06 <Wolf01> Also, why selling shares generates money? From where? Who pays?
13:56:43 <planetmaker> well... :)
13:57:26 <planetmaker> if you can control two companies, you can have one buy shares of the other. Then transfer all your money to the other, then sell shares. Transfer money back. Rinse and repeat
13:57:42 <Wolf01> Yes, that's the exploit mentioned
13:58:58 <Wolf01> But if B value = 0 and I purchase shares at $0, then give B $10k and sell the shares (getting back $7k5) why B still have $10k?
14:09:09 <Samu> convoy has a trick, I knew there was something fishy there
14:10:29 <Samu> it doesn't start all vehicles at once, it builds the whole set of vehicles, but then starts one by one, each separated by a few days
14:11:01 <Wolf01> That's the way I play too
14:11:19 <Samu> this keeps cargo ratings in stations relatively higher than the competitors for longer
14:11:25 *** scuddles has joined #openttd
14:13:00 <planetmaker> just spam enough vehicles that some vehicle is constantly loading. Then you don't need to worry about when to release vehicles
14:16:00 <LordAro> i wouldn't be opposed to just removing the "feature" entirely
14:16:50 <andythenorth> :D
14:17:07 <Samu> it amazes me how this "trick" keeps ratings always above 65%
14:17:19 <andythenorth> I am going to experiment with lunch
14:17:23 <Samu> no need for full load
14:17:42 <Samu> no need for station spreading
14:18:09 <Samu> no statues, no advertising campaigns
14:21:15 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7685: Codechange: math functions - use cpp-style casts https://git.io/fj520
14:21:27 <Samu> management might be difficult if I try to implement something similar on my AI
14:22:59 <Samu> i'd have to make pathfinding timers much much shorter
14:24:04 <Samu> or risk having buses waiting for months stopped in depots
14:25:05 <Samu> while pathfinding
14:26:24 <planetmaker> LordAro, I thought of you organizing this aforementioned community event :)
14:26:45 <planetmaker> you have all the qualifications for that, including knowledge on AI programming
14:26:54 <Eddi|zuHause> <Wolf01> Also, why selling shares generates money? From where? Who pays? <-- maybe ask greece, ireland, iceland?
14:27:28 <planetmaker> on? of? about? over? prepositions suck :|
14:29:05 <LordAro> planetmaker: oho
14:29:52 <planetmaker> I'm dead serious. I consider you the most qualified person in the whole community
14:30:25 <planetmaker> :)
14:30:50 <planetmaker> And I think this challenge or event is a good chance for some outreach and excitement
14:31:30 <planetmaker> details for sure can be discussed with the sponsor
14:33:14 <Samu> AroAI bankrupts quite early
14:33:23 <LordAro> i've not really done anything with AIs since 2012
14:33:24 <Samu> but :p
14:33:32 <LordAro> admittedly it's not changed much, but still
14:33:33 *** Wormnest_ has joined #openttd
14:34:24 <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/fj526
14:34:38 <planetmaker> it's not like you're required to write an AI. Just to ... generally know what to look for. Give people pointers. Make them aware of the event / competition. Do some outreach / community work so people know about it and get excited :D
14:35:17 <planetmaker> You know still well enough easily setup a somewhat automated AI test...
14:35:17 <LordAro> the former i can do
14:35:22 <LordAro> the latter... unknown :p
14:35:29 <planetmaker> you can :P
14:36:43 <planetmaker> And point is... you can very well outsource parts, too. Activate people from reddit, from other servers to participate. Perceive it as an competition between server owner communities... just as an idea :)
14:36:53 * andythenorth experiments with lunch
14:37:35 * planetmaker experimented earlier with goulash... successfully :P
14:38:09 <Eddi|zuHause> unfortunately i don't have any gulasch nearby
14:38:11 <planetmaker> @LordAro, one key probably is to get many people involved, to spread the burdon
14:38:16 <planetmaker> burden
14:40:12 <planetmaker> well... not burden. But delegating some work or tasks :)
14:40:57 <Eddi|zuHause> if you talk AI competitions, there's a name that's haunting me in my dreams... don't make me say it...
14:41:53 <Sacro> pbimttd?
14:43:19 <Eddi|zuHause> also, is that just me or is http://webster.openttdcoop.org/?channel=openttd&date=1565654400 not working? (other dates work)
14:44:38 <LordAro> there are occasional dates that don't work for some reason
14:44:55 <LordAro> planetmaker: well, i'll have to have a think
14:47:52 <planetmaker> @Eddi|zuHause, yes... for some reason I don't know either some days don't work...
14:49:18 <planetmaker> @LordAro, please do. Don't be intimidated. It's very likely a joyful thing (from my wwottdgd experiences etc)
14:49:30 <Eddi|zuHause> planetmaker: i'm not a webdev, but that's probably the point where i'd skim some server logs for script errors
14:49:50 <LordAro> ^
14:57:51 <planetmaker> yes...
15:06:58 *** Thedarkb-X40 has joined #openttd
15:09:36 *** gareppa has joined #openttd
15:11:12 *** andythenorth has quit IRC
15:11:35 <nnyby> openttd should have a stand at FOSDEM, haha https://fosdem.org/2020/news/2019-08-13-call-for-participation/
15:26:07 *** Wormnest_ has quit IRC
15:38:17 *** scuddles has quit IRC
15:43:07 *** andythenorth has joined #openttd
15:43:36 *** gareppa has quit IRC
15:44:07 *** nielsm has joined #openttd
15:47:58 *** gareppa has joined #openttd
15:52:51 *** gareppa has quit IRC
15:55:21 <Samu> GetCargoProduction is very misleading
15:55:42 <Samu> I see more and more AIs checking for GetCargoAcceptance instead
15:56:18 <Samu> that's how they build near the big houses
15:57:42 <Samu> my AI checks for CargoProduction, and it merely counts the number of houses with population
15:57:52 <Samu> with a value of 1
15:57:54 <Samu> for each
16:04:14 <Samu> https://github.com/OpenTTD/OpenTTD/blob/27d676e17a85f611ed0fe58735df1bc250182af2/src/town_cmd.cpp#L654
16:04:26 *** Thedarkb-X40 has quit IRC
16:06:27 *** gareppa has joined #openttd
16:07:15 <Samu> yeah... CargoAcceptance, computes both what cargo type it accepts and the amount
16:07:48 <Samu> big houses usually also produce more passengers, but this shouldn't be the rule
16:08:16 <Samu> I should use GetCargoProduction to compute production, not GetCargoAcceptance
16:08:25 <Samu> plz fix
16:08:55 <Samu> big houses ~ big acceptance
16:11:29 *** andythenorth has quit IRC
16:13:10 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas commented on pull request #7684: Fix: saving crash.sav when disconnected from network game https://git.io/fj5Vu
16:13:11 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas closed pull request #7684: Fix: saving crash.sav when disconnected from network game https://git.io/fjQtu
16:25:51 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7691: Infinite money exploit in multiplayer using shares and sending money back and forth https://git.io/fj5VS
16:26:00 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas commented on pull request #7685: Codechange: math functions - use cpp-style casts https://git.io/fj5V9
16:36:15 *** gareppa has left #openttd
16:55:45 <Samu> should I report this as an issue?
16:55:59 <Samu> seems to only bother me
16:57:25 <nielsm> well, human players don't have any direct way of getting a building population or mail generation rate either
16:57:36 <nielsm> they can just guess whether the building generates something
16:58:15 <nielsm> otoh an AI can't look at the visual size of a building and estimate whether it's a small or large one
16:59:58 <nielsm> but also, town buildings can implement a cargo generation callback which makes it impossible to know how much it will actually generate anyway
17:04:39 <Samu> hmm
17:07:28 <Samu> i was looking for it to return something like house population
17:09:37 <Samu> a fraction of it, perhaps
17:14:33 <nielsm> pop divided by 32, rounded up, would also get you a value 1-8
17:23:22 <Samu> but api doesn't have access to hs->population
17:24:11 <Samu> oh, u mean the whole town
17:28:07 <Samu> GetPopulation and GetHouseCount
17:28:38 *** Sergei_ has joined #openttd
17:31:47 *** Sergei_ has quit IRC
17:35:20 *** Viv796 has joined #openttd
17:42:09 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #7690: Fix: RemoveAirport function now returns with 'Aircraft in the way' error message as it should be. https://git.io/fj5rn
17:42:26 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro merged pull request #7690: Fix: RemoveAirport function now returns with 'Aircraft in the way' error message as it should be. https://git.io/fj7Zo
17:46:55 *** Wormnest_ has joined #openttd
17:50:13 *** Viv796 has left #openttd
17:51:13 *** Flygon has quit IRC
18:25:51 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh opened issue #7692: Industry stations could be made easier to click https://git.io/fj5oq
18:43:01 *** frosch123 has joined #openttd
18:44:21 *** Progman has joined #openttd
18:45:50 *** andythenorth has joined #openttd
18:50:13 *** HerzogDeXtEr has joined #openttd
18:53:19 *** Samu has quit IRC
18:53:24 *** Lejving_ has joined #openttd
18:59:54 *** Lejving has quit IRC
19:00:06 *** andythenorth has quit IRC
19:01:38 *** andythenorth has joined #openttd
19:03:27 *** Gumle2 has joined #openttd
19:16:11 *** sla_ro|master has joined #openttd
19:28:31 *** Thedarkb-X40 has joined #openttd
19:30:35 *** Eddi|zuHause has quit IRC
19:31:22 *** Eddi|zuHause has joined #openttd
19:35:33 *** Compu has joined #openttd
20:51:21 *** arikover has joined #openttd
20:56:21 *** glx has joined #openttd
20:56:21 *** ChanServ sets mode: +v glx
21:12:26 *** nielsm has quit IRC
21:24:30 *** einar[m] has joined #openttd
21:24:40 *** nielsm has joined #openttd
21:27:30 <andythenorth> well
21:30:06 <Wolf01> Get the water
21:40:55 *** HerzogDeXtEr1 has joined #openttd
21:47:00 *** HerzogDeXtEr has quit IRC
21:48:16 *** Samu has joined #openttd
21:48:32 <Samu> just implemented the convoy trick on my AI
21:49:16 <Samu> it's rushed
21:50:16 <Samu> but the results so far are too impressive
21:52:22 <Samu> already leads profits
21:52:23 <Samu> lol
21:52:37 <Samu> i'm really impressed
22:07:32 <acklen> where's this SuperSamuAI?
22:11:45 *** andythenorth has quit IRC
22:12:59 <Samu> it's LuDiAI AfterFix
22:14:20 <Samu> RailwAI does have a trick of his own too
22:14:54 <Samu> but his strategy is building short routes to deliver as much cargo as possible
22:15:45 *** andythenorth has joined #openttd
22:18:39 *** super_spooky has joined #openttd
22:18:39 <Samu> profits are slightly decreasing over time
22:18:56 <Samu> how long can I hold leading profits... hmm
22:21:21 *** andythenorth has quit IRC
22:21:23 <Samu> eh, I just fell
22:21:35 <Samu> convoy and railwai ahead now
22:22:37 *** sla_ro|master has quit IRC
22:23:26 <Samu> oh, right, the 2-year phase is over
22:23:41 <Samu> im already selling negative profit vehicles
22:24:01 <Samu> maybe, just maybe that will help improve it
22:27:32 *** andythenorth has joined #openttd
22:30:55 <TrueBrain> owh boy, we have a serious problem .. they recorded info@openttd.org watching porn .... and now we have to pay 2000 euro ... oh-oh .... who watched porn via info@openttd.org?!
22:31:21 <frosch123> it was sent to all mails
22:31:48 <frosch123> but it's in dutch, so it wasn't me :p
22:31:51 <TrueBrain> :D
22:32:31 <LordAro> lolz
22:34:09 *** arikover has quit IRC
22:37:01 <Eddi|zuHause> sounds like a scam
22:37:20 <andythenorth> TrueBrain: it was me
22:37:37 <glx> TrueBrain: mine is in their list too
22:42:19 <andythenorth> send them 4000 euro
22:48:42 <Samu> the first 6 years https://imgur.com/FmKTTOh
22:48:50 <Samu> i'm the blue line
22:53:09 <Samu> the original LuDiAI is the white line
22:53:20 <Samu> i'm finally doing better than the original
23:14:51 *** Progman has quit IRC
23:27:44 <Eddi|zuHause> so... someone gave me a monitor he wanted to get rid of, because "it was too yellow"...
23:28:52 <Eddi|zuHause> i got a little bit close to matching the colours to my normal monitor, but not quite there...
23:31:28 <Eddi|zuHause> plus i got a "random blank screen" issue that people seem to describe here https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/349943
23:47:45 *** frosch123 has quit IRC
23:50:26 <peter1139> hi
23:52:11 <andythenorth> hi
23:52:14 <andythenorth> lunch?