IRC logs for #openttd on OFTC at 2014-02-24
⏴ go to previous day
00:10:11 *** LeandroL has joined #openttd
00:51:59 *** HerzogDeXtEr has joined #openttd
00:54:38 *** Aristide has joined #openttd
02:35:37 *** Morgan_Freeman has joined #openttd
04:44:04 *** Hazzard is now known as Guest1044
04:44:05 *** Hazzard has joined #openttd
05:12:48 *** retro|cz has joined #openttd
05:56:16 *** Eddi|zuHause has joined #openttd
06:36:59 *** sla_ro|master has joined #openttd
07:01:38 *** andythenorth has joined #openttd
07:55:40 *** valhallasw has joined #openttd
08:05:42 *** GriffinOneTwo has joined #openttd
08:10:29 *** JdGordon| has joined #openttd
08:19:28 <V453000> cows go moo when they poo
08:19:36 <V453000> monday wisdom level 9000
08:27:31 *** andythenorth has joined #openttd
08:32:51 *** HerzogDeXtEr has joined #openttd
08:33:56 *** Virtual has joined #openttd
08:48:52 *** valhallasw has joined #openttd
08:55:15 <V453000> nice, activity in 32bpp forums = 0 after my post
08:57:13 <Pikka> 32bpp forum is superflous, really
08:57:29 <Pikka> since 32bpp is justanothernewgrf
08:58:02 <Eddi|zuHause> it keeps the weirdos out of the real newgrf forum :p
08:59:04 <V453000> :D:D:D not like the real newgrf forum is full of intelligence
09:00:48 <planetmaker> I fully agree. There's no point in a 32bpp sub forum at all
09:01:17 <__ln__> yeah, better go 64bpp at this time and age
09:02:05 <Pikka> even the seperate releases, development and technical discussion forums are a bit unnecessary, for the number of posts each gets.
09:05:23 <V453000> and motivating people to release newgrfs on a forum instead of bananas by having "release forum" is a bad idea too :P
09:05:30 <V453000> and the development forums are just flood of stupid ideas
09:05:39 <V453000> remove all categories? D:
09:07:38 <planetmaker> removing all categories would not be the worst move
09:07:56 <planetmaker> would also avoid more of the "you posted in the wrong forum" discussions
09:09:29 <V453000> honestly if each newGRF has two threads (release and development, it is just plain confusing too
09:09:50 <V453000> e.g. nuts threads are short but I quickly had no idea what is in which thread (who wrote what where)
09:10:11 <planetmaker> nor do I for those NewGRF threads concerning my newgrfs
09:10:12 <V453000> not that I want to keep any of those really, but for others
09:10:36 *** jjavaholic_ has joined #openttd
09:11:26 <Eddi|zuHause> who needs a forum anyway! remove it completely! make a facebook group!
09:11:56 *** jjavaholic__ has joined #openttd
09:12:03 <planetmaker> would require me to log into facebook more than once a month. No thank you :P
09:21:21 *** jjavaholic has joined #openttd
10:15:01 *** andythenorth has joined #openttd
10:15:30 <Rubidium> s/log into/create a/;s/more than once a month/account/
10:16:44 *** andythenorth has left #openttd
10:26:16 <peter1139> You could say our 32bpp is actually 48bpp anyway...
10:48:59 *** Myhorta has joined #openttd
10:50:51 *** Virtual has joined #openttd
11:00:54 *** Morgan_Freeman has quit IRC
11:01:57 <Eddi|zuHause> why would a name ever describe the content... that would be way too german :p
11:09:12 <peter1139> I think that's only in-memory, mind you. It's 40bpp in-file.
11:09:39 *** montalvo has joined #openttd
11:32:28 *** Midnightmyth has joined #openttd
11:48:28 *** Devroush has joined #openttd
12:01:11 *** kakdudi has joined #openttd
12:46:36 *** Keyboard_Warrior is now known as theholyduck
12:46:43 *** Aristide has joined #openttd
13:19:07 *** Absolutis has joined #openttd
13:30:57 *** Myhorta has joined #openttd
13:34:17 *** Guest1085 has joined #openttd
13:54:43 *** Midnightmyth has joined #openttd
14:14:44 *** sla_ro|master has joined #openttd
14:22:10 *** tokai|mdlx has joined #openttd
14:41:50 <Eddi|zuHause> this "goto fail" bug is obviously because they didn't follow the coding style :p
14:42:47 <Xaroth|Work> all hail curly brackets
14:55:40 <Rubidium> even inconsistent spacing and coding style
14:57:07 <Xaroth|Work> enterprise coding does that to people
14:58:11 <Rubidium> doesn't LLVM detect dead code?
14:58:28 <Eddi|zuHause> i was wondering that as well. should be a trivial analysis
14:59:17 <blathijs> Sure, it detects dead code and removes it for you, free of charge! :-)
15:00:02 <Rubidium> eclipse even goes so far as to throw an error and refuse to compile it (at least with the config I used and Java)
15:00:40 <Rubidium> likewise... eclipse formats my code, so it's pretty much 100% consistently formatted w.r.t. curly brackets and the likes
15:01:09 <Eddi|zuHause> real coders do everything manually
15:01:45 *** Morgan_Freeman has joined #openttd
15:02:16 <Rubidium> that must give really crappy quality code
15:03:20 <Rubidium> and probably a "one file for everything" approach
15:03:52 <Rubidium> as manually figuring out which files' dependencies changed to compile them manually is a lot of work
15:05:40 *** Fadi|ircc has joined #openttd
15:07:10 <dihedral> i prefer netbeans :-)
15:07:58 <scshunt> Rubidium: Java has restricted goto rules though
15:22:07 *** retro|cz has joined #openttd
15:26:15 <Xaroth|Work> scshunt: java has a plethora of other issues :P
15:41:27 *** Aristide has joined #openttd
15:43:11 *** HerzogDeXtEr has joined #openttd
15:56:14 *** killertester has joined #openttd
16:00:11 <Eddi|zuHause> scshunt: but "goto" isn't even the problem, same would have happened with "return"
16:01:50 *** Djohaal has joined #openttd
16:01:52 <Eddi|zuHause> PS: this wouldn't have happened in python :)
16:04:03 <Xaroth|Work> yay indentation \o/
16:04:42 <Xaroth|Work> (besides goto not being available in python)
16:13:50 *** Morgan_Freeman has quit IRC
16:22:29 *** andythenorth has joined #openttd
16:22:36 <andythenorth> so this assert of mine...
16:27:56 <andythenorth> Eddi|zuHause: I changed "if (!IsTileType(t, MP_WATER) || IsCoast(tile))"
16:28:16 <andythenorth> but (kind of expected) the assert still occurs
16:28:20 <Eddi|zuHause> "t" should be "tile"
16:28:43 <andythenorth> I have a different assert now though
16:28:59 <Eddi|zuHause> yes. different asserts need different solutions :p
16:30:05 <andythenorth> Assertion failed at line 76 of /Users/andy/Documents/workspace/openttd/src/tile_map.h: tile < MapSize()
16:30:39 <andythenorth> this only happens once the start screen game is running of course
16:32:12 *** Midnightmyth has joined #openttd
16:37:37 <Eddi|zuHause> err, yes. means some check for out-of-map is missing, but i can't research how to solve that right now.
16:38:12 <andythenorth> I'll see if I can see it anywhere else
16:38:40 <Eddi|zuHause> try the "turn desert into rainforest around water" check
16:39:26 <andythenorth> yeah, looking there now :)
16:40:33 <andythenorth> if I change the search radius to 5 instead of 2...the assert takes longer
16:41:33 <andythenorth> with 50 it lasts much longer
16:41:45 <andythenorth> but the 2 hovercraft have disappeared from the start screen game :P
16:41:50 <andythenorth> oh no, here they come
16:42:41 *** TheMask96 has joined #openttd
16:43:33 <andythenorth> 12 eventually asserts
16:43:48 <andythenorth> also the game runs like a slug
16:44:00 <andythenorth> so I guess this tile search is called during pathfinding
16:44:33 <andythenorth> anyway, enough of 'my first C++' project, back to work
16:51:49 *** oskari89 has joined #openttd
17:23:07 *** frosch123 has joined #openttd
17:26:09 *** Progman has joined #openttd
17:27:55 <frosch123> Eddi|zuHause: the most weird part about the "goto fail" thingie is, that it clearly entered an "error" state, but does did not prevent it from continueing
17:28:12 <frosch123> so, can you still cicumvent the authentication my triggering some other error? :p
17:28:41 <frosch123> there are tons of "goto fail" there, you just need to trigger one
17:29:03 <planetmaker> hehe, yeah. Wondered about that, too
17:29:06 <Eddi|zuHause> frosch123: i haven't really understood the details of the error, but i presume that it just silently failed and went into an unencrypted mode, without showing it?
17:37:52 <frosch123> i have no idea, i just saw the screenshot, and thought that can't be the complete fix
17:38:24 <frosch123> otherwise bananas is the only fruity thing i use
17:38:25 <Eddi|zuHause> i'm sure you could just look it up
17:38:37 <frosch123> i'll leave that to __ln__
17:39:25 <andythenorth> hrm, this patch :(
17:42:34 *** Morgan_Freeman has joined #openttd
17:49:57 *** rubenwardy has joined #openttd
18:14:59 <DorpsGek> Commit by frosch :: r26372 trunk/docs/desync.txt (2014-02-24 18:14:53 UTC)
18:15:00 <DorpsGek> -Doc [FS#5927]: Typos.
18:22:52 <frosch123> he made a network, which the pathfinder got lost in
18:25:11 *** Morgan_Freeman has quit IRC
18:28:23 *** Alberth has joined #openttd
18:28:23 *** ChanServ sets mode: +o Alberth
18:37:33 <frosch123> you broke the pathfinder
18:39:10 <Eddi|zuHause> reminds me of the time when i repeatedly gave KUDr the same savegame "this train is lost (again) for no reason"
18:40:10 <Eddi|zuHause> at least one instance it was because it was a mixed electrified/unelectrified, and it depended on whether an electric or diesel train went into the junction to cache the values
18:43:42 *** gelignite has joined #openttd
18:44:16 *** killertester has joined #openttd
18:45:17 <DorpsGek> Commit by translators :: r26373 trunk/src/lang/hebrew.txt (2014-02-24 18:45:10 UTC)
18:45:18 <DorpsGek> -Update from WebTranslator v3.0:
18:45:19 <DorpsGek> hebrew - 30 changes by oofnik
18:58:43 <Eddi|zuHause> "apple uses clang and the unreachable code warning is not part of '-W -Wall -Wextra'. but gcc also disabled the warning, because it would catch different parts of the code depending on which optimizer was used"
19:01:43 <LordAro> Eddi|zuHause: clearlu, you should -Weverything
19:02:28 <Eddi|zuHause> LordAro: that still does not help if they silently ignore the parameter
19:03:05 <frosch123> LordAro: you should be happy about everyone who pays attention to Wall output
19:18:58 *** andythenorth has joined #openttd
19:21:43 <andythenorth> so doing a circular tile search in GetEffectiveWaterClass is probably stupid
19:21:50 <andythenorth> and it asserts, but meh
19:22:10 <andythenorth> a 'this is deep sea' flag on the tile would be better
19:22:18 <andythenorth> but it would have to be terraforming-aware
19:22:27 <DorpsGek> Commit by frosch :: r26374 trunk/src/table/newgrf_debug_data.h (2014-02-24 19:22:22 UTC)
19:22:28 <DorpsGek> -Fix [FS#5928]: Mixed up callback mask flags in station inspect window. (adf88)
19:27:58 <andythenorth> I can see a pie from here
19:28:59 *** valhallasw has joined #openttd
19:29:03 <Pikka> when come back, bring pie
19:29:24 <andythenorth> when come back, bring patch
19:29:31 <andythenorth> for NewDeepWater
19:29:37 <andythenorth> oh, I've jinxed it
19:30:47 <Eddi|zuHause> andythenorth: so what was the problem with my suggestion?
19:31:12 <andythenorth> Eddi|zuHause: asserts, variable time to assert according to tile search distance
19:31:28 <andythenorth> 2 = as soon as start screen game appears
19:31:42 <andythenorth> at 50, I didn't see an assert, but didn't test for long
19:32:07 <andythenorth> also it might be doing a circular tile search every time the ship pathfinder runs?
19:32:27 <andythenorth> otherwise it appeared to work, as proof of concept at least
19:33:04 <Eddi|zuHause> solve things one step at a time
19:33:23 <Eddi|zuHause> i suggestes looking at the "make rainforest near water" code
19:33:32 <Eddi|zuHause> how they handle the map borders
19:34:08 <andythenorth> 'it just works' tm
19:34:14 <andythenorth> same for lumber mill tile search
19:34:50 <Eddi|zuHause> as for the other thing, i suggested doing the search in TileLoop_Water, and then storing it in the tile
19:35:08 <andythenorth> not that my opinion is worth much here :)
19:35:29 <Eddi|zuHause> that part is easy, just write a map accessor and put it into water_map.h
19:35:54 <Eddi|zuHause> one that writes the bit(s) and one that reads them
19:37:09 <Eddi|zuHause> i thought about 3 values: 0: this tile is coast or near coast, 1: this tile is somewhat off the coast, 2: this is deep sea
19:37:21 <Eddi|zuHause> river ships would traverse 0 and 1, and sea ships 1 and 2
19:38:46 <Eddi|zuHause> means a 3 tile wide canal can be freely crossed by river ships, but also used by sea ships. and a dock can be accessed by river ships
19:38:56 <andythenorth> plz send me teh codez? o_O
19:39:14 <Eddi|zuHause> not doing any codez.
19:41:23 <andythenorth> Eddi|zuHause: you would have to email it to me anyway. And I don't read email...
19:41:37 <Pikka> is we playing an ottd tonight, or do we have to be productive?
19:41:55 <Eddi|zuHause> then the code is in the mail :)
19:42:24 <Eddi|zuHause> Pikka: i haven't played openttd in over 2 years
19:42:40 <andythenorth> if there is a game I will play
19:42:47 <andythenorth> otherwise I will make internets
19:43:02 <frosch123> i would lilke to have more internets
19:43:08 <andythenorth> there is no shortage tbh
19:43:19 <andythenorth> in fact, I am making less internets, by deleting stuff
19:43:21 <frosch123> i have only 60% of my regular speed today
19:43:27 <andythenorth> well I am here to help
19:43:39 <andythenorth> I am removing pages, putting in linkrot protection, and removing inbound links
19:43:48 <frosch123> anyway, what to do about comments you don't understand? delete?
19:43:59 <Eddi|zuHause> there wasn't really anything worth my internets in the past few weeks
19:44:38 <Eddi|zuHause> frosch123: "//TODO: doesn't work <- WHAT doesn't work"?
19:44:44 <andythenorth> Pikka: have you made a game?
19:45:02 <frosch123> hmm, package loss again, i'll try reconnecting another time
19:53:22 *** frosch123 has joined #openttd
19:54:13 <andythenorth> someone make a game?
19:55:06 <Pikka> didn't you make the last couple, andythenorth?
19:55:16 <andythenorth> I am cooking and such
19:55:41 <andythenorth> try a different FIRS economy?
19:55:44 <andythenorth> one of the basic ones
19:56:14 <Pikka> hod is pretty good though
19:56:23 <Pikka> I could make a save but I don't know how to server
19:56:54 <Pikka> oh, there's that crash during window resize...
19:57:04 <andythenorth> make a save, someone else servers
19:57:24 <DorpsGek> Commit by frosch :: r26375 /trunk/src (rail_gui.cpp station_cmd.cpp) (2014-02-24 19:57:18 UTC)
19:57:25 <DorpsGek> -Fix [FS#5929]: Station sizes > 8 were always allowed. (adf88)
19:59:57 <Pikka> so what did we say? 30k, 7 years?
20:00:10 <andythenorth> that is about 1.5 hours play iirc
20:00:29 <Pikka> was it 30k though? I don't recall
20:00:31 <andythenorth> we were starting 1950s or so before, something different?
20:00:46 <andythenorth> make sure it AV8s :)
20:04:37 <Pikka> generating a decent map is hard
20:05:00 <andythenorth> took me ~40 attempts or so
20:05:09 <andythenorth> and you have to get a nice set of cargos for NCG
20:05:21 <andythenorth> over and over again
20:05:49 <Pikka> is scrap metal a bad cargo?
20:06:26 <Pikka> coal, goods, and metal?
20:07:33 <Eddi|zuHause> frosch123: i think you just broke the modern stations
20:08:22 <Eddi|zuHause> hm, no. i was just dragging the wrong direction
20:08:58 <andythenorth> Pikka: it's 'meh'
20:09:09 <andythenorth> coal, goods and metal are fine
20:09:37 <andythenorth> probably quite easy
20:09:42 <andythenorth> famous last wordses
20:09:52 <frosch123> Eddi|zuHause: please test, i didn't :p
20:10:36 <andythenorth> Pikka: where is map at?
20:11:54 <Eddi|zuHause> frosch123: the berlin station can't be built in 8x8 anymore, only 8x4. but the error message is totally wrong, it says "cannot be built here" instead of something like "invalid size"
20:12:25 <Pikka> okay, I suppose this one will do
20:12:30 <Pikka> what do I with a savegame?
20:14:07 <Eddi|zuHause> man that set is totally awfully coded...
20:16:03 <andythenorth> Pikka: upload it somewhere, post a link
20:16:10 <andythenorth> then we hope someone knows the magic commands
20:19:24 <Pikka> it seems someone does...
20:22:03 <andythenorth> frosch123: Alberth Rubidium planetmaker et al - game on?
20:25:02 <Alberth> quite busy, and 1.5 hours is too late for me. Could do a bit though
20:25:17 <andythenorth> peter1139: play openttd?
20:28:31 <andythenorth> #openttdcoop.pro
20:36:28 <andythenorth> why does in-game chat fail if I ask a question
20:36:35 <andythenorth> e.g. end the line in a ? char
20:36:43 <andythenorth> it's quite annoying :)
20:37:32 <Taede> ingame, or only the ingame->irc bit?
20:42:19 <andythenorth> eats lines with punctuations chars
21:26:57 *** Flygon_ has joined #openttd
21:49:37 *** Myhorta has joined #openttd
21:59:00 *** Hazzard has joined #openttd
22:10:00 <andythenorth> Pikka: so can you just finish up IH for me? o_O
22:10:05 <andythenorth> it's nearly done, right?
22:10:26 *** HerzogDeXtEr1 has joined #openttd
22:11:03 <Pikka> just need to depurple the coal
22:11:09 <Pikka> and deinvisible the supplies
22:12:13 <andythenorth> depruple is easy
22:14:04 *** andythenorth has left #openttd
22:16:19 *** Morgan_Freeman has joined #openttd
22:16:23 *** FLHerne has joined #openttd
23:14:54 *** montalvo has joined #openttd
23:40:13 *** Aristide has joined #openttd
continue to next day ⏵