Config
Log for #openttd on 9th October 2018:
Times are UTC Toggle Colours
00:05:39  *** Flygon has joined #openttd
00:08:05  *** KouDy has joined #openttd
00:26:14  *** HerzogDeXtEr has joined #openttd
00:31:29  *** HerzogDeXtEr1 has quit IRC
00:51:44  *** Thedarkb-T60 has quit IRC
00:57:32  *** Samu has joined #openttd
01:01:46  *** Samu has quit IRC
01:21:38  *** WWacko1976-work has joined #openttd
02:24:25  *** Maarten has joined #openttd
03:00:06  *** Gustavo6046 has quit IRC
03:10:43  *** HerzogDeXtEr1 has joined #openttd
03:12:28  *** glx has quit IRC
03:17:04  *** HerzogDeXtEr has quit IRC
03:18:51  *** Gustavo6046 has joined #openttd
03:19:04  *** haudrauf has quit IRC
03:21:40  *** haudrauf has joined #openttd
04:15:51  *** snail_UES_ has quit IRC
04:18:14  *** snail_UES_ has joined #openttd
04:42:06  *** Wacko1976 has joined #openttd
04:50:10  *** Wacko1976 has quit IRC
05:09:23  *** Wacko1976 has joined #openttd
06:07:29  *** argoneus_ has quit IRC
06:08:29  *** argoneus has joined #openttd
06:10:40  *** HerzogDeXtEr1 has quit IRC
06:10:43  *** HerzogDeXtEr has joined #openttd
06:56:03  *** WWacko1976-work has quit IRC
06:56:24  *** WWacko1976-work has joined #openttd
07:31:47  *** Thedarkb-T60 has joined #openttd
07:35:17  *** Samu has joined #openttd
07:41:04  *** Thedarkb-T60 has quit IRC
09:14:47  *** kaane has quit IRC
09:26:57  *** Samu has quit IRC
10:21:32  *** Samu has joined #openttd
10:58:07  *** Gustavo6046 has quit IRC
11:21:03  *** sla_ro|master has joined #openttd
12:29:55  <Samu> guys, I have a fix for this https://github.com/OpenTTD/OpenTTD/issues/6273
12:30:46  <Samu> but...
12:31:12  <Samu> whatever, i'll post it
12:49:48  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #6935: Add: EnsureNoShipFromDiagDirs https://git.io/fxno7
12:50:05  <Samu> exactly
12:50:15  * LordAro finds ReusableBuffer
12:50:21  * LordAro wonders what on earth it is useful for
12:51:53  <LordAro> Samu: bold move, fixing an issue marked as won't fix :p
12:59:09  *** sla_ro|master has quit IRC
13:07:26  *** Samu has quit IRC
13:09:58  *** Samu has joined #openttd
13:11:05  <Samu> darn whitespaces
13:11:07  <Samu> i can't see them
13:15:16  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6935: Add: EnsureNoShipFromDiagDirs https://git.io/fxno7
13:16:15  <Samu> yeh :(
13:17:44  *** Samu has quit IRC
13:19:54  *** Samu has joined #openttd
13:22:49  *** snail_UES_ has quit IRC
13:26:34  <Samu> darn, that regression test hates me~
13:28:15  *** snail_UES_ has joined #openttd
13:28:57  <Samu> without watching what it does, i have no idea what to do :(
13:31:26  <Samu> i see, assertion failed
13:32:39  *** snail_UES_ has quit IRC
13:36:17  <Samu> that's weird, why is it asserting
13:43:29  <Samu> ok, i see
13:51:48  *** nielsm has joined #openttd
13:54:03  <Samu> the unexpected assert is back to haunt me
13:54:33  *** Gustavo6046 has joined #openttd
13:54:44  *** Wacko1976_ has joined #openttd
14:00:04  *** Wacko1976 has quit IRC
14:14:58  <Samu> alright, i think i solved the assert problem
14:17:03  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6935: Add: EnsureNoShipFromDiagDirs https://git.io/fxno7
14:17:29  <Samu> ^_^
14:18:04  <Samu> that regression test actually helped me
14:18:38  <Samu> made the assert trigger, when I was not expecting any issue
14:23:11  <Samu> another crash?
14:23:13  <Samu> i'm sad
14:26:04  <LordAro> i'd suggest that you can run the regression test yourself, but i'm not actually sure you can via VS
14:26:56  <Samu> +Error: Assertion failed at line 91 of /home/jenkins/workspace/OpenTTD_OpenTTD_PR-6935-V6E755EC6U4YKRM42E7WJQ7H5XPYKZ57ZRAWZKFCHJQLKASJZQEQ/linux-amd64-clang-3.8/src/tile_map.h: tile < MapSize()
14:27:08  <Samu> how the heck
14:27:30  <Samu> it was generating an industry at the edge of a map, maybe?
14:28:37  <Samu> i guess the assert is telling me I am checking for a ship outside the map
14:28:43  <Samu> :|
14:29:04  <LordAro> probably
14:29:14  <Samu> not really sure, but a good guess i believe, as I'm not making certain of those tiles
14:33:06  <Samu> if (!IsValidTile(tc)) continue;
14:34:26  <Samu> IsInnerTile
14:34:35  <Samu> hmm, unsure which one
14:37:53  <Samu> have no way to check here, so i'm going to push again
14:39:53  <LordAro> you could probably reproduce it yourself, even if you can't run that exact game
14:40:05  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6935: Add: EnsureNoShipFromDiagDirs https://git.io/fxno7
14:40:11  <Samu> too late :(
14:40:45  <Samu> i still think the regression test is gonna fail me
14:41:10  <LordAro> that's usually how it works, if you don't fully understand the problem
14:45:55  *** WWacko1976-work has quit IRC
14:47:19  <LordAro> fwiw, regression basically runs: ./openttd -x -c ai/regression/regression.cfg -snull -mnull -vnull:ticks=30000 -g ai/regression/empty.sav -d script=2 -d misc=9
14:47:24  <LordAro> if i'm reading the script correctly
14:47:29  <LordAro> (from the bin directory)
14:49:22  <Samu> ok, gonna try
14:53:33  <LordAro> ok, there's a few other statements that might be necessary, but it'll get you most of the way there
14:53:35  <Samu> didn't work, found no regression ai, loaded a dummy
14:53:42  <LordAro> (bin/ai/regression/run.sh)
14:53:51  <LordAro> looks like it needs info.nut copying into place
15:04:14  *** Wormnest has joined #openttd
15:05:21  <Samu> what costs 4500
15:05:28  <Samu> that's the difference in bankbalance
15:05:49  <Samu> something failed to build or clear or so, t.t
15:08:28  *** Flygon has quit IRC
15:40:04  <Eddi|zuHause> what happened to "make regression"?
15:41:47  <Eddi|zuHause> i could imagine there being a VS subproject for the regression
15:45:38  *** Gja has joined #openttd
15:46:39  *** TheMask96 has quit IRC
15:48:12  *** TheMask96 has joined #openttd
15:49:55  <Samu> damn another assertion
15:51:00  <Samu> map_func.h line 386
15:51:37  <Samu> 	return TILE_ADD(tile, TileOffsByDiagDir(dir));
15:51:47  <Samu> still a tile outside the map?
15:55:03  <Samu> @calc 0x00EF + 0xFFFFFF00
15:55:03  <DorpsGek> Samu: 4294967279
15:55:09  <Samu> what the heck
15:55:52  <nielsm> the result is -16
15:56:03  <nielsm> in decimal two's complement
15:56:36  *** kaane has joined #openttd
15:57:46  <nielsm> hm no -17... I think
15:57:50  <Samu> so 239 - 256
15:58:25  <Eddi|zuHause> @calc 4294967279-2**32
15:58:25  <DorpsGek> Eddi|zuHause: -17
15:58:35  <Samu> @calc 239 - 256
15:58:35  <DorpsGek> Samu: -17
15:58:43  <Samu> yeah, that's a tile outside the map again
15:58:46  <Samu> grrr
15:59:31  <Samu> hmm so how am i gonna do this
16:00:04  <Samu> TileIndex tc = TileAddByDiagDir(tile, diag_dir); // Move into the neighbouring tile
16:00:07  <Samu> asserts
16:00:10  <nielsm> uh well you're obviously on the first row of the map and subtracting a row length, of course you're going to end up outside
16:00:36  <Samu> can't use TileAddByDiagDir
16:00:59  <nielsm> yes you can
16:00:59  <Eddi|zuHause> to avoid going over the map edge, you must go in single steps, and bail out if you've reached a VOID tile
16:01:06  <nielsm> but check the coordinate before blindly adding
16:01:40  <Samu> actually, 'tile' is also outside the map, how come
16:01:44  <Eddi|zuHause> going over the edge of the map is a bug even if you happen to end up inside the map array
16:03:47  <Samu> so that means I have to check if tile is also inside the map
16:03:55  <Samu> not just the tile i want to move to
16:05:07  *** frosch123 has joined #openttd
16:05:42  *** HerzogDeXtEr has joined #openttd
16:06:26  *** sla_ro|master has joined #openttd
16:07:20  <Samu> uh, nop
16:07:25  <Samu> is inner tile perhaps?
16:10:53  <Eddi|zuHause> @calc 18.6/15.2
16:10:53  <DorpsGek> Eddi|zuHause: 1.22368421053
16:12:19  <Samu> nop
16:23:52  <Samu> how come tile 239 is valid? :(
16:24:13  <Samu> freeform edges?
16:24:33  <Samu> hmm
16:24:48  <Samu> this was triggered by an industry spawn
16:26:55  <Samu> TileAddWrap
16:27:00  <Samu> gonna try this
16:47:50  <Samu> i can't do this :(
16:50:11  *** sim-al2 has quit IRC
16:50:24  *** haudrauf has quit IRC
16:51:22  *** haudrauf has joined #openttd
16:53:31  *** chomwitt has joined #openttd
16:55:41  <Samu> i think i found a way
16:55:45  <Samu> TileIndex tc = AddTileIndexDiffCWrap(tile, TileIndexDiffCByDiagDir(diag_dir)); // Move into the neighbouring tile
16:56:07  <Samu> testing
16:57:04  *** rocky11384497 has joined #openttd
16:57:26  <Samu> nop
16:57:32  <Samu> oh wait, i dint build
16:59:29  <Samu> yes, it exited with no error
16:59:37  <Samu> this regression test dude
16:59:42  <Samu> i still can't see it
16:59:50  <Samu> but i can run it here
17:01:12  <Samu> the derriere test, generating 13k towns and 20k industries brb
17:05:36  *** gelignite has joined #openttd
17:06:10  <Samu> hey gelignite, can you make gelignAIte do what it does, but for more towns?
17:06:23  <Samu> there's no other AI like it
17:08:45  *** Wolf01 has joined #openttd
17:10:08  <Wolf01> o/
17:10:33  <gelignite> well, yes and no. i've planned a new version for years. bad news is, i don't find the time to make it happen.
17:12:13  *** Gja has quit IRC
17:14:35  <Samu> debug mode is too slow on 4k maps
17:14:48  <Samu> but it generated 20480 industries on startup, no asserts
17:14:53  <Wolf01> https://www.youtube.com/watch?v=Vf5AYenI-l4 must... go... there.
17:15:14  *** Thedarkb has joined #openttd
17:17:14  <Eddi|zuHause> Wolf01: think they have better internet than you? :p
17:19:06  <Samu> okay, so uploading again
17:20:10  *** Gja has joined #openttd
17:20:41  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6935: Add: EnsureNoShipFromDiagDirs https://git.io/fxno7
17:21:18  <Samu> expecting a regression failure, only
17:21:23  *** Wolf01 is now known as Guest114
17:21:26  *** Wolf01 has joined #openttd
17:21:29  <Samu> which is still something i can't quite figure out
17:24:03  <frosch123> "2/100 of a mile" <- what a unit
17:24:44  *** Guest114 has quit IRC
17:27:01  <Samu> well, failed at regression again https://farm.openttd.org/jenkins/blue/organizations/jenkins/OpenTTD%2FOpenTTD/detail/PR-6935/5/pipeline#step-61-log-558
17:27:16  <Wolf01> Meh, phone works now but internet unstable
17:27:48  <Samu> i can only imagine the AI was building something that had a ship nearby and it failed
17:28:15  <Samu> but i cant prove it
17:35:56  <Eddi|zuHause> i'm pretty sure "middle of nowhere, oregon" has better internet than "industrialized northern italy" :p
17:47:42  *** Arveen has quit IRC
17:49:53  *** Arveen has joined #openttd
17:51:29  <Samu> think i found the cause
17:51:42  <Samu> airport price is being ignored t.t
17:51:48  <Samu> i failed
17:52:22  <Samu> if i failed there, i must have failed in more situations
17:54:43  <Samu> yeah, i tried to sound smart, and totally made this screw costs
17:55:37  <Samu> my worst push request so far
18:06:32  *** Wormnest has quit IRC
18:21:15  *** Wormnest has joined #openttd
18:23:49  *** Progman has joined #openttd
18:24:07  *** Wolf01 is now known as Guest118
18:24:09  *** Wolf01 has joined #openttd
18:25:51  *** Gja has quit IRC
18:28:06  *** Gja has joined #openttd
18:28:27  *** Guest118 has quit IRC
18:30:41  *** erkin has joined #openttd
18:31:16  <erkin> Is there a way to see which road pieces are mine, so that I can demolish them to reduce property maintenance without accidentally angering local authorities?
18:31:57  <Wolf01> Land info tool
18:33:46  <erkin> Thanks, that works for me.
18:36:19  <Eddi|zuHause> we should maybe finally get around to including that tile highlighting patch :p
18:38:43  *** Wolf01 is now known as Guest121
18:38:45  *** Wolf01 has joined #openttd
18:39:06  <Eddi|zuHause> still no useful internet?
18:42:40  *** Wolf01 is now known as Guest122
18:42:42  *** Wolf01 has joined #openttd
18:43:01  <Wolf01> <Eddi|zuHause> still no useful internet? < no
18:43:11  *** Guest121 has quit IRC
18:47:44  *** Guest122 has quit IRC
18:47:52  *** GroovyNoodle has joined #openttd
18:51:05  <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6935: Add: EnsureNoShipFromDiagDirs https://git.io/fxno7
18:51:24  <Samu> expecting success now
18:52:01  *** Gja has quit IRC
18:53:41  *** Wolf01 is now known as Guest123
18:53:43  *** Wolf01 has joined #openttd
18:53:45  <Samu> btw, ur regression ai could test raise and lower terrain
18:54:01  <Samu> I had some failure in the terraform costs too and it wasn't detected
18:57:27  <Samu> Running ai/regression/tst_regression... passed! yeeeh
18:59:39  *** Guest123 has quit IRC
19:08:15  *** Wormnest has quit IRC
19:11:15  *** Thedarkb has quit IRC
19:14:22  *** crem4 has quit IRC
19:16:39  *** glx has joined #openttd
19:16:39  *** ChanServ sets mode: +v glx
19:22:00  *** crem has joined #openttd
19:25:11  <Wolf01> So, maybe the problem is resolved, I asked them to reset the DSL circuit
19:25:40  *** crem has quit IRC
19:29:50  *** crem has joined #openttd
19:32:53  *** Wolf01 is now known as Guest128
19:32:55  *** Wolf01 has joined #openttd
19:32:58  <Wolf01> Taaaaac
19:35:57  <Eddi|zuHause> so much for "have you tried turning it off and on again?"
19:36:41  *** Wolf01 is now known as Guest129
19:36:43  *** Wolf01 has joined #openttd
19:37:42  *** Guest128 has quit IRC
19:41:55  *** Guest129 has quit IRC
19:45:44  *** Wolf01 has quit IRC
19:48:31  *** Thedarkb-T60 has joined #openttd
19:51:21  *** frosch123 has quit IRC
19:55:49  *** hph^ has joined #openttd
20:27:02  *** gelignite has quit IRC
20:37:22  *** sla_ro|master has quit IRC
20:43:54  *** GroovyNoodle has quit IRC
20:44:06  *** GroovyNoodle has joined #openttd
20:52:19  *** Thedarkb-T60 has quit IRC
20:52:46  *** Thedarkb-T60 has joined #openttd
21:05:24  *** chomwitt has quit IRC
21:15:33  *** Progman has quit IRC
21:15:39  *** Wacko1976_ has quit IRC
21:23:13  *** GroovyNoodle has quit IRC
21:39:15  *** nielsm has quit IRC
21:39:23  *** Thedarkb-T60 has quit IRC
21:39:59  *** Thedarkb-T60 has joined #openttd
21:53:49  *** Thedarkb-T60 has quit IRC
21:55:23  <Samu> what to do about this? https://github.com/OpenTTD/OpenTTD/pull/6932
21:58:18  <Samu> for me it seems to be working fine, but I don't know how to attend to that request
21:58:30  <Samu> I can't see where it fails
22:19:05  *** HerzogDeXtEr has quit IRC
22:21:55  *** Thedarkb-T60 has joined #openttd
22:36:19  *** erkin has quit IRC
23:39:26  *** Flygon has joined #openttd

Powered by YARRSTE version: svn-trunk