IRC logs for #openttd on OFTC at 2008-01-06
⏴ go to previous day
00:00:29 <Arbitrary> end of my two weeks off work on Monday, so too late to get into anything anway.. back to trying to corral 500 servers, ooh I can't wait
00:00:49 <Gonozal_VIII> you know that trains like it, if both rails are on the same height?
00:01:44 <Eddi|zuHause2> they are always on the same height
00:01:58 <Gonozal_VIII> they go all yay! we don't fall to the side! about that
00:02:59 <Eddi|zuHause2> you don't just stick a rail to the slope, you still need a foundation, but that foundation is 4px lower than now
00:03:34 <Gonozal_VIII> and how do you connect that to a parallel running rail on normal level?
00:04:21 <Eddi|zuHause2> the diagonal rail would be sloped
00:05:08 <Gonozal_VIII> that's where the part about not falling to the side comes in
00:05:27 <Eddi|zuHause2> yeah, the cut between tiles is not orthogonal to the rails
00:06:10 <Eddi|zuHause2> the solution is either to live with that, or to have rails adapt their shape to the adjacent rail tile
00:06:33 <Eddi|zuHause2> which would be cool anyway, for smoother curves and stuff
00:06:35 <Gonozal_VIII> to have rails adapt their shape to the adjacent rail tile <-- exactly that :-)
00:08:08 <Gonozal_VIII> then the diagonal slopes can consist of 3 tiles... flat-sloped transition, slope, sloped-flat transition
00:09:21 <Eddi|zuHause2> hm, no, more like lat-sloped transition, half slope, half slope, sloped-flat transition
00:10:43 <Eddi|zuHause2> but this would be very difficult to implement
00:10:57 <Gonozal_VIII> hmmm no... only one fully sloped
00:11:19 <Arbitrary> two flat/slope transitions and a steep slope
00:12:22 <Eddi|zuHause2> i can't imagine how that is going to work...
00:12:30 <Gonozal_VIII> actually it's less steep than a normal slope
00:13:44 <Eddi|zuHause2> for a normal rail, you have to cross flat - slope - flat, for a diagonal half rail, you have to cross flat, lower half slope, upper half slope, flat
00:13:51 <Gonozal_VIII> the sloped tile has the same direction as the autorail tool draws it in red... but not directly on the terrain but a bit higher
00:14:39 <Gonozal_VIII> the first flat is already half sloped
00:15:06 <Gonozal_VIII> then a full slope and the next half slope is also half flat
00:16:03 <Eddi|zuHause2> hm, that might work... but is not exactly what i had in mind
00:16:35 <Gonozal_VIII> it doesn't need to cut into the terrain or anything, only a foundation
00:16:43 <Eddi|zuHause2> so you want to have like 2px height difference on the lower flat tile, 4px on the lower half slope, and 2px on the upper half slope
00:17:17 <Eddi|zuHause2> this might conflict with other rails on the lower flat tile
00:17:34 <Eddi|zuHause2> or with other rails on the upper half slope
00:18:05 *** adsgdsagsf has joined #openttd
00:18:06 *** Gonozal_VIII is now known as Guest2238
00:18:06 *** Guest2238 is now known as Guest2239
00:18:06 *** adsgdsagsf is now known as Gonozal_VIII
00:18:13 <Gonozal_VIII> stupid disconnect...
00:19:09 <Gonozal_VIII> yes it would conflict with those rails, so you have to disallow them
00:19:20 <Sacro> does wolfc come in here?
00:19:23 <Gonozal_VIII> is that a word?^^
00:19:51 <Gonozal_VIII> that wasn't for you
00:19:54 <Eddi|zuHause2> Gonozal_VIII: disallowing is bad
00:19:56 <Gonozal_VIII> and i can't read spanish
00:20:19 <Gonozal_VIII> it's done on all slopes
00:20:47 <Eddi|zuHause2> Gonozal_VIII: yes, but you disallow rails which were previously allowed
00:21:03 <Gonozal_VIII> only difference is that other slopes consist of one tile and those new slopes of 3 tiles
00:21:32 * Sacro downloads the new PBS patch and decides to hack it to peices
00:21:43 <Gonozal_VIII> if you see the foundation you will know that you can't connect rail there...
00:21:52 <Eddi|zuHause2> yes, and my version would consist of 2 sloped tiles, plus minor cosmetic work to make the edges fit
00:22:19 <Gonozal_VIII> that's not only minor cosmetic work
00:22:54 <Gonozal_VIII> that's making the game an escher drawing
00:23:09 <Eddi|zuHause2> Gonozal_VIII: wrong, if you build the switches at the upper half slope first, and then want to attach the lower half slope, there you would have to modify the slopes
00:23:44 <Gonozal_VIII> that's already forbidden now
00:24:02 <Eddi|zuHause2> yes, the point is to allow them ;)
00:25:23 <Gonozal_VIII> ah modify not connect, yes...
00:25:59 <Gonozal_VIII> it does the modification when you build the slope tile
00:50:30 <Eddi|zuHause2> hm... stations need a "freight station" flag, so passenger trains that do not have a "non stop" order will not stop there if they accidently pass through
00:51:08 <Gonozal_VIII> oooor you need to design your network better :P
00:51:32 <Sacr1> Eddi|zuHause2: ooh, i like that idea
00:51:51 <Sacr1> so that industrial sets all have it set by default
00:52:36 <Gonozal_VIII> other idea: button in the station window to let the station stop recieving a certain cargo
00:52:37 <Eddi|zuHause2> hm... no, i might want mixed stations (but that could influence pathfinder choices)
00:53:11 <Eddi|zuHause2> Gonozal_VIII: that is only marginally related
00:53:36 <Gonozal_VIII> well... passenger train stops at freight station near city... passengers pile up
00:54:18 <Gonozal_VIII> only way to stop that is to blow up the station and rebuild it after the name is gone... and then change all orders
00:55:19 <Eddi|zuHause2> yes, but the passenger trains would still stop there unnecessarily
00:55:48 <Eddi|zuHause2> hm... bad... i can't build BR 85 anymore...
00:55:59 <Eddi|zuHause2> and the BR 45 is so damn big
00:56:13 <Eddi|zuHause2> and there are no suitible diesel engines yet
00:57:37 <Eddi|zuHause2> actually... why did the V140 disappear so fast?
00:58:02 <Eddi|zuHause2> not that it would be suitible
00:59:54 <Gonozal_VIII> but they're here all over the place!
01:00:08 <Sacro> that kinda fucks up on windows D:
01:01:30 <Gonozal_VIII> Hchstgeschwindigkeit: 230 km/h
01:03:13 <Eddi|zuHause2> not in regular use ;)
01:03:24 <Gonozal_VIII> but without any modifications
01:03:36 <Eddi|zuHause2> but not in regular use
01:05:23 <Gonozal_VIII> a ferrari with a max speed of 350 doesn't have that in regular use either :P
01:06:12 <Eddi|zuHause2> but! a ferrari with a written max speed of 350 has usually a max speed >350
01:06:32 <CIA-1> OpenTTD: belugas * r11766 /trunk/src/industry_cmd.cpp: -Codechange: Last fine tunings on smooth economy, by Sirkoz.
01:07:00 <Eddi|zuHause2> also, regular use max speed has not only to do with engine power, but also with security and wear
01:07:17 <Gonozal_VIII> you spoil all the fun
01:10:38 <Gonozal_VIII> the numbers don't add up
01:11:39 <Gonozal_VIII> they don't start numbering at 0^^
01:13:00 <Gonozal_VIII> so we have 332 of them... no wonder i see them at every station
01:14:22 <Eddi|zuHause2> i see mostly 101
01:14:37 <Eddi|zuHause2> on long distance trains
01:14:53 <Gonozal_VIII> hmm i think we skipped those
01:15:00 <Eddi|zuHause2> the local trains have more likely 143 or something
01:16:51 <Gonozal_VIII> but the 143er is uglier
01:17:07 <Eddi|zuHause2> Baureihe: 143 114 112
01:17:08 <Eddi|zuHause2> Gebaut: 647 39 90
01:19:26 <Roujin> ok, my sleep tonight just died
01:19:54 <Roujin> i decided to go on coding... probably until morning again :P
01:20:17 <Gonozal_VIII> looks like they planned it with lego
01:20:22 <Roujin> someone help me out and tell me a patch that uses a patch switch?
01:20:38 <Gonozal_VIII> wtf is a patch switch
01:20:47 <Eddi|zuHause2> Roujin: almost all... e.g. daylength
01:20:55 <Roujin> the stuff you click on in the patch options
01:24:17 <Gonozal_VIII> they put shitloads of money into our rail system :-)
01:26:41 <Gonozal_VIII> i wonder where they get all that money from
01:27:18 <Gonozal_VIII> they raised ticket costs by 4% this year but they didn't rais them for a long time before, that's less than inflation
01:27:40 <Sacro> applying a patch 3 times
01:28:10 <Gonozal_VIII> makes the patch work much betererer!
01:29:01 <Eddi|zuHause2> 4%? our local tram and bus service raises by around 10% each year...
01:29:30 <Eddi|zuHause2> long time tickets a little less
01:29:40 <Gonozal_VIII> everything raised extremely since we have the euro... but the tickets not much
01:30:16 <Gonozal_VIII> no idea how they can afford all that shiny new stuff
01:30:27 <Roujin> looking at the daylength patch helped a lot already but i've got some questions about the savegame version now
01:31:07 <Roujin> if i make an option, i have to bump the savegame version by one, right?
01:31:09 *** Eddi|zuHause3 has joined #openttd
01:31:11 <Gonozal_VIII> bumping savegame version doesn't help with getting it into trunk faster^^
01:31:11 <Eddi|zuHause3> "Wie bei der DR üblich dienen die letzten drei Fahrstufen als Reserve bei niedriger Fahrdrahtspannung - ein Zustand, der im DR-Netz durchaus häufig eintrat." :p
01:31:59 <Roujin> the patch i'm making won't get into trunk anyways i think
01:32:17 <Roujin> the industry station naming patch
01:32:47 <Gonozal_VIII> i don't care much how my stations are named
01:33:20 <Eddi|zuHause3> but i can't find names for my "Station #161" things...
01:33:23 <Gonozal_VIII> does your patch also remove/raise the limit for custom names?
01:33:42 <Sacro> grrr, can't do the PBS patch
01:33:48 <Roujin> well belugas said seeing my patch inspired him on working on the newgrf feature that allows industries to specify a name for nearby stations
01:33:50 <Sacro> can anyone run it and send me the changed files?
01:34:15 <Roujin> so my patch will be obsolete (i think) once he commits that feature to trunk
01:34:49 <Roujin> gonozal: no, but that limit should just be a number somewhere in the code, shouldn't it?
01:35:04 <Roujin> or is there a deeper reason to that limit
01:35:28 <Gonozal_VIII> i don't think it's that easy or it would be long gone
01:36:05 <Eddi|zuHause3> Roujin: i assume nobody made the work to have the custom names use pools
01:36:16 <DaleStan> <Roujin> should be a number somewhere in the code < -- And that's why no one has changed it. Simply making it 5000 instead of 500 is not an approved solution; someone would have to make it runtime-resizable.
01:36:53 <Sacro> actualy, i only need rail_map.h and train_cmd.cpp
01:37:06 <Gonozal_VIII> btw where are the default station names stored? can't the custom ones just override that for the station?
01:37:52 <Roujin> sacro: why doesn't it work? would a svn diff help you?
01:38:20 <Sacro> or just oen that doesn't refer to /dev/null
01:38:30 <Sacro> as that is kinda not there on windows
01:38:50 <DaleStan> The default station names are in the lang files: "{TOWN}", "{TOWN} Central", &c. And those (all names, actually) are stored by StringID, not by pointer, so overriding them requires overriding them for all stations.
01:40:16 <Gonozal_VIII> so there are several string ids stored that combine to the name?
01:40:16 <Eddi|zuHause3> www.informatik.uni-halle.de/~krause/pbs.diff
01:40:25 <Eddi|zuHause3> i hope my local modifications work out for you ;)
01:41:15 <Eddi|zuHause3> it might be missing the new files
01:42:03 <Sacro> its those that are the problem
01:42:09 <Gonozal_VIII> how about adding a bit in front of those ids that says weather the following are string ids or a custom string?
01:42:10 <Sacro> it seems to compare to /dev/null
01:43:10 <Eddi|zuHause3> www.informatik.uni-halle.de/~krause/pbs.zip
01:43:18 <Eddi|zuHause3> files from src/pbs
01:44:34 <Sacr1> but I'm sure more files have changed
01:45:02 <Eddi|zuHause3> they should be affected by pbs.diff
01:45:02 <Sacr1> or do i apply the patch and then unzip the rest?
01:46:59 <Sacr1> Assertation failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
01:48:32 <Sacr1> now i am in my pbs folder
01:48:38 <Sacr1> with various levels of -o
01:48:57 <Eddi|zuHause3> patch -p0 -i pbs.diff
01:49:24 <Gonozal_VIII> yes.... clean your trunk
01:49:46 <Sacr1> according to svn diff, all i changed is openttd.vcproj
01:50:08 <Gonozal_VIII> who are you and what have you done to sacro?^^
01:50:17 *** Sacr1 is now known as Sacro
01:50:47 <Eddi|zuHause3> so, what exactly does not work?!?
01:50:58 <Sacro> patch -p0 -i /patch/to/patch
01:51:44 <Eddi|zuHause3> and what does it say not works?
01:52:02 <Eddi|zuHause3> peter__: i gave him a normal svn diff
01:52:31 <Sacro> i think tortoisesvn patched it fine though
01:53:05 <Sacro> peter__: the original git diff used /dev/null as a blank file, which screws up on window
01:53:18 <Sacro> Eddi|zuHause3: i lost pbs.zip
01:53:30 <Eddi|zuHause3> www.informatik.uni-halle.de/~krause/pbs.zip
01:53:51 <Gonozal_VIII> you "lost" it?^^
01:57:45 <ln-> still waiting for 4th season
01:58:19 <Gonozal_VIII> spoiler: it's winter
02:00:10 <Eddi|zuHause3> how dare you spoil anything?!?
02:00:39 <Gonozal_VIII> you spoiled my fun with the 350km/h loco :P
02:03:36 <Sacr1> can't wait till i move house tommorow
02:03:39 <Sacr1> should have stable internets
02:03:52 <Sacr1> now how did i disable freetype
02:04:29 *** Sacr1 is now known as Sacro
02:06:21 <ln-> if you're going to move the house
02:06:47 <Gonozal_VIII> doesn't have to be strong to move a cardboard box
02:07:02 <ln-> ah, didn't think of that.
02:13:05 *** Sacr1 is now known as Sacro
02:13:37 <Eddi|zuHause3> 's sacro, you never know
02:18:50 <Sacro> Eddi|zuHause3: getting a lot of unresoved externals
02:19:05 <Sacro> __fastcalPBSUpdateSignal
02:21:18 <Eddi|zuHause3> Sacro: i have no idea what that means...
02:21:49 <Eddi|zuHause3> PBSUpdateSignal is defined in src/pbs/pbs.cpp
02:22:08 <Eddi|zuHause3> did you put the pbs files into a pbs subdirectory?
02:22:27 <Sacro> but perhaps VS isn't aware of this
02:22:32 <Eddi|zuHause3> did you add them to the project file?
02:23:55 <Sacro> i was hoping the compiler would follow the #includes
02:24:19 <glx> .cpp are rarely in #include
02:25:03 <Sacro> wow, it actually has compiled
02:25:16 <Sacro> and scarier, it actually ran :\
02:25:49 <glx> if it failed to link then you run an older build
02:28:27 <Eddi|zuHause3> note: from the "official" version i replaced all "fprintf" by "DEBUG" statements
02:29:34 <Sacro> got more stuff to move in the morning
02:36:43 *** Gonozal_VIII has joined #openttd
02:45:51 <peter__> problem with mixing train sets is the difference in quality is really noticeable
02:46:54 <Sacr1> and PBS trains should be able to only go past 1 reversed signal
02:47:04 <Sacr1> peter__: limit of shunt
02:47:19 <peter__> i found that my trains reserved the whole track ahead of them
02:47:43 <peter__> and then other trains had to wait in platforms because a little junction in front of them is blocked
02:47:44 <Roujin> i don't get it ... what the hell is byte skip in the function AllocateName
02:47:45 <Sacr1> peter__: it seems the can go wrong way through sgnals though
02:48:12 <Eddi|zuHause3> Sacr1: yeah, it needs a "don't pass here" signal
02:48:27 <peter__> allocatename() will be removed soon
02:48:32 <Roujin> useless as in "i can give it any value, it doesn't matter?"
02:49:40 <Gonozal_VIII> yay 4 big patches
02:50:02 <Sacr1> Eddi|zuHause3: well i might finally get round to drawing a full set of UK signals
02:50:09 <Sacr1> so a LOS grf would be there
02:50:13 <peter__> this is in the "remove the custom name limit" patch
02:50:15 *** Sacr1 is now known as Sacro
02:50:39 * peter__ hopes this server comes back
02:51:32 <Sacro> and 2/3/4 light signals
02:51:59 <Sacro> i wonder if the new pbs can tell me whether it's signalled a left or right turn
02:52:19 <Eddi|zuHause3> peter__: as in "handle memory management completely different and as a minor sideeffect remove the name limit"?
02:54:41 <Eddi|zuHause3> it'd make for a funny cryptic commit message, like "allow building tunnels under rails that were built on foundations. could be used for other stuff, too" :p
02:54:59 <Eddi|zuHause3> (aka autoslope)
02:55:37 <Roujin> heh that was a nice one ^^
02:56:44 <DorpsGek> glx: Commit by belugas :: r10001 /trunk/src (3 files in 2 dirs) (2007-05-31 15:40:36 UTC)
02:56:45 <DorpsGek> glx: -Codechange: Add support for removing dynamically allocated newgrf data
02:57:01 <glx> Sacro: the right command works better ;)
02:57:03 <DorpsGek> Sacro: Commit by rubidium :: r9999 /trunk (12 files in 5 dirs) (2007-05-31 15:15:00 UTC)
02:57:04 <DorpsGek> Sacro: -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
03:00:23 <Eddi|zuHause3> yeah, but that was easy to figure out ;)
03:00:32 <Eddi|zuHause3> the tram one is much better ;)
03:02:52 <DorpsGek> ln-: Commit by bjarni :: r1000 trunk/Makefile (2004-12-09 23:17:03 UTC)
03:02:53 <DorpsGek> ln-: Makefile: added check for static build releases on mac. Most users can't use a dynamic build
03:02:57 <DorpsGek> ln-: Commit by darkvater :: r1001 /trunk (main_gui.c table/sprites.h) (2004-12-09 23:20:32 UTC)
03:02:58 <DorpsGek> ln-: -Changed the title name to OpenTTD. Don't know how this was missed all this time; but is fixed now.
03:07:41 <DorpsGek> Sacro: Commit by bjarni :: r1010 trunk/Makefile (2004-12-10 18:24:35 UTC)
03:07:42 <DorpsGek> Sacro: Makefile: removed the outdated remove of ttd binary from make clean (should only be a check for openttd binary)
03:07:43 <DorpsGek> Sacro: Tron forgot to credit Celestar for last commit (rev 1009)
03:09:11 *** _Roujin has joined #openttd
03:11:16 <Gonozal_VIII> forrest gump invented that
03:12:08 *** _Roujin is now known as Roujin
03:13:41 <ln-> when do you think North Korea will fall?
03:14:25 <Sacro> deoxygenated blood isn't blue :o
03:14:28 <Gonozal_VIII> i didn't know that it's flying
03:14:40 <Arbitrary> when the secret plan to cause Kim Jong-il to die of a heart attack after eating too many giant rabbits comes to fruition?
03:14:54 <Gonozal_VIII> who told you that crap about blue blood?^^
03:15:04 <Arbitrary> it's green, isn't it?
03:15:27 <Gonozal_VIII> only for vulcans
03:17:10 <Sacro> Gonozal_VIII: i'm sure books have
03:17:36 <Arbitrary> I do know one thing
03:17:38 <Gonozal_VIII> did you never have blood tests or made a blood donation or something like that?
03:18:06 <Arbitrary> these trains appear to be driven by ex-tiberian sun harvester drivers
03:18:07 <Gonozal_VIII> they take that out of the veins, the oxygen is gone there
03:18:59 <Gonozal_VIII> or did you ever get hurt and bleed blue?^^
03:19:11 <Gonozal_VIII> bled... whatever
03:19:53 <Eddi|zuHause3> haemoglobin does change colour slightly when it takes on oxygen
03:19:58 <Sacro> cos as soon as it hits the air it turns red
03:20:04 <Gonozal_VIII> but not from red to blue
03:21:03 <Gonozal_VIII> it doesn't hit air when it's inside a blood sample plastik with vacuum inside thingy
03:21:48 <Arbitrary> I'm sure it's not a *total* vacuum inside one of those things, it'd collapse under the air pressure outside
03:22:10 <Gonozal_VIII> 1 bar isn't much
03:22:27 <Gonozal_VIII> but i also don't think that it's a perfect vacuum
03:24:58 <ln-> let's vote: how many years until north korea falls? 5? 10? 20?
03:26:28 <Eddi|zuHause3> i don't really see it falling anytime soon
03:30:11 <ln-> it would be interesting though.
03:56:26 *** Smoovious has joined #openttd
04:49:44 *** robobed has joined #openttd
04:50:58 *** robobed is now known as roboboy
05:44:22 <Gonozal_VIII> wow, i finally got the buffers working
05:44:53 <Gonozal_VIII> worked around the sprite order mixery in the code with excessive sprite duplication :D
06:16:23 *** roboman has joined #openttd
06:31:11 *** Hendikins has joined #openttd
06:35:58 <Gonozal_VIII> strange underground part of a plant
07:13:30 *** roboboy has joined #openttd
07:51:56 *** Frostregen_ has joined #openttd
07:57:46 *** gfldex_ has joined #openttd
07:58:06 *** Frostregen_ is now known as Frostregen
08:15:04 *** Draakon has joined #openttd
08:59:21 <Draakon> what line of code i need to change to disable industries closing down no matter of what?
09:19:06 <Roujin> erm.. lemme look into it, just a sec
09:21:01 <Roujin> search in industry_cmd.cpp for the line " /* Close if needed and allowed */"
09:38:12 *** pavel1269 has joined #openttd
09:44:48 <pavel1269> Wolf01: you are autor of PBS patch?
09:45:17 <Wolf01> i'm the author of transparency and brickland
09:47:28 <pavel1269> i just ... can't even try that patch :(
09:48:35 <Roujin> well it's still buggy anyways
09:48:53 <Roujin> can't place bridges or tunnels without everything locking up
09:52:25 <Roujin> maybe ask the author to use svn diff for his next version?
10:02:42 *** Tlustoch has joined #openttd
10:05:58 *** roboman has joined #openttd
10:11:23 *** peter__ has joined #openttd
10:21:01 *** Progman has joined #openttd
10:45:09 <pavel1269> Roujin: i am not surprised ... signal states are ... confusig/hard to understand ;)
10:48:25 *** Vikthor has joined #openttd
10:52:31 *** roboman is now known as roboboy
11:00:18 *** Brianetta has joined #openttd
11:04:43 *** roboman has joined #openttd
11:06:19 *** roboman is now known as roboboy
11:12:24 *** TinoM| is now known as TinoM
11:21:40 <pavel1269> 11:46 <peter__> red or green? --- both :P
11:21:51 <dih> if min_players is set to anything > 0, can it perhaps /not/ take spectators into account?
11:22:30 *** Alberth has joined #openttd
11:27:36 *** Draakon has joined #openttd
11:29:09 <dih> peter__ no it does not, i am looking at it right now
11:29:39 <dih> how about adding an optional parameter to NetworkCountPlayers()
11:29:56 <dih> so that not only IsValidPlayer(ci->client_playas) is checked
11:30:34 <dih> but also if the parameter is true, check that playas is not PLAYER_SPECTATOR or whatever that const is called :-P
11:31:11 *** stillunknown has joined #openttd
11:33:47 <dih> can c++ do optional params?
11:33:52 <dih> or do i have to overload it?
11:34:12 <peter__> why would it need parameters?
11:34:16 <pavel1269> int Function(int i = 0);
11:34:24 <peter__> NetworkCountPlayers is only used by the min_players stuff
11:34:50 <peter__> it only works on dedicated servers
11:34:59 <pavel1269> if in declaration then you can't do that to definition ;)
11:35:14 <dih> i wanted an optional param, because i was unsure where else it was used :-P
11:35:23 <peter__> well it definitely does not count spectators as players
11:35:38 <dih> on openttdcoop we have a min playercount of 2
11:35:42 <Draakon> what are you guys talking about?
11:35:45 <dih> and a spec joined and the game was unpaused
11:36:10 <pavel1269> anyway, that spec aws there alone?
11:36:43 <dih> but as i said, min players = 2
11:36:50 <dih> with spec there were 2 clients
11:37:00 <pavel1269> i don't understand what are you talking about at the moment, when there was other ppl
11:37:23 <peter__> min_players works correctly for me
11:38:45 <pavel1269> btw, why not allow that for not dedicated server?
11:39:22 <dih> because the person hosting a non-dedicated can do that manually - he/she/it will most likely see the game anyway :-P
11:39:49 <pavel1269> i play with friends and i go out shop anyway and i dont want to kick them, so i will set min_players to 2 and ... if everyone else except me disconnect game will pause ...
11:39:54 <CIA-1> OpenTTD: smatz * r11767 /trunk/src/ (terraform_gui.cpp tunnelbridge_cmd.cpp):
11:39:54 <CIA-1> OpenTTD: -Fix: do not call rail specific functions when building road bridge
11:39:54 <CIA-1> OpenTTD: -Fix: missing space in terraform_gui.cpp
11:45:12 <dih> it does not work correctly on openttdcoop
11:45:31 <pavel1269> so they broke it ;)
11:45:32 *** Wolf01 is now known as Guest2287
11:45:52 <dih> one player was connected, and i joined as spec
11:45:58 <dih> and the game was unpaused
11:46:17 <peter__> and i just tested the same thing. it works.
11:46:41 <pavel1269> btw, are you both talking surely about same thing? :D
11:47:42 <dih> yes, i am pretty sure we are
11:47:54 *** Deathmaker has joined #openttd
11:48:14 *** kingpin has joined #openttd
11:50:36 <pavel1269> how can i greed you now when you say something strange ... what if you are affront us? :)
11:51:02 <dih> peter__: we dont used patched games for openttdcoop
11:51:03 * pavel1269 hopes, that affroead is correct word ^^
11:51:24 <dih> sounds like its missing an h pavell
11:51:58 *** peter__ has joined #openttd
11:52:14 * pavel1269 is looking to vocabulary atm
11:53:06 <pavel1269> affront ... it must be it ^^
11:54:09 <dih> <dih> peter__: we dont used patched games for openttdcoop
11:56:05 <dih> i dont see what could be going 'wrong' on openttdcoop if it workes for you...?
11:56:50 *** Wezz6400 has joined #openttd
11:59:14 <dih> it worked for me too on one of my 0.6.0-beta2 servers
12:02:08 <gucio> hello, can someone could help me ?
12:03:58 <gucio> ive got ubuntu 7.10, already install openttd, copy needed files and dont know how to run the game :/
12:04:30 <Alberth> cd bin ; ./openttd usually works for me
12:05:49 *** Wolf01 is now known as Guest2289
12:06:32 <Noldo> bin/openttd works too :)
12:07:49 *** LordAzamath has joined #openttd
12:07:56 <tokai> AFAIR the makefile had a shortcut for this
12:14:58 *** Sacr1 is now known as Sacro
12:15:38 <gucio> are you typeing this "bin/openttd" only into the terminal ? :|
12:16:31 <Alberth> depends on where you are
12:17:09 <Alberth> plz give some info, pwd, where you installed openttd
12:17:38 <gucio> /usr/share/games/openttd , automatically instalation
12:18:52 <Alberth> well, go there (cd /usr/share/games/openttd/bin)
12:19:48 <Alberth> i'd expect /usr/bin/openttd judging from the share directory
12:21:48 <Prof_Frink> gucio: Installed via apt/synaptic?
12:21:49 *** Wezz6400 is now known as Guest2292
12:21:49 <gucio> 0.5.3 debian/ubuntu or something like that
12:21:54 *** Wezz6400 has joined #openttd
12:22:25 <Prof_Frink> gucio: As Sacro said, type `which openttd` into the teminal
12:22:26 <Alberth> if all else fails, find it with find / -type f -name openttd -perm -u=x -print
12:23:11 <Prof_Frink> But it calls two binaries and a pipe
12:23:27 <Alberth> need escape of the $ :)
12:25:14 <gucio> /usr/games/openttd he found this
12:25:51 <Sacro> ls -l /usr/games/openttd
12:27:24 <Alberth> should give a line with details about the entry
12:27:58 <gucio> you mean this ? -rwxr-xr-x 1 root root 1454600 2007-09-15 22:06 /usr/games/openttd
12:28:51 <Alberth> so, /usr/games/openttd should work
12:29:30 *** Wezz6400 has joined #openttd
12:30:08 <gucio> i've got to be blind becouse ive looked into this folder few times :/
12:30:36 <peter__> in which case just typing "openttd" should run it
12:30:44 <peter__> unless you're root, but you wouldn't run games as root
12:31:30 <dih> peter__ may i get your attention to something (useful to dedicated servers)
12:31:46 <Alberth> don't know whether ubuntu also installs an entry in the menu
12:32:34 <gucio> thanks for everything :)
12:32:48 <Prof_Frink> I don't see one here
12:33:02 * LordAzamath is messing with Macromedia Flash MX
12:33:43 <Sacro> Arch adds a .desktop file
12:34:40 <Sacro> "The firms claims that the secure connection has no lag and is able to stream a range of high definition formats including the highest resolution TV format available today, known as 1080p"
12:35:00 <Sacro> by the laws of physics it can only go as fast as C
12:35:17 <Sacro> also, 1080p is NOT the highest TV format available
12:38:50 <dih> nobody here with interest in dedicated servers?
12:39:08 <Prof_Frink> Hmm, I'm sure the .debs *used* to have a .desktop
12:39:31 *** bumblebee has joined #openttd
12:47:41 *** Draakon has joined #openttd
12:48:38 <Rubidium> because your svn up gave a conflict
12:50:12 <Rubidium> you did apply a patch, or modify the source code and then did svn update or something equivalent
12:50:26 <Rubidium> or you applied an already broken patch
12:51:14 <Draakon> k then repatching needs to be done then
12:51:38 <dih> something for some dev to look at
12:54:10 <Draakon> anyone knows what line of code i need to change to prevent industries closing, no matter of what?
12:54:32 <pavel1269> look at patch who sameone wrote
13:02:33 * LordAzamath succesfully finished messing with Macromedia Flash MX..five new animations in the world now
13:03:28 *** Dark_Link^ has joined #openttd
13:03:39 <LordAzamath> had to do some work for my sister...
13:03:59 *** LordAzamath is now known as LA[Stop_Spam}
13:04:35 <LA[Stop_Spam}> hmm I should draw something now...
13:05:37 *** roboboy has joined #openttd
13:05:48 <Draakon> LA, what new animations you made?
13:06:18 <LA[Stop_Spam}> some pictures blending into eachother in flash
13:06:28 <LA[Stop_Spam}> nothing hard or beautiful :D
13:10:58 *** Desolator has joined #openttd
13:11:40 <Desolator> anybody who is able to help me with some I/O in C?
13:12:16 <Desolator> that's the function I have a problem with, lemme explain
13:12:50 <Draakon> :S i get a new error now
13:14:58 <Draakon> ah looks like i cant use same patches then
13:15:27 <Desolator> I'm building a program to use my DLL that changes the status message of Y!M (a friend requsted this). I ask the user for the version using scanf, check if it's 7 or 8, if it is I ask him/her to specify if he wants to be shown as busy (using 1 or 0, again with scanf). Then, I ask him for the status message, using fgets, BUT:
13:16:03 <Desolator> after the user presses ENTER on the 2nd scanf, fgets appears to get this as well and the user has no chance to input his status and the whole thing goes down the drain. Why?
13:18:47 <Belugas> well... down... always relative to where you are ^_^
13:19:13 <LA[Stop_Spam}> down under....reminds of brown thunder, from GTA:VC
13:19:59 <Desolator> would you mind lending me some help, please?
13:21:00 <Belugas> don't know, i'm still in morning limbo
13:21:09 <Belugas> and very few keyboard time, to be honest
13:22:19 <Belugas> doubtfull i would be the only one who can help ;)
13:22:52 <Desolator> look above, I explain my problem when I joined
13:23:34 <LA[Stop_Spam}> Zephyris made it...again
13:24:36 <Belugas> Desolator, your dll problem ? me is not a good resource for that, not in C, actually...
13:24:58 <Desolator> Belugas: the problem is in the app I made that asks the user for info and calls the DLL
13:25:05 <Desolator> I'll paste the code somewhere
13:30:30 <Desolator> (yeah I missed a `break' in that switch on `case 0', fixed over here)
13:30:49 <Desolator> (though I doubt it would make a difference)
13:36:55 <Belugas> Desolator, not in the mood for learning and debugging
13:39:28 <peter__> you don't need break after return...
13:40:25 <Desolator> I changed that part and moved the return out of the way
13:40:26 <Sacr1> peter__: it might forget
13:40:57 <peter__> p_status might as well be a static buffer
13:41:06 <peter__> saves all that malloc and free crap
13:41:17 <peter__> also char *p_status = 0 ?
13:41:27 <peter__> technically valid but why not NULL instead of 0?
13:41:31 <Desolator> doesn't make initialize the pointer to 0?
13:41:58 <Desolator> isn't in the WinAPI: typdef NULL 0; ?
13:42:00 <peter__> make just calls compilers and linkers
13:42:14 <Desolator> GCC is this case, not G++
13:42:57 <Alberth> technically, 0 may be a valid address, NULL is always a non-valid address
13:43:13 <peter__> fgets(p_station, sizeof(p_status), stdin);
13:43:20 <peter__> absolutely no need to use a pointer, heh
13:43:29 <Desolator> but isn't NULL a typedef to 0?
13:43:50 <Alberth> at your machine, maybe, but C gives no guarantee for that
13:43:50 <peter__> no... a define maybe on some
13:43:55 <peter__> but definitely not a typedef
13:45:05 *** ChanServ sets mode: +v tokai
13:47:45 <Alberth> if you add \n after scanf %ld, it works, except the stdin/stdout synchronization is screwed up
13:47:54 <Alberth> ie scanf("%ld\n", &is_busy);
13:48:45 <Desolator> Alberth: why would I need to?
13:49:00 <Alberth> you should also read the \n you're typing
13:50:30 <Alberth> plz explain what you want, don't understand "..."
13:50:51 <Desolator> what do you mean by "[15:48] <Alberth> you should also read the \n you're typing" ?
13:51:46 <Alberth> if you type eg "0\n" as 'busy' value, scanf only reads "0", and the "\n" remains in stdin. fgets then reads that
13:53:19 <Desolator> hmm, now I can press enter 'till my keyboard goes boom, as scanf no longer ends at it...not quite the intended behaviour, don't you think?
13:53:56 <Alberth> I also had some problems, don't understand why exactly.
13:54:21 <Alberth> As alternative, I have now "do { k = fgetc(stdin); } while(k != EOF && k!='\n');" in front of fgets, and no \n in scanf
13:54:57 <Alberth> can send you a small example prg
13:57:37 <Desolator> ok, it works, yet the app still crashes *runs gdb*
13:58:48 *** peterbrett has joined #openttd
13:58:54 <Desolator> hmm, it appears to be in the dll, I think I've found it
14:05:37 <Desolator> how do I get rid of the "\n" I get from fgets?
14:08:51 *** XeryusTC has joined #openttd
14:09:11 <Alberth> wouldn't looping over the array and replacing the \n by \0 not be easier?
14:09:27 <Desolator> btw, is sscanf(status, '\n'); the same as sscanf(status, "\n"); ?
14:10:03 <Alberth> first is a char, second is a null-terminated string
14:10:18 <Desolator> I know that, I thought sscanf ignores the \0
14:11:03 <Alberth> second parm should be a string in my sscanf(3) docs
14:12:11 <Desolator> ok, is there a strreplace or something function in the C stanard libs or I need to invent it myself?
14:12:25 * Desolator .oO(I bet I need to do it myself...)
14:14:37 <Alberth> would this do? char *strstr(const char *haystack, const char *needle);
14:15:08 <Alberth> finds the needle substring in the haystack
14:16:50 <Desolator> what does it return?
14:17:13 <Alberth> These functions return a pointer to the beginning of the substring, or NULL if not found
14:18:04 <Alberth> the other one at the man-page was strcasestr (case-insensitive cmp)
14:20:32 <Desolator> what if the needle is included multiple times in the haystack? does it return the p to last occurence?
14:21:19 <Alberth> no, "The strstr() function finds the first occurrence of the substring needle in the string haystack."
14:22:26 <Alberth> if needle is a character, maybe this one is better: The rindex() function returns a pointer to the last occurrence of the character c in the string s.
14:27:33 <Alberth> with double rr for last occurrence :)
14:27:48 <Alberth> that fnc sounds more familiar
14:31:25 <Desolator> hmm, how do I remove a char from a string?
14:32:12 <Alberth> if at end, replace by \0, else move everything after it one place towards the beginning
14:33:00 <Alberth> memmove() may be useful
14:33:33 <danmac> can anyone help me out here, im trying to get nightly r11719 to work with os x so i can connect to the public server.
14:33:57 <danmac> all i get is the program starting then exiting within seconds and the symbol dissapears from the dock
14:35:12 <Alberth> danmac: not a mac user, but what happens when you start it from a terminal?
14:36:24 <danmac> to be quite honest im not too sure how to start it from terminal
14:36:36 <danmac> i could tell you what happens if you tell me how to start it from there
14:36:37 <glx> and what is your osx version? (not a mac user either, but may help others)
14:36:50 <dih> since when can one not set certain patch settings during multiplayer mode?
14:37:04 <dih> i.e. patch never_expire_vehicles 1 gives an error message
14:37:24 <danmac> ive tried the dedicated osx, dedicated osx-intel, osx, and osx-intel
14:37:52 <glx> dih: settings that can touch newgrfs are disabled
14:38:22 <Rubidium> primarily because they cause desyncs
14:41:07 <danmac> its really frustrating me, ive been using the 0.6 beta version for months but cant get it to roll back to r11719, tried it on a friends macbook, never had the game installed before and the r11719 version just ran fine first time
14:41:30 <DorpsGek> glx: Commit by rubidium :: r11452 /trunk/src (4 files) (2007-11-17 22:25:16 UTC)
14:41:31 <DorpsGek> glx: -Change: do not allow configuration changes, that NewGRFs can directly use to change their behaviour, during network games as this can cause desyncs.
14:41:47 <danmac> i presume its a file somewhere in the system that the 0.6beta created that needs deleting, just which file i do not know though!
14:42:41 <glx> danmac: and your friend use leopard too?
14:43:12 <Rubidium> could be that the nightly compile farm does not support leopard
14:43:41 *** UnderBuilder has joined #openttd
14:43:44 <Rubidium> though I've seen quite a lot of fixes for it
14:43:55 <danmac> can anyone point me to a site that makes creating your own build a bit simpler for people like me?
14:43:56 <Rubidium> egladil: should the nightlies work on Leopard?
14:43:59 <glx> default configure values are different for 10.4 and 10.5 IIRC
14:44:33 <Rubidium> danmac: wiki.openttd.org has a 'howto'
14:44:47 <danmac> does anyone think its possible to get the nightlies working then?
14:45:16 <Rubidium> depends what you call working
14:45:32 <Rubidium> when it's working for leopard and not the rest, then yes
14:45:35 * dih likes Rubidiums comments at times
14:46:08 <danmac> or a site explaining creating my own biuld anybody?
14:46:12 <Sacr1> is that danmac as in danmac from #tycoon?
14:46:23 <DorpsGek> glx: Commit by bjarni :: r11709 trunk/config.lib (2007-12-27 15:05:46 UTC)
14:46:24 <DorpsGek> glx: -Fix [FS#1385 FS#1386]: [OSX] Compiles on Leopard with the default settings
14:46:25 <DorpsGek> glx: -Change: [OSX] configure will no longer enable static by default
14:46:26 <DorpsGek> glx: Turns out that Leopard can't handle static builds without the user installing extra libs
14:46:27 <DorpsGek> glx: The tradeoff is that now people might have to enable static manually if moving the binary around
14:46:28 <Rubidium> for supporting both tiger and leopard at the same time it's something completely different
14:46:43 <glx> maybe compile farm needs to be updated for this commit
14:46:55 <Rubidium> danmac, as I said: on wiki.openttd.org is a 'howto' for building on OSX
14:47:09 <danmac> ok, ill have a look see if i understand
14:47:23 <Rubidium> if you don't understand it, then there is no other site
14:52:00 <glx> but since r11709, nightlies should work on 10.5
14:52:20 <Alberth> how can you find the aircrafts refitted for mail in the global plane overview?
14:53:46 <danmac> cheers glx but this just doesnt seem to be the case for me!
14:53:58 <danmac> i cant find this compile guide anywhere on the wiki
14:55:58 *** HerzogDeXtEr has joined #openttd
15:01:34 *** Arbitrary has joined #openttd
15:04:52 <danmac> are there any plans fro regular biulds compatable with leopard?
15:06:06 <danmac> great, any rough idea when this will happen?
15:10:58 *** bumblebee has joined #openttd
15:26:31 <egladil> [06 15:43 CET] Rubidium egladil: should the nightlies work on Leopard? <== yes
15:28:52 <egladil> got to go now though, but i'll check in to it when i get back
15:40:22 <danmac> it sucks having to use my old ibook
15:49:42 *** skidd13 has joined #openttd
15:49:48 <DorpsGek> skidd13: KUDr was last seen in #openttd 10 weeks, 4 days, 1 hour, 25 minutes, and 21 seconds ago: <KUDr> good
16:02:23 *** LA[Stop_Spam} has joined #openttd
16:03:02 <Eddi|zuHause3> he was here yesterday, but he didn't say anything for a while
16:03:32 <LA[Stop_Spam}> gah, an electric blackout
16:05:24 <LA[Stop_Spam}> I had just finished everything and then electricity went out without me having saved for a long time
16:13:12 <Eddi|zuHause3> that should teach you :p
16:14:21 <Rubidium> release early, release often
16:22:05 *** thgergo has joined #openttd
16:40:57 <Quatrh> Hi! Anyone of you with a server? Which autoclean params do you have?
17:00:12 *** TinoDidriksen has joined #openttd
17:08:48 <Digitalfox> LA[Stop_Spam}: you lost a lot of work?
17:08:57 *** valhalla1w has joined #openttd
17:09:16 <LA[Stop_Spam}> so much that I have recovered it by now
17:09:49 *** LA[Stop_Spam} is now known as LA[Stop_spam]
17:10:17 <LA[Stop_spam]> and I think I'll make a post now...
17:10:29 <Digitalfox> what are working on?
17:15:22 <LA[Stop_spam]> I modified and coded my train depot..
17:15:42 <LA[Stop_spam]> Maybe I'll next follow Zephyris' tutorial and make some temperate buildings
17:24:05 <LA[Stop_spam]> yo can see my post now
17:28:08 *** Hendikins is now known as Hendikins|Work
17:35:38 *** Gonozal_VIII has joined #openttd
17:44:21 *** Brianetta has joined #openttd
17:56:21 <Eddi|zuHause3> suggestion: if a train waits very long, have an option to issue a message to the player instead of have them turn around
17:58:13 <Gonozal_VIII> trains that stop at the wrong stations... trains that turn around after waiting too long... your network is seriously flawed^^
17:59:11 <Eddi|zuHause3> my network needs PBS, trains get stuck too easily now...
17:59:48 <Eddi|zuHause3> but this incident of waiting too long was actually because the station was already full with loading trains
17:59:56 *** [1]Mark has joined #openttd
18:01:02 <Eddi|zuHause3> i already reserved a track just for unloading trains, so the station does not get blocked
18:01:25 <Gonozal_VIII> add a waiting depot :-)
18:01:45 <Eddi|zuHause3> i have another station like that, but i don't have the space there to pre-sort the incoming trains
18:02:03 <Eddi|zuHause3> a depot doesn't help there
18:07:28 <Eddi|zuHause3> www.informatik.uni-halle.de/~krause/Ravenswald%20Transport,%2024.%20Jan%201951.png <- the steel station
18:09:10 <Eddi|zuHause3> the steel and ore trains get separated by waypoints, there is a waiting area for steel trains
18:09:31 <Eddi|zuHause3> only the ore trains can reach the leftmost platform
18:09:43 <Gonozal_VIII> let them wait inside the depot, no problem then
18:10:12 <Eddi|zuHause3> no, that is the station where i don't have problems anymore ;)
18:11:30 <Eddi|zuHause3> and there is a steel train waiting in the depot, because the ore output dropped in the last years ;)
18:17:07 <Eddi|zuHause3> www.informatik.uni-halle.de/~krause/Ravenswald%20Transport,%2028.%20Jan%201951.png <- the goods station
18:17:23 <Eddi|zuHause3> there i don't have space to have a good train waiting area
18:17:49 <Eddi|zuHause3> i have exactly 3 goods trains, going back and forth between the factory and the saw mill
18:18:05 *** Wolf01 is now known as Wolf01|AWAY
18:18:08 <Eddi|zuHause3> and by murphys law they are arriving all 3 simultaneously ;)
18:22:01 <Roujin> i hearby kindly request the ear of a dev :P
18:22:22 <Roujin> no, not presented on a tablet..xD
18:23:41 *** kingpin has joined #openttd
18:24:38 <kingpin> what was the setting for iometric rendering 32Bpp files?
18:26:29 <kingpin> I recall reading on the wiki it was not the default ratio
18:27:53 *** valhallasw has joined #openttd
18:29:43 <LA[Stop_spam]> anyone with working ttdpatch here?
18:30:04 <Rubidium> Roujin: asking whether you may ask something isn't very useful in here cause it will usually be ignored
18:31:11 <Roujin> nope, no question, just hoping for attention :P but you're right of course
18:31:38 <Gonozal_VIII> ATTENTION ATTENTION
18:31:45 <Gonozal_VIII> now you have it ;-)
18:32:26 <Roujin> done a patch that moves the scenario editor terraform stuff over to terraform_gui.cpp
18:33:31 <Roujin> could it be included into trunk?
18:34:12 *** Progman has joined #openttd
18:34:12 <pavel1269> you are like factory ... make ... accept that ok? another ...
18:38:01 * LA[Stop_spam] slaps himself..It's kinda obvious that in #OpenTTD channel there ain't any TTDPatch guys...
18:38:33 * LA[Stop_spam] wonders if TTDPatch guys are in #tycoon channel at quakenet...
18:38:49 <DaleStan> LA[Stop_spam]: Check it yourself. TTDPatch is known to work on every modern OS, and, in fact, Patchman got rid of his last Windows machine sometime in April of 2005.
18:39:16 <DaleStan> It would also help if there were a description of what was happening vs what was supposed to be happening.
18:43:08 *** peterbrett has joined #openttd
18:43:16 <kingpin> anybody, please. was the isometric ratio 1.4 or 1.33? do you have a cinema4d template?
18:43:57 <DeGhost> make train shorter on diaginal!!1
18:44:01 <DeGhost> they grow longer.....
18:44:08 <peter__> LA[Stop_spam], your third parameter, "01", usually alternates between "01" and "09"
18:44:34 <peterbrett> kingpin: Then again, I could be utterly wrong
18:45:46 <kingpin> peterbrett, thanks anyway
18:45:57 <Eddi|zuHause3> LA[Stop_spam]: use 01 if your sprite content is rectangular, and use 09 if the sprite content is irregular, and has lots of transparent area to fill the rectangle
18:46:50 <DaleStan> LA[Stop_spam]: Ah. That bug. GRFCodec did not like the original PCX file, for some reason.
18:48:13 <LA[Stop_spam]> hmm...I'll try one thing..make it rgb save as new file and coonvert to 8bpp again and save as complete new file...
18:49:31 <DaleStan> There are two known ways to fix the problem: (1) use different software to write the PCX, (2) ensure the PCX is a multiple of 4 pixels wide.
18:52:00 <LA[Stop_spam]> will try that 4px wide thing
18:52:18 <LA[Stop_spam]> and gimp is very good software :D
18:52:41 <Eddi|zuHause3> hm... i'm so busy resolving deadlocks, and if they're not locked i watch my trains running, i never get to extend my network...
18:54:35 <peter__> Eddi|zuHause3, you could always run ttdpatch if you want pbs that bad ;)
18:54:57 <Eddi|zuHause3> nah, that'd cause more problems than it solves ;)
18:57:13 <CIA-1> OpenTTD: rubidium * r11768 /trunk/src/ (8 files): -Codechange: move some terraform related gui stuff from main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin.
18:59:05 <LA[Stop_spam]> Dalestan, I now have 400*80 pcx file...(used to be 319*65) And it doesn't seem to go away...
18:59:12 <CIA-1> OpenTTD: miham * r11769 /trunk/src/lang/ (15 files): (log message trimmed)
18:59:12 <CIA-1> OpenTTD: -Update: WebTranslator2 update to 2008-01-06 19:58:01
18:59:12 <CIA-1> OpenTTD: brazilian_portuguese - 2 fixed, 15 changed by fukumori (17)
18:59:13 <CIA-1> OpenTTD: bulgarian - 29 fixed, 10 changed by groupsky (39)
18:59:13 <CIA-1> OpenTTD: croatian - 13 fixed by knovak (13)
18:59:14 <CIA-1> OpenTTD: czech - 2 fixed by Hadez (2)
18:59:16 <CIA-1> OpenTTD: dutch - 1 fixed by habell (1)
19:01:53 <Roujin> thanks rubidium :) i'm already working hard on the next step ;) this will include fixing the level land tool
19:02:10 <Roujin> for example proper cost estimation etc.
19:02:18 <LA[Stop_spam]> ah bah :( I made a stupid mistake somewhere, wait a mom
19:02:59 <Roujin> time to sync my working directory :D
19:03:31 <LA[Stop_spam]> DaleStan, thousand thanks :)
19:03:37 <LA[Stop_spam]> it works like a charm
19:06:40 *** xerxes is now known as shodan
19:19:23 <wiese> hi, is there a german openttd related chat? (on this or any other server)
19:19:45 <Gonozal_VIII> what's a german?
19:21:15 <wiese> where you write german, i guess
19:21:25 <LA[Stop_spam]> Gonozal_VIII: I think something like germs :D
19:21:49 <Gonozal_VIII> aaaah of course germs la
19:21:50 <LA[Stop_spam]> wiese: there are german forums somewhere
19:22:09 <Gonozal_VIII> we don't know about strange stuff like that here in austria
19:22:20 <LA[Stop_spam]> wiese: but not irc channel afaik
19:22:35 <Roujin> i think there is one, but i don't know it...
19:22:50 <wiese> gonozal, you are from austria?
19:22:52 <Digitalfox> I'm a german Gonozal_VIII and you are ofending me for not knowing what a german is :(
19:22:53 <LA[Stop_spam]> Gonozal_VIII: I played GTA:VC and it mentioned germs... lol
19:23:12 <DaleStan> MB would know where the German TTDPatch-related things are; the OpenTTD things aren't often far away.
19:23:29 <Roujin> Df: he was probably trying to make a joke :P
19:23:52 <Gonozal_VIII> yes i'm from austria but i have no idea if there is any german openttd chat
19:24:28 <wiese> bad luck... (i'm from austria too) :P
19:24:40 <LA[Stop_spam]> bad luck for you wiese :P
19:24:53 <LA[Stop_spam]> you've got Gonozal_VIII as almost neighbour
19:25:03 <LA[Stop_spam]> although he lives in the middle of nowhere
19:25:14 <Digitalfox> Hey guys you got to relax a bit.. I'm a proud portuguese guy.. I was joking... I thought somebody would say something german and i would " I'm busted ".. lol
19:25:27 <Gonozal_VIII> i'll be in linz the day after tomorrow
19:25:48 <LA[Stop_spam]> Linz is a town?
19:26:16 <Gonozal_VIII> i knew that you're not german digitalfox
19:26:47 <LA[Stop_spam]> but they only know it's 153 311
19:27:03 <Digitalfox> Gonozal_VIII: Offcourse just doing a WHOIS would be enought ;)
19:27:05 <wiese> linz is the third largest city of austria....
19:27:25 *** Dominik has joined #openttd
19:27:52 <LA[Stop_spam]> Zagreb, Croatia
19:28:04 <Dominik> Hello everyone and a Happy New Year!
19:28:15 <LA[Stop_spam]> hello Dominik and
19:28:24 <LA[Stop_spam]> Happy New Year to you too
19:28:40 <wiese> happy new year to anyone...
19:28:43 <LA[Stop_spam]> "Digitalfox: attached to kilo.oftc.net “Zagreb, Croatia”"
19:29:14 <Digitalfox> LA[Stop_spam]: Well WHOIS also says bl7-179-211.dsl.telepac.pt
19:29:19 <Roujin> happy new year? again?
19:29:30 <Roujin> damn, 2008 was over quickly O_O
19:29:39 <Eddi|zuHause3> yeah, it happens so fast...
19:29:45 <Roujin> and i had the impression it only started a week ago
19:29:47 <LA[Stop_spam]> arghh..two personalities?
19:30:17 <Gonozal_VIII> that's the irc server :P
19:30:28 <LA[Stop_spam]> oumaigaad, school starts tomorrow again (
19:31:04 <Roujin> heh, university aswell
19:31:14 <Roujin> AND my girlfriend comes back from vacation
19:31:35 <Roujin> two reasons why i won't be churning out patches anymore like that starting from tomorrow :P :P
19:32:57 <Gonozal_VIII> dump her, make patches :P
19:33:15 <ln-> how rude. no, make patches with her.
19:33:39 <Roujin> lemme see.. girlfriend.. coding.. girlfriend.. coding.. ack, damn those hormones :P
19:35:12 *** LA[Stop_spam] is now known as LA[lord]
19:36:17 <LA[lord]> Dear Lord..please make it so that Roujin gets few days off and his gf delays so he can shoot some more patches...
19:36:26 <Eddi|zuHause3> <Roujin> lemme see.. girlfriend.. coding.. girlfriend.. coding.. ack, damn those hormones :P <- that reminds me of "Bett ... oder Knast" (bed or jail) [german anti-piracy commercial]
19:37:02 <Lord> any other wishes I can fulfill?
19:37:05 *** Draakon has joined #openttd
19:37:19 *** DJ_Mirage has joined #openttd
19:37:32 <LA[lord]> yeah, Lord, tell me who you are actualy
19:37:51 <Draakon> i have a question: is there any where explained about YAPF setting in cfg file?
19:38:20 <Lord> hehe, well I'm just the guy whose nickname is Lord on the forums... ever considered that? ;-p
19:38:27 <Roujin> dang, i just got a call from my gf - she's staying longer.. oh and an email from university saying that i got booted.
19:38:50 <LA[lord]> by that huh?? I guess you might be train_lord?
19:39:31 <LA[lord]> but you have user in forums?
19:40:24 *** [1]Mark is now known as Mark
19:40:54 <Gonozal_VIII> Mark is now known as Euro.
19:42:28 <Roujin> Mark is now known as .52 Euro.
19:42:55 <Lord> So anyways, I was actually looking for some namegen.c expert... I need to find a way to externally rebuild town names from the encrypted town name parts... is there anyone around who could help me with that?
19:43:43 <LA[lord]> Lord: Especially boring username :D
19:43:53 <Lord> the OTTD code is really messy there
19:44:08 <hylje> encrypted town name parts?
19:44:28 <Roujin> what do you mean by "rebuild"?
19:44:50 <Lord> yeah, the variables citynametype and citynameparts
19:45:19 <Lord> rebuild means reconstruct, like, determine the actual name strings from the stored name parts
19:45:40 <LA[lord]> how can I register my username in IRC?
19:46:05 <Gonozal_VIII> ... /nickserv help
19:46:50 <Roujin> well, i had to do something like that shortly
19:47:46 <Lord> cool, so could you figure out how that could be done in, say, a not-too-ugly way?
19:49:08 <Lord> because with that GetString-buffer-SET_DPARAM16-stuff it really is nasty
19:50:51 <Roujin> search for "case SCC_TOWN_NAME" in strings.cpp
19:50:51 <Lord> I mean, there _must_ be some tool around that can display town names out of only the savegames, amongst other stuff
19:51:08 <Roujin> in the function FormatString
19:51:18 <Roujin> that helped for me (i stole code parts from that :P)
19:51:58 <Lord> I'm kindof messing with 0.1.4 yet
19:52:38 <Roujin> you don't mean 0.4.1 or something?
19:53:13 <Dominik> is there a patch to copy e.g. a 64x64 map to a 256x256 map (or the other way around)?
19:53:15 <Lord> lol, yeah, 0.1.4, because I need this stuff for original TTD, so I only looked into the least modified code
19:53:26 <Roujin> well i am talking about current trunk, i don't know how it was thousands of revisions ago oO
19:53:44 <Lord> ok hehe, I'll take a look at that
19:53:46 <LA[lord]> Dominik: not that I knew of
19:54:34 <LA[lord]> Lord: Original TTD was written in assembler or something ike that..openttd is c++...
19:54:36 <Roujin> in current trunk there's a function called GRFTownNameGenerate (it's also called at the position i told you to look up)
19:55:10 * LA[lord] registered nickname LA[lord]
20:01:14 <Lord> ah right, got it. thanks Roujin, that looks much smoother.
20:02:30 <Roujin> oh sorry for not answering
20:08:47 <LA[lord]> the second lord is about to leave..should I say good bye?
20:09:42 <LA[lord]> ok..I won't say good bye? but I say good bye!
20:13:00 *** HerzogDeXtE1 has joined #openttd
20:15:20 *** Wolf01|AWAY is now known as Wolf01
20:15:28 *** LA[lord] has joined #openttd
20:15:56 <LA[lord]> hmm..had to come back
20:16:10 <LA[lord]> I forgot to make the test I promised yesterday
20:16:55 <LA[lord]> how to make things look yellow in OpenTTD
20:17:30 <LA[lord]> 1. I just now copied trg1r to my grfcodec folder
20:18:10 <LA[lord]> 2. grfcodec -d trg1r.grf -p 2
20:18:26 *** divoafx has joined #openttd
20:19:47 <LA[lord]> 3. Open trg1r.nfo and increase random sprite height..I took four tropical bank ones (2184 - 2187)
20:21:24 <LA[lord]> grfcodec -e trg1r.grf
20:22:23 <LA[lord]> -p 2 is windows palette
20:22:27 * peter__ has no idea if it matters for encoding
20:22:39 <LA[lord]> for decoding peter__
20:23:00 <LA[lord]> encoding it takes automatically
20:23:06 <LA[lord]> the palette the pcx has
20:24:05 <LA[lord]> but..but the test failed :(
20:31:24 <Roujin> i think just someone felt like rendering one...
20:31:30 *** bumblebee has joined #openttd
20:31:59 <LA[lord]> hmm...something is very wrong...I can't reproduce it
20:36:04 *** Vikthor has joined #openttd
20:37:18 <UnderBuilder> I can't use the new maglev for static use
20:37:50 * UnderBuilder tries again for obtain the error
20:39:10 <LA[lord]> what new maglev? 7of9's?
20:48:32 <Dominik> how can i disable assertions?
20:49:18 <LA[lord]> ok..now officially good night..again :D
20:55:21 <CIA-1> OpenTTD: peter1138 * r11770 /trunk/src/roadveh_cmd.cpp: -Codechange: An engine type's type is EngineID, not byte.
20:57:32 <UnderBuilder> warning: big paste ahead
20:57:38 <UnderBuilder> dbg: [grf] [OpenGFX_newRoadDep.grf:2] Info: Invalid pseudo sprite length 4 (expe
20:57:41 <UnderBuilder> dbg: [grf] [OpenGFX_ToRdDep.grf:1] Info: Invalid pseudo sprite length 4 (expecte
20:57:44 <UnderBuilder> dbg: [grf] [OpenGFX_newRoadDep.grf:2] Info: Invalid pseudo sprite length 4 (expe
20:57:47 <UnderBuilder> dbg: [grf] [OpenGFX_ToRdDep.grf:1] Info: Invalid pseudo sprite length 4 (expecte
20:58:02 <Ammler> UnderBuilder: paste.openttd.org
20:58:13 <UnderBuilder> I don't know that one
20:58:47 <Ammler> peter__: nice to see you back :)
20:58:59 <Ammler> where are the numbers?
20:59:01 <Ailure> crashed with a snowman
21:00:00 *** Gonozal_VIII has joined #openttd
21:00:51 <Ammler> peter__: do you work on enhancend tunnels or bridge heads?
21:02:49 <Eddi|zuHause3> www.informatik.uni-halle.de/~krause/Ravenswald%20Transport,%2023.%20Jan%201952.png <- so, this is what it looks like when i start to use bridges, but with the current limited signalling, i just can't figure out how to do that as a flat junction...
21:06:15 <Gonozal_VIII> lots of graphical glitches with the snow
21:09:46 <Gonozal_VIII> well... not glitches... shortcomings of the current system
21:10:07 <peter__> the snow/half snow/grass tiles
21:10:38 <peter__> i think i'm going to try overlays with my new system
21:10:48 <Gonozal_VIII> the terrain should be removed from all other tiles replaced with transparency, and terrain drawn everywhere seperately
21:10:51 <peter__> might be a performance hog though
21:13:16 <Gonozal_VIII> would require a lot less sprites then
21:13:42 <peter__> you still need grass or snow variations
21:13:50 <peter__> the ballast is different
21:13:56 <Gonozal_VIII> yes.. but not with every road/rail on them
21:14:07 <Gonozal_VIII> especially replacement sets
21:14:18 *** [1]Mark has joined #openttd
21:14:22 <peter__> anyway, i will make that up to the grf
21:15:07 <Gonozal_VIII> if you want to combine a terrain set with a road set you have to manually change the road sprites..
21:20:40 <Eddi|zuHause3> what irks me the most is the lack of half-snow under the rails
21:20:56 *** [1]Mark is now known as Mark
21:24:09 <Eddi|zuHause3> and that i don't have an E18 to put in front of the fast trains ;) (unrelated to the picture)
21:26:29 <peter__> there are no trains :o
21:28:34 <Gonozal_VIII> that's eddis style... lots of track without trains
21:29:48 <Eddi|zuHause3> that is, because on that picture, none of the 4 doubletracks is connected anywhere (yet)
21:29:57 <Eddi|zuHause3> i just bought the first train to go there
21:31:08 <Eddi|zuHause3> one of those brand new VT-08 that they offered me
21:31:56 <Sacro> we need a nightly UKRS server
21:35:25 <peter__> model name : AMD Athlon(tm) 64 Processor 3000+
21:36:09 <peter__> Fetched 3317kB in 0s (5558kB/s)
21:50:14 *** Brianetta has joined #openttd
21:53:00 <svippy> Do I need a NewGRF to get trams?
21:53:31 <svippy> I used to have something called Genetic Trams.
21:53:59 <svippy> t and r are so close to each other.
21:54:00 <Sacro> that's something quite different
21:54:08 *** Mark is now known as MarkASLEEP
21:54:18 <Sacro> peter__: UKRS, UKTS and a few other grfs would be ace :p
21:55:22 <Ammler> svippy: which ottd revision do you play?
21:55:30 <svippy> Right now I am playing Beta 2.
21:55:42 <svippy> For the sake of some guy I am playing multiplayer with.
21:55:51 <Ammler> then it should work with generic trams
21:56:32 <Ammler> hmm, then the server needs to add them...
21:57:08 <Eddi|zuHause3> svippy: added before the game started?
21:57:24 <Ammler> show us a screen of your grf setting window
21:57:34 <svippy> I haven't started the game yet.
21:58:00 <Ammler> do you know, it doesn't work?
21:58:05 <Eddi|zuHause3> svippy: then just adding the generic tram set should work
21:58:14 <peter__> why is it not advertising :o
21:58:30 <Eddi|zuHause3> svippy: you can build trams by holding on the road icon
21:58:39 <Eddi|zuHause3> peter__: firewall ;)
21:58:48 <peter__> server_advertise = false
21:59:03 <Eddi|zuHause3> yeah, i know ;)
21:59:11 <peter__> god damn there are *loads* of servers these days
21:59:29 <Eddi|zuHause3> yeah, and more servers than players
22:00:08 <Eddi|zuHause3> hm... where did i put my rheingold trains...
22:00:18 <Eddi|zuHause3> put put put...?
22:00:40 <peter__> grfs are all latest available, etc...
22:03:18 <Eddi|zuHause3> they are evading me...
22:03:29 <Eddi|zuHause3> they don't want to be upgraded to F-train
22:13:20 *** bumblebee has joined #openttd
22:13:58 *** thgergo has joined #openttd
22:17:35 *** ChanServ sets mode: +o Bjarni
22:26:11 <UnderBuilder> is there something like svn but for graphics?
22:27:02 <Wolf01> doesn't work when you save and reopen
22:27:58 <UnderBuilder> I mean a more robust location for saving the opengrfs
22:29:46 <UnderBuilder> that is the current one, which looks too unsorted
22:29:48 <Wolf01> what's wrong to save open grfs in the same place?
22:30:22 <Ammler> UnderBuilder: they are linked from grfcrawler
22:30:41 <Ammler> and grfcrawler looks really nice sorted
22:30:55 <UnderBuilder> but they in a future will be the replacement of current graphics
22:31:35 *** Brianetta has joined #openttd
22:33:08 <UnderBuilder> and in grfcrawler they will be mixed with normal newgrfs
22:34:35 <Wolf01> call them OTTD Open GRFS
22:34:42 *** Dark_Link^ has joined #openttd
22:35:17 <UnderBuilder> ottd open grfs are not normal newgrfs
22:35:29 <Ammler> hmm? why do they need special names? There are already open grfs, like USSet etc.
22:36:59 <Ammler> UnderBuilder: do you like to replace the original grf sets like trg1r.grf?
22:38:06 <Wolf01> i can't see what's wrong to put them in grfcrawler
22:38:26 <UnderBuilder> in a moment OOGRFs (OpenTTD Open GRFs) will become complete and the original data files wouldn't be needed anymore
22:38:43 <Gonozal_VIII> i guess the 8bpp replacement grfs should be packaged with the game
22:38:50 <Ammler> hmm, what if I like to use both?
22:39:20 <Gonozal_VIII> you can't use both at the same time
22:39:48 <Ammler> of course, they should be something like static grfs
22:40:09 <Wolf01> no, they replace the originals, they aren't an extension
22:40:54 <Ammler> ah, its meant for people who don't have the original files?
22:41:14 <Gonozal_VIII> they should have the same filenames and work the same way as the originals... and if you want to use originals, just overwrite them
22:41:38 <Ammler> hmm, why not just make ottd configurable?
22:42:07 <Wolf01> it is already configurable :|
22:42:07 <Prof_Frink> Gonozal_VIII: No, 'cause then your package manager would eat your replacement
22:42:08 <UnderBuilder> but there is a trouble... the lev4 carriages are different than the other ones
22:42:09 <Ammler> or let it check, if original available, take them, else the new replacement?
22:42:28 <Gonozal_VIII> package manager?
22:43:03 <Wolf01> Ammler you won't dl everytime the open grfs, they are 25mb or like
22:43:26 <Gonozal_VIII> why whould they be bigger than the originals?
22:44:24 <Prof_Frink> Gonozal_VIII: apt/yum/pacman
22:44:27 <UnderBuilder> will it work that with the OTTD code for loading the original graphic set?
22:44:34 <Wolf01> no sorry, that's the whole data folder :P
22:44:49 <Gonozal_VIII> pacman? that's a game
22:44:55 <UnderBuilder> and the original data files are 4mb...
22:45:25 <Wolf01> 6,8mb here, at least the zip file
22:45:42 <Gonozal_VIII> strange, should be about the same size
22:46:44 <UnderBuilder> they are 3.2mb for download in the tt-forums list of downloads
23:30:23 <Rubidium> about the open base graphics for OpenTTD: I think OpenTTD should just load the original graphics if available, otherwise the base graphics (maybe as a separate package because then people only need to download them once). If you have both you can configure OpenTTD during runtime to use the other graphics base 'pack'
23:34:09 <Bjarni> yeah... we shouldn't disallow usage of the original graphics even if we end up with a version that can do without them
23:35:14 <Bjarni> as for size and distribution... we should not worry about this until we actually have something to distribute ;)
23:41:59 <_Ben_> on a similar topic, I have an issue getting some sprites into game... I have this problem, and I can't see anything different to usual, Some of the sprites used for the eyes on the profile pictures (company bosses). I can't get them to appear in game...
23:42:08 <_Ben_> The game loads but crashes when it needs them
23:42:20 <_Ben_> is there anything different with them to other sprites that anybody knows of?
23:45:31 <Eddi|zuHause3> i don't think "disallow" is the word you were looking for ;)
23:46:37 <Eddi|zuHause3> _Ben_: it may be that you have to prevent grfcodec from cropping the sprites?
23:47:37 <_Ben_> hmm, well I was just in the middle of typing that the sprites I have are actually slightly wider than the originals. This isn't usually a problem, but with the face's is there an issue with cropping?
23:48:36 <Eddi|zuHause3> some parts of the code rely on the fact that certain sprites have a specific size
23:48:51 <Gonozal_VIII> i had lots of problems with sprites of different sizes on various places
23:49:32 <Eddi|zuHause3> i'd suggest not changing _any_ sprite size for the replacement set
23:50:07 <Gonozal_VIII> why change it anyways? it's just a replacement
23:51:36 <_Ben_> it was only a couple of pixels, but there wasn't an intentional reason for doing it, I hadn't yet got round to cropping the elements. I'll try them at the exact size.
23:52:14 <Bjarni> <Eddi|zuHause3> i don't think "disallow" is the word you were looking for ;) <-- actually it is. The question is if I said something different from what you expected ;)
23:53:57 <Eddi|zuHause3> well, i had difficulties to parse your sentence anyway
23:54:44 <Bjarni> anyway... it's my opinion and whatever you do you can't take that one away from me xD
23:56:40 <Gonozal_VIII> in soviet russia, opinions choose you
23:56:55 <Bjarni> I'm not going to Russia
23:58:44 <Eddi|zuHause3> Gonozal_VIII: thechnically, it should be "YOU" (capital letters)
23:59:04 <DeGhost> i mean which part of russia?
23:59:19 <DeGhost> russia is the size of a containent?
23:59:37 <Bjarni> which part of "not going" didn't you understand? :)
23:59:51 <_Ben_> hmm tried the sprite at the exact same size, then smaller, then 400% as _z0, but still seems to be doing the same. Maybe it's something only relavant to the deseesed branch.
continue to next day ⏵