Log for #openttd on 20th July 2009:
Times are UTC Toggle Colours
00:06:58  *** Wolle [] has quit [Ping timeout: 480 seconds]
00:08:05  *** KenjiE20 [~KenjiE20@] has quit [Quit: WeeChat 0.3.0-rc2]
00:32:21  *** Tekky_ [] has joined #openttd
00:37:52  *** Tekky [] has quit [Ping timeout: 480 seconds]
00:38:04  *** Tekky_ is now known as Tekky
00:42:13  *** Akoz [] has quit [Ping timeout: 480 seconds]
00:49:27  *** OwenS [] has quit [Remote host closed the connection]
01:09:10  *** Aali_ is now known as Aali
01:19:51  *** Zahl [] has quit [Quit: *schiel*]
01:49:28  *** JFBelugas [] has quit [Ping timeout: 480 seconds]
01:53:37  *** Tekky [] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.5.1/20090715094852]]
02:05:01  *** PeterT [] has joined #openttd
02:08:36  *** PeterT [] has quit []
02:17:37  *** nfc [] has quit [Ping timeout: 480 seconds]
02:19:41  *** nfc [] has joined #openttd
02:25:44  *** keoz [] has quit [Quit: Leaving]
02:26:02  *** Pygma [~quassel@] has quit [Read error: Connection reset by peer]
02:34:48  *** welshdragon [~welshdrag@] has left #openttd []
02:38:44  *** stuffcorpse [~rick@] has quit [Quit: leaving]
02:39:35  *** stuffcorpse [~rick@] has joined #openttd
03:03:52  *** glx [glx@2a01:e35:2f59:c7c0:2198:8523:b023:2c79] has quit [Quit: bye]
03:08:02  *** TinoDidriksen [] has quit [Ping timeout: 480 seconds]
03:12:19  *** TinoDidriksen [] has joined #openttd
03:14:28  *** Nite_Owl [] has joined #openttd
03:14:54  <Nite_Owl> Hello all
03:38:33  *** TinoDidriksen [] has quit [Ping timeout: 480 seconds]
03:42:37  *** TinoDidriksen [] has joined #openttd
03:44:01  *** Fuco [] has quit [Ping timeout: 480 seconds]
04:35:12  *** Akoz [] has joined #openttd
04:36:58  <Akoz> how can I find out if an engine has "two heads" ?
04:53:40  *** Wolle [] has joined #openttd
04:53:55  *** Wolle [] has quit []
05:04:05  <Nite_Owl> it should have two heads in the purchase window
05:06:45  *** Nite_Owl [] has quit [Quit: Read You Soon]
05:09:54  *** welshdragon [~welshdrag@] has joined #openttd
06:08:54  *** ecke [~ecke@] has joined #openttd
06:21:11  *** Progman [] has joined #openttd
06:26:24  *** Progman [] has quit [Remote host closed the connection]
07:02:48  *** Zorn [] has joined #openttd
07:14:40  *** Alberth [] has joined #openttd
07:18:25  *** keoz [] has joined #openttd
07:28:01  <Akoz> *tries again* how can I find out if an engine has "two heads" from the Engine class?
07:29:24  <Noldo> you are a patch coder?
07:29:36  <Akoz> sort of
07:34:28  <Noldo> ok, RailVehicleInfo has field railveh_type of tyle RailVehicleTypes
07:34:42  <Noldo> and that is part of union inside Engine
07:35:05  *** reldred [~reldred@] has joined #openttd
07:35:06  <Noldo> relevant files are engine_base.h and engine_type.h
07:37:24  <Noldo> usage examples can be found by searchin railveh_type from the code
07:37:36  <Akoz> ty :)
07:42:12  <Akoz> what did you mean by "and that is part of union inside Engine" ?
07:43:09  <Akoz> oh right. never mind
08:19:20  *** Xyzzy [] has joined #openttd
08:25:37  *** fonsinchen [] has joined #openttd
08:43:11  *** Azrael- [] has joined #openttd
08:52:39  *** reldred [~reldred@] has quit [Ping timeout: 480 seconds]
08:56:22  *** reldred [~reldred@] has joined #openttd
09:02:39  *** Yrol [] has joined #openttd
09:05:09  <Yrol> hello :o) does anyone use the improved station-GUI from scoz?
09:24:08  <planetmaker> helb, Yrol
09:24:11  <planetmaker> yes, I do
09:24:30  <planetmaker> and yes, it doesn't apply to current trunk.
09:25:37  *** [alt]buster [] has joined #openttd
09:25:49  <planetmaker> Get an update from
09:25:56  *** tokai [] has quit [Ping timeout: 480 seconds]
09:26:06  <planetmaker> That's up2date as of two days ago or so.
09:27:12  *** [com]buster [] has quit [Ping timeout: 480 seconds]
09:27:12  *** [alt]buster is now known as [com]buster
09:27:54  *** tokai [] has joined #openttd
09:27:57  *** mode/#openttd [+v tokai] by ChanServ
09:32:39  <Yrol> planetmaker, hm, sadly, i never could create meself a working compiling environment for openttd, so i cant use those diff-files, if i remember it well. and as buildopenttd seems to be still dead...
09:34:57  *** [alt]buster [] has joined #openttd
09:36:37  *** [com]buster [] has quit [Ping timeout: 480 seconds]
09:36:37  *** [alt]buster is now known as [com]buster
09:38:03  <dihedral> @seen Yexo
09:38:04  <DorpsGek> dihedral: Yexo was last seen in #openttd 2 days, 0 hours, 11 minutes, and 2 seconds ago: <Yexo> hi frosch123, Alberth ;)
09:38:13  <dihedral> where is he??
09:38:21  <dihedral> @seen Yex*
09:38:21  <DorpsGek> dihedral: Yex* could be Yexo (2 days, 0 hours, 11 minutes, and 20 seconds ago) or Yexo_ (3 weeks, 2 days, 22 hours, 9 minutes, and 43 seconds ago)
09:39:05  <Alberth> hai dihedral :) maybe he is away on vacation?
09:39:59  <TrueBrain> or maybe he is scared of you? :)
09:48:46  <Alberth> I hope not
09:53:23  *** Exl [] has joined #openttd
09:55:02  *** yorick [] has joined #openttd
09:58:42  <dihedral> i hope he's not :-P
09:58:44  <dihedral> not yet ;-P
09:59:49  <Akoz> how should I access functions in station_cmd.cpp from another class?
10:00:07  <Akoz> is there an appropriate header file I can include?
10:01:07  <SmatZ> grep for function name?
10:01:13  <SmatZ> try station_func.h or station_base.h
10:02:02  <Akoz> tried them, no success
10:02:08  <Akoz> grep?
10:02:32  <dihedral> Akoz, windows or *nix
10:02:55  <Akoz> win, but I looked it up and got the point
10:03:06  <Akoz> but seraching for the function name showed no reference in any other file than the cpp
10:03:21  <Akoz> and if I include the cpp I just end up with dozens of linking errors
10:03:32  <Alberth> static function perhaps?
10:03:41  <Akoz> right
10:04:06  <Alberth> that means you are not supposed to call it from another file, usually
10:04:32  <Alberth> ie it implements part of some bigger functionality
10:05:10  <Akoz> I was planning to use "static Station *GetStationAround(TileIndex tile, int w, int h, StationID closest_station)" to search for a station near a specific tile
10:06:07  <Alberth> see in the file where it is used. Maybe you can use that function instead.
10:06:16  <Akoz> yes.. I can just copy the body
10:06:26  <SmatZ> I think you can simply remove "static" and declare it in station_func.h
10:06:55  <SmatZ> static functions are sometimes static because of optimisation stuff
10:07:15  <SmatZ> like, they don't have to be emited in the object file
10:07:39  <Alberth> what ever you do, DONT copy the body :)
10:07:51  <SmatZ> hehe
10:08:03  <Akoz> but but..!
10:08:35  <Akoz> ok then. I'll go with smatz' idea
10:08:54  <Alberth> you don't only copy the code, but also the bugs in it. If you later find one, you need to fix it twice, if you manage to find the second instance
10:09:39  <Akoz> yes.. but on the other side I really like having my code in one place and not mess with any more other files than I have to..
10:13:41  *** OwenS [] has joined #openttd
10:14:40  <Yrol> hm, is it possible to somehow include information into a GRF, so the game senses, as an example, that it is "cheatbuster" (fictional system to rate and sign GRFs so they can be divided into GRFs which change only the graphics and GRFs which change gamemechanics ) signed? this way, one could use northamerican housing set/differnt water/different GUI and another player in MP could use the original/one he likes and it would still all work in MP and it would
10:17:31  *** Polygon [] has joined #openttd
10:24:38  *** helb [~helb@] has quit [Ping timeout: 480 seconds]
10:28:45  *** helb [~helb@] has joined #openttd
10:41:38  <Ammler> Yrol: don't get your question, but you might want to read about static_newgrf.
10:46:27  <Yrol> hm, i was just curious, if it is possible to "sign" GRFs, so the game can see, if a GRF is just changes graphics or, like a trainset, also changes values like cost and horsepower. so that maybe one day one could, in a multiplayergame, use different personally liked GUIs.
10:46:36  *** Dred_furst [] has joined #openttd
10:46:41  <Yrol> -liked +preferred
10:47:15  <Yrol> im not a coder though, sorry, i only have so many ideas
10:49:25  <Ammler> Yrol: as said, that is already possible with static newgrfs
10:51:06  <Yrol> oh. okies :o)
11:15:41  <CIA-2> OpenTTD: rubidium * r16885 /trunk/src/ (48 files in 3 dirs): -Codechange: reduce (string) duplication with vehicle lists
11:24:37  <CIA-2> OpenTTD: rubidium * r16886 /trunk/src/ (62 files in 6 dirs): -Codechange: unify naming of some string IDs related to string codes and group them logically
11:25:58  *** helb [~helb@] has quit [Ping timeout: 480 seconds]
11:26:14  *** Coco-Banana-Man [] has joined #openttd
11:45:28  <Eddi|zuHause> Yrol: most house sets do change gameplay... even if you don't notice it.
11:47:25  <Yrol> Eddi|zuHause, hm, i see. 'twas jsut a thought, as it is now, i think, one couldnt even use a differnt GRF for a different font in multiplayer.
11:47:53  *** helb [~helb@] has joined #openttd
11:48:04  <Eddi|zuHause> fonts, catenary, certain road sets... that can be used as static newgrfs
11:48:49  <Eddi|zuHause> but house sets are usually coded with "newhouses" feature, and that is not just a graphical replacement
11:48:54  <Yrol> also thigns like a different station GUI? or does that change too much?
11:49:19  <Noldo> that needs code changes too I guess
11:49:25  <Eddi|zuHause> no, station grf is not possible via grf at all
11:49:39  <Yrol> uhm...
11:49:41  <Eddi|zuHause> s/grf/gui/
11:50:18  <Yrol> i meant the new stationbuilding GUI, not the actual station :o)
11:50:39  <Yrol> oh.. wait
11:50:51  <Yrol> you meant that cant be changed by a GRF anyways, right?
11:51:00  *** KenjiE20 [~KenjiE20@] has joined #openttd
11:52:52  *** [alt]buster [] has joined #openttd
11:55:02  *** [com]buster [] has quit [Ping timeout: 480 seconds]
11:55:02  *** [alt]buster is now known as [com]buster
12:00:32  *** Yrol [] has quit [Quit: MOOOOOOOOOO?????]
12:04:10  *** glx [glx@2a01:e35:2f59:c7c0:c98d:35a6:1071:b0a1] has joined #openttd
12:04:13  *** mode/#openttd [+v glx] by ChanServ
12:06:59  *** maristo [] has joined #openttd
12:09:12  *** fonsinchen [] has quit [Remote host closed the connection]
12:36:40  *** Chruker [] has joined #openttd
12:39:07  *** [alt]buster [] has joined #openttd
12:40:51  <Belugas> hello
12:41:53  <yorick> Hello
12:42:15  <Akoz> hello
12:43:56  *** [com]buster [] has quit [Ping timeout: 480 seconds]
12:44:00  *** [alt]buster is now known as [other]buster
12:50:03  *** TheMask96 [] has quit [Ping timeout: 480 seconds]
12:56:08  *** [com]buster [] has joined #openttd
12:56:26  *** TheMask96 [] has joined #openttd
13:02:11  *** [other]buster [] has quit [Ping timeout: 480 seconds]
13:02:11  *** [com]buster is now known as [other]buster
13:09:21  <planetmaker> allo :-)
13:10:36  <Ammler> h
13:13:27  *** reldred [~reldred@] has quit [Read error: Connection reset by peer]
13:15:17  <Eddi|zuHause> any suggestions on what to do with a Sound Blaster AWE32 card when none of your (working) computers have ISA slots anymore?
13:15:39  <Belugas> yup.  give it to me
13:16:18  <Eddi|zuHause> and how to diagnose a non-working computer that does not make a beep, and you don't have any spare parts to check which of the parts is broken?
13:16:27  <CIA-2> OpenTTD: rubidium * r16887 /trunk/src/group_gui.cpp: -Fix (r16884): erroneous semicolon.
13:19:33  *** maristo [] has quit [Remote host closed the connection]
13:22:53  *** DaleStan_ [~Dale@] has joined #openttd
13:22:53  *** DaleStan is now known as Guest1660
13:22:54  *** DaleStan_ is now known as DaleStan
13:23:10  <Eddi|zuHause> Belugas: i probably would even do that, but i guess the postage costs are higher than when you just buy one on ebay...
13:24:20  * Belugas wonders if he has still a free slot...
13:25:57  <Akoz> hrmpft... can a Station *s be NULL? and if not why the f not :<
13:27:34  <yorick> Akoz: sure they can be NULL, but it might not be stable
13:28:23  <Akoz> Im checking if its ==NULL and its not, yet looking at it theres nothing in it :\
13:28:49  <Akoz> and then whey trying to check if s->xy != null it crashes since I cant access the variable
13:28:55  <Akoz> is there a isvalid() command I can use?
13:29:01  <Akoz> or.. something? :\
13:29:24  *** Guest1660 [~Dale@] has quit [Ping timeout: 480 seconds]
13:29:57  *** Progman [] has joined #openttd
13:31:03  <yorick> Akoz: are you sure it crashes because it's null?
13:31:10  <yorick> try *s == NULL
13:31:16  <yorick> does that crash, then it's null :-)
13:31:54  <Belugas> Eddi|zuHause, just for the fun of it, can you check how much it's going to cost for shipping?
13:32:23  <Akoz> yorick: access violation - whenever I try s->xy.. and I tried *s == NULL and it says it's not.. Im just not sure what it is instead since s->xy isnt set
13:32:41  <Akoz> its in some undefined state
13:32:45  <yorick> Akoz: you tried *s == NULL, or s == NULL?
13:32:53  <Akoz> both
13:33:01  <yorick> and they both don't crash?
13:33:03  <Akoz> even &s == NULL to be sure since Im not so good with pointers
13:33:13  <Akoz> both if sentences returns false
13:33:29  <yorick> LOL @ &s :-)
13:33:32  <Akoz> :p
13:34:54  <yorick> so s->xy; crashes and *s; doesn't?
13:35:28  <Akoz> right
13:35:36  <Akoz> well *s==NULL is checked, and doesnt crash
13:35:38  <yorick> then s->xy must be nonexistant
13:35:44  <Akoz> right
13:35:59  <yorick> have you tried compiling without optimalizations?
13:36:08  <Akoz> so how can I check if its existant before checking its value? I tried if(s->xy!=NULL) but that crashes too
13:36:38  <Akoz> no.. I dont even know what that means :P Im running in debug mode though
13:36:45  <yorick> try higher debug levels
13:36:46  <Ammler> damnit, forgot to change Type of FS#3043 to FR
13:37:45  <Eddi|zuHause> Belugas: a quick check says 13,90EUR
13:37:56  <Akoz> I found a workaround
13:38:05  <Alberth> Ammler: that can be arranged :)
13:38:07  <yorick> Akoz: how does it go?
13:38:23  <Ammler> Alberth: many thanks :-)
13:38:26  <Akoz> oh I've got plenty more for u to look at if you want yorick
13:38:27  <Eddi|zuHause> but i don't know what the difference between "standard" and "premium" (x2 price) is
13:38:58  <Akoz> how about this one: "NOT_REACHED triggered at line 91 of ..\vehicle_gui.h"
13:39:02  <Ammler> and the other properities maybe too
13:39:06  <yorick> it shouldn't do that
13:39:22  <Eddi|zuHause> probably means "sea" and "air" transport
13:39:23  <Alberth> Ammler: sorry, RB was first
13:39:48  <Ammler> hmm
13:39:48  <glx> Akoz: NOT_REACHED means invalid value checked in a switch
13:39:54  <Ammler> I searched for
13:40:01  <yorick> Akoz: that one is trying to open a window for a special vehicle
13:40:10  <yorick> disaster/effect/invalid
13:40:20  <Alberth> Ammler: also in the closed tickets?
13:40:28  <yorick> Akoz: what are you doing exactly?
13:40:39  <Akoz> Im making the ultimate openttd hack patch
13:40:44  <yorick> ooh
13:40:53  <Akoz> its gonna pwn so bad its gonna be banned
13:41:10  <yorick> so why are you trying to open vehicle windows on things that shouldn't be clickable?
13:41:13  <Ammler> Alberth: no, but that is the reason to change it to FR
13:41:16  <Akoz> Im not
13:41:19  <Akoz> Im not opening any windows
13:41:20  <yorick> yes you are
13:41:23  <Akoz> Im just creating a vehicle very fast
13:41:25  *** Tekky [] has joined #openttd
13:41:32  <Akoz> Im thinking that its too fast or smth
13:41:42  <Akoz> Im not tuching anything related to windows
13:41:43  <yorick> that NOT_REACHED is about trying to create a window for a vehicle that does not have a correct type
13:41:53  <Akoz> hmm
13:41:54  <Ammler> Rubi was too fast ;-)
13:42:14  <yorick> Akoz: diff |
13:42:15  <Alberth> Ammler: huh? it is a FR because you didn't look in the closed tickets?
13:42:23  <Akoz> sure yorick
13:42:25  <Alberth> Ammler: yes, RB is that :)
13:42:37  <Akoz> I applied copypaste before I started. maybe the bug is in that gui :p
13:42:53  <Ammler> Alberth: no, it isn't a bug like the dublicate one
13:43:06  <Ammler> at least not the last point.
13:43:53  *** keoz [] has quit [Quit: Leaving]
13:44:11  <yorick> Akoz: what copypaste
13:44:21  <yorick> my copypaste?
13:44:29  <Akoz> dno. the 0.7.1 version
13:44:56  <yorick> yes, that's based on that thing :-)
13:44:57  <Akoz> generating patch
13:45:08  <Belugas> Eddi|zuHause, that seems reasonnable
13:45:10  <Ammler> oh well, nvm, that is just a windows issue, I just realized ;-)
13:45:12  <Alberth> Ammler: just the last point imho
13:45:18  <Belugas> i'll check the availability on my machine
13:45:43  <Eddi|zuHause> like i said... it's probably cheaper on ebay...
13:45:53  <Ammler> that is why I was so suprised as I installed the game on my brothers pc.
13:46:09  <Akoz>
13:46:25  <Eddi|zuHause> i checked, and here they sold one for 7EUR and free shipping
13:46:41  <Eddi|zuHause> i don't know for ebay canada...
13:46:52  <yorick> ooh, I wrote that documentation :-)
13:47:22  <Akoz> nice :)
13:47:32  <Akoz> I use it every day.. )
13:47:33  <Akoz> ;)
13:47:44  <Belugas> none available in ebay canada nor us
13:47:49  <Akoz> but my intellidepot patch will trumf it easily
13:47:51  <yorick> Akoz: as far as I can see it's only copy-paste patch, try senduit :-)
13:48:18  <Akoz> no no its there, hit download
13:48:22  <Akoz> it only shows the first 2k lines
13:48:29  <Akoz> if you download u get all
13:48:51  <Akoz> oh. or not
13:48:54  <Akoz> I'll send it ^^
13:48:59  *** orudge` [~orudge@] has quit [Ping timeout: 480 seconds]
13:49:12  <Akoz> irc transfer.. good old days
13:49:16  <yorick> no
13:49:19  <yorick> doesn't work
13:49:20  <Akoz> :o
13:49:37  <yorick> I think
13:49:48  *** orudge` [~orudge@] has joined #openttd
13:49:51  *** mode/#openttd [+o orudge`] by ChanServ
13:50:40  <Akoz> + intellidep.patch
13:51:42  <yorick> I'll check when my firefox is responsive again :-)
13:51:47  <Akoz> lol
13:51:54  *** keoz [] has joined #openttd
13:52:17  <yorick> it's currently allocating memory for a huge webpage
13:53:37  <Akoz> O_o
13:53:43  <Akoz> old computer?
13:53:44  <yorick> at 333.440 k
13:53:45  <yorick> no
13:53:57  <yorick> but it needs 200MB for something
13:53:57  <Akoz> lol. what webpage?
13:54:21  <yorick> eh, file directories
13:54:27  <Belugas> :(  new firefox seems to have wiped out my saved passwords
13:54:46  <yorick> ooh, it freed 100.000 K there
13:55:25  * yorick ponders killing it
13:55:51  <yorick> oh
13:55:54  <yorick> it workd
13:58:14  <yorick> Akoz: what is your intellidepot struct doing with stations
13:58:23  <Ammler> anway, you should keep it open, if the next one will search for, he won't find a ticket, either. Or change searching in closed tickets too.
13:58:40  <Akoz> yorick: nothing so far
13:58:44  <yorick> and also, why can't you put the constructor at IntelliDepot(TileIndex t, Station *s) : xy(t), station(s) {}
13:59:04  <yorick> :-)
13:59:07  <Akoz> O_o
13:59:17  * Eddi|zuHause imagines Belugas sitting in front of his computer thinking "wtf was my ebay password now..."
13:59:22  <Akoz> cause.. cause... no reason ;o didnt know u could do it like that
13:59:55  <yorick> haha, you're using the command queue
14:00:18  <Belugas> a cookie for Eddi|zuHause
14:00:28  <yorick> Akoz: IntD_GetVehicleCount counts special vehicles
14:00:32  <yorick> and wagons
14:00:55  <Akoz> thats why I used copypaste.. the command queue :p
14:01:07  <Ammler> oh, Rubi again out of that channel?
14:01:32  <Alberth> too much noise here ;)
14:02:24  <Akoz> yorick: I know. but I need it to guess the right ID for the soon created train
14:02:33  <Akoz> that part I havent quite figured out yet
14:02:39  <yorick> the vehicle id?
14:02:42  <Akoz> right
14:02:59  <Akoz> it works now as long as the vehicles are added at the end of the list
14:03:00  <yorick> yes, that was the limiation on the command queue
14:03:06  <Akoz> if you delete vehicles in the middle then it doesnt
14:03:19  <Akoz> try it out
14:03:22  <Akoz> make a new game
14:03:28  <Akoz> make a station near some kinda resource
14:03:31  <yorick> that was the main reason we couldn't get the stations in
14:03:42  <Akoz> then click "buy land" and ctrl+place it next to the station
14:04:37  *** HerzogDeXtEr [~Flex@] has joined #openttd
14:04:49  <Akoz> but since the make new vehicle command can calculate the ID of the new train, so can we .. as long as nobody else builds a train while it's in the queue :p
14:05:22  <Akoz> worst case scenario it just doesnt start the train properly
14:05:46  <yorick> Akoz: you'll have to look at the pool thing
14:05:55  <Akoz> yeah
14:05:58  <Akoz> but thats not the issue atm
14:06:04  <Akoz> it crashes with that gui bug
14:06:20  <yorick> no, the worst case is that it tries to start/stop a train that's not yours
14:06:33  <Akoz> which will just fail because Im not allowed
14:06:35  <Akoz> so it wont really matter
14:06:43  <yorick> it crashes with that gui bug
14:06:49  <yorick> you're creating a vehicle somewhere?
14:06:53  <Akoz> yes
14:06:58  <Akoz> hey fire it up already :p
14:07:14  <yorick> no :-)
14:08:48  * yorick clones openttd trunk
14:09:01  <Akoz> the patch is for 0.7.1
14:09:27  <yorick> -- src/gui.h(revision 16877)
14:09:29  <yorick> <-- not trunk
14:09:37  <yorick> not 0.7.1*
14:10:47  * yorick arghs at the svn-based nature of openttd
14:11:18  <yorick> lets now get 0.7.1
14:11:34  * Belugas barks at the careless nature of openttd
14:11:41  * Belugas barks at the careless nature of yorick
14:11:43  <Belugas> mmh
14:11:47  *** HerzogDeXtEr1 [~Flex@] has quit [Ping timeout: 480 seconds]
14:11:52  * yorick pets Belugas
14:14:44  <Akoz> hrmft. I can go slowly through the loops in debug mode and never get the error.. when I remove all breakpoints and run it in "freefall" the error comes right back :p
14:14:59  <yorick> Akoz: it does not patch against 0.7.1
14:15:06  <Akoz> lies
14:15:31  <Akoz> make a mass-replace with path
14:15:50  <yorick> truths
14:16:02  <yorick> but it errors on the vcproj, so I couldn't care less :-)
14:16:08  <Akoz> lol
14:16:11  <Akoz> good
14:16:33  <Akoz> thats your copypaste btw
14:16:48  <yorick> and all kinds of STR_CANT_ADD_ORDER_SHARED warnings
14:16:50  <Akoz> it always gave me errors on the vcproj 90
14:16:57  <yorick> and it's not mine anymore
14:17:01  <yorick> not that one atleast
14:17:03  <Akoz> ooh. I havent seen any of those warnings
14:17:05  <yorick> 20 people updated it
14:17:38  <Akoz> 0 errors, 0 warnings
14:18:58  <yorick> you might want to patch against trunk if you want to get it into trunk(hehe)
14:19:34  <Akoz> lol. I doubt anyone would be crazy enough to let my code into trunk :p
14:20:17  <Belugas> you can never know...
14:20:29  <yorick> as long a we have belugas
14:21:48  <Akoz> well this is not a trunk kind of patch
14:21:49  <Akoz> :p
14:21:53  <Akoz> have you tested i yet?
14:22:44  <yorick> compiling
14:22:48  <yorick> ...failed
14:22:55  <yorick> k/network_client.cpp:27:28: fout: ../autostation.h: No such file or directory
14:23:03  <Belugas> don't even know (and don't want to right now) what it's all about
14:23:14  <yorick> canadians!
14:23:46  <Akoz> ehrm. delete that line
14:24:14  <Akoz> and try again
14:24:40  * yorick deletes that line and tries again
14:25:31  <Akoz> its somehow related to the station thingy I think
14:25:38  <Akoz> with no stations I cant reproduce it
14:25:46  <yorick> ieuw
14:25:54  <yorick> when does it happen
14:26:37  <Akoz> are you ingame?
14:26:47  <yorick> no
14:26:51  <yorick> still compiling stuff
14:27:04  <Akoz> build a station, then select "purchase land" and ctrl+click next to it
14:27:08  <Akoz> happens now and then..
14:27:48  <Akoz> I think I might just know why
14:27:50  <yorick> so what does your patch do and how does it work
14:27:54  <Akoz> *compiles new version*
14:27:54  <yorick> and how do I use it
14:27:58  <Akoz> I just told you
14:28:01  <Akoz> :p
14:28:06  <yorick> it allows to build trains
14:28:06  <Akoz> build a station near a resource
14:28:10  <Akoz> and do what I told u
14:28:22  <yorick> terraform_gui.o:terraform_gui.cpp:(.text+0x574): undefined reference to `IntD_CreateDepot(unsigned int)'
14:28:25  <yorick> error
14:28:41  <Akoz> O_o
14:28:49  <Akoz> how come it compiles for me with all these errors?
14:28:53  <Akoz> visual studio ftw
14:29:15  <yorick> because my compiler is better
14:29:15  <Akoz> do you have #include "intellidepot.h" at the top of that file?
14:29:18  <yorick> yes
14:29:21  <yorick> it's a linking error
14:29:25  *** maristo [] has joined #openttd
14:30:11  <Akoz> uhm. I cant see the error
14:30:19  <Akoz> the function is present in both header and cpp file
14:30:35  <yorick> you forgot to add it in source.list!
14:31:10  <yorick> now I have to recompile
14:31:15  <yorick> good job
14:31:27  <Akoz> lol
14:31:34  <Akoz> I dont use source.list
14:31:36  <Akoz> -.-
14:32:01  <glx> your error
14:32:18  <glx> you must use source.list and run project\generate.vbs
14:32:24  <yorick> src/intellidepot.cpp:253: let op: suggest
14:32:26  <yorick> parentheses around arithmetic in operand of â?~|â?T'
14:32:35  <yorick> intellidepot.cpp:113: let op: unused variable â?~eidâ?T
14:32:56  <glx> never modify project files yourself
14:33:18  <Akoz> I use vs studio
14:33:26  <Akoz> right-click -> add item
14:33:28  *** Belugas [~belugas@] has quit [Quit: On snow, everyone can follow your traces]
14:33:42  <glx> as I said don't do that
14:33:52  <Akoz> mmk
14:34:26  <Akoz> do you know where in the vs solution browser the source.list is located
14:34:30  <glx> because you also need to update the other vs project file and source.list for other compilers
14:35:08  *** KenjiE20 [~KenjiE20@] has quit [Remote host closed the connection]
14:35:22  <glx> it's not in the solution
14:35:41  <Akoz> ic
14:35:52  *** KenjiE20 [~KenjiE20@] has joined #openttd
14:36:21  <Akoz> what do I need to run vbs files?
14:36:41  <glx> windows :)
14:36:51  <glx> just double clic on it
14:37:25  <Akoz> .....I know !
14:37:28  <Akoz> xD
14:39:27  <Akoz> ok. next time someone asks for a patch they'll get the right source.list version too
14:41:55  *** Belugas [~belugas@] has joined #openttd
14:41:58  *** mode/#openttd [+o Belugas] by ChanServ
14:44:18  *** octernion [] has joined #openttd
14:46:19  <yorick> Akoz: what does it need time.h for?
14:46:23  <yorick> or stdio
14:46:27  <Akoz> it doesnt.
14:46:37  <yorick> then why include
14:46:40  <Akoz> I just copy+pasted a big include list from another project of mine
14:46:46  <Akoz> i'll filter it out later
14:46:46  <yorick> bad you
14:47:02  <Akoz> this patch isnt a release version:p
14:47:03  <Belugas> at least twice
14:47:09  <Akoz> in fact I've hardly began
14:47:20  <Akoz> but that error cant seem to find its way back into the closet :<
14:47:53  <yorick> also, why does it need to keep a list of intellidedepots
14:48:22  <Akoz> I'm getting to that later
14:48:26  <Akoz> no current reason
14:48:52  <yorick> you might be able to make it a subclass of Depot
14:49:04  <yorick> you'll get a polymorphic pool
14:49:35  <Akoz> english plz :<
14:49:44  <yorick> nah
14:49:47  <yorick> who needs english
14:50:13  <Akoz> polymorphic?
14:50:20  * yorick will keep quiet
14:50:22  * Akoz fires up wikipedia
14:50:36  <yorick> might not be useful this way
14:50:47  *** Pygma [~quassel@] has joined #openttd
14:51:14  <Akoz> what it does now is basically just to make a depot facing towards an adjacent station tile or connected tiles, then if theres an industry  nearby it makes a train with enough wagons to fill the platform, sets it to full load and sends it off.
14:51:34  <yorick> aha
14:51:51  <Akoz> although great in itself the plan is also to modify it so it keeps track of the nearby station adding more trains when needed, and deleting trains if the depot fills up
14:52:16  <yorick> TileXY(TileX(t)-1, TileY(t)-1) -> t + TileDiffXY(-1, -1)
14:52:38  *** Xyzzy [] has quit [Quit: ajax IRC Client]
14:53:39  *** Lakie [~Lakie@] has joined #openttd
14:54:15  <Akoz> nice
15:05:50  *** fonsinchen [] has joined #openttd
15:09:05  *** OwenS [] has quit [Remote host closed the connection]
15:09:49  *** OwenS [] has joined #openttd
15:17:46  *** Fuco [] has joined #openttd
15:17:54  *** [com]buster [] has joined #openttd
15:18:11  *** [other]buster [] has quit [Ping timeout: 480 seconds]
15:18:11  *** [com]buster is now known as [other]buster
15:23:17  *** octernion [] has quit [Quit: woop woop]
15:27:36  *** paul_ [~paul@] has joined #openttd
15:34:17  *** DephNet[Paul] [~paul@] has quit [Ping timeout: 480 seconds]
15:35:11  *** paul_ [~paul@] has quit [Quit: Leaving]
15:40:32  *** frosch123 [] has joined #openttd
15:43:21  *** fonsinchen [] has quit [Remote host closed the connection]
15:44:06  <yorick> meh, my taskbar is not autohiding again
15:44:21  * yorick kills explorer.exe
15:44:44  <yorick> ah, it's gone, now to get it back
15:46:28  *** DephNet[Paul] [~paul@] has joined #openttd
15:49:11  <glx> ctrl-alt-del
15:51:19  <yorick> yes :)
15:54:12  *** Ammler [] has quit [Quit: gone...]
15:54:23  *** Ammler [] has joined #openttd
15:54:53  *** Ammler is now known as Guest1674
15:55:13  <Guest1674> hmm
15:56:55  *** Guest1674 [] has quit []
16:08:43  *** Hirundo [] has quit [Quit: Bye - http.//]
16:09:39  *** Hirundo [] has joined #openttd
16:10:26  *** Ammller [] has joined #openttd
16:10:45  *** Ammller is now known as Guest1678
16:14:15  *** Guest1678 is now known as Ammler
16:18:57  *** Bjarni [] has joined #openttd
16:19:00  *** mode/#openttd [+o Bjarni] by ChanServ
16:19:23  *** maristo [] has quit [Remote host closed the connection]
16:31:01  <CIA-2> OpenTTD: rubidium * r16888 /trunk/src/newgrf_station.cpp: -Fix (r16864): crash when trying to build (some?) NewGRF waypoints
16:31:48  *** Lakie [~Lakie@] has quit [Remote host closed the connection]
16:32:10  *** Lakie [~Lakie@] has joined #openttd
16:32:58  *** Lakie` [~Lakie@] has joined #openttd
16:34:49  *** ProfFrink [~proffrink@] has joined #openttd
16:38:56  *** ecke [~ecke@] has quit [Ping timeout: 480 seconds]
16:40:17  *** Prof_Frink [] has quit [Ping timeout: 480 seconds]
16:40:17  *** ProfFrink is now known as Prof_Frink
16:40:34  *** Lakie [~Lakie@] has quit [Ping timeout: 480 seconds]
16:42:21  *** Lakie` is now known as Lakie
16:42:34  *** Mucht [] has quit [Remote host closed the connection]
16:51:32  <_ln> good evening
16:52:20  *** |Jeroen| [] has joined #openttd
17:02:24  <Akoz> evening
17:16:31  *** oskari89 [oskari89@] has joined #openttd
17:19:26  *** orudge` [~orudge@] has quit [Ping timeout: 480 seconds]
17:19:39  *** orudge` [~orudge@] has joined #openttd
17:19:42  *** mode/#openttd [+o orudge`] by ChanServ
17:20:16  *** Progman [] has quit [Remote host closed the connection]
17:37:03  *** fonsinchen [] has joined #openttd
17:38:57  *** [other]buster [] has quit [Ping timeout: 480 seconds]
17:40:09  *** TheMask96 [] has quit [Ping timeout: 480 seconds]
17:45:24  *** TheMask96 [] has joined #openttd
17:46:16  <CIA-2> OpenTTD: translators * r16889 /trunk/src/lang/ (6 files): (log message trimmed)
17:46:16  <CIA-2> OpenTTD: -Update from WebTranslator v3.0:
17:46:16  <CIA-2> OpenTTD: danish - 40 changes by silentStatic
17:46:16  <CIA-2> OpenTTD: french - 1 changes by glx
17:46:16  <CIA-2> OpenTTD: galician - 37 changes by Condex
17:46:18  <CIA-2> OpenTTD: german - 1 changes by planetmaker
17:46:18  <CIA-2> OpenTTD: russian - 17 changes by Lone_Wolf
17:46:54  <_ln> Bjarni: where was that museum line of yours?
17:47:17  <Bjarni> here
17:47:23  <Bjarni> all around ;)
17:47:37  <Bjarni>
17:47:48  <Bjarni> go see the schedule yourself if you like
17:49:00  <Bjarni> are you planning a visit or something?
17:49:05  <Sacro> OH YAY IT'S HIM :D
17:49:39  <Belugas> yup, the museum himself!
17:50:15  <_ln> well, i was in Denmark twice during the past two weeks.
17:50:30  <Bjarni> and you didn't tell me?
17:51:20  <_ln> you haven't been very online lately
17:51:28  <Bjarni> I have been busy
17:51:36  <Bjarni> but I have an email for important stuff
17:53:56  <_ln> besides .dk i've also been to .se .de .nl .be .fr .lu lately. a road trip with some friends
17:55:47  <_ln> we visited the Knuthenborg safari park in .dk, which had some museum railway line nearby.
17:55:59  <Bjarni> I know that one
17:56:14  <Bjarni> it's known as "the museum railroad"
17:56:21  <Bjarni> because it's the first one
17:56:41  <Bjarni> it's fairly short
17:56:56  <Bjarni> and the speed is quite low (25 km/h or something)
17:57:09  <Bjarni> but it's the place to go if you want to see something really old
17:57:25  <Bjarni> since they have a special permission to use outdated brakes and stuff
17:59:25  <_ln> is it a normal practice that the level crossing signals do not indicate in any way that they are operational?
17:59:54  <Bjarni> you mean no white light when no trains are around?
18:00:02  <_ln> exactly
18:00:16  <Bjarni> yes... I have only seen that in Sweden and Finland
18:00:32  <Bjarni> it's actually fairly unusual
18:00:40  <Bjarni> I think Norway has it too
18:00:55  <Bjarni> bbl dinner
18:06:16  *** KUDr [] has quit []
18:16:17  *** George3 [~George@] has quit [Read error: Connection reset by peer]
18:20:01  *** fonsinchen [] has quit [Remote host closed the connection]
18:24:18  <_ln>
18:29:24  <OwenS> I somehow doubt it's real :p
18:30:00  <_ln> it's on the internet
18:30:43  <OwenS> ...And?
18:35:07  <Bjarni> back
18:36:25  <Bjarni> _ln: should we trust that one?
18:36:29  <Bjarni> hmm
18:36:37  <Bjarni> technically it's terrorism
18:36:58  <Bjarni> terrorism: by force make a whole group of people scared
18:37:19  *** George [~George@] has joined #openttd
18:37:43  *** KritiK [] has joined #openttd
18:39:54  <CIA-2> OpenTTD: alberth * r16890 /trunk/src/ (window.cpp window_gui.h): -Codechange: Allow raising and enabling/disabling of widgets even if they are not used.
18:42:35  *** Zahl [~Zahl@] has joined #openttd
18:43:15  <CIA-2> OpenTTD: alberth * r16891 /trunk/src/dock_gui.cpp: -Codechange: Docks toolbar uses nested widget tree.
18:49:04  *** George [~George@] has quit [Read error: Connection reset by peer]
18:53:07  *** George [~George@] has joined #openttd
19:09:30  *** fonsinchen [] has joined #openttd
19:12:04  *** edeca [] has quit [Ping timeout: 480 seconds]
19:14:58  *** NightKhaos [] has joined #openttd
19:16:52  *** orudge` [~orudge@] has quit [Read error: Connection reset by peer]
19:17:19  *** orudge` [~orudge@] has joined #openttd
19:17:22  *** mode/#openttd [+o orudge`] by ChanServ
19:38:29  *** George [~George@] has quit [Read error: Connection reset by peer]
19:44:41  <CIA-2> OpenTTD: alberth * r16892 /trunk/src/window_gui.h: -Codechange: Add support for nested widget tree windows to PickerWindowBase.
19:45:24  <CIA-2> OpenTTD: alberth * r16893 /trunk/src/dock_gui.cpp: -Codechange: Ship depot build window uses nested widget tree.
19:48:55  *** George [~George@] has joined #openttd
19:49:56  *** Zahl [~Zahl@] has quit [Ping timeout: 480 seconds]
19:54:22  *** |Jeroen| [] has quit [Quit: oO]
19:55:07  *** nfc [] has quit [Ping timeout: 480 seconds]
19:58:46  <CIA-2> OpenTTD: frosch * r16894 /trunk/src/ (7 files in 2 dirs): -Codechange: Add [Specialised]Vehicle::Last().
19:59:41  *** Mucht [] has joined #openttd
20:01:22  *** George [~George@] has quit [Read error: Connection reset by peer]
20:01:36  *** Alberth [] has left #openttd []
20:07:36  *** George [~George@] has joined #openttd
20:08:46  *** PeterT [] has joined #openttd
20:09:29  <PeterT> ive been looking on the wiki, and i cant find what "Min Profit" means
20:09:45  <PeterT> in the detailed performance rating window
20:10:21  <PeterT> so what does it mean?
20:11:09  <glx> right click may help
20:11:21  <PeterT> i see
20:12:03  <yorick> PeterT: it's result 12 at the wiki
20:12:09  <yorick> when searching for "min profit"
20:12:25  <PeterT> i see
20:12:39  *** NightKhaos [] has quit [Quit: Leaving...]
20:12:54  <PeterT> i have 100% in everything except min profit
20:13:34  <PeterT> ok, well thanks all
20:15:00  *** PeterT [] has quit [Quit: Leaving]
20:24:14  *** PeteT [] has joined #openttd
20:24:23  *** PeteT is now known as PeterT
20:24:31  *** PeterT [] has quit []
20:24:37  *** PeterT [] has joined #openttd
20:28:12  *** PeterT [] has quit []
20:29:20  *** Nite_Owl [] has joined #openttd
20:29:44  <Nite_Owl> Hello all
20:31:29  <yorick> hello
20:32:17  *** nicfer [~Administr@] has joined #openttd
20:32:22  <nicfer> hi
20:32:41  <nicfer> one question, is there an AI that only builds roads between towns?
20:33:44  <Nite_Owl> Hello yorick & nicfer
20:33:51  <Akoz> hello nite_owl :o>
20:34:06  <Nite_Owl> Hello Akoz
20:34:52  <welshdragon> hmm
20:35:11  <welshdragon> i still cannot reset my Translator password
20:35:17  *** Progman [] has joined #openttd
20:38:16  <Akoz> could anyone tell me how to fetch and iterate over each tile in a station?
20:38:51  <yorick> Akoz: try looking at station acceptance calculations
20:43:28  *** roboboy [] has quit [Quit: ajax IRC Client]
20:43:47  *** roboboy [] has joined #openttd
20:45:21  *** Jolteon [~Jolteon@] has joined #openttd
20:45:23  <Jolteon> Hai
20:45:27  <Jolteon> How do I allow more airports per town? :)
20:45:39  <Jolteon> and is it possible to change real time, in the server, or must it be a server.cfg, server reload?
20:45:47  <Jolteon> (or can I edit server.cfg, and load it whilst server is running?)
20:47:17  <Ammler> Wo? - Adv. Settings - you can't change time on a MP game, do it local and reload that save on the server
20:47:49  <Jolteon> can't change time?
20:47:53  <Jolteon> eh?
20:48:18  <Jolteon> I meant change real time, as in change it dynamically.
20:48:23  <Jolteon> not change the servers date..
20:49:32  <Ammler> real timre of?
20:49:38  <Ammler> -r
20:50:25  *** nicfer [~Administr@] has left #openttd []
20:50:51  <Ammler> Jolteon: anyway, you can't change the game time on the server.
20:51:13  <Jolteon> ...
20:51:17  <Jolteon> I don't WANT to change the damned time.
20:51:55  <Jolteon> real time = REAL TIME. As in changing things dynamically, without the need to restart things
20:51:57  <Jolteon> I.E from console.
20:52:54  <Bjarni> why do I see a mental image of you two being two old guys sitting and arguing about what was said and how it should be understood....
20:53:08  <Bjarni> somehow your conversation fits a stereotype like that :)
20:53:37  * Sacro prods Bjarni with a pointed stick
20:53:56  <Bjarni> and the question isn't about time, it's "can I change max airports in a town setting without restarting the server?"
20:53:56  <Jolteon> Bjarni: do you know the answer? :<
20:54:02  <Bjarni> it's as simple as that ;)
20:54:33  *** TheMask96 [] has quit [Ping timeout: 480 seconds]
20:54:34  <Bjarni> knowing the question is first step in order to finding the answer
20:54:54  <Bjarni> I don't actually know this, but there is always the option of doing research
20:54:56  *** frosch123 [] has quit [Remote host closed the connection]
20:57:28  <Jolteon> i'm confused.
20:57:37  <Jolteon> All I want to do, is make towns stfu about omfg no moar airports pls.
20:57:39  *** ecke [~ecke@] has joined #openttd
20:59:40  <Nite_Owl> is there not a way to turn off the noise pollution option
21:00:11  <Ammler> yes, there is
21:00:23  <Nite_Owl> I thought it was under advanced settings but I cannot find it for some reason
21:00:56  *** TheMask96 [] has joined #openttd
21:01:05  <Jolteon> I can't find it either
21:01:11  <Ammler> station_noise_level = true
21:01:13  <Ammler> town_noise_population = 800,2000,4000
21:01:25  <Jolteon> Is that not in default config?
21:01:28  <Jolteon> cause it's not in my thing :s
21:01:54  <Nite_Owl> so it is in the config only
21:01:57  <Ammler> in the console: set station_noise 0
21:02:13  <Jolteon> station_noise is an unknown setting.
21:02:20  <Ammler> _leve :-)
21:02:22  <Ammler> l
21:02:40  <Nite_Owl> thank you Ammler
21:02:45  <Jolteon> Command only available to a network server.
21:03:00  <KenjiE20> I'm 99% certain that's in adv. settings
21:03:33  <Jolteon> Not in this config
21:03:35  <Jolteon> I've added it.
21:03:43  <Jolteon> Any way to reload the .cfg during a server?
21:03:46  <Jolteon> I.E without reloading it
21:04:02  <KenjiE20> O.o
21:04:26  <Ammler> Jolteon: you can't
21:04:28  <Jolteon> offs
21:04:29  <Nite_Owl> Kenji has lost it
21:04:34  <Ammler> you need to use rcon
21:04:34  <OwenS> You need to change the settings from the console
21:04:40  <Jolteon> Which, as I have pointed out
21:04:41  <Jolteon> I can't.
21:04:45  <Jolteon> I'm apparantly not a network server.
21:04:49  <KenjiE20> Any way to reload the .cfg during a server? I.E without reloading it  <-- reload without reload o.O
21:04:50  <Jolteon> I've tried using "set" and rcon.
21:04:52  <OwenS> rcon PASSWORD "command"
21:04:58  <Jolteon> Says unknown variable.
21:05:11  <OwenS> Note the quotation marks
21:05:20  <Jolteon> tried.
21:05:24  <Jolteon> Stop presuming I'm an idiot kthx.
21:05:25  <Ammler> he, isn't there a gui for it?
21:05:39  <Jolteon> Ammler: I'm connecting to a dedicated server.
21:05:43  <Jolteon> (Which I'm the admin of)
21:05:47  <Ammler> so
21:06:04  <Jolteon> I'm pretty sure nor linux, nor this dedicated server has a GUI.
21:06:04  <Ammler> [23:05] <Jolteon> I'm apparantly not a network server.
21:06:28  <Ammler> that is kinda confusing.
21:07:28  <Ammler> if you run it from your openttd client, you need to use rcon
21:07:43  <Ammler> on the server, you can use the console command without rcon
21:07:54  *** Azrael- [] has quit [Ping timeout: 480 seconds]
21:08:05  <Jolteon> eh.
21:08:11  <Jolteon> Basically, in the most simple language I can do.
21:08:20  <Jolteon> I am connect to my dedicated server, using normal OpenTTD.
21:08:24  <Jolteon> which means I have to use console (or RCON)
21:08:33  <Jolteon> Which is not responding, and says nearly everything is a broken variable.
21:08:34  <Ammler> rcon
21:08:37  <Jolteon> (well, non existant)
21:08:48  <KenjiE20> rcon password "command arguements"
21:08:50  <Ammler> how do you use rcon?
21:10:17  <Jolteon> rcon password "variable 0/1/true/false"
21:12:27  <Ammler> Jolteon: set
21:12:37  <Ammler> set variable value
21:13:36  <Jolteon> rcon password set variable value?
21:13:42  <Ammler> yes, and quoted
21:13:48  <Nite_Owl> Advanced Settings --> Stations --> Allow Town Controlled Noise Level For Airports
21:14:09  <Nite_Owl> I knew it was in there somewhere
21:14:27  <yorick> and I knew it was there :-)
21:14:32  <Jolteon> Ammler: If there is no error message, does that mean success?
21:14:34  <Jolteon> Does it not confirm it?
21:14:38  <Ammler> yes
21:14:41  <Ammler> no
21:14:46  <Jolteon> ....yes/no?
21:15:04  <Ammler> 2 questions, 2 answers :-)
21:15:19  <Ammler> you can run the command without value
21:15:22  <Jolteon> does it not confirm it "no"
21:15:34  <Jolteon> oh right
21:15:35  <Jolteon> I get it now.
21:15:48  <Ammler> well, ask proper :P
21:16:01  <Jolteon> Does "set" change the .cfg file, for next time?
21:16:17  <OwenS> No, just the settings for this game
21:16:18  <Ammler> yes, it should
21:16:25  <Ammler> :-)
21:16:25  <OwenS> Hasn't for me...?
21:16:37  <OwenS> Ammler probably has mor experience :p
21:17:00  <KenjiE20> 'probably'
21:17:00  <Jolteon> lol
21:17:00  <Ammler> you might be right.
21:17:03  <KenjiE20> :P
21:17:40  <Ammler> if you close the server proper, it should save the config to the cfg, afaik.
21:18:06  <Ammler> that is why you could use -x
21:19:05  <Ammler> we didn't use the cfg many times recently, mostly loading scenarios.
21:21:51  <Jolteon> k
21:28:34  <Jolteon> btw, good work on the OpenGFX guys, looks awesome.
21:29:06  *** paul_ [] has joined #openttd
21:30:26  *** paul__ [~paul@] has joined #openttd
21:31:10  *** paul__ [~paul@] has quit []
21:31:36  *** paul__ [~paul@] has joined #openttd
21:33:25  *** paul__ [~paul@] has quit []
21:34:29  *** paul__ [~paul@] has joined #openttd
21:35:27  <Jolteon> hmm
21:35:31  <Jolteon> whats console set command for breakdowns?
21:35:54  *** DephNet[Paul] [~paul@] has quit [Ping timeout: 480 seconds]
21:36:46  <glx> it's a difficulty setting
21:37:01  <planetmaker> Jolteon: open a damn cfg and look for breakdown
21:37:11  <Jolteon> planetmaker: It's part of the normal difficulty.
21:37:13  <Jolteon> I wasn't that dumb.
21:37:27  *** paul_ [] has quit [Ping timeout: 480 seconds]
21:37:33  <Jolteon> I can see why I got told to ask on #tycoon and not #openttd though :|
21:37:43  <planetmaker> please do.
21:38:13  <Jolteon> Why don't you just go away, and let someone who actually wants to be helpful help, hmm?
21:38:27  *** paul__ [~paul@] has quit []
21:38:38  *** DephNet[Paul] [~paul@] has joined #openttd
21:38:52  *** DephNet[Paul] [~paul@] has left #openttd []
21:39:10  *** DephNet[Paul] [~paul@] has joined #openttd
21:39:15  <glx> well openttd.cfg settings and console commands are the same
21:39:16  <planetmaker> spoon-feeding is only in #tycoon. Here you're only helped so you can help yourself
21:39:44  *** ecke [~ecke@] has quit [Ping timeout: 480 seconds]
21:41:24  <Jolteon> planetmaker: So why didn't you just say "same as the cfg setting"
21:41:29  <Jolteon> Hmm, was the really so difficult?
21:41:46  <Jolteon> I had presumed there was an easier way than typing diff_custom = 2,2,2,4,400,2,0,2,0,0,2,0,1,0,0,0,0,0 into console
21:45:21  <planetmaker> Nobody can mind read. But it's easy to abuse people who try to be helpful.
21:45:54  <glx> diff_custom has been removed
21:46:10  <planetmaker> :D
21:46:17  <glx> unless you still use an old version
21:46:27  <Jolteon> glx: 0.7.1
21:46:27  <planetmaker> I would presume to type 80(?) commands in a row is a bit tedious?
21:46:54  <glx> then there's no diff_custom :)
21:47:09  <glx> only the [diff] section in cfg
21:47:17  *** yorick [] has quit [Quit: Poef!]
21:48:42  *** Brianetta [] has joined #openttd
21:50:04  *** ecke [~ecke@] has joined #openttd
21:54:55  *** Pygma [~quassel@] has quit [Remote host closed the connection]
21:55:52  <TrueBrain>  netbeans is really nice; it shows C errors in a very good way
21:55:55  <TrueBrain> even invalid variables and stuff
21:55:58  <TrueBrain> I am impressed ...
21:57:15  <Sacro> yeah, i liked it too
22:04:06  *** welshdragon is now known as welshgirl
22:10:21  <Akoz> anyone up for some random betatesting?
22:10:41  <Bjarni> wow
22:10:48  <Bjarni> there is a girl in the channel
22:10:53  <Sacro> mmm, girl
22:11:08  <TrueBrain> Akoz: depends ;)
22:12:54  <Bjarni> welshgirl: a word of advice: Sacro have a bad record for what happens to women when he is done with them... stay away from him
22:14:40  <TrueBrain> I still love you Sacro
22:14:49  * Akoz goes to make a patch
22:15:27  <Bjarni> that tells a lot about TrueBrain :P
22:16:33  <Xaroth> heh
22:21:51  <Sacro> Bjarni: oi
22:21:56  <Sacro> i know welshgirl quite well thank you
22:22:27  <Bjarni> any plans for sending her to a mental hospital as well?
22:22:40  *** welshgirl is now known as welshdragon
22:22:53  <Xaroth> wait, crossdresser?
22:23:02  <welshdragon> nope
22:23:08  <welshdragon> it was my girlfriend
22:23:13  <welshdragon> i was AFK
22:23:15  <Xaroth> that's what they all say
22:23:26  <Xaroth> you were doing your dress wearing thing again eh?
22:23:31  *** DJ-Burtybob [burtybob@] has joined #openttd
22:23:39  <DJ-Burtybob> hi all
22:23:40  <welshdragon> NO
22:25:44  <Sacro> he is really
22:25:51  <Bjarni> so there is welshdragon and welshgirl
22:25:55  *** OwenS [] has quit [Quit: Konversation terminated!]
22:25:57  <Bjarni> one guy and one girl
22:26:00  <Bjarni> all inside the same head
22:26:01  <Jolteon> Correct.
22:26:03  <Jolteon> Wait
22:26:03  <Jolteon> no.
22:26:04  <welshdragon> no
22:26:05  <Jolteon> no,
22:26:07  <welshdragon> no
22:26:09  <welshdragon> no
22:26:15  *** OwenS [] has joined #openttd
22:26:18  <Akoz> O_o
22:26:23  <Bjarni> lol
22:26:24  <welshdragon> there is a welshdragon, and a welshgirl
22:26:41  <Xaroth> I.. don't even want to know
22:26:52  <TrueBrain> Xaroth: good choice
22:27:17  <Xaroth> ugh this thing is killing me
22:27:17  <Akoz> TrueBrain: Aprox how many lines of code is Openttd on in total?
22:27:23  <Xaroth> building a password database for all our systems
22:27:35  * Bjarni copies Xaroth's strategy
22:27:44  <TrueBrain> Xaroth: nasty things :)
22:27:49  <Xaroth> or, as i want to rephrase it.. how many layers of encryption can you dump on eachother before it breaks
22:27:56  <TrueBrain> I myself am battling MSB (memory management) of MS-Dos ... :(
22:28:02  <Bjarni> Xaroth: you mean a tool so all passwords can be hacked and leaked at the same time?
22:28:03  <Bjarni> clever
22:28:10  <Xaroth> Bjarni: nope
22:28:14  <TrueBrain> Akoz:
22:28:16  <TrueBrain> cpp:         154814 (88.19%)
22:28:17  <TrueBrain> ansic:        19573 (11.15%)
22:28:19  <TrueBrain> sh:             827 (0.47%)
22:28:20  <TrueBrain> awk:            321 (0.18%)
22:28:22  <TrueBrain> asm:              6 (0.00%)
22:28:23  <TrueBrain> (sloccount)
22:28:27  <Akoz> :p
22:28:32  <Akoz> I knew u had the answer..
22:28:36  <TrueBrain> $ 6,141,000 ;)
22:28:44  <Akoz> lol
22:28:44  <SpComb> 6 lines of asm?
22:28:49  <TrueBrain> win64
22:29:19  <Bjarni> MS-DOS memory management for win64?
22:29:47  <TrueBrain> yes, we made a 64bit MS-Dos version
22:30:03  <Bjarni> spooky
22:30:36  <OwenS> Erm... WTF?
22:30:55  <TrueBrain> I always learnt to say yes to idiots and morons, so don't pay any real attention to that answer :p
22:31:20  <Xaroth> Bjarni: think of it as this, passwords can be stored, but not retrieved unless you have a key that will be physically stored in a vault.
22:31:43  <Bjarni> <TrueBrain> I myself am battling MSB (memory management) of MS-Dos ... :( <-- you said that and then you said that you added asm for win64
22:31:43  <TrueBrain> Xaroth: but what if I want to verify if the storing went okay? :p
22:31:49  <Bjarni> which to me sounds really strange
22:31:55  <TrueBrain> creative reading
22:31:57  <TrueBrain> sure, we go with that
22:31:57  <Xaroth> TrueBrain: that's what betatesting is for
22:32:44  <TrueBrain> I also said 827, I think I made 827 versions of MS-Dos
22:33:13  <Xaroth> random name generator, 1 mil names generated, have to be stored properly, individually, and then retrieved, then that same procedure gets repeated with a few keys to see if that works as well.
22:33:34  <Bjarni> oh dear. WT3 is clever and uncovered problems
22:33:57  <Bjarni> the Danish translation uses a least 3 different words for "railroad track" :(
22:34:11  <DJ-Burtybob> Which file would deal with deciding how much loading a vehicle/train does or doesn't do. AKA What file works out whether the train loads full all cargo or full any cargo?
22:34:13  <Bjarni> looks like a bit of cleanup is in order
22:34:15  *** Coco-Banana-Man [] has quit [Quit: Raubgut ist vom Umtausch ausgeschlossen!]
22:35:15  <Jolteon> IS there a command to merge two companies together in multiplayer?
22:36:07  <TrueBrain> DJ-Burtybob: loading .. sounds like something a station does
22:36:12  <TrueBrain> so I guess station_cmd.cpp
22:36:22  <Bjarni> Jolteon: it was disabled/removed years ago because it caused desyncs/crashes
22:36:24  <TrueBrain> but I guess a grep over the code for Unload would give you a nice overview too ;)
22:36:34  <Bjarni> and I don't think anybody ever fixed that issue
22:36:43  <DJ-Burtybob> thanks truebrain, whats is "grep"??
22:36:55  <Jolteon> Bjarni: oh poo.
22:37:03  <TrueBrain> DJ-Burtybob: grep is a linux tool (ported to windows too) to search a set of files for a keyword
22:37:11  <TrueBrain> but in this case I just refer to it as common tool
22:37:15  <TrueBrain> not 'grep' perse
22:37:19  <glx> using regexp :)
22:37:21  <TrueBrain> any sane IDE has a Find In Files
22:37:22  *** Nite_Owl [] has quit [Quit: Read You Soon]
22:37:24  <DJ-Burtybob> oh cool thanks :)
22:40:39  *** TheMask96 [] has quit [Ping timeout: 480 seconds]
22:42:14  <Jolteon> Bjarni: Wouldn't it (theoretically) be similiar to that what happens when you buy out a company in single player? :|
22:42:15  *** Progman [] has quit [Remote host closed the connection]
22:42:22  <Akoz> how can I access "static RailType _cur_railtype;  " from rail_gui.cpp?
22:42:38  <TrueBrain> Akoz: 'static', so you can't (if it isn't there)
22:42:46  <TrueBrain> look for wrapper function to access it indirectly
22:43:46  <TrueBrain> by the looks there are no wrappers; so you either try something that you shouldn't be trying, or you need to export the symbol ;)
22:45:12  <Akoz> hrmpft
22:45:54  *** TheMask96 [] has joined #openttd
22:49:54  <Akoz> TrueBrain:
22:50:35  <TrueBrain> IntelliDepot <- a WHAT?
22:50:45  <Akoz> intelligent depot :p
22:50:51  <TrueBrain> PLEASE read the OpenTTD coding style
22:50:53  <TrueBrain> and use it
22:51:03  <Akoz> lol
22:51:10  <TrueBrain> sorry, I can't read this
22:52:25  *** Exl [] has quit [Quit: Bitches.]
23:01:09  *** DJ-Burtybob [burtybob@] has quit [Ping timeout: 480 seconds]
23:04:47  <Bjarni> <Jolteon> Bjarni: Wouldn't it (theoretically) be similiar to that what happens when you buy out a company in single player? :| <-- it used to use the same code, but it crashed the game for some reason
23:05:08  <Bjarni> if you like to debug it and figure out how to get this working then I will not stop you
23:05:14  <TrueBrain> completely new information every day .. how cool :)
23:05:39  *** KritiK [] has quit [Quit: Leaving]
23:05:57  *** Dred_furst [] has quit [Read error: Connection reset by peer]
23:06:01  <Jolteon> Bjarni: I shall do that!
23:06:06  <Jolteon> soon as I learn the language.
23:06:12  <Jolteon> ..or actually know what langauge OpenTTD is.
23:06:19  <Bjarni> hehe
23:06:42  <Jolteon> My brains tells me it'll probably be a C variant.
23:06:44  * Bjarni marks a time to review Jolteon's diff
23:06:56  <TrueBrain> Jolteon: in reality the problem was never because of desyncs of what ever, it simply is a problem of unfair; you join, and I buy out your company ... not really nice :p
23:07:00  <Bjarni> will 26th of June 2014 be ok?
23:07:12  <Jolteon> TrueBrain: Well, I'm only wanting it as an rcon command.
23:07:20  <Jolteon> (rcon password "merge company1 company2"
23:07:22  <TrueBrain> yeah; but that is the reason the share-buy-out was removed
23:07:25  *** ecke [~ecke@] has quit [Quit: ecke]
23:07:27  <Jolteon> Not for buying out in MP.
23:07:33  <TrueBrain> a merge command should be relative easy: all code is there; it just needs a so called DoCommand
23:07:35  <Jolteon> cause that'd suck uber much.
23:07:54  <Jolteon> Bjarni: I was more thinknig 2015.
23:07:57  <Jolteon> thinking*
23:08:15  <Bjarni> I recall that whenever somebody tried to buy out other companies everybody crashed
23:08:29  <Jolteon>!
23:08:37  <Bjarni> but I guess nobody was really interested in fixing the code to make it possible
23:08:52  <TrueBrain> we always remove code when we can't get it crashfree :s
23:08:57  <TrueBrain> that is why we removed so many features .. :s
23:08:58  <OwenS> That reminded me of DEFCON
23:09:09  <Jolteon> OwenS: That was actually a website for DEFCON.
23:09:15  <Jolteon> or so, my game box claims it was.
23:09:32  <Jolteon> Bjarni: I guess the code for it is long gone, and not just commented out?
23:09:38  <TrueBrain> sorry Bjarni, your memory is wrong here
23:10:04  * Jolteon grabs a copy of the OpenTTD source and shoves it another folder to play with.
23:10:12  <Bjarni> TrueBrain: I clearly recall getting upset at some guy because he crashed the game trying to buy out other players
23:10:14  <TrueBrain> I wouldn't know in the few versions it was possible if the game crashed or not, I do know that it was removed for polical reasons
23:10:43  <TrueBrain> we RARELY remove features because they crash
23:10:53  <Bjarni> it was disabled because it crashed. I'm sure of it
23:10:56  <TrueBrain> (old PBS being one of those rarely cases ;p)
23:11:12  <Bjarni> but it's very likely that everybody agreed not to fix it for "political reasons"
23:12:02  <Bjarni> I recall ludde doing a quick "fix" and disabled it because it shouldn't be possible to crash everybody
23:12:51  <Bjarni> but it doesn't really matter who said what in 2004. The question is what we will do now and we (hopefully) agree that hostile takeovers shouldn't be allowed
23:13:20  <Jolteon> Bjarni: surely it'd be possible so that after 75%, the final 25% can only be done after a message popped up to the owner, and they press "YES I AGREE TO THIS"
23:13:45  <Jolteon> (or, put it server config to not possible, ask first, JUST_DO_IT_FAGGOT)
23:13:55  <glx> well the confirmation is bypassable ;)
23:14:04  <Jolteon> I don't see how.
23:14:08  <Jolteon> No press the yes, no buying it out
23:14:14  <Jolteon> if the player isn't online, then you don't get anywhere.
23:14:21  <Jolteon> no = don't.
23:14:24  <Jolteon> wait no
23:14:27  <Jolteon> press = pressing.
23:14:47  <glx> I mean a modified client could bypass it, or a modified server could skip the check
23:15:09  <Jolteon> ..are people in OpenTTD really that bad, or are you just being theoretical?
23:15:21  <Bjarni> there are people who are that bad out there
23:15:44  <Jolteon> I've never come across anyone that horrible in OpenTTD.
23:15:51  <Bjarni> I don't think they show up in this channel but there are people out there who seem to spent a great deal of time ruining games for other players
23:15:55  <TrueBrain>
23:15:58  <TrueBrain> Bjarni: you are wrong.
23:16:09  <glx> luckily the servers do better checking in every new version
23:16:15  <TrueBrain> nothing to do with ludde
23:16:19  <TrueBrain> I removed the posibility
23:16:35  <Jolteon> oh
23:16:48  <TrueBrain> (nice revision btw :p)
23:16:49  <Jolteon> so anyone wanting to re-add it would get shot in the genitals then.
23:16:59  <glx> TrueBrain: lag between commands looks like desync cause ;)
23:17:01  <Bjarni> TrueBrain: then I wonder what ludde did :/
23:17:09  <TrueBrain> Bjarni: create 0.1
23:17:17  <Bjarni> hehe
23:17:25  <TrueBrain> glx: yeah, it was disabled because of some weird desync, then disabled, then considered stupid in the first place
23:17:27  <TrueBrain> and it never changed since :)
23:17:30  *** DJ-Burtybob [burtybob@] has joined #openttd
23:17:33  <Bjarni> he did a great deal of work with MP
23:17:41  <TrueBrain> Bjarni: that was me, thank you very much
23:17:56  <TrueBrain> around that time I rewrote the whole network
23:18:10  * Jolteon backs away.
23:18:19  <Bjarni> yeah you rewrote quite a lot afterwards
23:19:03  <TrueBrain> Jolteon: any sane non-hackable solution is always welcome ;) Just nobody ever wanted it :p
23:19:07  <Bjarni> I wonder if hostile buyouts ended up being disabled twice
23:19:28  <TrueBrain> hard to admit you are wrong, even with the facts handed out to you
23:19:30  <TrueBrain> oh well
23:19:32  <TrueBrain> good night all :)
23:19:41  <glx> anyway I don't see a need for buyout in MP
23:19:43  <Jolteon> Well, i'll go research things.
23:19:52  <Jolteon> I'm wanting to seriously help out some project anyway.
23:19:57  <Bjarni> I lost the log for the old svn server so I can't state what happened :(
23:20:00  <Jolteon> and I think OpenTTD has more of a future than OpenHospital...
23:20:02  *** paul_ [~paul@] has joined #openttd
23:20:12  <TrueBrain> Jolteon: one suggestion: don't start with this MP buyout, if you want to contribute :)
23:20:14  <Bjarni> what is OpenHospital?
23:20:16  <TrueBrain> do something ... more useful ;)
23:20:21  *** KenjiE20|LT [] has joined #openttd
23:20:24  <Bjarni> is that like open source Theme Hospital?
23:20:29  <Jolteon> Bjarni: Well, it's OpenTH
23:20:29  <DJ-Burtybob> yes bjarni
23:20:37  <Jolteon> But yes, an open source Theme Hospital.
23:20:43  <Jolteon> TrueBrain: as I said.
23:20:47  <Jolteon> I don't wnat to enable buyouts.
23:20:51  <Jolteon> I just want to make a console merge command
23:20:52  <Bjarni> never heard of it
23:20:57  <Bjarni> is it playable?
23:20:57  <TrueBrain> Jolteon: that should be fine :)
23:20:59  <Jolteon> (merge company1 company2)
23:21:07  *** DephNet[Paul] [~paul@] has quit [Ping timeout: 480 seconds]
23:21:10  <Jolteon> the server then merges them into one (where the 1st company becomes the main one)
23:21:35  <Jolteon> Even I think that should be minorly easy.
23:21:51  <Jolteon> Which means it'll be stupidly hard, the people who test it will die from exploding computers, and I'll end up in jail
23:21:55  <TrueBrain> easy is a big word, it needs work
23:21:57  *** paul_ [~paul@] has left #openttd []
23:21:58  <TrueBrain> but doable, sure
23:22:03  <glx> to be safe, the second company should be uncontrolled I think
23:22:09  <Jolteon> glx: yes.
23:22:12  *** DephNet[Paul] [~paul@] has joined #openttd
23:22:19  <Jolteon> I'll make it so it's like delete company.
23:22:20  <DJ-Burtybob> Jolteon: There comes the harder part
23:22:23  <TrueBrain> oh, I was going to bed ... it is late :p
23:22:24  <Jolteon> It'll only work if the target is un-occupied.
23:22:27  <TrueBrain> good luck Jolteon
23:22:35  <Jolteon> I'll need it :p
23:22:41  <OwenS> Hmm... Couldn't you make it switch the controller of the company being taken over to the company taking over?
23:22:55  * Jolteon is still waiting for TortoiseSVN to finish.
23:23:19  <OwenS> Aah, SVN, SVN, how I hate you're slowness and wish I could replace you everywhere with Git
23:23:29  <Jolteon> then I need to find space on this 12GB HDD for a folder to copy it to where I do my special works.
23:23:35  <glx> but there will still be a problem with unprocessed commands
23:23:50  <Jolteon> Problems are merely hurdles waiting to be jumped over.
23:24:19  <DJ-Burtybob> Ummm... Who would I report a rather urgent problem with to?
23:24:26  <DJ-Burtybob> sorry major not urgent
23:24:29  <glx> (the one solved by r1023)
23:24:53  <glx> all bugs go to
23:25:04  <DJ-Burtybob> its a bug with
23:25:08  <Jolteon> How does one do that, when one has a bug to do with it, glx?
23:25:19  <Jolteon> I would imagine "major" means it is unusable, or something.
23:25:29  <DJ-Burtybob>
23:25:38  *** fonsinchen [] has quit [Remote host closed the connection]
23:25:41  <OwenS> Erm... Is it just me... or should a HTTP server not be returning a response immediately after the GET / HTTP/1.1 line, before the end of the headers? ...
23:25:51  <DJ-Burtybob> that is what i get when im trying to search hence major not urgent lol
23:26:13  *** KenjiE20 [~KenjiE20@] has quit [Quit: WeeChat 0.3.0-rc2]
23:26:38  <OwenS> Erm... Why is it throwing out SQL queries when it dies?
23:27:13  <DJ-Burtybob> My question exactly and it is only when the "search in comments" is checked :/
23:28:16  <glx> hmm indeed it's strange
23:28:44  *** HerzogDeXtEr1 [~Flex@] has joined #openttd
23:29:03  *** HerzogDeXtEr [~Flex@] has quit [Read error: Connection reset by peer]
23:31:07  <Jolteon> gah, people in MP on my server keep building airports and trainstations with no regard to town development
23:31:13  <Jolteon> then wonder why the town isn't expanding
23:31:18  <Jolteon> CAUSE YOU BLOCKED IT IDIOT
23:31:21  <Jolteon> /endrage
23:31:52  <OwenS> lol
23:32:42  <OwenS> Towns are quite tollerant.. as long as you're not stupid. The fact that towns can grow on the #openttdcoop servers when half of them is covered in tracks is testament to that
23:33:02  *** Eddi|zuHause [] has quit []
23:33:08  <Jolteon> Well, one one side is of this specific town is a big airport range, and on the otherside, a four track train network..
23:33:12  <Bjarni> I once saw a road tunnel under a station. Surprisingly the town expanded on the other side of the tunnel
23:33:20  *** Eddi|zuHause [] has joined #openttd
23:33:24  <Bjarni> which left a 6 tile gap in the town
23:33:28  <Jolteon> lol
23:33:34  <Bjarni> I have only seen it once though
23:33:44  <glx> but the town won't build the tunnel by itself
23:33:54  <Jolteon> I was about to ask if towns build tunnels themselves :p
23:34:01  <Bjarni> no some player did so in order to get lorries past the station
23:34:09  <OwenS> Towns seem to consider tunnels and bridges as 1 tile roads
23:34:24  <OwenS> You can have some serious fun with their growth with them
23:35:06  <Bjarni> Jolteon: tell people to make their towns tunnel out XD
23:35:13  <Jolteon> lol
23:35:48  <OwenS> We've had some fun with the bridges to convince towns to grow in useful ways
23:37:44  <Bjarni> like on both sides of a station built next to a town
23:37:50  <Bjarni> sounds really useful
23:41:42  <DJ-Burtybob> an if inside an if would be equal to if(cond1 && cond2) { wouldn't it
23:41:45  <DJ-Burtybob> ??*
23:43:01  <Bjarni> if (cond1) { if (cond2) {}} == if (cond1 && cond2) {}
23:43:41  <Bjarni> maybe the compiler will not make the very same code, but the logical result is the same
23:44:19  <DJ-Burtybob> couldn't "if (v->current_order.GetLoadType() & OLFB_FULL_LOAD) {
23:44:19  <DJ-Burtybob> 			if (v->current_order.GetLoadType() == OLF_FULL_LOAD_ANY) {"  be combined into "if (v->current_order.GetLoadType() & OLFB_FULL_LOAD && v->current_order.GetLoadType() == OLF_FULL_LOAD_ANY) { "
23:44:36  <DJ-Burtybob> THat would make more sense wouldn't it?
23:45:01  <glx> file and line ?
23:45:29  <Bjarni> there might be something in else and stuff like that
23:45:40  <DJ-Burtybob> economy.cpp 1465
23:45:43  <Bjarni> meaning we can't give a good answer based on what you just wrote
23:45:51  <DJ-Burtybob> the else is under yet another if under the second if
23:45:58  <DJ-Burtybob> a third if under the second if
23:46:39  <glx> no because the else
23:46:49  <DJ-Burtybob> is under the second if not the third
23:47:25  <Bjarni> I agree with glx
23:47:32  <Bjarni> it will not produce the same result
23:47:48  <Bjarni> if (v->current_order.GetLoadType() == OLF_FULL_LOAD_ANY) {...} else if (cargo_not_full != 0) {
23:48:09  <DJ-Burtybob> ok, i was mis-reading that else in there, sorry
23:48:26  <Bjarni> this is why indenting is important
23:48:32  <Bjarni> both when writing and reading
23:49:02  <Bjarni> but it's always better to say something and then go "oh my bad" rather than just moving on and ruining everything you do
23:49:11  <Bjarni> as long as it doesn't happen every 5th minute
23:55:39  * OwenS wonders if the Grub developers ever check their bugtracker
23:55:54  <OwenS> I submitted a bug and a patch to fix it over a month ago and nobody has looked at it
23:59:20  <Jolteon> Grub is still developed
23:59:21  <Jolteon> ?

Powered by YARRSTE version: svn-trunk