Config
Log for #openttd on 3rd March 2015:
Times are UTC Toggle Colours
00:17:03  *** supermop [~supermop@d110-33-177-242.sun801.vic.optusnet.com.au] has joined #openttd
00:20:56  *** DanMacK [~3fee8a84@188.cimarosa.openttdcoop.org] has quit [Ping timeout: 480 seconds]
00:30:55  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Quit: There's a real world out here!]
00:33:38  *** Pikkaphone [~yaaic@131.181.158.159] has joined #openttd
00:37:26  *** liq3 [liq3@CPE-120-147-178-81.gdfw1.lon.bigpond.net.au] has joined #openttd
00:38:45  <supermop> yo
00:41:27  *** smoke_fumus [~smoke_fum@188.35.176.90] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
00:41:41  *** Pikkaphone [~yaaic@131.181.158.159] has quit [Ping timeout: 480 seconds]
01:13:10  *** Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer]
01:38:07  *** Maarten1 [~irc@76.91.112.76] has quit [Read error: Connection reset by peer]
01:51:37  *** tokai|mdlx [~tokai@port-92-195-62-129.dynamic.qsc.de] has joined #openttd
01:55:32  *** tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
02:02:54  *** Pikkaphone2 [~yaaic@131.181.158.159] has joined #openttd
02:03:17  <Pikkaphone2> Yikes
02:08:17  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Read error: Connection reset by peer]
02:10:14  <Eddi|zuHause> if the pikkaphone rings twice
02:21:37  <supermop> ha
02:31:43  *** Pikkaphone2 [~yaaic@131.181.158.159] has quit [Ping timeout: 480 seconds]
02:48:40  *** TrueBrain [~truebrain@i210033.upc-i.chello.nl] has quit [Remote host closed the connection]
03:01:03  *** Netsplit reticulum.oftc.net <-> coulomb.oftc.net quits: Sheogorath, SpComb^, LadyHawk, XeryusTC, V453000, @orudge, ^Spike^, Supercheese, supermop, glx,  (+11 more, use /NETSPLIT to show all of them)
03:01:15  *** Netsplit over, joins: SpComb^, Cybertinus, LordAro, Sheogorath, DabuYu, mikegrb
03:01:34  *** Netsplit over, joins: kais58, supermop, LadyHawk, juzza1, Stimrol, V453000
03:01:43  *** Netsplit over, joins: Supercheese
03:01:49  *** berndj [~berndj@197.242.93.82] has joined #openttd
03:02:04  *** Netsplit over, joins: Hazzard, XeryusTC
03:02:34  *** Netsplit over, joins: Ammler
03:03:01  *** Netsplit over, joins: glx
03:03:01  *** mode/#openttd [+v glx] by ChanServ
03:03:58  *** ^Spike^ [~Spike@188.cimarosa.openttdcoop.org] has joined #openttd
03:06:01  *** Taede [~T@2a02:348:94:6571::1] has joined #openttd
03:06:13  *** orudge [~orudge@owenrudge.net] has joined #openttd
03:08:46  *** glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
03:10:42  *** quorzom [~quorzom@cable-78-35-98-177.netcologne.de] has quit [Remote host closed the connection]
03:20:48  *** HerzogDeXtEr [~flex@i59F6D265.versanet.de] has quit [Quit: Leaving.]
03:21:34  *** DDR [~david@S010600254bbe4e1c.vc.shawcable.net] has joined #openttd
03:43:26  *** Biolunar_ [Biolunar@blfd-5d8214d6.pool.mediaWays.net] has joined #openttd
03:50:26  *** Biolunar [Biolunar@blfd-4d086fe1.pool.mediaWays.net] has quit [Ping timeout: 480 seconds]
04:09:46  *** lobster [~mccrabbym@94.231.249.233] has quit [Ping timeout: 480 seconds]
04:09:56  *** lobster [~mccrabbym@94.231.249.233] has joined #openttd
04:33:52  *** openbu [~openbu@182.242.116.204] has joined #openttd
04:34:09  *** Pereba [~UserNick@191.32.225.155] has quit [Quit: more compliant with MSL than you imagine - www.AdiIRC.com]
04:34:59  <openbu> Hi, I want to develop the openttd.
04:38:38  *** Pikkaphone [~yaaic@131.181.158.4] has joined #openttd
04:55:05  *** Pikkaphone [~yaaic@131.181.158.4] has quit [Read error: Connection reset by peer]
04:55:18  *** Pikkaphone [~yaaic@131.181.158.4] has joined #openttd
05:03:21  *** Pikkaphone [~yaaic@131.181.158.4] has quit [Ping timeout: 480 seconds]
05:33:12  *** Plaete [~moffi@dsdf-5d82e7a9.pool.mediaWays.net] has joined #openttd
05:33:50  *** Plaete [~moffi@dsdf-5d82e7a9.pool.mediaWays.net] has quit []
05:36:30  *** HerzogDeXtEr [~flex@i59F6D265.versanet.de] has joined #openttd
05:43:47  <supermop> so the fake trams are more or less done now, before diving into the real trams i feel like drawingg buildings again or perhaps stations
05:56:01  *** Eddi|zuHause [~johekr@p57BD4DD2.dip0.t-ipconnect.de] has quit []
05:56:15  *** Eddi|zuHause [~johekr@p57BD59D8.dip0.t-ipconnect.de] has joined #openttd
06:32:31  *** shirish [~quassel@117.195.101.221] has joined #openttd
07:31:06  *** DDR [~david@S010600254bbe4e1c.vc.shawcable.net] has quit [Read error: Connection reset by peer]
07:47:36  *** Celestar [~Celestar@mnch-5d8584c6.pool.mediaWays.net] has joined #openttd
07:57:11  *** Celestar [~Celestar@mnch-5d8584c6.pool.mediaWays.net] has quit [Ping timeout: 480 seconds]
08:08:12  *** Celestar [~Celestar@fire3.tngtech.com] has joined #openttd
08:40:46  <Xaroth|Work> Rubidium: so, when can we expect openttd to be ported to unreal engine? :P
08:43:52  <planetmaker> moin
08:46:11  <planetmaker> openbu, I suggest to dive right into it :) There's either quite a number of bugs which need addressing: https://bugs.openttd.org or there's a non-comprehensive list of things which are nice-to-have: http://wiki.openttd.org/Todo_list
08:47:15  *** glevans2 [~glevans2@71-8-126-76.dhcp.ftwo.tx.charter.com] has quit [Ping timeout: 480 seconds]
09:00:37  *** shadowalkerAFK is now known as shadowalker
10:10:17  *** sla_ro|master [slamaster@95.76.27.245] has joined #openttd
10:13:36  *** lobstar [~mccrabbym@94.231.249.233] has joined #openttd
10:19:41  *** lobster [~mccrabbym@94.231.249.233] has quit [Ping timeout: 480 seconds]
10:22:31  <openbu> @planetmaker  thanks
10:24:09  <planetmaker> openbu, European evening hours is also an excellent time here on IRC
10:36:53  <openbu> oh,Nice to meet you ,I come from china,I'm going to devote a lot of time to improve openttd & openbu.org.
10:37:29  <openbu> I'm reading http://wiki.openttd.org/Todo_list
10:42:53  <peter1138> Download Speed: 2.91 Mbps
10:42:54  <peter1138> Upload Speed: 440 kbps
10:42:54  <peter1138> :S
10:54:48  *** smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
10:57:36  *** shirish [~quassel@0001358e.user.oftc.net] has quit [Ping timeout: 480 seconds]
11:04:41  *** shadowalker is now known as shadowalkerAFK
11:36:56  *** glevans2 [~glevans2@71-8-126-76.dhcp.ftwo.tx.charter.com] has joined #openttd
11:48:00  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
11:55:43  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has joined #openttd
12:00:26  *** glevans2 [~glevans2@71-8-126-76.dhcp.ftwo.tx.charter.com] has quit [Ping timeout: 480 seconds]
12:01:50  *** glevans2 [~glevans2@71-8-126-76.dhcp.ftwo.tx.charter.com] has joined #openttd
12:06:33  *** Odd [~Odd@141.0.247.63] has joined #openttd
12:32:28  <supermop> at 4x zoom, a slope is 32 px high?
12:32:39  *** Supercheese is now known as Guest464
12:32:44  *** Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has joined #openttd
12:32:58  <V453000> I dont even know :)
12:33:26  <V453000> http://dev.openttdcoop.org/projects/rawr/repository/show/POSTPRODUCTION/tile_masks
12:33:28  <V453000> is what I use
12:33:34  <V453000> probably not flawless, but pretty good
12:33:43  <V453000> juzza1 did those
12:33:50  <Odd> hello!
12:33:55  <supermop> when modelling it i need t make it a function of the diagonal across the tile though, whatever it is
12:33:56  <V453000> hi
12:34:23  <V453000> diagonal across the tile?
12:34:41  <supermop> trying to through tram tracks together quickly as these big 32bpp trams look odd on the ogfx track
12:34:53  <supermop> diagonal as in _
12:35:19  <supermop> _ is an integer number of pixels, whereas / and \ only sort of are
12:35:41  <supermop> the slope height is presumably also an integer
12:36:03  <planetmaker> hi Odd
12:36:32  <supermop> so if my tiles are 12 m or whatever a side, i can't just say they are 3m or whatever high
12:37:18  <Odd> nice work on snowy industries, planetmaker!
12:37:32  <V453000> I dont think I understand what do you want supermop :d
12:37:39  <supermop> also, it needs to be a length that when seen from the dimetric perspective appears to be whatever the correct size is
12:38:05  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has quit [Quit: JacobD88]
12:38:09  <supermop> basically i am saying, i cant just know how tall to model a slope in a 3d program
12:38:15  <V453000> yes
12:38:17  *** Guest464 [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Ping timeout: 480 seconds]
12:38:23  <V453000> I can tell you that height? :D
12:38:45  <supermop> you need to work backward from what it should look like in the sprite to figure out the height
12:39:02  <V453000> kind of
12:39:26  <supermop> as something that is x units tall appears less than x units tall in dimetric
12:39:36  <V453000> on 10x10m for one tile, I have 2,04155 height
12:39:52  <supermop> should be an irrational number
12:40:32  <V453000> 2,04192
12:40:37  <V453000> ok those are quite close :)
12:40:50  *** Odd is now known as Oddingar
12:41:02  <V453000> but yeah, thats it
12:41:09  <V453000> tunnel entrances are taller because openttd hax
12:41:20  <V453000> bridge pillars have that height
12:41:46  <V453000> @calc 2,04192*1,2
12:41:46  <DorpsGek> V453000: Error: invalid syntax (<string>, line 1)
12:41:52  <V453000> wat
12:42:07  <supermop> try . instead of ,?
12:42:09  <V453000> 2,450304
12:42:17  <V453000> calc aside :P
12:42:26  <V453000> so yeah, this is what you need?
12:42:36  <supermop> not quite
12:42:42  <V453000> what then :D
12:42:53  <supermop> mostly i want to know how many pixels ottd wants
12:43:04  <supermop> i recall it was 8 in 1x
12:43:06  <V453000> that is in the tile masks I linked earlier
12:43:12  <supermop> just want to be sure
12:43:43  <V453000> 8 sounds low even for x1
12:44:20  <V453000> something like 24 in x1 looks more like it to me
12:44:29  <V453000> eh actually
12:44:33  <supermop> if so its easy i just draw a line normal to the angle of view that is 1/8 of a tile diagonal and i can scale that set of lines for each tile size i use
12:44:49  <supermop> pretty sure its between 7 and 10
12:44:52  <V453000> yeah looks like 8
12:45:06  <supermop> illllllussions
12:45:33  <supermop> really i should have typed extra Us there not Ls noe Ss
12:45:47  <V453000> idk I just went with trying stuff
12:45:53  <V453000> I dont even know how I got that value
12:45:59  <V453000> I think I created an angle taken from zbase
12:49:28  <supermop> quick geometric construction in rhino i get 1836.12 mm for a 12m tile
12:49:47  <supermop> prettttty short clearance
12:50:00  <V453000> that sounds considerably different from 2.45 to me XD but ok if it works
12:50:34  <supermop> oh wait projected from wrong side of line
12:52:29  <supermop> now i get 2449.49
12:52:37  <V453000> that sounds a lot better :)
12:52:41  <supermop> i think rhino is cutting it off at .00
12:52:50  <V453000> sure max also only uses .xxx
12:52:57  <V453000> but I use cm so I wrote it to meters :)
12:52:58  <supermop> still a short clearance
12:53:23  <supermop> yeah i just have my tolerances set to 1.00 mm
12:53:41  <supermop> which is really too specific for ottd anyway
12:53:55  <supermop> would not use that in construction
12:55:36  <V453000> eh if you set your tile to be 1mm then it would make sense, it is totally relative :)
12:59:31  <juzza1> http://goo.gl/WmB68h is the ratio of full-length tile height to tile length, in ottd scale
13:00:21  *** DanMacK [~3fee8a84@188.cimarosa.openttdcoop.org] has joined #openttd
13:00:29  <DanMacK> Hey all
13:01:21  <planetmaker> o/
13:03:06  <V453000> =D
13:03:08  <V453000> hihi
13:13:34  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
13:20:52  <supermop> hi
13:21:03  <supermop> a bit late there
13:21:33  <Oddingar> is there no other servers than those listed in the multiplayer menu?
13:22:14  <planetmaker> Oddingar, yes. But those are the servers which chose not to be announced
13:22:23  <FLHerne> Oddingar: You can host a server without listing it, but all the ones actually intended to be public will be
13:22:24  <planetmaker> s/announced/advertised
13:24:15  <Oddingar> ah, do you know if there is any servers that's not listed that are possible to join? might that be by being member of a forum or such?
13:25:11  <FLHerne> Oddingar: Why? openttd coop non-public, anything hosted for groups of friends
13:25:25  <FLHerne> Oddingar: The reddit ones are usually quite active, but they're public
13:25:53  <V453000> openttdcoop is completely possible to join.
13:28:09  <Oddingar> hm, i might be doing something wrong, there's only 4 servers online according to the list, one password protected, and the others are pretty occupied
13:28:57  <Oddingar> oh wait, might be because of version mismatch?
13:29:23  <FLHerne> Oddingar: Mismatched versions will still show
13:29:33  <planetmaker> FLHerne, openttdcoop has no non-public servers
13:29:54  <FLHerne> But definitely more than 4 servers http://i.imgur.com/2yiwuFp.png
13:30:15  <FLHerne> planetmaker, V453000: Ok, I'm mistaken :-)
13:30:22  <planetmaker> Oddingar, there's *a few* more: http://www.openttd.org/en/servers
13:30:51  <planetmaker> Oddingar, but you need to run the appropriate (thus identical) version of OpenTTD in order to join them.
13:31:16  <FLHerne> Oddingar: Hit the 'Find Server' button, if you haven't
13:31:32  <planetmaker> yup, good idea :)
13:31:55  <Oddingar> aye I did hit find server, and it lists about 30 or 40 servers or so
13:31:58  <Oddingar> but only four of them are online
13:32:18  <Oddingar> could be wrong version
13:32:22  <Oddingar> i'm using
13:32:42  <planetmaker> eh... well, any version should list all servers... thus roughly 300 currently
13:32:46  <FLHerne> Servers with an incompatible version will be listed, just with a red dot rather than green
13:32:52  <planetmaker> but it may take time till the server list is populated
13:33:15  <FLHerne> What do you mean by 'only four of them are online'?
13:33:18  <planetmaker> thus after you hit 'find servers' the servers are actually queried... which is a bit traffic in the background
13:33:49  <planetmaker> thus may possibly take a few seconds till your local view updates
13:33:51  <Oddingar> well there's four servers with green dot and rest is red dot
13:34:42  <Oddingar> but i'm running 1.5.0 beta 1, that might be the problem
13:35:35  <FLHerne> Oddingar: Ah yes, that's the version-compatibility indicator
13:35:52  <FLHerne> OpenTTD is multiplayer-compatible across platforms, but not versions
13:35:53  <V453000> grab beta 2 :)
13:35:53  <Oddingar> thank you for your help, this might be interesting!
13:36:04  <FLHerne> Most servers are still on 1.4.4
13:36:08  <Oddingar> not 1.4.4?
13:36:22  <Oddingar> ok
13:36:39  <Oddingar> FIRS is supported on 1.4.4 right?
13:36:53  <FLHerne> Oddingar: Looking at server list, almost all the active ones are 1.4.4 http://i.imgur.com/2yiwuFp.png
13:37:12  <FLHerne> (yellow is same version but with newgrfs not downloaded)
13:37:21  <FLHerne> Yes
13:38:08  <Oddingar> I seee, I was sure it was online/offline indicator
13:38:11  <Oddingar> man do I feel stupid
13:38:53  <Oddingar> especially since I've been looking at this list since christmas and wondering why this awesome game has no more than 3 - 4 active servers -_-
13:40:14  <Oddingar> look at that, it works! thanks again :P
14:04:34  <Celestar> ;)
14:05:30  <planetmaker> :D
14:05:48  <planetmaker> Oddingar, don't the list columns have explanations which show when you hover over thme with the mouse?
14:08:59  *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Read error: Connection reset by peer]
14:10:06  *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd
14:11:42  *** Pereba [~UserNick@191.32.225.155] has joined #openttd
14:14:34  *** crabster [~mccrabbym@94.231.249.233] has joined #openttd
14:20:36  *** lobstar [~mccrabbym@94.231.249.233] has quit [Ping timeout: 480 seconds]
14:21:46  *** supermop [~supermop@d110-33-177-242.sun801.vic.optusnet.com.au] has quit [Ping timeout: 480 seconds]
14:22:35  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has joined #openttd
14:29:59  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has quit [Quit: JacobD88]
14:36:15  <Oddingar> they might do, planetmaker, but I'm good at assuming stuff :P
14:36:18  <Oddingar> often with bad resault
14:37:18  <Oddingar> afk
15:18:31  <Rubidium> Xaroth|Work: when you're finished with making said port
15:28:28  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Quit: There's a real world out here!]
15:54:29  *** Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
15:54:32  *** mode/#openttd [+o Alberth] by ChanServ
16:03:24  <Celestar> gday Rubidium
16:05:12  *** shirish [~quassel@61.0.219.157] has joined #openttd
16:06:56  *** roidal [~roland@cm140-210.liwest.at] has joined #openttd
16:14:11  <Alberth> o/
16:15:15  <planetmaker> \o
16:16:45  <planetmaker> advertisement: http://devs.openttd.org/~planetmaker/titlegame/round2/ <--- vote on the titlegame of the upcoming 1.5 now, if you haven't done so :)
16:17:15  <Alberth> hmm, pre-condition is false for me :)
16:17:23  <planetmaker> yup :)
16:17:37  <planetmaker> vote already registered and counted
16:18:05  <Alberth> :)
16:33:57  *** TheMask96 [martijn@envy.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
16:39:28  *** TheMask96 [martijn@lust.vhost.ne2000.nl] has joined #openttd
16:44:21  <Xaroth|Work> Rubidium: that implies you actually want me anywhere near the code :P
16:47:55  *** Celestar [~Celestar@fire3.tngtech.com] has quit [Quit: Leaving.]
16:48:25  *** Progman [~progman@p57A1836D.dip0.t-ipconnect.de] has joined #openttd
16:48:39  <planetmaker> oh, busy bee is already translated :)
16:50:44  *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd
16:59:51  *** jonty-comp [~jonty@000128f3.user.oftc.net] has quit [Remote host closed the connection]
17:10:16  *** shadowalkerAFK is now known as shadowalker
17:10:19  *** luaduck_zzz is now known as luaduck
17:11:07  *** Maarten [~irc@2605:e000:160b:8138:ec6f:b990:6c3e:7866] has joined #openttd
17:21:03  *** Progman [~progman@p57A1836D.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
17:24:23  *** frosch123 [~frosch@frnk-5f7466a4.pool.mediaWays.net] has joined #openttd
17:32:16  <V453000> serioze 32bpp mayhem cometh? :P
17:33:48  *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has quit []
17:35:48  *** jonty-comp [~jonty@2a03:b0c0:1:d0::312:d001] has joined #openttd
17:38:42  <Alberth> oh dear
17:40:27  *** glx [~glx@000128ec.user.oftc.net] has joined #openttd
17:40:30  *** mode/#openttd [+v glx] by ChanServ
17:43:38  *** aoeu [5f3799dc@107.161.19.109] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
17:46:57  <Eddi|zuHause> you proclaim it's always mayem...
17:47:14  <Eddi|zuHause> (modulo word order)
17:48:10  *** liq3 [liq3@CPE-120-147-178-81.gdfw1.lon.bigpond.net.au] has quit []
17:48:52  <Alberth> mayhem is my middle name:   V "mayhem" 453000
17:50:05  <Eddi|zuHause> what makes this sentence worse is that you have the same colour as V...
17:50:52  <Alberth> :D
18:04:39  <Terkhen> hello
18:05:00  <Alberth> hello T
18:07:45  * frosch123 always deleted the marriage annoucement/invitation of his brother as spam
18:07:54  <frosch123> s/always/almost/ :/
18:12:21  *** TrueBrain [~truebrain@i210033.upc-i.chello.nl] has joined #openttd
18:14:31  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
18:15:49  *** Pereba_ [~UserNick@186.212.160.59] has joined #openttd
18:22:11  *** Pereba [~UserNick@191.32.225.155] has quit [Ping timeout: 480 seconds]
18:22:20  *** Pereba_ is now known as Pereba
18:28:48  *** Pereba_ [~UserNick@187.59.111.250] has joined #openttd
18:34:02  *** Pereba [~UserNick@186.212.160.59] has quit [Ping timeout: 480 seconds]
18:34:09  *** Pereba_ is now known as Pereba
18:36:12  *** jonty-comp [~jonty@000128f3.user.oftc.net] has quit [Quit: leaving]
18:37:49  *** jonty-comp [~jonty@2a03:b0c0:1:d0::312:d001] has joined #openttd
18:40:07  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has joined #openttd
18:40:11  <Samu> hi
18:42:30  <Samu> i am getting an error Error	1	error C2678: binary '&=' : no operator found which takes a left-hand operand of type 'Owner' (or there is no acceptable conversion) (..\src\depot.cpp)	c:\openttd\trunk\src\core\bitmath_func.hpp	62	1	openttd
18:43:25  <Samu> many of these
18:44:36  <TrueBrain> YOU BROKE IT
18:44:40  <Terkhen> google search for C2678, you will find many explanations about that error... at first glance it sounds like you are trying to apply an operator to a class/struct/whatever that does not support it
18:44:49  <Terkhen> also that :P
18:44:57  <Samu> i did this https://paste.openttdcoop.org/pk9ivwxv6
18:46:20  <glx> use a byte then covert it to owner
18:47:04  <TrueBrain> isnt OWNER_NONE the same? :D
18:47:21  <TrueBrain> and brrr, what a dirty piece of code :s
18:48:03  <Samu> :)
18:48:11  <Samu> i was a suggestion
18:48:20  <Samu> was suggested to type that
18:48:40  <TrueBrain> doesnt change the fact it is dirty :D
18:49:37  <Samu> why?
18:49:53  <Samu> how do I use a byte glx
18:50:31  <glx> like an int
18:50:35  <glx> it's just smaller
18:50:47  <Samu> this is what he told me http://www.tt-forums.net/viewtopic.php?f=33&t=72691#p1143683
18:51:46  <Samu> i improved it a little
18:52:00  <Samu> or maybe broke it
18:52:25  <glx> SB() can't work with Owner
18:53:20  <glx> but I think we have a compatible type
18:53:34  <glx> check around Owner declaration
18:59:40  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd
19:01:11  <Alberth> o/
19:02:29  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has quit [Remote host closed the connection]
19:04:12  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has joined #openttd
19:07:54  <Eddi|zuHause> Samu: that post is meant as a rough sketch, more like pseudocode. you're supposed to figure out the details of how it should be done correctly by yourself.
19:18:44  <andythenorth> o/
19:22:39  *** Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
19:28:26  *** roidal [~roland@cm140-210.liwest.at] has quit [Quit: WeeChat 1.0.1]
19:31:18  *** Biolunar_ [Biolunar@blfd-5d8214d6.pool.mediaWays.net] has quit [Quit: Yo.]
19:42:52  <Samu> Owner co = GetTileOwner(SB(co, 0, 2, GB(_me[t].m6, 0, 2)) | SB(co, 2, 2, GB(_me[t].m6, 6, 2)));
19:43:05  <Samu> is that it?
19:44:26  <Samu> nope
19:46:06  *** jonty-comp [~jonty@000128f3.user.oftc.net] has quit [Remote host closed the connection]
19:46:36  *** jonty-comp [~jonty@2a03:b0c0:1:d0::312:d001] has joined #openttd
19:49:38  *** HerzogDeXtEr [~flex@i59F6D265.versanet.de] has quit [Quit: Leaving.]
19:50:39  <Eddi|zuHause> it would be helpful for you to learn what each of these pieces do, before combining them
19:52:06  <glx> yeah, coding is not like playing with lego bricks
19:52:26  <Alberth> nah, the internet can tell you :)
19:52:59  <andythenorth> coding is not lego bricks? :o
19:53:01  <andythenorth> :(
19:53:14  <andythenorth> that explains a lot of my problems :(
19:53:21  <Alberth> :D
19:53:30  <Eddi|zuHause> well, some bits of lego-piecing are equivalent to coding
19:53:42  <Eddi|zuHause> but generally not the other way around :p
19:54:15  <Alberth> :o all the OO design ideas !
19:54:28  <andythenorth> lego doesn’t encapsulate much
19:54:39  <andythenorth> no declaring a public interface with the internals hiddens
19:54:58  <Eddi|zuHause> lego bricks have a fairly well-designed interface
19:55:10  <andythenorth> also nobody ‘cheats’ by having their lego bricks use the _private vars and methods of other objects
19:55:18  <Eddi|zuHause> one side has a knob, and it goes into the other side of another brick
19:56:18  <andythenorth> OO isn’t on a grid
19:56:23  <andythenorth> which sometimes bothers me
19:56:32  <andythenorth> UI design is on a grid
19:56:39  <andythenorth> SQL kind of is a grid
19:56:56  <andythenorth> OO less so
19:57:06  <Eddi|zuHause> i'm sure you can arrange UML diagams on a grid
19:57:12  <Eddi|zuHause> +r
19:57:24  <andythenorth> and generate all your classes from them
19:57:27  <andythenorth> auto-OO
19:57:29  <andythenorth> wise idea
19:57:30  <andythenorth> not
19:57:49  <andythenorth> “now a system analyst can specify the system, no developers needed
”
19:57:54  <andythenorth> “
exept for integration"
19:57:55  <andythenorth> yeah
19:58:02  <Eddi|zuHause> i never quite figure out what people actually USE uml fore
19:58:05  <Eddi|zuHause> e
19:58:07  <Eddi|zuHause> -e
19:58:13  <andythenorth> they use it to sell tooling software
19:58:21  <andythenorth> and get views for presentations on slideshare
19:59:11  <andythenorth> I guess Lego has objects, and they are orientated
19:59:12  <andythenorth> https://www.flickr.com/photos/andythenorth/16473953695/
19:59:22  <andythenorth> battery box...receivers
motors
19:59:29  <frosch123> Eddi|zuHause: you can show them to someone to tell them that they don't understand your stuff
19:59:38  <Alberth> Eddi|zuHause: we used it for making class diagrams
19:59:47  <andythenorth> frosch123: or that they need to use a new methodology
19:59:50  <frosch123> if you would show them your code, they would claim in it badly written, if they do not understand it
20:00:03  <andythenorth> you can use it to sell training courses
20:00:59  <frosch123> it is hard to claim that a nicely shaded uml diagram is badly drawn or something :p
20:01:12  <andythenorth> I don’t like the whitespace
20:01:13  <frosch123> you just blame the drawing software then
20:01:20  <Samu> wow crap, the 2nd part of the code works
20:01:20  <andythenorth> and the class names should be Hungarian
20:01:40  *** Samu_ [~oftc-webi@po1-84-90-249-214.netvisao.pt] has joined #openttd
20:01:43  <Samu_> lag
20:02:00  <Samu_> 2nd part worked, i just had to remove the assert line
20:02:05  <Samu_> 1st part fails
20:02:34  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has quit [Remote host closed the connection]
20:03:19  <Eddi|zuHause> you don't simply walk into... err, remove asserts
20:03:53  <Alberth> you never remove the source of errors? :D
20:04:07  <michi_cc> Asserts are usually there for a reason...
20:04:16  <Eddi|zuHause> Alberth: i did not say that
20:04:28  <Samu_> i dunno what i'm doing
20:04:39  <Alberth> that much was clear Samu_ :)
20:04:42  <Eddi|zuHause> that seems to be the problem, yes :p
20:05:48  <andythenorth> if the fire alarm goes off, just disconnect it
20:05:50  <andythenorth> problem solved
20:06:02  <andythenorth> try: foo except: pass
20:06:08  <andythenorth> never goes wrong
20:10:28  <Samu_> it was writting bits at m6 correctly
20:10:44  <Samu_> but is the assert needed?
20:11:26  <Eddi|zuHause> Samu_: that's not the point
20:11:55  <Eddi|zuHause> Samu_: triggering the assert means you have a place where you try to set the canal owner without there being a canal
20:12:55  <Eddi|zuHause> which could potentially mean that you overwrote data that another tile type stored there
20:12:57  <Samu_> ah
20:19:15  *** sla_ro|master [slamaster@95.76.27.245] has quit []
20:21:33  <Samu_> assertion failed still :(
20:23:55  <Samu_> think i got it
20:23:57  <Samu_> 	assert(HasTileWaterClass(t) == WATER_CLASS_CANAL);
20:24:04  <Samu_> it boots the game
20:25:41  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has joined #openttd
20:25:57  *** Wolf01 [~wolf01@95.232.38.183] has joined #openttd
20:26:34  <Wolf01> hi hi
20:28:27  <Samu_> hi
20:28:30  *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd
20:33:16  <glx> Samu_: HasTileWaterClass() doesn't work like that
20:33:30  <glx> it just returns true or false
20:34:40  <Samu_> hum..
20:37:10  <Samu_> assert(IsTileType(t, MP_WATER) || IsTileType(t, MP_STATION) || IsTileType(t, MP_INDUSTRY) || IsTileType(t, MP_OBJECT));
20:37:20  <Samu_> what about canal?
20:37:28  <Samu_> waterclass
20:37:39  <Samu_> canal as waterclass, not canal=canal
20:37:48  <Eddi|zuHause> you're missing the point of an assert
20:38:10  <Eddi|zuHause> the assert tells you you're using the function wrong.
20:38:19  <Eddi|zuHause> but that means you don't need to change the assert
20:38:27  <Eddi|zuHause> but to change where you USE the function
20:41:31  <Wolf01> today is a bad day... broken the code, fixed the code, code the broken, fixed the broken, broken the previous fix
20:43:08  <Eddi|zuHause> now you just have to code the break
20:43:22  <Wolf01> better not, trust me
20:46:22  <Eddi|zuHause> how about making a code break?
20:48:34  <Wolf01> that's the intent, but I need to wait at least until tomorrow evening.. when the dentist will try to break my mouth, then I'll ask a break for the next 2 working days :P
20:50:14  <Samu_> i think the assert is annoying me
20:50:22  <Samu_> what's wrong with the fucntion
20:50:42  <Wolf01> maybe it's not the right function to use
20:50:52  <Samu_> ah
20:51:15  <Samu_> let me look at road
20:52:15  <Samu_> there is no assert line at SetRoadOwner
20:52:31  <Samu_> I'm confused
20:53:06  <Wolf01> then it should need an "assert(IsRoad(t))"
20:53:37  <Samu_> :
20:53:59  <Samu_> http://vcs.openttd.org/svn/browser/trunk/src/road_map.h?rev=27175#L220
20:54:44  <Wolf01> it DOES have the assert, just follow the function calls
20:57:21  <Samu_> i dont get what that is
20:58:41  <Eddi|zuHause> Samu_: generally, whatever is in "@pre" should also be an assert
20:59:09  <Eddi|zuHause> Samu_: and also, the existing code is not always an example of how things should be done
21:02:34  *** Samu_ [~oftc-webi@po1-84-90-249-214.netvisao.pt] has quit [Remote host closed the connection]
21:02:50  <Wolf01> brain exploded
21:03:04  <Eddi|zuHause> call the janitor
21:06:13  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has joined #openttd
21:07:58  *** Celestar [~Celestar@p5DE459F5.dip0.t-ipconnect.de] has joined #openttd
21:15:38  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has quit [Quit: JacobD88]
21:27:00  <Samu> oh, i have updated documentation for my "yet to exist" patch
21:27:21  <Samu> can you revise it please?
21:27:24  *** shadowalker is now known as shadowalkerAFK
21:27:47  <Samu> i used microsoft word to edit html, dunno if it break anything
21:32:43  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has left #openttd []
21:34:11  <Samu> hmm
21:34:14  <Samu> brb
21:36:41  <Samu> crap, word broke it
21:37:04  <Celestar> and that surprises you?
21:37:11  <Celestar> It's called Word for a reason.
21:37:16  <Samu> a bit
21:37:21  <Celestar> It works when you work on a single word.
21:37:27  <Celestar> it's not called Microsoft Book.
21:37:47  <Samu> it's saving as a web page, not as a single htlm
21:37:48  <Samu> why
21:38:09  <Celestar> Because Word is the worst product MS ever made :P
21:38:14  <Celestar> It has no ... use case.
21:38:44  *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd
21:39:22  <glx> oh it's ok to write a letter :)
21:39:41  <Celestar> I don't think so.
21:39:43  <Celestar> well
21:39:48  <Celestar> it is OK to write a letter, yes.
21:39:56  <Celestar> but there are tools that do that better.
21:40:36  *** Flygon__ [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd
21:41:01  <Eddi|zuHause> letter as in the thing that makes up words, or letter as in the thing that you send by mail?
21:41:31  <glx> the mail thing
21:41:40  <Samu> can't uplaod html to forum
21:41:42  <Samu> :(
21:41:44  <Samu> i'm zipping this
21:42:27  <Eddi|zuHause> # Sie mÃŒssen erst den Nippel durch die Lasche ziehn
21:43:33  <Eddi|zuHause> anyway, i always liked the functionality of WordPerfect more than Word
21:43:56  <Samu> https://onedrive.live.com/redir?resid=23B29F3DE45F6F1F!756&authkey=!ADSX9xO_wKwjGP4&ithint=file%2czip
21:44:20  <Eddi|zuHause> like, line numbering... whenever i tried that in Word, it ended up wrong, and unfixable.
21:45:07  *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds]
21:46:13  *** frosch123 [~frosch@frnk-5f7466a4.pool.mediaWays.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
21:46:37  <Samu> you can set the space after and before a line
21:46:38  <Celestar> WYSIWIG is a rotten concept for creating documents
21:47:03  <Celestar> I've never seen it produce even remotely useful results
21:47:11  *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds]
21:47:21  <Celestar> 99.99% of word documents make me wanna vomit.
21:47:45  <Samu> tell me if it's opening the htmls fine
21:49:05  <Samu> i've edited class 5, 6, 8 and A
21:49:12  <Samu> at m1 and m6 parts
21:49:30  <Samu> but don't know if it's clear
21:54:06  <Samu> I still don't know if have to edit objects and tunnel/bridge
21:54:13  <Samu> because of aqueduct
21:55:21  <Eddi|zuHause> you find that out by placing asserts in the right places. when it blows up, you know you have to change it
21:56:33  *** Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
21:57:56  <Samu> aqueducts are not canals, just found out
21:58:15  *** Celestar [~Celestar@p5DE459F5.dip0.t-ipconnect.de] has quit [Quit: Leaving.]
21:59:45  <Samu> who are object owners in the game?
21:59:54  <Samu> can a company own an object?
22:02:18  *** Samu_ [~oftc-webi@po1-84-90-249-214.netvisao.pt] has joined #openttd
22:02:27  <Samu_> gah disconnections
22:02:55  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has quit [Remote host closed the connection]
22:05:48  *** Progman [~progman@p57A1836D.dip0.t-ipconnect.de] has joined #openttd
22:06:23  <Samu_> SB(_me[t].m6, 2, 4, 0);	SB(_me[t].m6, 0, 2, 0);	SB(_me[t].m6, 6, 2, 0);
22:06:53  <Samu_> is this just me or is it the same as _me[t].m6 = 0
22:16:23  *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has quit []
22:20:51  <Samu_> wow
22:22:20  <Oddingar> wish I could help, but got no clue, samu
22:22:37  <Samu_> i got this so far https://paste.openttdcoop.org/pttduycso
22:22:48  <Samu_> it can boot the game
22:23:09  <Samu_> i bet it is missing asserts
22:23:18  <Samu_> but don't know what to do about it
22:26:29  <Oddingar> what are you working on?
22:26:43  <Samu_> http://www.tt-forums.net/viewtopic.php?f=33&t=72691
22:26:44  <Samu_> that
22:27:13  <Samu_> trying to store owners at m6
22:27:17  <Terkhen> good night
22:27:50  <Oddingar> good night, Terkhen
22:28:58  <Oddingar> looks like you got your hands full
22:29:42  <Samu_> can't put it in practice
22:30:23  <Samu_> setting water is working fine, apparently, but something is amiss
22:30:33  <Samu_> getting water ... no idea
22:30:38  <Samu_> i bet it's not
22:31:16  <Samu_> i didn't put anything related about OWNER_TOWN to OWNER_NONE conversion
22:32:52  <Oddingar> is it easy to pull information from industries and use it somewhere else? like write it over on a sign placed near an industry
22:43:46  *** shirish [~quassel@0001358e.user.oftc.net] has quit [Remote host closed the connection]
22:44:40  *** supermop [~supermop@d110-33-177-242.sun801.vic.optusnet.com.au] has joined #openttd
22:48:19  <Samu_> seems like this deals with the issue
22:48:21  <Samu_> https://paste.openttdcoop.org/p20tkxsoz
23:01:56  *** Samu [~oftc-webi@po1-84-90-249-214.netvisao.pt] has joined #openttd
23:02:46  *** Samu_ [~oftc-webi@po1-84-90-249-214.netvisao.pt] has quit [Remote host closed the connection]
23:03:57  <Samu> m6= 0xc3
23:03:59  <Samu> :))))
23:04:11  <Samu> canal owner none
23:04:15  <Samu> stored as owner_town
23:04:19  <Samu> much happy!
23:05:13  <Samu> but at m1 cell it is wrong lol
23:11:31  *** HerzogDeXtEr [~flex@i59F6CA9C.versanet.de] has joined #openttd
23:16:05  *** Progman [~progman@p57A1836D.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
23:28:24  <Oddingar> congrats :P
23:34:36  <Wolf01> http://img-9gag-ftw.9cache.com/photo/avgOBR5_460s_v1.jpg looks like a standard OTTD thing
23:36:44  <Eddi|zuHause> well. design by committee :)
23:37:40  <Eddi|zuHause> but obviously the continuation of that bridge as a bridge would have needed a much bigger bridge, to let ships pass
23:44:02  <Wolf01> 'night
23:44:09  *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
23:47:09  *** _dp_ [~dP@92-100-245-206.dynamic.avangarddsl.ru] has joined #openttd
23:50:33  <Samu> looks like i got to edit tile_map too

Powered by YARRSTE version: svn-trunk