IRC logs for #openttd on OFTC at 2018-10-09
⏴ go to previous day
00:04:23 *** wodencafe has joined #openttd
00:24:07 *** Thedarkb-T60 has joined #openttd
01:52:48 *** Wormnest has joined #openttd
01:57:15 *** snail_UES_ has joined #openttd
02:26:14 *** HerzogDeXtEr has joined #openttd
03:21:38 *** WWacko1976-work has joined #openttd
04:24:25 *** Maarten has joined #openttd
05:10:43 *** HerzogDeXtEr1 has joined #openttd
05:18:51 *** Gustavo6046 has joined #openttd
05:21:39 *** haudrauf has joined #openttd
06:18:14 *** snail_UES_ has joined #openttd
06:42:06 *** Wacko1976 has joined #openttd
07:09:23 *** Wacko1976 has joined #openttd
08:08:29 *** argoneus has joined #openttd
08:10:43 *** HerzogDeXtEr has joined #openttd
08:56:03 *** WWacko1976-work has quit IRC
08:56:24 *** WWacko1976-work has joined #openttd
09:31:47 *** Thedarkb-T60 has joined #openttd
13:21:03 *** sla_ro|master has joined #openttd
14:50:21 * LordAro wonders what on earth it is useful for
14:51:53 <LordAro> Samu: bold move, fixing an issue marked as won't fix :p
15:26:34 <Samu> darn, that regression test hates me~
15:28:15 *** snail_UES_ has joined #openttd
15:28:57 <Samu> without watching what it does, i have no idea what to do :(
15:36:17 <Samu> that's weird, why is it asserting
15:54:03 <Samu> the unexpected assert is back to haunt me
15:54:33 *** Gustavo6046 has joined #openttd
15:54:44 *** Wacko1976_ has joined #openttd
16:14:58 <Samu> alright, i think i solved the assert problem
16:18:04 <Samu> that regression test actually helped me
16:18:38 <Samu> made the assert trigger, when I was not expecting any issue
16:26:04 <LordAro> i'd suggest that you can run the regression test yourself, but i'm not actually sure you can via VS
16: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()
16:27:30 <Samu> it was generating an industry at the edge of a map, maybe?
16:28:37 <Samu> i guess the assert is telling me I am checking for a ship outside the map
16:29:14 <Samu> not really sure, but a good guess i believe, as I'm not making certain of those tiles
16:33:06 <Samu> if (!IsValidTile(tc)) continue;
16:37:53 <Samu> have no way to check here, so i'm going to push again
16:39:53 <LordAro> you could probably reproduce it yourself, even if you can't run that exact game
16:40:45 <Samu> i still think the regression test is gonna fail me
16:41:10 <LordAro> that's usually how it works, if you don't fully understand the problem
16:45:55 *** WWacko1976-work has quit IRC
16: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
16:47:24 <LordAro> if i'm reading the script correctly
16:47:29 <LordAro> (from the bin directory)
16:53:33 <LordAro> ok, there's a few other statements that might be necessary, but it'll get you most of the way there
16:53:35 <Samu> didn't work, found no regression ai, loaded a dummy
16:53:42 <LordAro> (bin/ai/regression/run.sh)
16:53:51 <LordAro> looks like it needs info.nut copying into place
17:04:14 *** Wormnest has joined #openttd
17:05:28 <Samu> that's the difference in bankbalance
17:05:49 <Samu> something failed to build or clear or so, t.t
17:40:04 <Eddi|zuHause> what happened to "make regression"?
17:41:47 <Eddi|zuHause> i could imagine there being a VS subproject for the regression
17:48:12 *** TheMask96 has joined #openttd
17:51:37 <Samu> return TILE_ADD(tile, TileOffsByDiagDir(dir));
17:51:47 <Samu> still a tile outside the map?
17:55:03 <Samu> @calc 0x00EF + 0xFFFFFF00
17:56:03 <nielsm> in decimal two's complement
17:58:25 <Eddi|zuHause> @calc 4294967279-2**32
17:58:43 <Samu> yeah, that's a tile outside the map again
17:59:31 <Samu> hmm so how am i gonna do this
18:00:04 <Samu> TileIndex tc = TileAddByDiagDir(tile, diag_dir); // Move into the neighbouring tile
18: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
18:00:36 <Samu> can't use TileAddByDiagDir
18: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
18:01:06 <nielsm> but check the coordinate before blindly adding
18:01:40 <Samu> actually, 'tile' is also outside the map, how come
18: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
18:03:47 <Samu> so that means I have to check if tile is also inside the map
18:03:55 <Samu> not just the tile i want to move to
18:05:07 *** frosch123 has joined #openttd
18:05:42 *** HerzogDeXtEr has joined #openttd
18:06:26 *** sla_ro|master has joined #openttd
18:10:53 <DorpsGek> Eddi|zuHause: 1.22368421053
18:23:52 <Samu> how come tile 239 is valid? :(
18:24:48 <Samu> this was triggered by an industry spawn
18:51:22 *** haudrauf has joined #openttd
18:53:31 *** chomwitt has joined #openttd
18:55:45 <Samu> TileIndex tc = AddTileIndexDiffCWrap(tile, TileIndexDiffCByDiagDir(diag_dir)); // Move into the neighbouring tile
18:57:04 *** rocky11384497 has joined #openttd
18:59:29 <Samu> yes, it exited with no error
18:59:37 <Samu> this regression test dude
19:01:12 <Samu> the derriere test, generating 13k towns and 20k industries brb
19:05:36 *** gelignite has joined #openttd
19:06:10 <Samu> hey gelignite, can you make gelignAIte do what it does, but for more towns?
19:06:23 <Samu> there's no other AI like it
19: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.
19:14:35 <Samu> debug mode is too slow on 4k maps
19:14:48 <Samu> but it generated 20480 industries on startup, no asserts
19:15:14 *** Thedarkb has joined #openttd
19:17:14 <Eddi|zuHause> Wolf01: think they have better internet than you? :p
19:19:06 <Samu> okay, so uploading again
19:21:18 <Samu> expecting a regression failure, only
19:21:23 *** Wolf01 is now known as Guest114
19:21:29 <Samu> which is still something i can't quite figure out
19:24:03 <frosch123> "2/100 of a mile" <- what a unit
19:27:16 <Wolf01> Meh, phone works now but internet unstable
19:27:48 <Samu> i can only imagine the AI was building something that had a ship nearby and it failed
19:35:56 <Eddi|zuHause> i'm pretty sure "middle of nowhere, oregon" has better internet than "industrialized northern italy" :p
19:51:42 <Samu> airport price is being ignored t.t
19:52:22 <Samu> if i failed there, i must have failed in more situations
19:54:43 <Samu> yeah, i tried to sound smart, and totally made this screw costs
19:55:37 <Samu> my worst push request so far
20:21:15 *** Wormnest has joined #openttd
20:23:49 *** Progman has joined #openttd
20:24:07 *** Wolf01 is now known as Guest118
20: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?
20:33:46 <erkin> Thanks, that works for me.
20:36:19 <Eddi|zuHause> we should maybe finally get around to including that tile highlighting patch :p
20:38:43 *** Wolf01 is now known as Guest121
20:39:06 <Eddi|zuHause> still no useful internet?
20:42:40 *** Wolf01 is now known as Guest122
20:43:01 <Wolf01> <Eddi|zuHause> still no useful internet? < no
20:47:52 *** GroovyNoodle has joined #openttd
20:53:41 *** Wolf01 is now known as Guest123
20:53:45 <Samu> btw, ur regression ai could test raise and lower terrain
20:54:01 <Samu> I had some failure in the terraform costs too and it wasn't detected
20:57:27 <Samu> Running ai/regression/tst_regression... passed! yeeeh
21:25:11 <Wolf01> So, maybe the problem is resolved, I asked them to reset the DSL circuit
21:32:53 *** Wolf01 is now known as Guest128
21:35:57 <Eddi|zuHause> so much for "have you tried turning it off and on again?"
21:36:41 *** Wolf01 is now known as Guest129
21:48:31 *** Thedarkb-T60 has joined #openttd
22:44:06 *** GroovyNoodle has joined #openttd
22:52:46 *** Thedarkb-T60 has joined #openttd
23:39:59 *** Thedarkb-T60 has joined #openttd
23:58:18 <Samu> for me it seems to be working fine, but I don't know how to attend to that request
23:58:30 <Samu> I can't see where it fails
continue to next day ⏵