IRC logs for #openttd on OFTC at 2012-05-03
⏴ go to previous day
00:27:08 *** theholyduck has joined #openttd
01:16:27 *** AD is now known as Guest355
02:01:37 *** HerzogDeXtEr1 has joined #openttd
03:15:53 *** theholyduck has joined #openttd
04:19:46 *** telanus has joined #openttd
04:56:16 *** Eddi|zuHause has joined #openttd
06:23:56 *** LordPixaII has joined #openttd
06:50:35 *** Eddi|zuHause2 has joined #openttd
06:58:35 *** TWerkhoven has joined #openttd
06:58:52 *** TWerkhoven has joined #openttd
07:05:04 *** sla_ro|master has joined #openttd
07:10:09 *** th_gergo has joined #openttd
07:24:42 <__ln__> TrueBrain: nope, the CFLAGS thing does not fix the issue.
07:31:13 *** roboboy has joined #openttd
07:36:59 *** Eddi|zuHause2 is now known as Eddi|zuHause
07:51:00 *** Hazzard has joined #openttd
07:57:05 *** Lugntuts has joined #openttd
07:57:16 *** Lugntuts is now known as Lugnuts
07:57:33 *** Lugnuts is now known as Hazzard
08:00:49 <Hazzard> I just derped so hard
08:08:21 <dihedral> oh - i thought you were derpina :-P
08:10:40 *** th_gergo has joined #openttd
08:19:22 *** th_gergo1 has joined #openttd
08:20:04 *** th_gergo has joined #openttd
08:23:05 *** th_gergo1 has joined #openttd
08:31:06 *** th_gergo has joined #openttd
08:32:22 <Eddi|zuHause> so where is glx then?
08:42:52 *** th_gergo has joined #openttd
08:56:56 *** th_gergo1 has joined #openttd
09:40:41 <TrueBrain> __ln__: sad; and if you upgrade to Wheezy (or sid)?
09:41:19 *** TGYoshi has joined #openttd
09:51:21 *** Firartix has joined #openttd
09:51:37 *** CornishPasty is now known as NodePasty
09:56:27 <TrueBrain> __ln__: I guess there is no way any of us can get an SSH connection to that box, to fiddle around a bit? :)
10:28:53 *** tokai|mdlx has joined #openttd
10:43:18 *** KenjiE20 has joined #openttd
11:06:47 *** Devroush has joined #openttd
11:08:12 <Eddi|zuHause> wtf? i don't understand hg...
11:08:25 <Eddi|zuHause> a new file that was pulled cleanly from the repo
11:08:33 <Eddi|zuHause> hg status says it's modified
11:08:40 <Eddi|zuHause> hg diff says the complete file changed
11:08:46 <Eddi|zuHause> hg diff -b says nothing changed
11:09:09 <Eddi|zuHause> hg revert does nothing. afterwards same thing
11:09:21 <Eddi|zuHause> dos2unix and unix2dos also change nothing
11:10:08 <__ln__> TrueBrain: it's my private email/etc server in my home network, so giving ssh access to outsiders is a bit of a problem :)
11:10:29 <TrueBrain> __ln__: I can imagine ;)
11:10:34 <TrueBrain> so we just bug you more with stuff :P
11:11:52 *** goodger has joined #openttd
11:23:14 *** TWerkhoven[l] has joined #openttd
11:52:34 *** TWerkhoven2[l] has joined #openttd
12:28:41 *** telanus1 has joined #openttd
12:33:29 *** Hazzard has joined #openttd
12:39:17 *** roboboy has joined #openttd
12:44:55 *** telanus has joined #openttd
12:53:30 *** telanus1 has joined #openttd
13:07:30 *** theholyduck has joined #openttd
13:10:12 *** oskari89 has joined #openttd
13:36:25 *** sla_ro|master has joined #openttd
13:51:07 *** Zeknurn has joined #openttd
14:01:20 *** telanus has joined #openttd
14:05:40 *** telanus2 has joined #openttd
14:08:37 *** th_gergo has joined #openttd
14:11:11 *** drac_boy has joined #openttd
14:14:47 <drac_boy> how're you dihedral? :p
14:15:46 <drac_boy> ok for now..just trying to sort out a few things -_-
14:16:23 <drac_boy> wondering what to do next week as well heh
14:23:31 <drac_boy> dihedral what kind of trains you into btw? ;)
14:23:54 *** mahmoud has joined #openttd
14:24:10 <dihedral> ... interesting question considering i do not play :-D
14:24:31 <oskari89> Hey, how can i convert introduction on year 1970 to date number in NewObject introduction date property?
14:24:34 <drac_boy> dihedral you don't play with real trains? heh :-P
14:25:02 <dihedral> i play with model planes :-)
14:25:09 <dihedral> rc controlled, oh - and helicopters :-)
14:34:01 <oskari89> And what is defauld build cost?
14:35:55 <drac_boy> default? how about $1400 per track tile?
14:36:07 <Eddi|zuHause> oskari89: usually you enter the date as an escape (nfo) or macro (nml)
14:36:21 <Eddi|zuHause> oskari89: e.g \d1970-01-01
14:37:15 <Eddi|zuHause> that is an escape
14:37:28 <Eddi|zuHause> a macro is date(1970,1,1)
14:38:52 <oskari89> So if i want something to introduce on 1.6.2001, i write: introduction_date (2001,6,1) ?
14:59:04 *** NodePasty is now known as CornishPasty
14:59:37 *** CornishPasty is now known as Guest435
15:00:04 *** Guest435 is now known as CornishPasty
16:02:41 *** |Jeroen| has joined #openttd
16:07:20 *** collinp has joined #openttd
16:37:48 *** Progman has joined #openttd
16:48:07 *** andythenorth has joined #openttd
17:11:14 *** Alberth has joined #openttd
17:11:14 *** ChanServ sets mode: +o Alberth
17:39:51 *** andythenorth has joined #openttd
17:45:27 <CIA-1> OpenTTD: translators * r24197 /trunk/src/lang/ (belarusian.txt ukrainian.txt vietnamese.txt):
17:45:27 <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
17:45:27 <CIA-1> OpenTTD: belarusian - 1 changes by Wowanxm
17:45:27 <CIA-1> OpenTTD: ukrainian - 2 changes by edd_k
17:45:27 <CIA-1> OpenTTD: vietnamese - 4 changes by nglekhoi
17:59:59 *** Djohaal has joined #openttd
18:02:28 <DorpsGek> oskari89: Yexo was last seen in #openttd 20 hours, 39 minutes, and 36 seconds ago: <Yexo> good night all
18:09:26 * andythenorth watches tom and jerry cartoons
18:10:00 *** frosch123 has joined #openttd
18:12:25 <andythenorth> works for those in rtl :P
18:12:46 <Alberth> you should watch jerry and tom cartoons instead :)
18:17:20 <frosch123> maybe there is also a "rana et ciconia " cartoon
18:25:21 *** andythenorth has joined #openttd
18:29:09 *** FLHerne has joined #openttd
18:29:31 <oskari89> I need help, how i do use sound callbacks (animation?) to produce continuous sound on certain NewObjects, coded by NML?
18:32:47 <oskari89> There's those Default loops, which are to be coded :P
18:33:46 <oskari89> But can there be random interval sounds in addition to default looping sound, as stated there?
18:40:45 *** goodger has joined #openttd
18:41:29 <frosch123> oskari89: you cannot make continous noise
18:41:47 <frosch123> you can restart a sound every few seconds maybe, but that's not necessarily the same
18:42:11 <oskari89> Yexo told that using callbacks it could be possible :P
18:42:40 <frosch123> well, yes, depends how "continuous" they shall be
18:43:08 <frosch123> anyway, newgrfs use basically wav files
18:43:12 <oskari89> It should sound non-stop :P
18:43:20 <frosch123> they can start them, and then they play until they are finished
18:43:45 <oskari89> What if it is called again when the former is still playing?
18:44:01 <frosch123> if ottd runs in real time you can maybe make the start of sound line up with the end of the previous
18:44:10 <frosch123> bug, if ottd starts lagging, the sound will lag as well
18:44:19 <frosch123> oskari89: does not matter
18:44:35 <frosch123> when a sound is started it does not longer now what started it
18:45:00 <frosch123> but i think there is some limit on the number of sounds which are played simultaneously
18:45:20 * Alberth thinks continuous sounds is very annoying
18:45:36 <frosch123> and i believe the sound is also only played if the house is visible on the screen in the moment the sound is started
18:46:03 <frosch123> Alberth: yes, pikkas trains are indeed very annoying
18:46:11 <frosch123> but luckily i always play without sound anyway :)
18:46:27 <Alberth> I always play without pikkas trains :)
18:47:16 <oskari89> I think that is good :P
18:47:26 <oskari89> To have running sounds :)
18:47:50 <frosch123> well, take a look at nars2. i forgot whether it is constant noise or only when accelerating
19:00:21 <Alberth> oskari89: that only works when it is not constant, otherwise it becomes just background noise
19:01:28 <Alberth> ie like a radio or tv that is on but you are not really listening/watching
19:02:31 <oskari89> And idling sounds too :P
19:03:07 <oskari89> Sound levels aren't yet final, but...
19:03:43 <oskari89> NARS2 hasn't got much variation, but those are better than that, i think.
19:06:39 *** Chris_Booth has joined #openttd
19:09:35 *** supermop has joined #openttd
19:10:31 <krinn> hep zuu, should we use a title for message, or/and a switch to display them (some debug mode) and/or always or not display errors for SCP as we are a lib?
19:10:31 <oskari89> Alberth: It does matter when zoomed in for a certain area, and then some train with running sounds comes across :P
19:10:48 <oskari89> Other than that, silence.
19:11:04 <Alberth> right, like people have that few trains :)
19:12:19 <oskari89> And it does really matter in FTS case when there's much variation with train/locomotive types :)
19:12:23 <Zuu> krinn: Preferable dont display so much to the log. You could use a log-wrapper function that checks a AI config setting if logging should be done or not. Eg. scp_log_level, or go with the same log-setting as SuperLib uses.
19:12:56 <Zuu> However, errors or warnings that are important are okay to display.
19:13:12 <Zuu> Especially if they are due to someone using the library in the wrong way.
19:13:52 <krinn> Zuu i have tried all i could, we cannot get any value from the hoster if the dev doesn't allow it, i could find what class call the lib, but this doesn't gave us much info, so we cannot reliably get version, progname or any settings of our host
19:13:52 <Zuu> But by default, I would not log anything at the library startup.
19:14:53 <krinn> so scp setting cannot depend on the AI/GS running it, as we're blind of what mode the script is running the lib
19:14:54 <Zuu> Indeed, as OpenTTD don't have an API to get the short name etc. of the current AI.
19:15:25 <krinn> i think a "SCP:" before any message/error to help see who say it
19:15:53 <krinn> so people could blame us instead of the script author :)
19:17:01 <Zuu> We can also use the API to read AI/GS settings, and then document that an AI/GS that want to allow players to tune SCP logging to include that setting.
19:17:20 <Alberth> you don't need AI/Script context knowledge?
19:17:32 <Zuu> SuperLib does this with two settings.
19:17:34 <krinn> we cannot get it anyway Alberth
19:17:44 <Zuu> One for signs and another for logging.
19:18:49 <krinn> Zuu, but we could detect the dev_settings, so maybe 0 logging except errors if ai_dev settings off and logging when on ?
19:18:57 <Zuu> Another option is to provide a way to turn on/off logging of the library by calling some function (that behind the sceens change a global variable with a very unique name)
19:20:00 <Zuu> krinn: Also a posibility, as long as the logging is not too extensive and would become spammy for the AI/GS developer who want to see his/her own log messages.
19:20:03 <Alberth> krinn: that's no reason for using SCP: imho. If you want people reporting to you, you have to be able to deal with the problem without context info. If that's not possible, I'd say let it go through the AI/Script author (ie you are upstream for him), so you can get context information.
19:21:08 <krinn> Albert well for real crash error, it's easy, we get the context that target us, but the real problem is error made by the script author, per example using a class as arguement for a function that need an integer or other weird things
19:22:05 <Zuu> The real problem is if they send the wrong object type. A integer arg can be told apart from an object, but not two object types.
19:22:31 <Zuu> Eg, you can't get the type of an instance.
19:22:45 <krinn> Zuu, maybe a public scp_logging scp_error settings the dev could swap himself with a default to off for logging, and on for errors?
19:23:01 <Zuu> Althoug you could call .rawin("member") to check if a member exist :-)
19:23:25 <Alberth> Zuu: and whether you want depends on your idea of the world.
19:23:51 <Alberth> do you trust your users or don't you?
19:24:04 <Alberth> checking every parameter on every call also takes time
19:24:26 <krinn> could trust users, but cannot trust them blindly no?
19:24:47 <Zuu> I think we generally should trust the script authors.
19:24:47 <Alberth> it's their program that crashes
19:24:55 <krinn> because the lib also have a GS part, and that part is problematic
19:25:02 <Zuu> But we should not crash if a evil player places evil signs at the communication tile.
19:25:13 <krinn> the AI part crash, an AI crahs, the GS part crash, a server may crash for all users
19:25:42 <Zuu> No, a GS will not crash the server
19:25:56 <Zuu> But the GS will crash and the goals will not work anymore.
19:25:59 <krinn> not the server, but ruinning all players goals...
19:27:21 <Zuu> Some robustness is good, but the extreme end to check all input from scripts is also perhaps not the answer.
19:27:40 <krinn> Zuu, keeping the register part alone should be enough so ?
19:28:17 <Zuu> I haven't looked into the register part really to see how hard it would be for a human to trick it.
19:29:29 <Zuu> But basically put the sign parser in a try-block and make sure to not crash no matter what a sign may contain.
19:29:50 <Zuu> (I know this is not completely solid, but somewhat)
19:30:34 <BtbN> Hi, how do i tell a train to unload passengers for transfer, and load goods, without re-loading the passengers?
19:30:40 <krinn> The register part is enough complex at least to show it was intentional
19:31:27 <Zuu> Well, we could try to break it later and see if it needs to be strengthed at some point.
19:35:00 <Zuu> BtbN: For that I think you need a wagon that can refit between passenger and goods, something I don't know if it exists. Maybe NUTS have it?
19:35:05 *** Djohaal_ has joined #openttd
19:35:42 <supermop> the manley-morrell can hold either
19:35:53 <Zuu> With such wagons, you can refit the entire train to passenger or goods, and thus not have the problem of loading passengers after having transfered them.
19:36:13 <BtbN> it's possible to shedule refit?
19:36:21 *** kais58_ is now known as kais58
19:36:33 <Zuu> Some sets also allow "auto-refit" which means that they can be refit in stations.
19:36:43 <Zuu> Others can still be ordered to be refit in depots.
19:36:56 <BtbN> how do i get such a wagon, if it's in standard set?
19:37:08 <Zuu> IIRC both OpenGFX+ Trains and UKRS support auto-refit.
19:38:07 <krinn> BtbN, as town can accept passenger and good, but produce only passenger, i hardly see when you will need to load good without loading passenger?
19:38:14 <Zuu> BtbN: In the standardset you need the engine that can have passenger in the locomotive. Build a couple of those and couple togeather.
19:39:09 <krinn> BtbN, if you have a train with passenger + good, just drop off the passenger at the station, load the one there and load the good there
19:40:12 <krinn> are you routing passenger from town to an industry that produce good and drop them off there ?
19:40:57 <krinn> openttd should hanlde insult signs from passengers :)
19:42:41 <krinn> you could use a train that made the run from A thru B carrying them, even it will pass by C (the industry) to reuse existing rails and route from A-C and C-B
19:43:23 <krinn> and a full good trains that could load at C drop at A, next load at C drop at B if you wish balance in the two towns
19:47:47 <krinn> ending with passengerTrain order: load at A, non-stop load at B and good train : load at C non stop B, load at C non stop A
19:51:08 <BtbN> Hm, my server does not load the OpenGFX+ Trains newgrf
19:51:27 <BtbN> i put the .grf file in the newgrf dir, is that correct?
19:55:51 <krinn> BtbN, use content download, easier, faster, and opengfx trains is in the list
19:56:22 <BtbN> it's a dedicated server without ui
19:57:45 <BtbN> ok, it lists OGFX+ Trains as installed, so my location seems to be ok
19:59:19 <supermop> man I am surprised that no one wanted the (arguably) better depots that Oberhmer made for me...
19:59:34 <supermop> oh, well 3 people have downloaded it
20:00:06 <supermop> even though you can see an alignment problem in the screen shot. I'll need to figure out how to fix that
20:02:11 <Chris_Booth> supermop: is it on bananas?
20:03:46 <BtbN> will the client auto-download the newgrfs the server is using?
20:03:54 <supermop> it still has some problems
20:04:11 <supermop> i was hoping someone could look at them and give me a hand
20:04:44 <Chris_Booth> supermop: you got a tt-forums link?
20:04:59 <supermop> also oberhmer coded it for me, so I am not sure if it is proper for me to upload or if i should rewrite it myself
20:05:28 <frosch123> BtbN: moving the grf to the newgrf dir is not enough
20:05:33 <frosch123> you also need to add it to the game
20:05:47 <frosch123> if you start a new game you have to put it into openttd.cfg
20:05:56 <BtbN> frosch123: i added a line under [newgrf] in cfg
20:06:06 <frosch123> but usually it is easier to set up a game with a gui client, transfer the game to server and start it with it
20:06:32 <BtbN> yeah, but my local game saves the newgrfs in a diffrent location
20:06:53 <frosch123> the savegame stores the newgrfs using the grfid and a checksum
20:07:12 <BtbN> but i only transfered config, no savegame
20:07:41 <BtbN> but it seems like it worked
20:08:04 <BtbN> at least the Trains newgrf is listed as active when i'm connected
20:14:26 *** Rhamphoryncus has joined #openttd
20:24:24 *** supermop has joined #openttd
20:25:07 <supermop> hm this mac book air signs me out from irc all the time
20:29:03 <DorpsGek> oskari89: I have not seen as.
20:30:48 *** LordPixaII has joined #openttd
20:38:19 *** supermop has joined #openttd
20:41:48 *** andythenorth has left #openttd
21:54:59 *** Firartix has joined #openttd
23:05:19 *** TWerkhoven2[l] has quit IRC
23:12:14 *** Hazzard has joined #openttd
23:18:02 *** Stimrol has joined #openttd
continue to next day ⏵