IRC logs for #openttd on OFTC at 2017-11-22
⏴ go to previous day
00:03:40 *** orudge` has joined #openttd
00:03:40 *** ChanServ sets mode: +o orudge`
00:32:06 <Samu> i'm not too satisfied with my friendly river patch
00:32:19 <Samu> anyone expert enough that can understand Aystar?
00:33:17 <Samu> there's so many things i'd like to do yet, but they're so complicated, not really sure how to begin
00:34:16 <Samu> hmm that pseudo code might help
00:37:26 <Samu> do you remember my river patch glx?
00:39:04 <Samu> i made them fat to disguise my failure to connect the rivers
00:39:45 <Samu> I don't like fat rivers, wanted to work that out
00:40:28 <Samu> but for that, there's something I am yet to understand, and it's in the Aystar side of the code :|
00:40:58 <Samu> i dont understand penalties, or scores
00:41:29 <Samu> at the same time, the river is to be build with a degree of random
00:43:12 <Samu> needs a direction, i dunno, i am missing something
00:45:25 *** andythenorth has left #openttd
01:05:53 <Samu> river is not connected to the water stream on locks
01:07:41 <Samu> but i have ensured already that the terrain is "friendly", it is missing 1, or 2, or 3 river tiles to complete the connection
01:08:51 <Samu> no terraforming is needed
01:09:37 <Samu> what can i do to make aystar build a path that accounts for the water stream when building locks?
02:39:24 *** orudge` has joined #openttd
02:39:24 *** ChanServ sets mode: +o orudge`
03:56:07 *** orudge` has joined #openttd
03:56:08 *** ChanServ sets mode: +o orudge`
03:56:25 *** Flygon_ has joined #openttd
05:22:17 *** cosmobird has joined #openttd
05:45:53 *** sim-al2 is now known as Guest1033
05:45:54 *** sim-al2 has joined #openttd
05:59:34 *** mindlesstux has joined #openttd
06:07:23 *** cosmobird has joined #openttd
06:11:58 *** mindlesstux has joined #openttd
06:52:32 *** cosmobird has joined #openttd
06:58:23 *** orudge` has joined #openttd
06:58:23 *** ChanServ sets mode: +o orudge`
07:00:50 *** cosmobird_ has joined #openttd
07:04:25 *** cosmobird_ has joined #openttd
07:29:47 *** SgtStroopwafel_ has quit IRC
07:33:10 *** SgtStroopwafel_ has joined #openttd
07:52:24 *** Biolunar has joined #openttd
08:05:27 *** cosmobird__ has joined #openttd
08:45:43 *** orudge` has joined #openttd
08:45:43 *** ChanServ sets mode: +o orudge`
08:58:27 *** orudge` has joined #openttd
08:58:27 *** ChanServ sets mode: +o orudge`
09:30:35 *** Stimrol has joined #openttd
09:38:28 *** tokai|noir has joined #openttd
09:38:28 *** ChanServ sets mode: +v tokai|noir
09:48:07 *** ToffeeYogurtPots has quit IRC
09:53:34 *** ToffeeYogurtPots has joined #openttd
09:58:17 *** Smedles has joined #openttd
10:16:17 *** chomwitt has joined #openttd
12:22:33 *** JacobD88 has joined #openttd
13:07:53 *** sim-al2 is now known as Guest1054
13:07:54 *** sim-al2 has joined #openttd
13:49:12 *** TheMask96 has joined #openttd
14:06:07 *** cosmobird has joined #openttd
14:33:25 *** cosmobird_ has joined #openttd
14:41:36 *** ToffeeYogurtPots has quit IRC
14:56:58 *** orudge` has joined #openttd
14:56:58 *** ChanServ sets mode: +o orudge`
15:11:07 *** mindlesstux has joined #openttd
15:16:55 *** Thedarkb has joined #openttd
15:30:38 *** sla_ro|master has joined #openttd
15:51:05 *** tycoondemon has joined #openttd
16:20:54 *** cosmobird__ has joined #openttd
16:25:23 *** cosmobird has joined #openttd
16:39:01 *** Thedarkb has joined #openttd
16:52:41 <LordAro> Samu: fairly sure DorpsGek does not use 32bit integers
16:52:54 <crem> @calc 0xffffffffffffffff + 1
16:52:54 <DorpsGek> crem: 18446744073709551616
16:53:03 <crem> @calc 0xffffffffffffffffffffffffffffffffffffffffffffffffffff + 1
16:53:03 <DorpsGek> crem: 411376139330301510538742295639337626245683966408394965837152256
16:53:10 <LordAro> yeah, supybot is python
16:53:24 <crem> @calc 0xfffffffffffffffffffffffffffffffffffffffffffff ** 0xffff
16:53:24 <DorpsGek> crem: Error: The answer exceeded 1.79769313486e+308 or so.
16:53:42 <crem> @calc 1.79769313486e+308 + 1
16:53:42 <DorpsGek> crem: Error: invalid syntax (<string>, line 1)
16:54:10 <LordAro> @calc (1 << (1 << (1 << 10)))
16:54:10 <DorpsGek> LordAro: Error: Something in there wasn't a valid number.
16:54:26 <DorpsGek> LordAro: Error: Something in there wasn't a valid number.
16:55:57 <DorpsGek> crem: 100000000000000001097906362944045541740492309677311846336810682903157585404911491537163328978494688899061249669721172515611590283743140088328307009198146046031271664502933027185697489699588559043338384466165001178426897626212945177628091195786707458122783970171784415105291802893207873272974885715430223118336
16:56:00 <DorpsGek> crem: Error: The answer exceeded 1.79769313486e+308 or so.
16:56:24 <crem> I thought 10 ** 308 should be a round number though.
16:58:24 *** cosmobird_ has joined #openttd
16:58:52 <crem> @calc 10000000000000000 - 1
16:58:52 <DorpsGek> crem: 10000000000000000
16:59:32 <LordAro> crem: max double size
17:00:42 <crem> Yes I understand, but if it's python, why doesn't it use arbitrary size integers. Python does not fail on the same examples.
17:00:56 <LordAro> depends how supybot implements it
17:01:05 <LordAro> probably not just doing "10**308" in python
17:02:20 <DorpsGek> LordAro: The current (running) version of this Supybot is 0.83.4.1. The newest version available online is 0.83.4.1.
17:04:19 *** Alberth has joined #openttd
17:04:19 *** ChanServ sets mode: +o Alberth
17:05:14 <Samu> why is debug mode so terribly slow at generating a 4kx4k map?
17:05:45 <LordAro> probably because debug mode
17:07:28 <Samu> trying to test if my friendly river doesn't bug out, so decided to try that size
17:08:55 <Samu> it's already past river generation, didn't assert, so far so good, let's hope that everything is connected now
17:15:45 <Samu> it is a good things that rivers are generated before towns
17:16:09 *** samgunner has joined #openttd
17:16:18 *** samgunner has left #openttd
17:26:19 <Samu> aww crap, i found an issue
17:29:42 <Samu> river junctions are not properly dealt with, hmm how am i gonna fix this
17:29:53 <Samu> when a river joins another
17:30:47 <Samu> seems to be a very rare occurence, but it happened, hmm :(
17:48:03 <Samu> damn, how am i gonna detect a "yet-to-be-a-lock" tile
18:02:00 *** Thedarkb has joined #openttd
18:12:34 *** TheMask96 has joined #openttd
18:20:32 *** Stimrol has joined #openttd
18:32:53 *** Biolunar has joined #openttd
18:38:12 *** Progman has joined #openttd
18:41:41 *** Thedarkb has joined #openttd
18:45:32 *** Stevensoner has joined #openttd
18:51:08 *** Thedarkb1 has joined #openttd
19:10:19 *** orudge` has joined #openttd
19:10:19 *** ChanServ sets mode: +o orudge`
19:13:58 *** Wormnest has joined #openttd
19:18:02 *** frosch123 has joined #openttd
19:37:59 *** gelignite has joined #openttd
19:41:07 *** samgunner has joined #openttd
19:41:25 *** samgunner has joined #openttd
19:43:18 *** andythenorth has joined #openttd
19:46:33 *** Gustavo6046 has joined #openttd
19:49:45 *** samgunner has left #openttd
19:50:59 <DorpsGek> frosch123: Error: invalid syntax (<string>, line 1)
20:01:24 *** andythenorth has joined #openttd
20:12:13 *** sla_ro|master has joined #openttd
20:22:27 *** orudge` has joined #openttd
20:22:27 *** ChanServ sets mode: +o orudge`
20:26:02 *** SgtStroopwafel_ has quit IRC
20:28:50 *** SgtStroopwafel_ has joined #openttd
20:42:59 *** orudge` has joined #openttd
20:42:59 *** ChanServ sets mode: +o orudge`
21:05:12 *** stefino has joined #openttd
21:17:22 *** HerzogDeXtEr has joined #openttd
21:19:26 <stefino> oh :) okay, try to do that :) and maybe one question. I use some parts of code from Polish building set and he has here "switch_houses_cargo_type_accept", what is in graphics block too. But nml says that "Callback results are limited to -16384..16383 for signed number and 0..32767 fr unsigned number. Nml encountered 34515. What I have to change? O.o
21:23:24 <Eddi|zuHause> difficult to say without the code
21:33:53 <frosch123> you need to put the cargo labels PASS, MAIL, FOOD and GOOD to the front of your cargotabler
21:34:01 <frosch123> they must be within the first 32 items
21:34:24 <frosch123> "cargo_type_accept" can only return a selection of the first 32
21:36:50 <stefino> okay, it works :) now let's go change spriteset into spritelayout :)
22:28:20 *** Gustavo6046_ has joined #openttd
22:29:32 *** sim-al2 has joined #openttd
22:35:12 *** Gustavo6046 has joined #openttd
23:02:31 <Samu> it is soo hard to work with an imaginary lock
23:03:14 <Samu> if i build locks everywhere, things become easier to deal with, but ultimately, I don't wanna have locks there, I just have to imagine they're there...
23:03:47 <Samu> I'm coding for an imaginary lock
23:39:57 *** ccfreak2k has joined #openttd
continue to next day ⏵