IRC logs for #openttd on OFTC at 2020-02-05
            
00:11:52 *** nielsm has joined #openttd
00:14:44 *** Samu has quit IRC
01:02:13 *** Flygon has joined #openttd
01:24:00 *** ZirconiumX has quit IRC
01:56:01 *** gelignite has quit IRC
01:56:22 *** ZirconiumX has joined #openttd
02:11:15 *** Wormnest has joined #openttd
02:43:39 *** glx has quit IRC
03:02:31 *** jinks has joined #openttd
04:01:33 *** Wormnest has quit IRC
04:07:01 *** Wormnest has joined #openttd
04:11:43 *** WormnestAndroid has quit IRC
04:12:54 *** WormnestAndroid has joined #openttd
04:25:02 *** WormnestAndroid has quit IRC
04:25:12 *** WormnestAndroid has joined #openttd
04:38:29 *** D-HUND has joined #openttd
04:41:52 *** debdog has quit IRC
05:27:10 *** WormnestAndroid has quit IRC
05:29:53 *** Wormnest has quit IRC
05:30:23 *** WormnestAndroid has joined #openttd
06:45:17 *** tokai has joined #openttd
06:45:17 *** ChanServ sets mode: +v tokai
06:52:08 *** tokai|noir has quit IRC
06:58:54 *** argoneus14 has joined #openttd
06:59:43 *** Lejving_ has joined #openttd
07:01:46 *** orudge` has joined #openttd
07:01:55 *** Markk_ has joined #openttd
07:02:16 *** sla_ro|master has joined #openttd
07:03:14 *** epoll has joined #openttd
07:04:17 *** D-HUND has quit IRC
07:04:17 *** SmatZ has quit IRC
07:04:17 *** Hirundo has quit IRC
07:04:17 *** fonsinchen has quit IRC
07:04:17 *** avdg has quit IRC
07:04:17 *** XeryusTC has quit IRC
07:04:17 *** gnu_jj has quit IRC
07:04:17 *** syr has quit IRC
07:04:17 *** DecapitatedO has quit IRC
07:04:17 *** Markk has quit IRC
07:04:17 *** TrueBrain has quit IRC
07:04:17 *** DorpsGek_III has quit IRC
07:04:17 *** argoneus1 has quit IRC
07:04:17 *** ericnoan has quit IRC
07:04:17 *** seatsea04192116 has quit IRC
07:04:17 *** Mek has quit IRC
07:04:17 *** funnel has quit IRC
07:04:17 *** orudge has quit IRC
07:04:17 *** dihedral has quit IRC
07:04:17 *** Lejving has quit IRC
07:04:17 *** Markk_ is now known as Markk
07:04:26 *** debdog has joined #openttd
07:04:35 *** gnu_jj has joined #openttd
07:04:45 *** TrueBrain has joined #openttd
07:05:00 *** funnel has joined #openttd
07:05:03 *** dihedral has joined #openttd
07:05:43 *** fonsinchen has joined #openttd
07:05:53 *** Mek has joined #openttd
07:08:30 *** seatsea041921162 has joined #openttd
07:08:30 *** SmatZ has joined #openttd
07:08:30 *** Hirundo has joined #openttd
07:08:30 *** avdg has joined #openttd
07:08:30 *** XeryusTC has joined #openttd
07:08:30 *** ericnoan has joined #openttd
07:08:30 *** DorpsGek_III has joined #openttd
07:08:30 *** DecapitatedO has joined #openttd
07:33:30 *** Flygon has quit IRC
07:33:52 *** Flygon has joined #openttd
08:40:19 *** andythenorth has joined #openttd
09:26:51 *** andythenorth has quit IRC
09:51:22 *** Samu has joined #openttd
10:00:51 *** el3ktr4 has joined #openttd
10:17:33 *** el3ktr4 has quit IRC
10:24:36 *** el3ktr4 has joined #openttd
10:31:26 *** andythenorth has joined #openttd
10:39:39 *** Guest15459 has quit IRC
10:52:06 *** el3ktr4 has quit IRC
11:20:11 *** andythenorth has quit IRC
11:23:44 *** Arveen has quit IRC
11:33:55 *** Lejving_ has quit IRC
11:35:12 *** Arveen has joined #openttd
12:26:09 *** andythenorth has joined #openttd
12:34:37 *** gelignite has joined #openttd
12:40:59 *** andythenorth has quit IRC
12:43:23 *** andythenorth has joined #openttd
13:17:12 *** snail_UES_ has joined #openttd
13:26:33 *** Lejving has joined #openttd
13:33:28 *** snail_UES_ has quit IRC
14:15:41 *** WormnestAndroid has quit IRC
14:15:54 *** WormnestAndroid has joined #openttd
14:28:07 *** sla_ro|master has quit IRC
14:44:35 *** Flygon has quit IRC
14:52:09 *** gelignite has quit IRC
14:52:15 *** gelignite has joined #openttd
15:11:17 *** backtu[m] has left #openttd
15:34:39 <_dp_> hi
15:35:06 <_dp_> nielsm, did you intentionally change rating modification radius or just forgot to check for manhattan distance?
15:35:09 <_dp_> https://github.com/OpenTTD/OpenTTD/commit/d84b67e54d663a62a0a90ddf3fcc7c3f728826af#diff-249239106fd58103249d1178388d72feR3706
15:35:46 <_dp_> for example new advertisement zones https://i.imgur.com/JHTBmaE.png vs old ones https://i.imgur.com/yov79Ho.png
15:36:15 <_dp_> also affects crashes and exclusive rights afaict
15:37:15 <_dp_> I kinda like new adv zones though
15:37:23 <_dp_> but not so much crashes xD
15:38:38 <_dp_> new adv zones change town layout a lot for citybuilders
15:59:49 *** WormnestAndroid has quit IRC
16:00:59 *** WormnestAndroid has joined #openttd
16:04:11 *** WormnestAndroid has joined #openttd
16:04:58 *** andythenorth has quit IRC
16:23:48 *** el3ktr4 has joined #openttd
16:24:17 *** sla_ro|master has joined #openttd
16:25:46 <nielsm> _dp_ nope that's not intentional
16:34:06 <nielsm> _dp_ should I make the fix or are you working on one?
16:56:26 <_dp_> nielsm, I'm not so you do it :p
16:56:36 <_dp_> it's a matter of adding && DistanceManhattan back anyway
16:57:35 *** Wormnest has joined #openttd
16:59:11 <_dp_> nielsm, btw, why not just put intsqrt here? https://github.com/OpenTTD/OpenTTD/blob/master/src/town_cmd.cpp#L3317
16:59:38 <nielsm> because it rounds the wrong way
17:00:33 <_dp_> does it? also you can always do +1
17:09:56 <nielsm> I guess IntSqrt is not unreasonably slow (it has no mul or div operations) and just adding +1 to the result would give a better aproximation of smallest integer greater than the real square root
17:11:36 <_dp_> ofc, much faster than querying useless towns
17:11:56 <nielsm> sorry, smallest integer not less than the real square root, is the correct
17:13:59 <_dp_> you're including radius border in query so don't think you need greater integer, just insqrt should be fine
17:14:14 <_dp_> at least I do just intsqrt for zoning and it seems to be ok
17:14:20 <_dp_> not that I tested it much xD
17:16:21 <_dp_> a > intsqrt(x) means a * a > x
17:16:53 *** spnda has joined #openttd
17:33:09 *** gelignite has quit IRC
17:37:22 <_dp_> hm, shouldn't it be T::Get here? https://github.com/OpenTTD/OpenTTD/blame/master/src/station_cmd.cpp#L110
17:37:35 <Eddi|zuHause> uhm what? a*a>x should be preferable to a>intsqrt(x)
17:37:37 <_dp_> not that it matters as waypoints and stations seem to share pool
17:38:26 <_dp_> Eddi|zuHause, look where it is, a*a>x isn't rly an option there
17:38:57 <Eddi|zuHause> i haven't followed the discussion
17:39:15 <spnda> Some update to #7955, I finally got my own Draw function to actually draw the road stops properly. Now my last step is to draw custom sprites. Close to done.
17:39:29 <_dp_> Eddi|zuHause, can't quite query kd-tree by a squared value
17:40:37 <Eddi|zuHause> spnda: that reads like "it's 90% done, now for the other 90%..."
17:40:46 <spnda> exactöy
17:40:48 <spnda> exactly*
18:04:46 *** Progman has joined #openttd
18:05:12 *** Wormnest has quit IRC
18:12:54 *** gelignite has joined #openttd
18:16:38 *** WormnestAndroid has quit IRC
18:16:56 *** WormnestAndroid has joined #openttd
18:33:31 *** andythenorth has joined #openttd
18:37:13 *** el3ktr4 has quit IRC
18:42:43 *** el3ktr4 has joined #openttd
19:00:05 *** el3ktr4 has quit IRC
19:01:25 *** el3ktr4 has joined #openttd
19:08:09 *** y2kboy23 has quit IRC
19:08:14 *** andythenorth has quit IRC
19:08:24 *** y2kboy23 has joined #openttd
19:12:44 *** supermop_work has quit IRC
19:13:54 <tycoondemon> why is this link dead: http://binaries.openttd.org/releases/1.9.3/ ?
19:15:25 <milek7> https://cdn.openttd.org/openttd-releases/1.9.3/
19:15:44 <nielsm> did we not set up redirects from the old urls?
19:15:49 <nielsm> TrueBrain
19:31:28 *** glx has joined #openttd
19:31:28 *** ChanServ sets mode: +v glx
19:36:18 *** frosch123 has joined #openttd
19:37:51 *** Wolf01 has joined #openttd
19:39:00 <Wolf01> Ouch, I lost about 300g in 10 minutes
19:41:45 <nielsm> that can be benign or very serious
19:42:38 <Wolf01> I cut the beard :P
19:45:10 <Wolf01> https://steamcommunity.com/app/361420/discussions/0/1750147465524215521/ @ Eddi|zuHause
19:45:50 <DorpsGek_III> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JvZIY
19:45:50 <DorpsGek_III> - Update: Translations from eints (by translators)
19:47:14 *** andythenorth has joined #openttd
19:50:45 <frosch123> eints committed, so i guess our team implementation converged to something
19:51:20 <andythenorth> yo
19:51:30 <andythenorth> Horse 98% :P
19:51:39 <andythenorth> I started redrawing all the steam engines
19:51:46 <andythenorth> due to not being very good at drawing
19:52:40 <frosch123> if you improve enough within one cycle, you can continue endless
19:53:45 <frosch123> hmm... also, if your taste changes enough within one cycle, you can continue indefinitely
20:00:00 <Eddi|zuHause> Wolf01: i probably won't do anything that crazy
20:00:06 <andythenorth> frosch123: ^^ FIRS
20:00:07 <andythenorth> :P
20:01:14 <frosch123> did you consider www.your-firs.org, where users can draw their own cargoflow and then generate a .grf?
20:07:04 *** WormnestAndroid has quit IRC
20:07:54 *** WormnestAndroid has joined #openttd
20:07:59 <andythenorth> somewhat I did :P
20:08:02 <andythenorth> but life
20:09:46 <frosch123> i guess instead of a .grf it should generate a .tar and include the source code at the same time
20:10:06 <frosch123> then every noob automatically complies to the gpl
20:12:37 <andythenorth> winner
20:12:41 <andythenorth> let's do it for April
20:13:44 <frosch123> oh, in that case the page could just show "our server is currently experiencing very high load, please retry later"
20:14:03 <frosch123> you just need a cool screenshot
20:14:32 *** gnu_jj has quit IRC
20:14:43 *** gnu_jj has joined #openttd
20:18:37 <Wolf01> <Eddi|zuHause> Wolf01: i probably won't do anything that crazy <- the craziest thing I did was to create a straight road between all the gateways, only on one planet
20:19:13 *** el3ktr4 has quit IRC
20:21:22 *** Wormnest has joined #openttd
20:22:46 *** gnu_jj has quit IRC
20:37:08 *** gelignite2nd has joined #openttd
20:38:19 *** Torxed has joined #openttd
20:39:27 <Torxed> Hey, server is advertised, I can see it when filtering/searching for it and joining works. But if i go via "Add server" and add the IP to the server manually it says "Server offline", any known reasons why that is? (Not behind a NAT, firewall turned off, can test the connection with netcat/python and it greets me all well and fine, just not via the game)
20:40:01 <Torxed> I should probably say that I'm referring to my own dedicated server :)
20:40:39 <nielsm> do you include the port number when you add the server via address?
20:41:18 *** gnu_jj has joined #openttd
20:41:58 <Torxed> nielsm: yes and no. Tried both and both yield the same result.
20:42:32 <Torxed> Using standard port 3979, essentially default config. Except i turned on advertising server and switched the lan_internet to 0 to make it public (also tried with =1 on it)
20:45:39 <Torxed> That's odd, the server advertises the local IP so when I'm connecting to the advertised server it's my local IP. And the server also acts as a router in my home that's why the advertised one works.
20:45:55 <Torxed> And connecting from a VPS outside it can't, so yea it's something with blocking connections externally for some reason.
20:48:03 <Torxed> Does openttd actually bind on all interfaces? or just one?
20:48:46 <Torxed> (0.0.0.0:3970 is a bit ambigious unless it actually opens on all interfaces. But only see one listing in the logs so.. one interface?)
20:49:12 <nielsm> yeah 0.0.0.0 is standard notation for listening on all interfaces
20:49:13 *** gelignite2nd has quit IRC
20:50:45 <frosch123> @ports
20:50:46 <DorpsGek> frosch123: OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
20:51:02 <frosch123> i still cannot remember the ports :)
20:51:57 <frosch123> anyway, connecting to a server used tcp, while querying online status used udp
20:52:11 <frosch123> so, there is some difference in the connection
20:52:18 <Torxed> ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:3979
20:52:20 <Torxed> ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:3979
20:52:42 <Torxed> Could essentially kill iptables heh, but the port should be open on both UDP and TCP. NOt sure why this is not working : /
20:53:11 <Torxed> 3978 is not open tho, not sure that's an issue?
20:53:49 <frosch123> no, your server will never listen on that
20:54:06 <frosch123> your client used it to download online content
20:54:17 <Torxed> Ah. Sorry for spamming btw, I appreciate all the help I get.
20:54:30 <Torxed> What's the syntax for [server_bind_addresses] ? I currently just do: <ip> = true
20:54:38 <Torxed> According to https://wiki.openttd.org/Server_bind_ip
20:55:25 <frosch123> i would expect the value does not matter
20:55:35 <frosch123> it just uses the key
20:56:51 <Torxed> That worked. So forcing it to the external interface made it work.
20:57:07 <Torxed> Are you 100% sure it actually creates a socket on all interfaces, not just accept from any network source? :)
21:00:16 <milek7> it probably just creates socket with INADDR_ANY
21:00:26 <nielsm> socket applications bind to IP addresses, not physical interfaces
21:14:25 <Samu> 14 companies with 5000 road vehicles, 1 more to go
21:17:47 <Torxed> nielsm: not true entirely. when binding to a interface (via 0.0.0.0) it actually will get allocated to the interface with the lowest metric. Not on all devices depending on the language used. Or at least that's my past experiences.
21:18:14 <Torxed> But `INADDR_ANY` should listen on all interfaces ._o
21:18:53 <Torxed> I'm confused >_< oh well, I don't mind the server just listening on one interface. That's the one i wanted anyway. And it "solved" the issue heh
21:24:04 <milek7> but INADDR_ANY is 0.0.0.0
21:24:54 <milek7> there's no such thing as binding 'to interface' in IP berkeley socket api
21:35:50 *** spnda has quit IRC
21:40:01 <Torxed> milek7: You're right, but I can't explain this issue in any other way :/
21:59:06 *** el3ktr4 has joined #openttd
22:00:35 *** sla_ro|master has quit IRC
22:02:06 *** Torxed has quit IRC
22:18:09 *** nielsm has quit IRC
22:33:27 *** Wormnest has quit IRC
22:36:31 *** supermop_work has joined #openttd
22:47:48 *** Wormnest has joined #openttd
22:47:55 *** el3ktr4 has quit IRC
22:48:54 *** ToBeFree has joined #openttd
22:51:12 *** andythenorth has left #openttd
23:12:12 *** el3ktr4 has joined #openttd
23:25:30 <DorpsGek_III> [OpenTTD/OpenTTD] James103 opened issue #7976: RCON kick/ban can crash the server https://git.io/JvZmM
23:26:05 <TrueBrain> 19:15 <nielsm> did we not set up redirects from the old urls? <- the URL the user gave never existed. 1.9 was never published there. As such, no redirect :)
23:27:15 <TrueBrain> I am however now slowly merging the two different archives together, so soon (tm) they will all redirect to the same :)
23:28:09 <TrueBrain> So it isn't dead as it never existed to start with :D
23:28:35 <TrueBrain> Guess user tried to alter the URL himself or something
23:29:08 <Eddi|zuHause> my first guess would be some tool that appends the version number to a base url
23:30:05 <TrueBrain> Bit late to notice 1.9 is not working I would say :D almost a year old :p
23:31:30 <TrueBrain> After moving BaNaNaS I can redirect this to the new archive.. till then the users have to survive a little bit longer with this :D
23:33:55 <Eddi|zuHause> how far along are we with the project to accelerate the release schedule? :p
23:46:23 *** Wolf01 has quit IRC
23:46:24 *** ToBeFree_ has joined #openttd
23:47:31 *** ToBeFree has quit IRC
23:51:26 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on issue #7976: RCON kick/ban can crash the server https://git.io/JvZmM
23:55:26 <_dp_> by the way things are going I wouldn't be surprised to see 1.10 delayed instead of accelerated :p
23:56:15 *** ToBeFree_ has quit IRC
23:56:47 <LordAro> bad
23:59:32 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on issue #7976: RCON kick/ban can crash the server https://git.io/JvZmM