IRC logs for #openttd on OFTC at 2015-02-05
            
00:00:53 <Eddi|zuHause> if you want to go a overlong wagon way, the long wagon could be 12lu (meaning 1.5 times a default wagon)
00:01:38 <Eddi|zuHause> short wagon would then be 6lu, and medium wagon 8lu
00:01:59 <Eddi|zuHause> where lu is a "length unit"
00:02:16 <Eddi|zuHause> 16lu make one tile
00:02:36 *** HerzogDeXtEr1 has quit IRC
00:02:43 <Eddi|zuHause> long wagons, however, are tricky to code and might glitch
00:05:00 <samu> aircraft refited to mail gives too much money
00:05:19 <Eddi|zuHause> aircraft [...] gives too much money.
00:05:31 <samu> way much more then
00:05:38 <Eddi|zuHause> aircraft are boring
00:06:12 <Eddi|zuHause> you can't organize them properly
00:06:45 <dreck> samu...airplanes are meant to be paired with basecost to put it in blunt terms...
00:07:04 <dreck> they came too cheap in all numbers by default and even grfs still follow the same path too :->
00:07:04 <Eddi|zuHause> use maintenance cost for airports. go bankrupt.
00:07:12 <samu> I remember the other time I was here, last year or 2, complaining about refiting aircraft to mail
00:07:20 <samu> the ratio
00:07:28 <dreck> eddi ah...didn't think I've heard of this 'lu' measurement before..makes more sense...thanks :)
00:07:37 * dreck will look it up
00:07:43 <samu> in comparison with TTDX
00:08:01 <samu> forgot what it was exactly, grr
00:08:12 <samu> my head
00:08:12 <Eddi|zuHause> dreck: i was trying to spread it, but nobody ever caught on. everybody calls it "/8"
00:08:33 <dreck> samu..one thing I liked in the true original planes tho was that you could refit for any freights and not only mail/goods :)
00:08:54 <dreck> at least russiaplanes (forgot exact grf name) has some good all-freight planes in its buylist
00:09:26 <Eddi|zuHause> av8 definitely has some all-cargo aircraft
00:09:41 <samu> the refiting cargo in openttd mismatch the values of ttdx
00:09:54 <samu> and I was trying to figure the formula, do you remember ?
00:10:02 <dreck> samu mind you the one thing that still annoys me is how noone can make a passenger-only plane :-s but heh no comment
00:10:03 <Eddi|zuHause> no
00:10:53 <Eddi|zuHause> dreck: well, you can easily set the mail capacity to 0... but passenger planes are meant to carry mail...
00:10:58 <samu> I even used dosbox
00:11:00 <dreck> so eddi.. 16lu is 1.0 ... 8lu would be 0.5 etc?
00:11:06 <Eddi|zuHause> dreck: yes
00:11:13 <Eddi|zuHause> 8lu is a standard wagon
00:11:17 <dreck> eddi...the problem is when you have a passenger-only network and now your station is messed up with lot of mail piling up :-s
00:11:39 <Eddi|zuHause> wagons longer than that need to be made of parts, and then trickery added to make them not bend or glitch (that much)
00:11:56 <dreck> making you have to either compound the runaway traffic with mail-only planes to clear the load out or ..convert some trains to less passenger capacity just to get mail ...etca ... heh -_-
00:12:13 <dreck> ah yeah articulated sprites..I've seen a few samples of these so I know what you mean
00:14:36 <Eddi|zuHause> this is the early steps of that: http://www.tt-forums.net/viewtopic.php?f=68&t=53511 parts of that are now outdated, others are better developed
00:15:48 <samu> my memory really sucks
00:15:56 <Supercheese> get more RAM then ;)
00:16:10 <samu> do you have a log of this chat of 2 years ago or so? want to find where I talked about it
00:16:20 <Supercheese> @logs may have it
00:16:34 <samu> @logs?
00:16:35 <Eddi|zuHause> @logs
00:16:35 <DorpsGek> Eddi|zuHause: http://irclogs.qmsk.net/channels/openttd
00:16:42 <Supercheese> ^ those
00:19:41 <samu> An error occured, which was not logged, and was not reported to anybody. It might be your fault, or it might be mine.
00:19:45 <samu> i can't search
00:22:05 <dreck> eddi mm thanks for that small thread .. I don't think I even got anything long planned for yet ... other than maybe one or two garratt-style locomotives but cheers :)
00:22:08 <samu> according to some dosbox screenshots it was around May 2015
00:22:27 <samu> oops 2014
00:44:14 *** Biolunar has joined #openttd
00:46:18 <glx> you can browse by date
00:47:26 *** Pereba has quit IRC
00:49:20 *** KouDy has quit IRC
00:53:38 *** KouDy has joined #openttd
00:54:22 *** Buntunub has quit IRC
01:15:25 *** DDR has joined #openttd
01:20:35 *** DDR has quit IRC
01:20:56 *** DDR has joined #openttd
01:23:00 <Eddi|zuHause> i think the backup bugged out again
01:42:30 <Supercheese> Indeed...
01:53:46 *** quorzom has quit IRC
01:57:43 *** itsatacoshop247_ has quit IRC
02:04:50 *** DDR has quit IRC
02:05:11 *** DDR has joined #openttd
02:05:56 <dreck> backup?
02:23:15 *** Pikkaphone has joined #openttd
02:29:42 *** itsatacoshop247 has joined #openttd
02:43:57 *** dreck has left #openttd
02:44:32 *** luaduck is now known as luaduck_zzz
02:54:42 *** liq3 has joined #openttd
02:58:20 <samu> aha, i found it
02:58:22 <samu> http://i.imgur.com/CWMyrmj.jpg
03:01:17 <samu> http://irclogs.qmsk.net/channels/openttd/date/2014-05-10?page=2
03:01:25 <samu> bottom part of that page
03:06:06 *** samu has quit IRC
03:16:58 *** Biolunar_ has joined #openttd
03:23:55 *** Biolunar has quit IRC
03:26:08 *** glx has quit IRC
03:57:03 *** Pikkaphone has quit IRC
04:27:07 *** Pikkaphone has joined #openttd
04:28:50 <Pikkaphone> orudge: does "the nightly backup" now take several hours? It was the same yesterday afternoon...
05:06:21 *** Flygon_ has joined #openttd
05:08:05 *** Flygon__ has joined #openttd
05:13:40 *** Flygon has quit IRC
05:14:53 <ST2> yup, the "nightly backup" has some issues
05:14:55 *** Flygon_ has quit IRC
05:16:05 <ST2> there's 2 options: or the server is with problems or nightly posts are unwanted :S
05:16:37 <ST2> anyway, I guess it's the 1st, so, best luck on solving it :)
05:17:38 *** HerzogDeXtEr has joined #openttd
05:25:39 *** Pikkaphone has quit IRC
05:46:56 *** Flygon has joined #openttd
05:53:00 *** Flygon__ has quit IRC
05:56:02 *** Eddi|zuHause has quit IRC
05:56:18 *** Eddi|zuHause has joined #openttd
06:40:33 *** Yotson has quit IRC
06:42:03 *** Yotson has joined #openttd
06:46:35 *** DDR has quit IRC
07:08:21 <Eddi|zuHause> "this website is only open from 6 to 18 o'clock" :p
07:09:46 <__ln__> that would conserve energy
07:44:37 *** andythenorth has joined #openttd
07:53:22 *** zeknurn has joined #openttd
07:53:54 <andythenorth> o/
08:13:28 *** KouDy has quit IRC
08:14:02 *** KouDy has joined #openttd
08:18:53 *** KouDy has quit IRC
08:19:13 *** KouDy has joined #openttd
09:04:25 <planetmaker> moin
09:07:55 <V453000> hy
09:58:06 *** itsatacoshop247 has quit IRC
10:22:21 *** andythenorth has quit IRC
10:42:19 *** Flygon_ has joined #openttd
10:49:10 *** Flygon has quit IRC
11:04:02 <V453000> :D https://dl.dropboxusercontent.com/u/20419525/DOOM/DOOM_test_1_0000.png
11:09:10 *** Pereba has joined #openttd
11:17:15 <V453000> am starting to wonder if 72 sprites per vehicle is a great idea XD
11:24:34 <planetmaker> V453000, well, you cannot compose a vehicle view from several sprites - unless you count articulation; but there technically each part is a separate vehicle
11:24:47 <V453000> they are articulated yes :)
11:24:49 <planetmaker> but then, I'm sure you know that
11:25:05 <V453000> http://dev.openttdcoop.org/projects/nuts/wiki/DOOM
11:25:13 <V453000> I want articulated vehicles made of 9 parts
11:25:30 <V453000> 1+2+2+2+2+2+2+2+1 lengths of consists (16/8 total)
11:25:37 <V453000> bending everywhere XD
11:25:54 <V453000> of course I can replace the central 2s to put there normal 2x8/8 at any point
11:25:58 *** Flygon_ has quit IRC
11:26:14 <planetmaker> aye
11:26:55 <V453000> I just want to see how much WTF is bending everywhere going to be
11:27:07 <V453000> so far I assume it could be glitch free XD
11:27:14 <V453000> question is whether it would look good at all
11:27:47 <V453000> my logic was that since I already always use the articulation, and since I already have to use at least 2 units to create full 16/8, might as well do the whole thing :D
11:28:07 <V453000> because when the engine would bend in half I feel like it would feel more like a mistake than if it bent everywhere
11:28:16 <V453000> thoughts?
11:37:25 *** Flygon has joined #openttd
11:45:50 <planetmaker> definitely worth a try
11:49:53 *** LordAro has quit IRC
11:56:42 *** LordAro has joined #openttd
11:59:22 <V453000> k :)
12:06:57 *** andythenorth has joined #openttd
12:07:00 <andythenorth> ho
12:08:19 <andythenorth> makefile rule
12:08:20 <andythenorth> INDUSTRY_PYPNML_SRC = $(INDUSTRY_PY_SRC:.py=.pypnml)
12:09:43 <andythenorth> but now I have a an industry that doesn’t have .pypnml file
12:09:52 <andythenorth> so make fails :)
12:10:12 <andythenorth> sticking plaster is to leave an empty .pypnml file in
12:17:33 <V453000> WTF = yes
12:18:00 <V453000> vehicul turned to bits :D https://dl.dropboxusercontent.com/u/20419525/DOOM/DOOM_test_1_0000.png
12:18:12 <V453000> say something about over-engineered andythenorth ?
12:20:31 <andythenorth> V453000: looks appropriately engineered
12:20:58 <andythenorth> V453000: do you hate bendy trains still?
12:21:03 <V453000> idk XD
12:21:09 <andythenorth> I am thinking that bendy trains might be wtf awesome
12:21:26 <V453000> yeah
12:21:27 <andythenorth> eddi’s stuff with extra turning angles is impressive, but for a cartoon-esque game, I think bendy is the way to go
12:21:30 <V453000> no glitches in tunnels and shit
12:21:31 * andythenorth considers bendy trucks :P
12:21:43 <V453000> https://dl.dropboxusercontent.com/u/20419525/DOOM/DOOM_test_2_0000.png
12:21:47 <V453000> basic train cut to shit
12:21:56 <andythenorth> call it FLOW :P
12:22:11 <V453000> me likes doom :)
12:22:19 <andythenorth> anyway, make them all organic-ish
12:22:24 <andythenorth> job done
12:22:27 <V453000> eventually :P
12:23:01 <V453000> but yeah that is ze progress :D might attempt some coding in the evening
12:32:29 *** Supercheese is now known as Guest4380
12:32:34 *** Supercheese has joined #openttd
12:34:55 *** Suicyder has joined #openttd
12:35:46 *** DanMacK has joined #openttd
12:35:52 <DanMacK> Hey all
12:35:56 <V453000> hihi
12:37:45 *** Guest4380 has quit IRC
12:40:20 <peter1138> Ew stretched
12:49:53 <V453000> peter dont tell me you recognize 15,5% stretch :P
12:50:13 <V453000> well ok it is somewhat visible, but not that terribly
12:50:42 <V453000> as in, yes visible, but the rounded shapes dont get so ellipsoidy as they did before :D
12:51:30 <V453000> PS I managed to write a simple javascript bullshit to position my sprites XD
12:51:35 <V453000> feels awesome
13:03:44 *** tokai|mdlx has joined #openttd
13:08:39 *** andythenorth has quit IRC
13:08:45 *** tokai has quit IRC
13:28:58 *** samu has joined #openttd
13:29:01 <samu> hi
13:29:37 <samu> main page copyright year: Copyright © 2005-2014 OpenTTD Team
13:29:40 <samu> it's 2015
13:30:12 <samu> http://www.openttd.org/en/
13:31:12 <Flygon> andythenorth: Why not both bendy AND extra angles?
13:31:22 <Flygon> El Pas had the solution all along!
13:31:28 <Flygon> And I? still getting used to this keyboard
13:36:13 <peter1138> samu, has the main page changed?
13:37:41 <peter1138> samu, maybe you need to read up on what the copyright date means?
13:38:07 <samu> nop, still says 2014
13:38:16 <peter1138> That is not what I asked.
13:38:23 <samu> ah
13:38:30 <samu> what does it mean?
13:41:35 <peter1138> It's the copyright date...
13:41:37 <peter1138> Not the current year.
13:41:49 *** smoke_fumus has joined #openttd
13:42:07 <peter1138> If changes are made this year, then the date will be changed.
13:44:36 <samu> what kind of changes?
13:44:45 <samu> news posts?
13:46:07 <peter1138> Anything.
13:46:30 <peter1138> (But not automated stuff)
13:47:59 <samu> okay
13:52:52 <samu> interesting feature about oil rigs I noticed
13:53:25 <samu> I can find the build date by land area information at the station tile
13:53:40 <samu> but not on the industry itself
13:56:33 <samu> how do I export game settings from a server that is not mine?
13:56:52 <samu> wanted to recreate the landscape
13:57:04 <samu> but apply a newgrf
14:01:12 <samu> actually I wanted to recreate the world, not only landscape
14:01:42 <samu> and also use the specific game settings for vehicles, industries etc~
14:04:19 <samu> http://www.openttd.org/en/server/76220
14:04:23 *** liq3 has quit IRC
14:04:24 <samu> this server
14:44:25 *** MTsPony has quit IRC
14:53:15 *** andythenorth has joined #openttd
15:03:23 *** MTsPony has joined #openttd
15:05:17 *** Quatroking has joined #openttd
15:30:16 *** Flygon has quit IRC
15:44:40 <samu> how do I export game settings from a server that is not mine?
15:46:28 *** sla_ro|master has joined #openttd
15:52:24 *** Pereba has quit IRC
15:53:09 *** Pereba has joined #openttd
15:55:13 <planetmaker> samu, other than taking a savegame and looking at settings, there is no nice way to extract settings. Though you can load it and look then at settings and it will tell you the difference to default at least. Not sure whether to yours as well
15:56:18 <samu> oh, good idea
16:00:07 *** Alberth has joined #openttd
16:00:07 *** ChanServ sets mode: +o Alberth
16:00:19 <Alberth> moin
16:11:07 <samu> Setting with a different value than your new game settings :)
16:11:13 <samu> useful
16:13:53 <samu> any way to "use these settings with a different value than your new game settings" as the newer game settings? or must I set them all one by one?
16:25:28 <samu> how do i find the sea quantity value?
16:25:39 *** Progman has joined #openttd
16:26:04 <samu> Sea level
16:26:19 <samu> it's not under World Generation
16:27:03 <Alberth> probably a variable that you can query in the console
16:29:24 *** frosch123 has joined #openttd
16:29:33 <Alberth> moin
16:30:16 <frosch123> hola
16:33:55 *** Klanticus has joined #openttd
16:35:23 *** TheMask96 has quit IRC
16:36:50 *** Klanticus_ has quit IRC
16:40:22 *** TheMask96 has joined #openttd
16:58:41 <samu> hey, i managed to recreate the same landscape, but not the same spawning position of towns
16:58:45 <samu> or industries
17:00:36 <samu> wait, no, landscape is slightly different
17:00:50 <samu> there's water in the SE borders
17:01:10 <samu> the rest is equal
17:06:47 <samu> aha, one step closer to recreate it equal, now the problem is the number of towns generated
17:07:36 <samu> it creates the same town names in the same positions, but it is creating some extra ones, how do I figure out
17:13:45 <samu> got it!
17:13:52 <samu> muahahah, now starting to test stuff
17:16:36 *** oskari89 has joined #openttd
17:28:15 *** shirish has joined #openttd
17:34:53 *** smoke_fumus has quit IRC
17:38:28 <samu> hey, just had an idea for estimated cost
17:39:19 <samu> merge it with tooltip
17:39:37 <samu> and get rid of holding shift key
17:41:12 <Alberth> you have to press both mouse buttons instead?
17:41:36 <samu> no, it would show up
17:42:01 <Alberth> not with my settings, I have to press rmb
17:42:01 <samu> hold left click - the yellow thing shows up
17:42:16 <samu> for example
17:42:40 <samu> build a road from A to B, it shows lenght, then it could also show estimated cost in the same tooltip
17:43:48 <samu> for single click
17:44:13 <Alberth> like I said, I have my tooltips connected to the rmb
17:44:22 <samu> hold left click for the estimated cost popup, if you wanna build, release left click
17:44:41 <samu> if you wanna cancel, drag over the toolbar
17:44:45 <samu> and won't build
17:45:23 <DorpsGek> Commit by translators :: r27136 trunk/src/lang/afrikaans.txt (2015-02-05 17:45:18 UTC)
17:45:24 <DorpsGek> -Update from WebTranslator v3.0:
17:45:25 <DorpsGek> afrikaans - 1 changes by telanus
17:45:26 <Alberth> I just HATE automagic popups, they're always covering pieces I want to see
17:45:37 <samu> ah:(
17:45:42 <Alberth> I also don't display length
17:47:06 <Alberth> and cost isn't that interesting either, imho, I always have more than enough
17:48:18 <samu> then, the shift-key would be free for some other use :)
17:48:24 <samu> but oh well
17:49:22 <Alberth> magic keys like control or shift are not that useful any more, touch tablets etc don't have those keys
17:50:14 <Alberth> that's going to be increasingly a problem, I think
17:57:08 <samu> rats, just noticed something odd
17:57:45 <samu> the oil rig spawning is spawning
17:57:53 <samu> not on the borders
17:58:01 <samu> but futher inside the land
17:58:14 <samu> the grf i created
17:58:35 <samu> correction: not only on the borders, but also further inside mainland
18:04:50 <Alberth> there is a settings that controls how far from the border it may spawn, afaik
18:17:37 *** igorsenvad has joined #openttd
18:17:58 <igorsenvad> hello
18:18:49 <igorsenvad> I need help
18:19:22 *** glx has joined #openttd
18:19:22 *** ChanServ sets mode: +v glx
18:20:02 <Alberth> ask a question, and you may get it
18:20:12 <samu> no, that's only for Oil Refinery
18:20:27 <samu> I missed some properties
18:20:32 <samu> most likely
18:21:07 *** igorsenvad has quit IRC
18:24:33 <Alberth> oh, indeed, sorry
18:26:53 *** igorsenvad has joined #openttd
18:27:07 <igorsenvad> hello
18:27:15 <igorsenvad> I have server default openttd, was wanting to put a game mode, style "Quick Goal" but I don't know how, I searched for gamescripts but it is complex. Want a server to play with my friends that who can achieve such value of firm WINS. How do I do it?
18:29:42 <Alberth> donwload a gamescript of your choice
18:30:15 <Alberth> in the intro screen, open the "ai/game" window, and activate the game script
18:30:35 <Alberth> back in the intro screen, start a MP game
18:30:55 <igorsenvad> I don't think a gamescript in this style "quick goal"
18:31:18 <Alberth> what does that mean?
18:32:25 <Alberth> what is "quick goal" to you?
18:32:44 <igorsenvad> Type a game mode where one reaches 15 million won
18:33:03 <igorsenvad> 15 million value company
18:33:15 <Alberth> oh, right
18:33:31 *** Pereba has quit IRC
18:33:52 <Alberth> you could be right, I don't remember seeing such a script
18:34:13 <Alberth> but I don't care for such goals either, so maybe my memory is wrong
18:34:46 <andythenorth> I don’t know of that goal
18:34:56 <andythenorth> not the hardest GS to code probably
18:35:12 <andythenorth> igorsenvad: try NoCarGoal (NCG)
18:35:22 <andythenorth> it’s not what you asked, but you can set it for a quick goal
18:35:28 <andythenorth> it’s time based though, not ‘first to win'
18:35:53 <igorsenvad> ok
18:36:10 <andythenorth> Silicon Valley is also usable for quick goals
18:36:18 <andythenorth> and is ‘first to win’
18:37:18 <Alberth> ^^ those scripts make you build a good network and transport cargo
18:40:56 *** andythenorth has quit IRC
18:42:16 <igorsenvad> How to open .nut ? Note block?
18:43:00 <Alberth> notepad++ works well
18:43:03 <samu> am I being paranoid or not?
18:43:19 <samu> can oil rigs spawn anywhere in the map
18:43:32 <samu> like, inland water?
18:43:39 <samu> :(
18:43:44 <Alberth> I have seen them do that
18:43:47 <samu> what ar the creation rules
18:44:24 <Alberth> > 1960, afaik
18:44:54 <b_jonas> samu: I think there's a limit on how close to the map edge they have to be ... or maybe that applies only to oil refineries?
18:45:10 <samu> I'm unsure now
18:45:25 <samu> i'm sure that oil refineries behave like that, but not sure about oil rig
18:45:54 <Alberth> and on water, of course
18:46:24 *** shirish has quit IRC
18:46:47 <Alberth> http://newgrf-specs.tt-wiki.net/wiki/Action0/Industries#Special_industry_flags_to_define_special_behavior_.281A.29 <-- those flags exist for default industries
18:47:01 <Alberth> I just don't know which ones apply to the oil rig
18:48:17 *** Plaete has joined #openttd
18:49:12 <samu> i navigated into here: http://svn.openttd.org/trunk/src/industrytype.h
18:49:50 <samu> Available procedures to check whether an industry may build at a given location.
18:50:05 <Alberth> same list :)
18:50:53 *** igorsenvad has quit IRC
18:52:05 <samu> one thing is placing a oil rig in the scenario editor, apparently it lets me build anywhere there is water, into mainland
18:52:13 <samu> another thing is seeing it spawn in a real game
18:52:50 <samu> and i dont think it spawn in the interior
18:52:55 <samu> only at border
18:53:12 <Alberth> https://paste.openttdcoop.org/pxjbdnins
18:54:08 <Alberth> you can add new restrictions to your grf
18:54:20 <Alberth> don't know how, though :(
18:55:12 <samu> i just don't want to change the spawning rules
18:55:30 <samu> keep the same rules
18:55:34 <samu> pretty much
18:55:44 *** roidal has joined #openttd
18:57:50 <roidal> is there a way to change difficulty options during a game?
18:58:24 <roidal> like vehicle running costs
18:59:41 <Alberth> if it is not greyed out, you can
19:01:15 <samu> re-testing oil rig spawning
19:01:33 <Alberth> roidal: 3rd button on the main toolbar has a drop-down for selecting settings
19:01:45 <samu> they're not spawning during the 1950-1960 period
19:01:49 <samu> this part is correct
19:01:54 <Alberth> yay :)
19:02:45 <samu> ok, so it's missing a check or maybe that 0xFF is wrong
19:02:57 <samu> and should be clear instead?
19:03:12 <samu> brb
19:04:03 <samu> yeah, running two games in parallel with mucho water, I confirm that default oil rigs are only spawning near map borders
19:04:18 <samu> and my version is letting them spawn everywhere there is water
19:04:32 <samu> brb
19:16:32 *** andythenorth has joined #openttd
19:21:00 *** Wolf01 has joined #openttd
19:21:42 <Wolf01> hi hi
19:22:46 <roidal> Alberth: yes, but difficulty settings are grayed out
19:23:24 <Alberth> cannot be changed then
19:23:43 <Alberth> hi hi sir W
19:25:06 *** sla_ro|master has quit IRC
19:27:35 *** zeknurn has quit IRC
19:28:16 *** zeknurn has joined #openttd
19:28:37 *** Biolunar_ has quit IRC
19:29:41 *** gelignite has joined #openttd
19:30:35 <samu> oh, just discovered nmlc.exe works with drag and drop
19:31:09 <samu> using mouse to drag a .nml file into nmlc.exe and it creates a .grf
19:31:16 <samu> awesome
19:32:35 <samu> :( 'clear' vs '0xFF' - nothing different
19:33:29 <Supercheese> Is not clear defined explicitly as 0xFF in NML constants?
19:34:12 <samu> I don't know
19:35:11 * Supercheese checks
19:35:54 <Alberth> if isinstance(tile, expression.Identifier) and tile.value == 'clear':
19:35:54 <Alberth> tile = expression.ConstantNumeric(0xFF)
19:35:58 <Alberth> looks that way
19:36:13 <samu> oh, so 0xFF is the same as clear
19:36:17 <samu> :(
19:36:24 <Alberth> or rather, 'clear' gets rewritten to 0xFF
19:36:30 <Supercheese> if isinstance(tile, expression.Identifier) and tile.value == 'clear':
19:36:32 <Supercheese> tile = expression.ConstantNumeric(0xFF)
19:36:32 *** shirish has joined #openttd
19:36:36 <Supercheese> so, yeah
19:36:56 <Supercheese> not quite as explicit as some NML constants, but it's there
19:36:59 <samu> oil rigs must have had a special water type
19:37:06 <Alberth> that explains why nothing changed :)
19:37:24 <samu> that tile probably can only be placed near map border
19:37:26 <samu> i dunn
19:37:27 <samu> o
19:38:40 <samu> can you distinguish a water tile that is close to map border and another that is inside mainland?
19:39:18 <samu> or maybe it's not the layout
19:39:21 <samu> and the check
19:39:23 <samu> https://paste.openttdcoop.org/pxjbdnins
19:39:25 <samu> this thing?
19:39:39 <samu> how do I implement this text into the nml?
19:41:52 *** luaduck_zzz is now known as luaduck
19:42:52 <samu> http://svn.openttd.org/trunk/src/industrytype.h
19:43:02 <samu> how was the industry created part also seems important
19:43:25 <samu> 4 ways to spawn a oil rig :(
19:43:54 <Alberth> derive your rig from the original oil rig industry, then you have the settings already
19:44:17 <Supercheese> still on the oilrig stuff, eh?
19:44:27 <Supercheese> and still going for tile layouts?
19:46:01 <samu> yes, i discovered a different spawning behaviour
19:46:15 <samu> and now i'm trying to figure it out
19:51:52 <samu> isn't that what I've done already albert?
19:52:58 <samu> how do I "derive"
19:53:25 <Alberth> you have to set an industry to use as template or something like that, iirc
19:54:01 <Alberth> which basically means the game copies all settings of that industry type to your new industry type
19:55:15 <samu> all, except the layout?
19:55:26 <samu> hmm, must investigate
19:55:50 <Alberth> all, as far as I know, but you then set a new layout?
19:57:24 <samu> the layout is to replace the original, but still use all its rules
19:57:45 <samu> creation rules, settings, properties, etc.. only the tilelayout map
19:57:49 <samu> is edited
19:58:24 <samu> I don't know the technical terms
19:59:25 *** roidal has quit IRC
20:00:46 <samu> Each layout have it's own placement check rules/properties?
20:01:12 <Alberth> don't know
20:04:57 <samu> if it currently is not allowing me to build one oil rig adjacent to each other, then it is doing a placement check, right? Maybe the layout needs more properties on the layout
20:05:14 <samu> lol redundancy, my head is exploding
20:05:58 <samu> 'layout settings'
20:08:19 <samu> what exactly happens when the game spawns an industry? If I could understand this process, things would be easier
20:12:26 <andythenorth> if you’re prepared to translate nfo -> nml, I still find it easier to read the nfo part of newgrf wiki
20:12:53 <andythenorth> approximately (I might have the order wrong, but industry_cmd.cpp knows the order if you want to check):
20:13:12 <andythenorth> - game randomly selects a tile for the N tile of the industry
20:13:28 <andythenorth> - game sees if the tile meets the *industry* location check criteria
20:13:49 <andythenorth> - game tries a random layout to see if it will physically fit the location
20:14:03 <andythenorth> - can’t remember if the game cycles all layouts at that location, but the code will know
20:14:14 <andythenorth> - game runs the *tile* location checks
20:14:22 <andythenorth> (for every tile in the layout)
20:14:30 <andythenorth> industry is built or fails
20:14:38 <andythenorth> game will try n times to build before failing
20:14:58 <andythenorth> if you want the canonical answer, read industry_cmd.cpp, not my summary
20:15:31 <andythenorth> there are also some steps, like levelling land, and running the newgrf location cbs etc
20:19:12 <samu> wow, i found the original oil rig layout static const IndustryTileTable _tile_table_oil_rig_0[] = {
20:19:53 <samu> range differs slightly than mine
20:20:04 *** Plaete2 has joined #openttd
20:20:35 <samu> x goes from -4 to 5 and y from -5 to 6
20:24:19 *** Plaete has quit IRC
20:25:10 *** dreck has joined #openttd
20:25:14 <dreck> hi
20:25:55 <frosch123> https://newgrf-specs.tt-wiki.net/wiki/IndustryDefaultProps#Industry_Layouts <- samu
20:27:05 <samu> someone made a mistake, either me or the wiki is wrong
20:27:13 <samu> let me draw
20:35:15 <samu> yep, wiki layout is wrong
20:35:31 <frosch123> what do you think is wrong?
20:35:32 <samu> I'll show you, about to finish drawing it
20:35:48 <samu> just dont know how to convert 0-255 to 0-FF
20:37:07 <samu> 24 in hexadecimal is 18?
20:37:21 <frosch123> @base 10 16 24
20:37:21 <DorpsGek> frosch123: 18
20:37:55 <samu> well, I'll assume those hex values are correct
20:38:22 <frosch123> well, i assume you swapped x and y :p
20:40:07 <samu> https://paste.openttdcoop.org/phujr5bfx
20:40:14 <samu> there it is
20:40:16 *** liq3 has joined #openttd
20:40:33 <frosch123> ah, you fell for that
20:40:44 <frosch123> well, your mistake was to take numbers literally
20:40:50 <frosch123> but ttd was programmed in assembly
20:41:03 <dreck> 1+1 is not literally 3? :) (sorry maybe bad joke)
20:41:06 <frosch123> so you just work around two's compliment in randmo places
20:41:18 <samu> ugh :(
20:41:32 <__ln__> it's almost certainly complement, not compliment
20:41:37 <samu> if only I knew better
20:42:18 <Alberth> __ln__: it is
20:43:06 <frosch123> samu: you are lucky. assembler programmers are at least better than fortran programmers
20:44:51 <samu> no idea what's a fortran or assembler, so, wiki is right after all, both are right
20:44:57 <samu> ?
20:45:11 <samu> except my new draw
20:45:13 <Alberth> quite, writing an assembler program for assembly language is not so trivial
20:52:56 <samu> it's the only tiletable with negative coordinates :(
20:53:00 <samu> quite special that oil rig
20:56:04 <frosch123> hmm, actually ottd could be wrong here
20:56:18 <frosch123> it probably broke that magic around version 0.3 when adding bigger maps :p
20:56:45 *** HerzogDeXtEr1 has joined #openttd
20:59:58 <samu> i have no idea what you're talking about now
21:00:38 <samu> which one is correct after all?
21:03:08 *** HerzogDeXtEr has quit IRC
21:08:12 *** Plaete2 has quit IRC
21:10:18 <frosch123> hmm, now i tracked it back to ottd 0.1, either ludde made a mistake, or cs and ttdp guys
21:15:37 *** itsatacoshop247 has joined #openttd
21:18:20 *** Alberth has left #openttd
21:20:53 <samu> so, which one do I trust now?
21:21:01 <samu> wiki? my new draw?
21:22:46 <samu> I have to edit upon one of those
21:22:49 <samu> lel
21:29:04 <b_jonas> trust nobody
21:29:52 <samu> trying to decipher default oil rig placement in scenario editor
21:29:56 <samu> brb
21:33:40 <b_jonas> ah
21:42:06 *** JGR_ has joined #openttd
21:44:58 *** JGR has quit IRC
21:44:58 *** JGR_ is now known as JGR
21:46:10 *** Myhorta has joined #openttd
21:46:49 *** Progman has quit IRC
21:51:30 *** liq3 has quit IRC
21:51:40 *** dreck has quit IRC
21:52:51 *** gelignite has quit IRC
21:54:53 <samu> frosch123: you there?
22:01:47 <samu> frosch123: https://rupavq.dm2304.livefilestore.com/y2phSxkwUVskAuW9C4o_Gd3P7ML7uTVC_5jdNl5OyY4W4ew9X22opw4lKUOGu_wW94BT1Lz6roH3xHHK95lRWaFXCcha7zRvdno5PNomL0aTc_Ydo472rLmGIehnSsu6qegDJJLTmuYV084a_N9e6ZhbQ/screenshot.png?psid=1
22:02:00 <samu> this proves wiki is wrong
22:03:17 <frosch123> who says ottd is right?
22:03:52 <samu> it let me build exactly in that mold
22:04:07 <frosch123> do you know the game "chinese whispers"?
22:04:16 <samu> nop
22:04:47 <frosch123> you don't know who is lying
22:05:06 <frosch123> adding a grf to ottd is like chinese whispers
22:05:21 <frosch123> nml source -> nml compiler -> ottd grf interpreter -> ottd code -> display
22:06:45 <frosch123> http://en.wikipedia.org/wiki/Chinese_whispers
22:09:34 <samu> I'm confused with what you're trying to tell me
22:10:18 <samu> isn't the svn the original one? the source?
22:11:19 <planetmaker> which may not be bug-free. Or the grf compiler produced a faulty grf. Or... :)
22:12:55 <frosch123> clearly ottd does not what the grfspecs say
22:13:00 <Wolf01> 'night
22:13:01 <frosch123> already ottd 0.1 did not do that
22:13:04 *** Wolf01 has quit IRC
22:13:12 <frosch123> the grfspecs result in a sensible layout for the oil righ
22:13:18 <frosch123> while the ottd layout is weird
22:13:30 <frosch123> now there are two options:
22:13:59 <frosch123> a) ottd 0.1 was already wrong
22:14:39 <frosch123> b) cs already did it wrong and ttd was really that weird, and ttdp guys misinterpreted it for something real
22:17:41 <samu> do you want me to install TTDLX in dosbox?
22:17:48 <samu> I could check in there
22:17:50 <samu> hopefully
22:18:05 <samu> it has a scenario editor doesn't it?
22:18:11 <frosch123> yes
22:18:28 <samu> ok, brb
22:21:46 *** Quatroking_ has joined #openttd
22:24:34 <andythenorth> bye
22:24:36 *** andythenorth has left #openttd
22:26:35 *** Quatroking has quit IRC
22:29:10 *** smoke_fumus has joined #openttd
22:32:32 *** oskari89 has quit IRC
22:37:53 <samu> okay im drawing the mold in ttdx
22:38:05 <samu> will take a while, signal placement is a bit different
22:38:09 <samu> sign*
22:38:38 <frosch123> nml seems to follow ottd behaviour
22:39:01 <frosch123> though the grfspec behaviour makes a lot of sense for an assembler program on a 256x256 map
22:42:49 *** Biolunar has joined #openttd
22:44:23 *** Yotson has quit IRC
22:48:49 <DanMacK> @seen Pikka
22:48:49 <DorpsGek> DanMacK: Pikka was last seen in #openttd 2 weeks, 5 days, 0 hours, 38 minutes, and 16 seconds ago: <Pikka> splendide
22:48:56 *** DanMacK has quit IRC
22:59:35 *** liq3 has joined #openttd
23:03:02 *** itsatacoshop247_ has joined #openttd
23:04:25 *** kais58 has joined #openttd
23:04:30 *** frosch123 has quit IRC
23:05:10 *** itsatacoshop247_ has quit IRC
23:06:11 *** kais58_ has quit IRC
23:06:33 <samu> bad news
23:06:43 <samu> wiki is right
23:06:50 <samu> ottd is wrong
23:07:01 <samu> let me screenshot
23:08:46 <samu> crap, how do i open a .pcx?
23:09:32 <glx> in an image viewer
23:10:11 *** itsatacoshop247 has quit IRC
23:15:51 <samu> i don't know how to open a .pcx
23:15:53 <samu> https://onedrive.live.com/redir?resid=23B29F3DE45F6F1F!712&authkey=!AGkcGBUlH2VlVxY&ithint=file%2cPCX
23:15:58 <samu> here's the file
23:19:47 <samu> http://www.go2convert.com/converted/file/e7gcLEx1
23:22:20 <samu> frosh quits?
23:22:22 <samu> t.t
23:23:11 *** Suicyder has quit IRC
23:32:45 <samu> someone pass this link to frosch123 when he comes back? http://www.go2convert.com/converted/file/e7gcLEx1
23:33:24 <samu> it has got the answers he was looking for
23:38:08 *** An_dz has joined #openttd
23:51:20 *** shirish has quit IRC