IRC logs for #openttd on OFTC at 2011-12-18
            
00:00:05 *** valhallasw has joined #openttd
00:00:07 *** supermop has quit IRC
00:05:31 <Markk> Good evening everyone. :)
00:06:11 *** valhallasw has quit IRC
00:06:31 <Markk> Is there yet any NewGRF:s for subway stations (or train stations overall) that are underground?
00:07:19 <Markk> I have a weak memory of that but can't remember if it was a "real" underground station or just a station that looked like it was underground.
00:07:47 <Markk> (A station that had some houses on top of it that was just there for the looks)
00:08:15 <fjb|tab> Real underground is not possible.
00:10:13 <Wolf01> 'night
00:10:17 <Eddi|zuHause> there was only a fake undergound station as "new object"
00:10:21 *** Wolf01 has quit IRC
00:10:55 <Markk> Mkay, is OpenTTD coded that way and GRF:s can't make an underground station?
00:11:06 <Markk> Eddi|zuHause: ah, I think that is the one I'm thinking of
00:11:08 <Eddi|zuHause> yes
00:11:27 <Markk> Which GRF was that?
00:11:32 <Markk> s/was/is/
00:12:00 <Markk> eGRVTS maybe?
00:12:06 <Eddi|zuHause> no idea
00:12:24 <Eddi|zuHause> mo, that one definitely not
00:12:41 *** fjb|tab has quit IRC
00:12:46 *** fjb|tab has joined #openttd
00:13:21 *** DDR has quit IRC
00:14:55 <Markk> Mkay, I'll continue to look around. :)
00:15:07 <Markk> Thanks for the update though Eddi|zuHause. :)
00:18:10 *** welshdragon has joined #openttd
00:18:16 *** Progman has quit IRC
00:18:29 *** Progman has joined #openttd
00:19:42 *** tokai|noir has joined #openttd
00:19:59 *** frosch123 has quit IRC
00:20:44 *** Biolunar has quit IRC
00:26:00 *** tokai|mdlx has quit IRC
00:27:02 *** Progman has quit IRC
00:38:21 <TrueBrain> Zuu: no, I haven't made any updates yet; I have it ready, but I was waiting to finish something else before I push
00:38:29 <TrueBrain> but I have been away all day; will do it tomorrow :)
00:40:06 *** dlr365 has joined #openttd
01:09:56 *** Devroush has quit IRC
01:11:11 *** KritiK has quit IRC
01:17:00 *** DayDreamer has joined #openttd
01:23:00 *** JVassie has quit IRC
01:27:31 *** SystemParadox has quit IRC
01:31:45 *** welshdragon has quit IRC
01:35:57 *** DDR has joined #openttd
01:36:48 *** JVassie has joined #openttd
01:37:04 *** DayDreamer has left #openttd
01:45:55 *** pjpe has joined #openttd
01:52:40 *** mib_b73n0y has joined #openttd
02:07:39 *** JVassie has quit IRC
02:55:21 *** glx has quit IRC
02:59:32 *** Pulec has quit IRC
03:24:52 <DemeGeek> openttd.cfg goes in /usr/share/games/openttd/ right?
04:57:55 *** dlr365 has quit IRC
05:56:02 *** Eddi|zuHause has quit IRC
05:56:24 *** Eddi|zuHause has joined #openttd
06:10:59 *** TomyLobo has joined #openttd
06:42:20 *** perk11 has joined #openttd
06:42:37 <Rubidium> DemeGeek: that's generally not a good location for the configuration file due to issues with file rights
07:02:38 *** Arafangion has quit IRC
07:03:12 *** DemeGeek has quit IRC
07:23:00 *** sla_ro|master has joined #openttd
07:24:41 *** kkable has joined #openttd
08:05:26 *** kkable has quit IRC
08:12:42 *** Devroush has joined #openttd
08:13:50 *** andythenorth has joined #openttd
08:14:35 <andythenorth> morniks
08:14:39 <andythenorth> I assume
08:15:06 <Rubidium> oi andy
08:15:48 * andythenorth compiles trunk
08:15:52 <andythenorth> for a game
08:18:28 <Rubidium> how LISBOA? ;)
08:18:33 <Rubidium> +is
08:23:47 * andythenorth is experimenting with a reduced sleep regime
08:24:01 <andythenorth> for health reasons only :P
08:37:17 <andythenorth> hmm
08:37:23 <andythenorth> a better UK road set is needed
08:40:31 <planetmaker> moin
08:43:00 <andythenorth> hola
08:47:35 <andythenorth> how much extra storage would delivered cargo history for industries require?
08:49:51 *** Progman has joined #openttd
08:54:35 *** snack2 has joined #openttd
08:57:29 <planetmaker> andythenorth: FIRS currently stores this and last month in the perm. storage
08:57:56 <andythenorth> this would need to be provided by the game imho
08:58:05 <andythenorth> for a stats GUI ;)
08:58:08 *** Neon has joined #openttd
08:58:20 <planetmaker> well... it would use 3 words
08:58:27 <andythenorth> and you'd probably want it by company...
08:58:29 <andythenorth> meh
08:58:53 <planetmaker> per industry and company? Nah, that's uninteresting for the industry really
09:00:10 <andythenorth> it's more for the player
09:00:11 <andythenorth> stat porn
09:00:55 <planetmaker> the industry doesn't know where it gets cargo from
09:01:01 <planetmaker> nor should it
09:15:26 *** DayDreamer has joined #openttd
09:16:38 *** DayDreamer has left #openttd
09:20:07 * andythenorth finds a use for auto-refit
09:20:09 <andythenorth> yay
09:38:34 *** KouDy has joined #openttd
09:47:28 *** andythenorth has quit IRC
09:58:18 *** perk11 has quit IRC
09:58:32 *** Alberth has joined #openttd
09:58:32 *** ChanServ sets mode: +o Alberth
09:59:40 <Terkhen> good morning
10:02:31 *** perk11 has joined #openttd
10:07:03 *** pjpe has quit IRC
10:07:31 <fjb|tab> Moin.
10:10:25 <Alberth> moin fjb|tab
10:10:48 <fjb|tab> Moin Alberth.
10:12:24 *** LordAro has joined #openttd
10:22:00 <LordAro> morning all
10:24:29 *** welshdragon has joined #openttd
10:37:28 *** JVassie has joined #openttd
10:47:00 *** valhallasw has joined #openttd
10:52:46 *** Pulec has joined #openttd
10:52:52 *** Wolf01 has joined #openttd
10:53:12 <Wolf01> hello o/
10:53:21 <Alberth> o/
10:56:19 *** andythenorth has joined #openttd
10:57:22 <Alberth> moin andy
11:01:26 *** welshdragon has quit IRC
11:02:19 *** TGYoshi has joined #openttd
11:09:33 *** DDR has quit IRC
11:14:44 *** DOUK has joined #openttd
11:15:01 *** perk11 has quit IRC
11:18:44 *** mahmoud has quit IRC
11:27:23 *** pugi__ has joined #openttd
11:27:52 *** pugi__ is now known as pugi
11:27:52 *** TWerkhoven has joined #openttd
11:40:23 *** Brianetta has joined #openttd
11:43:33 *** Etedris has joined #openttd
11:43:42 *** fjb|tab is now known as Guest20751
11:43:42 *** fjb|tab has joined #openttd
11:46:45 *** andythenorth has quit IRC
11:54:24 *** |Jeroen| has joined #openttd
11:58:10 *** |Jeroen| has quit IRC
12:04:29 *** KritiK has joined #openttd
12:11:58 *** frosch123 has joined #openttd
12:16:49 *** snack2 has quit IRC
12:21:02 *** |Jeroen| has joined #openttd
12:27:36 *** andythenorth has joined #openttd
12:30:16 *** snack2 has joined #openttd
12:30:24 *** andythenorth has quit IRC
12:31:35 *** andythenorth has joined #openttd
12:42:12 *** Elukka has quit IRC
12:42:56 *** glx has joined #openttd
12:42:56 *** ChanServ sets mode: +v glx
12:51:06 *** JVassie has quit IRC
12:56:58 <Zuu> Hmm, nobody reported that OTTDAU failed to detect that nogo-0.1 != nogo-1.0 :-)
12:57:39 <Zuu> I strip away the content after the dash because that is most often used for a branch tag which some fail to add both to clients and finger.
12:58:07 <Zuu> So now I've updated it to require the branch tags to be [a-z0-9]*$
12:59:45 <Rubidium> what about the 1.1 branch? ;)
13:00:10 <Zuu> that one had the same problem. But now it works. (if you were refering to nogo)
13:00:33 <Rubidium> no, the stable release branch ;)
13:01:30 <Zuu> Oh, but one doesn't have a dash. In addition it is even supported on the client side.
13:02:52 <Zuu> I have a special case for hg revisions and other things that I didn't think of when I wrote the program. It is in this code where I hand this problem, so it doesn't even affect the official realeases.
13:07:37 <LordAro> woo, edge cases :)
13:08:55 *** andythenorth has quit IRC
13:23:47 <Alberth> programming is all about covering all edge cases :)
13:24:44 <frosch123> though sometimes only about covering all edge cases you expect the customer to test
13:24:45 <frosch123> :p
13:44:38 *** andythenorth has joined #openttd
13:45:19 *** DOUK has quit IRC
13:59:10 *** andythenorth has quit IRC
14:04:52 <TrueBrain> Zuu: just remember that nogo-1.0 is something I made up :p I know others use name_version (_ instead of -) :P
14:04:58 <TrueBrain> it is nowhere near official or anything :)
14:11:21 *** andythenorth has joined #openttd
14:26:51 *** Pinkbeast has quit IRC
14:37:08 *** dlr365 has joined #openttd
14:39:46 *** andythenorth has quit IRC
15:09:53 <Zuu> TrueBrain: I know, and at some point someone will make something up that will break the current rules...
15:11:10 <TrueBrain> :D
15:11:19 <TrueBrain> now you are just challening me :D
15:11:27 <Zuu> hehe :-p
15:11:45 <Zuu> Eg -r1, -r2, etc. would break the current rules.
15:12:21 <Zuu> or even -1 -2 -3 etc.
15:12:26 *** andythenorth has joined #openttd
15:13:20 <Zuu> The hardest would be someone using named versions like eg -orange -banana .. etc.
15:13:53 <valhallasw> as long as it's alphabetical ;-)
15:14:23 <Eddi|zuHause> what if you reach version 26?
15:14:39 <TrueBrain> Zuu: sounds like a plan :D
15:15:14 <Zuu> in that case I would need to check if client/finger both has something after a dash and in that case not strip it away. (or just strip away if one source misses it)
15:16:03 <Zuu> ... or suggest that cargodist is fixed to include -cd in both sources :-)
15:27:42 *** supermop_ has joined #openttd
15:28:37 <kais58> anyone know how to setup newgrfs for a dedicated server?
15:29:21 <V453000> create a savegame in single player and then load the savegame on the server
15:29:31 <Alberth> make a config with a normal version, and move it to the server
15:30:01 <kais58> ok, thanks
15:31:12 * andythenorth wonders if CHIPS is broken with AIs
15:31:52 <LordAro> i think nocab uses newgrf stations
15:32:36 <LordAro> possibly AIAI too
15:46:31 <Zuu> There is a AI API to build cargo specific stations. It probably takes a cargo id/type as argument in addition to the usual arguments.
15:47:34 *** LordAro has quit IRC
15:48:24 <Yexo> andythenorth: CHIPS is not broken, we just never implemented cb 16
15:48:30 <andythenorth> ta fa
15:48:34 <Yexo> ehm, 18
15:48:36 <andythenorth> and the mystery was solved :)
15:48:56 <Yexo> main problem with that callback: the only useful information we get is the cargo type
15:49:08 <Yexo> CHIPS stations don't really depend on the cargo type, but ore on the industry
15:49:21 <andythenorth> tis true
15:49:25 <Yexo> but we only get the substitute type in case of newgrf industries
15:49:35 <Yexo> that means we can't properly match the ground type to the industry
15:49:51 <Yexo> unless FIRS was changed so the substitute industry type would depend on the ground type the industry has
15:49:51 <andythenorth> doesn't matter to me :P
15:49:59 <Yexo> but that's abuse of the substitute type
15:50:11 <andythenorth> I don't play with AI on
15:50:24 <Yexo> if you don't care about matching groundtypes, a simple cb 18 implementation that always returns the same station type would be simple
15:50:29 * andythenorth exhibits "I'm alright Jack" attitude :D
15:55:12 *** snack2 has quit IRC
15:57:54 *** guru3_ has joined #openttd
15:57:54 *** guru3 has quit IRC
16:02:51 *** snorre_ has joined #openttd
16:04:38 *** snorre has quit IRC
16:06:41 *** andythenorth has quit IRC
16:10:16 *** andythenorth has joined #openttd
16:18:04 *** andythenorth has joined #openttd
16:30:15 *** andythenorth has quit IRC
16:41:05 *** supermop_ has quit IRC
16:43:04 *** KritiK_ has joined #openttd
16:43:51 * Zuu is amazed that cloning of vehicels appear to have been broken for several days before it got reported/fixed
16:44:39 <frosch123> actually i encountered it myself yesterday :p it was repored while i was fixing it :p
16:44:50 <Zuu> :-)
16:45:13 <Alberth> not many people playing nightlies, I guess
16:45:14 *** KritiK has quit IRC
16:45:28 *** KritiK_ is now known as KritiK
16:46:04 <Zuu> at least not between the weekends
16:50:09 *** frick has joined #openttd
16:50:42 <frick> How does a road vehicle pick up resources from a train station, and more importantly, CAN it?
16:50:54 <Zuu> Using transfer orders
16:51:06 <Zuu> Actually, it is the train that should use the transfer order.
16:51:23 <Zuu> If you want to transfer cargo from a train to the truck that is.
16:51:25 <Rubidium> and make sure the road stop and station are part of the same station, i.e. they have the same name
16:51:28 <Terkhen> frick: http://wiki.openttd.org/Feeder_service
16:51:33 <Rubidium> s/name/flag/
16:51:47 <Rubidium> and the station flag should have a train and truck icon before the name
16:52:18 <Zuu> You can use ctrl+click when building the second station and select the first one in the list that pops up.
16:52:28 <Zuu> Another way is to build the second station adjacent to the first one.
16:52:48 <frick> Thanks!
16:52:58 <frick> Finally, an IRC channel where people answer -_-
16:59:48 <Terkhen> depends on the time you ask :P
17:00:03 <Terkhen> people coming at night (in europe) usually don't have much luck
17:17:53 * TrueBrain kick CIA-6
17:22:57 *** fonsinchen has joined #openttd
17:27:32 *** fonsinchen has quit IRC
17:29:46 *** fonsinchen__ has joined #openttd
17:30:09 *** fonsinchen__ is now known as fonsinchen
17:30:48 *** supermop_ has joined #openttd
17:32:44 *** DarkSun has joined #openttd
17:33:51 *** welshdragon has joined #openttd
17:35:30 *** DarkSun has quit IRC
17:36:35 <kais58> is a UDP connection to the server required for newgrfs to work?
17:37:23 <Eddi|zuHause> no
17:38:27 <Eddi|zuHause> UDP is only used for getting the server list and server info. after you click "join server", everything is TCP
17:39:08 <kais58> thanks
17:47:22 *** andythenorth has joined #openttd
18:05:16 *** Brianetta has quit IRC
18:06:27 *** andythenorth has quit IRC
18:19:56 *** IchGuckLive has joined #openttd
18:20:12 *** mahmoud has joined #openttd
18:21:00 <IchGuckLive> hi all after 13 years of hard work i managed to get all places connected and own 10mio what whoudt be the next step
18:21:44 <IchGuckLive> i guess get all factorys and buyable industries to the citys
18:22:17 <IchGuckLive> getting the production above 80%
18:22:39 <IchGuckLive> and try to fill the hole map ?
18:24:31 <Eddi|zuHause> get all industries to maximum production (for mines this is something around 2000-4000, for factories it's something around 25000-35000)
18:25:10 <IchGuckLive> what shoudt i spend the money most
18:28:46 *** Biolunar has joined #openttd
18:30:53 *** andythenorth has joined #openttd
18:33:46 *** Devroush has quit IRC
18:49:34 *** frick has quit IRC
18:49:57 <Alberth> you can also use the cheat to get rid of excess money :p
18:50:18 <valhallasw> or build some awesome tunnels from one side of the map to the other
18:50:21 <IchGuckLive> B)
18:52:44 <Eddi|zuHause> once upon a time those gave negative costs :p
18:52:51 *** dlr365 has quit IRC
18:53:17 <Eddi|zuHause> (i used this once because my money overflowed)
18:55:44 <Eddi|zuHause> hm... openttd: /home/johannes/spiele/OpenTTD/trunk/src/station_cmd.cpp:2086: Town* AirportGetNearestTown(const AirportSpec*, byte, TileIndex): Assertion `layout < as->num_table' failed.
18:55:54 <Eddi|zuHause> trying to load a TTD/TTO savegame
18:56:39 *** enr1x has quit IRC
18:57:09 <frosch123> oilrig conversion broken again?
18:57:13 <TrueBrain> TTD, TTO or TTDp? :)
18:58:01 *** enr1x has joined #openttd
18:58:46 <frosch123> hmm, i can load a tto game with oilrigs
18:59:08 <TrueBrain> I guess if he links the savegame, it would be easiest so solve ;)
18:59:28 <TrueBrain> so? to!
18:59:34 <TrueBrain> they are not even close to eachother ..
18:59:35 <frosch123> hmm, its a ttd game, no tto
18:59:50 *** IchGuckLive has left #openttd
19:01:14 <Eddi|zuHause> how do i identify the savegame file?
19:02:37 *** |Jeroen| has quit IRC
19:02:55 <frosch123> no idea
19:03:04 <frosch123> move them to different dirs?
19:05:42 *** welshdragon has quit IRC
19:07:15 <Eddi|zuHause> it should possibly display the filename in the info field :p
19:08:53 *** andythenorth has quit IRC
19:13:14 <Rubidium> -dsl?
19:13:36 <Rubidium> might tell the filename
19:13:59 <Eddi|zuHause> looks like updating trunk fixed it, though
19:14:57 <frosch123> yeah, we had some bug like that 3 week ago :p
19:19:03 <Eddi|zuHause> tiles under bridges get converted to dirt, not grass
19:19:57 <Eddi|zuHause> anything we can do to "fix" the "broken" town names?
19:20:29 <Eddi|zuHause> (i.e. implement a (hidden) town name generator that reproduces the old names?)
19:22:39 <Eddi|zuHause> and what happened to my static newgrfs?
19:24:11 *** HerzogDeXtEr1 has joined #openttd
19:24:32 <Eddi|zuHause> this is almost definitely a bug: TTO savegames don't get static newgrfs
19:29:05 *** pjpe has joined #openttd
19:30:51 *** HerzogDeXtEr has quit IRC
19:32:59 <Eddi|zuHause> and shouldn't the rails get converted to electric automatically?
19:34:10 <frosch123> there is a disable elrail setting
19:35:32 *** DDR has joined #openttd
19:52:15 *** andythenorth has joined #openttd
19:58:00 <Eddi|zuHause> but it's not enabled, as far as i can tell
19:58:09 *** Brianetta has joined #openttd
19:59:38 <TrueBrain> Zuu: NoGo 1.3 is being compiled now. Contains the new widget names and some 'extra' :D Only thing left to do: Tutorial-gui thingy, and you can make a nice tutorial script :D Although you already can do it for most part ;)
20:00:06 <Zuu> 1.3? where did 1.2 go?
20:00:30 <TrueBrain> I fucked up :D
20:00:40 <TrueBrain> forgot the 'bump' patch, so 1.2 is broken beyond believe :P
20:01:21 <Zuu> okay, sure I did silly things with CluelessPlus 31 so I had to make 32 directly after. :-)
20:01:55 <TrueBrain> it happens :D
20:02:10 <TrueBrain> and please do try the translation stuff Rubidium mostly made available :D:D
20:02:18 <TrueBrain> as far as I can see, it works very very well, but .. I am biased :P
20:03:49 *** Devroush has joined #openttd
20:03:52 *** fonsinchen has quit IRC
20:06:35 <Alberth> TrueBrain: do as people do in the first forum posts: "reserved for future use" :)
20:06:55 <TrueBrain> for what? :P
20:07:01 <TrueBrain> I never understand those posts :P
20:07:51 <Eddi|zuHause> those are usually to work around the three-attachments-limit
20:07:54 <Zuu> If you have moderator powres I gues you can insert a post there if you need to post more than 3 files at the beginning :-)
20:08:46 <Eddi|zuHause> you could instead just make a new post, and link to the attachments from the first post
20:09:14 <TrueBrain> I have no attachments ....
20:09:21 <TrueBrain> I dont know why Alberth said it (out of the blue for me :P)
20:10:21 * Alberth was thinking to claim 1.2 "for future use" :)
20:10:37 <Rubidium> yeah, openttd 1.2 ofcourse ;)
20:10:47 <TrueBrain> lol @ Alberth
20:10:52 <TrueBrain> "veel verder gedacht dan ik" :D
20:11:04 <Zuu> Rubidium: So now OpenTTD 1.3 will be impossible?
20:12:49 <Zuu> Sounds interesting with translations transmitted over the network. @ NoGo 1.3
20:15:28 <TrueBrain> it is :P
20:22:02 <Eddi|zuHause> we seriously need to improve nmlc's performance...
20:24:42 *** DDR has quit IRC
20:29:46 <Zuu> Hmm, when starting a new NoGo game with 1.3 I had it crash at first step in world generation. Will upload the crash.* files.
20:30:10 <Zuu> Or should I compile myself to have the debugger?
20:30:18 <Zuu> (I used the bananas binary)
20:31:42 <Zuu> It is possible that there is a bug in my code, as I only started OpenTTD after having done some coding myself.
20:34:27 <glx> Zuu: windows ?
20:34:31 <Zuu> yes
20:34:52 <glx> then the pdb is available at the same place as you got the exe :)
20:36:17 <glx> on binaries.openttd.org custom/nogo/nogo-1.3
20:37:29 <Zuu> Yes. Though, I have always found it easier to compile + debug live than using the dump+pdb files.
20:38:05 <glx> dump+pdb is nice to get an idea of what failed
20:39:22 <appe> did anyone of you guys play E.V.O recently?
20:49:34 *** Adambean has quit IRC
20:53:10 *** JVassie has joined #openttd
20:57:07 *** andythenorth has quit IRC
20:58:39 *** KritiK has quit IRC
21:10:17 *** andythenorth has joined #openttd
21:12:45 *** TWerkhoven has quit IRC
21:13:03 *** TWerkhoven2[l] has joined #openttd
21:13:06 *** TWerkhoven has joined #openttd
21:19:51 *** TWerkhoven[l] has quit IRC
21:20:03 *** TWerkhoven2[l] is now known as TWerkhoven[l]
21:23:49 *** pjpe has quit IRC
21:24:05 <TrueBrain> Zuu: without a translation, GS crashes :D
21:24:17 <TrueBrain> I tested it on all changes, except the last :D
21:24:32 <Zuu> Oh, so that's why
21:24:52 <TrueBrain> at least, that crashes here directly :P
21:24:57 <TrueBrain> haven't loaded your dmp yet
21:25:02 <TrueBrain> dunno if you have a backtrace?
21:26:11 *** andythenorth has quit IRC
21:27:56 <Zuu> I can create one if you wants that. (I only have to start OpenTTD and select a GS without translations)
21:28:15 <Zuu> After adding a lang directory and an empty english.txt it did not crash.
21:28:16 <TrueBrain> that backtrace I ahve :)
21:28:22 <TrueBrain> k k :)
21:28:25 <TrueBrain> then that is the same ;)
21:49:49 <Eddi|zuHause> now i almost certainly refactored it to death :p
21:51:45 *** Alberth has left #openttd
21:56:36 <frosch123> night
21:56:41 *** frosch123 has quit IRC
22:05:02 *** DDR has joined #openttd
22:07:03 *** TWerkhoven has quit IRC
22:12:05 *** sla_ro|master has quit IRC
22:15:41 *** valhallasw has quit IRC
22:20:48 *** KouDy has quit IRC
22:28:30 *** welshdragon has joined #openttd
22:30:47 <Zuu> TrueBrain: In the docs only some of the Widget enums that show at the top are clickable. Those that aren't don't show up at the end. They also seem to not exist in OpenTTD.
22:30:52 <Zuu> At least this code did not work:
22:30:53 <Zuu> main_instance.AddStep(GUIHighlightStep(GSWindow.WC_MAIN_TOOLBAR, GSWindow.TBN_ROADS));
22:31:08 <Zuu> It complained that TBN_ROADS doesn't exist.
22:31:47 <TrueBrain> Zuu: check the naming
22:31:52 <TrueBrain> like I said, we changed the naming heavily
22:32:00 <TrueBrain> owh, I should update the docs I guess :D
22:32:42 <Zuu> I know that you have updated the naming, that's why I waited for 1.3, but aparently the docs was not updated yet :-)
22:33:04 <TrueBrain> Zuu: been kept busy by some devs with bugs and coding style :D
22:33:57 <Terkhen> good night
22:36:20 *** TGYoshi has quit IRC
22:37:50 <TrueBrain> Zuu: 2 things just happened. 1) I did update the docs (sorry sorry sorry sorry)
22:37:53 <TrueBrain> 2) I released 1.4 :P
22:42:55 *** welshdragon has quit IRC
22:43:20 *** Devroush has quit IRC
22:45:28 *** TomyLobo has quit IRC
22:52:54 <CIA-6> OpenTTD: rubidium * r23587 /trunk/src/strgen/strgen_base.cpp: -Fix-ish: MSVC warnings in case strgen would be in the main project file
22:53:40 <TrueBrain> lol @ CIA-6
22:53:42 <TrueBrain> YOU ARE SLOW
22:54:02 <Zuu> TrueBrain: Why can I highlight the main toolbar using window = 0, but the event has window = 1?
22:57:18 <TrueBrain> sorry?
22:57:21 <TrueBrain> I don't follow?
22:57:27 <TrueBrain> the click event?
22:57:30 <Zuu> yes
22:57:37 <TrueBrain> that is weird
22:58:00 <Zuu> It seems that I don't get events for non-highlighted buttons, so as long as I only highlight one, I should be safe to just ignore the window in the event.
22:58:36 <Zuu> Another thing is that after the user has clicked on the road toolbar button, it keeps flashing.
22:58:57 <Zuu> I don't know if the issue is related to the fact that it opens a menu.
22:59:24 <TrueBrain> by documentation, the event only triggers on highlights, yes
22:59:36 <Zuu> hmm, probably not, as the event is fired when you press down the mouse button.
22:59:38 <TrueBrain> flashing only stops if you tell it to :)
23:00:04 <Zuu> Using Close?
23:00:12 <Zuu> Or calling Highlight again?
23:00:13 <TrueBrain> highlight with color invalid
23:01:23 <TrueBrain> butI guess it would make sense to stop the highlight when you click on it
23:02:30 *** LordPixaII has joined #openttd
23:02:55 <Zuu> No problem for me to do that in the event handler now that I know how to do it. :-)
23:03:08 <TrueBrain> it is documented ;)
23:03:18 <Zuu> I found it out now when you said so.
23:05:23 <Zuu> But you did get my point with Highlight(window, 0, widget, TC_YELLOW) and then in the event the window number is 1.
23:05:42 <Zuu> where in this case the window is the main toolbar and the button is the road button.
23:06:33 <TrueBrain> class / number / index, it should be correct
23:07:03 *** Pixa has quit IRC
23:07:26 <TrueBrain> it you can give me a simple test GS, that would be very helpful
23:11:14 *** pjpe has joined #openttd
23:12:43 *** Markavian` has quit IRC
23:18:50 <Zuu> sorry, I just read the docs wrong. Didn't saw the GetWindowClass function of the event and though that the WindowNumber function was the window id/class.
23:19:36 <TrueBrain> why do I write documentation :P :P Hihi :)
23:19:42 <TrueBrain> how come you misread? The documentation unclear, or?
23:19:45 <Zuu> I did read it, just wrong :-)
23:20:21 *** fjb|tab is now known as Guest20785
23:20:22 *** fjb|tab has joined #openttd
23:20:34 *** Guest20785 has quit IRC
23:20:41 <Zuu> http://devs.openttd.org/~truebrain/nogo/docs/classGSEventWindowWidgetClick.html <-- no padding (non-bold text) between first and second member causing me to only read the last two items I think.
23:20:50 <TrueBrain> yeah
23:20:52 <TrueBrain> I can see that
23:21:00 <TrueBrain> hard to fix, sadly
23:21:02 <TrueBrain> but I understand
23:21:55 *** Neon has quit IRC
23:22:01 *** JVassie has quit IRC
23:23:13 <Zuu> And probably because I've lately worked with another window/widget toolkit (wxWidgets) which doesn't have window "class" in the core.
23:23:39 <TrueBrain> hehe :D
23:24:10 <Wolf01> 'night
23:24:14 *** Wolf01 has quit IRC
23:25:42 *** fjb|tab is now known as Guest20786
23:25:43 *** fjb|tab has joined #openttd
23:26:49 *** andythenorth has joined #openttd
23:28:24 *** Guest20786 has quit IRC
23:28:51 *** Progman has quit IRC
23:29:56 <TrueBrain> night
23:41:42 <Zuu> How does one know which window number to use? Is there a pattern or does a GS have to scann over 0 to n for a given window class to figure out which window number to use?
23:46:33 <Yexo> you'll have to read the source code
23:48:16 <Zuu> Okay
23:50:41 *** andythenorth has quit IRC