IRC logs for #openttd on OFTC at 2012-06-26
            
00:03:42 <Eddi|zuHause> possibly true, but there should be no ways for a grf to crash openttd
00:04:03 *** kkimlabs__ has quit IRC
00:11:09 *** glx has quit IRC
00:17:01 *** glx has joined #openttd
00:17:01 *** ChanServ sets mode: +v glx
00:21:59 *** Djohaal has joined #openttd
00:48:54 *** pugi has quit IRC
00:55:55 *** KritiK has quit IRC
01:07:07 *** kais58 has quit IRC
01:13:27 *** roadt has joined #openttd
01:14:46 *** mahmoud has quit IRC
01:32:39 *** Noy has quit IRC
01:33:59 *** lovej has joined #openttd
01:36:05 *** lovej has quit IRC
01:39:49 *** perk11 has quit IRC
01:42:05 *** Noy has joined #openttd
01:45:50 <Rubidium> Eddi|zuHause: rubidium and water explode regardless; I doubt OpenTTD is strong enough to contain said explosion
01:47:14 <Rubidium> Eddi|zuHause: also, I don't see a bug report
01:47:26 <Rubidium> so how are we intended to know?
01:53:29 *** Dr_Tan has joined #openttd
01:57:57 *** glx has quit IRC
02:00:38 *** NataS has quit IRC
02:22:04 *** roadt has quit IRC
02:25:10 *** cyph3r has quit IRC
02:30:29 *** roadt has joined #openttd
03:10:34 *** Wakou has quit IRC
03:19:56 *** kkimlabs__ has joined #openttd
04:13:16 *** kais58 has joined #openttd
04:20:56 *** Djohaal has quit IRC
04:22:08 *** Djohaal has joined #openttd
04:56:02 *** Eddi|zuHause has quit IRC
04:56:18 *** Eddi|zuHause has joined #openttd
05:10:14 *** Djohaal has quit IRC
05:10:35 *** Djohaal has joined #openttd
05:25:57 *** Prof_Frink has quit IRC
05:27:03 <NGC3982> /w 2
05:27:09 <NGC3982> oops.
05:27:13 <NGC3982> morning
05:51:12 *** sla_ro|master has joined #openttd
05:55:04 *** Djohaal has quit IRC
05:57:29 *** Djohaal has joined #openttd
06:04:54 *** LordPixaII has joined #openttd
06:09:37 *** Pixa has quit IRC
06:20:23 *** Pixa has joined #openttd
06:23:16 *** roadt has quit IRC
06:23:32 *** TGYoshi has joined #openttd
06:25:29 *** LordPixaII has quit IRC
06:28:34 *** pjpe has quit IRC
06:36:01 *** LordPixaII has joined #openttd
06:38:23 *** roadt has joined #openttd
06:40:56 *** Pixa has quit IRC
06:43:15 *** KouDy1 has joined #openttd
06:43:53 *** KouDy has quit IRC
06:52:52 *** Wonszcz has joined #openttd
07:01:19 *** Zuu has joined #openttd
07:02:19 *** KouDy1 has quit IRC
07:03:18 *** KouDy has joined #openttd
07:04:21 *** cypher has joined #openttd
07:05:58 *** Rhamphoryncus has quit IRC
07:12:16 *** Djohaal has quit IRC
07:17:29 *** Djohaal has joined #openttd
07:38:06 *** cypher has quit IRC
07:40:32 *** Djohaal has quit IRC
07:46:36 <Wonszcz> On multi I accidently screwed up someone's train that was 20 squares long and was full of oil.
07:47:03 <Wonszcz> I will die,
07:47:37 <szaman> someone will choke you
07:47:54 <Wonszcz> God damn it, you cannot choke a snake.
07:47:59 <Wonszcz> At least not to death.
07:48:40 <Wonszcz> It can only spit.
07:48:49 <szaman> wolf carried many times, they carried him once
07:48:50 <szaman> :P
07:49:41 <Wonszcz> szaman, I curse you.
07:49:54 <szaman> do you feel train to me? :]
07:50:00 <Wonszcz> No.
07:50:10 <Wonszcz> I will kill you using a bloody altar.
07:50:46 <NGC3982> :(
07:50:48 <Wonszcz> I have a sacrifical knife.
07:50:57 <Wonszcz> Also a lamb.
07:51:05 <Wonszcz> Because little babies are too mainstream.
07:52:44 <Wonszcz> I mean.
07:52:50 <Wonszcz> If I would keep making baby sacrifices.
07:52:58 <Wonszcz> Then the human population would greatly decrease.
07:53:35 <Wonszcz> szaman.
07:53:43 <Wonszcz> I will use you as the sacrifice.
07:54:42 <Wonszcz> Okay I died.
07:54:49 <Wonszcz> A giant 20 square train has ran over me.
07:56:02 <NGC3982> :3
07:56:10 <Wonszcz> Stop smiling.
07:59:48 *** KenjiE20 has quit IRC
08:03:12 *** Wonszcz is now known as Guest1265
08:03:18 *** Wonszcz has joined #openttd
08:03:21 <Wonszcz> Damn.
08:04:43 <Wonszcz> My computer apparently loves white text on BSOD
08:06:04 *** Guest1265 has quit IRC
08:08:56 *** Zuu has quit IRC
08:18:53 *** Zuu has joined #openttd
08:24:36 *** DDR_ has quit IRC
08:27:46 *** Zuu has quit IRC
08:33:18 <szaman> Wonszcz: sorry, switch hanged
08:35:00 <szaman> Wonszcz: population would greatly decrease because of GMO
08:35:08 <szaman> would/will
08:36:10 <NGC3982> eh, wat.
08:50:20 <Terkhen> good morning
08:51:26 <NGC3982> morning TH
09:02:49 *** roadt has quit IRC
09:04:42 *** cornishpasty_ has joined #openttd
09:05:54 *** FLHerne has joined #openttd
09:05:56 *** roadt has joined #openttd
09:06:31 *** Wakou has joined #openttd
09:07:05 *** WonszczA has joined #openttd
09:07:18 <Eddi|zuHause> the forum seems awfully slow today
09:07:41 *** Rubidium has quit IRC
09:07:45 *** jonty-comp has quit IRC
09:07:50 *** jonty-comp has joined #openttd
09:08:38 *** cornishpasty has quit IRC
09:08:38 *** cornishpasty_ is now known as cornishpasty
09:09:17 <GBerten2936> it's like..unresponsive
09:09:32 *** GBerten2936 is now known as lugo
09:10:37 <NGC3982> works neat around here
09:12:20 <FLHerne> Here, too :P
09:13:36 *** Wonszcz has quit IRC
09:21:19 *** mahmoud has joined #openttd
09:35:08 *** Noy has quit IRC
09:36:26 *** Noy has joined #openttd
09:37:12 *** cornishpasty has quit IRC
09:38:58 *** FLHerne has left #openttd
09:40:03 *** mal2_ has joined #openttd
09:42:15 *** Noy has quit IRC
09:42:33 *** cornishpasty has joined #openttd
09:52:25 *** cornishpasty has quit IRC
09:53:25 *** cornishpasty has joined #openttd
09:53:40 *** welshdragon has joined #openttd
10:00:38 <WonszczA> Damn.
10:00:45 *** WonszczA is now known as Wonszcz
10:01:42 *** Devroush has joined #openttd
10:11:41 *** sla_ro|master has quit IRC
10:17:32 *** peter1138 has joined #openttd
10:17:32 *** ChanServ sets mode: +o peter1138
10:31:27 *** tokai|noir has joined #openttd
10:31:27 *** ChanServ sets mode: +v tokai|noir
10:37:19 *** tokai|mdlx has quit IRC
10:38:15 *** tokai has joined #openttd
10:38:15 *** ChanServ sets mode: +v tokai
10:41:46 *** tokai|noir has quit IRC
10:41:59 *** mal2_ has quit IRC
10:44:47 *** KenjiE20 has joined #openttd
11:27:37 *** Elukka has joined #openttd
11:40:51 *** kkimlabs__ has quit IRC
11:51:28 *** peter1138 has quit IRC
12:25:41 *** Belugas has joined #openttd
12:25:41 *** ChanServ sets mode: +o Belugas
12:26:05 <Belugas> hello
12:27:21 *** Bad_Brett has joined #openttd
12:29:13 *** glx has joined #openttd
12:29:13 *** ChanServ sets mode: +v glx
12:33:17 <NGC3982> Eddi|zuHause: does it still feel slow? it just started to lag for me..
12:33:42 <Eddi|zuHause> NGC3982: haven't noticed anything
12:41:03 *** Tvel has joined #openttd
12:45:54 *** sla_ro|master has joined #openttd
13:00:24 *** Rhamphoryncus has joined #openttd
13:04:01 *** plastics has joined #openttd
13:26:44 *** cypher has joined #openttd
13:37:26 *** roadt has quit IRC
13:43:19 *** mal2 has joined #openttd
13:48:54 *** plastics has quit IRC
13:51:38 *** mal2 has quit IRC
13:55:02 *** Elukka has quit IRC
13:57:05 *** Elukka has joined #openttd
13:58:46 *** roadt has joined #openttd
14:09:45 *** plastics has joined #openttd
14:15:23 *** Biolunar has joined #openttd
14:25:53 *** HerzogDeXtEr1 has joined #openttd
14:32:16 *** HerzogDeXtEr has quit IRC
14:52:19 *** kopoba has quit IRC
14:52:22 *** kopoba has joined #openttd
14:55:54 *** FLHerne has joined #openttd
15:05:55 *** Mazur is now known as AwesomeMazur
15:06:01 <Wonszcz> Anyone head of Happy Wheels?
15:06:06 *** AwesomeMazur is now known as Mazur
15:11:22 *** Wonszcz has quit IRC
15:13:55 *** Zeknurn has quit IRC
15:14:37 *** Zeknurn has joined #openttd
15:17:07 *** frosch123 has joined #openttd
15:23:09 *** plastics has quit IRC
15:24:17 *** Rubidium has joined #openttd
15:33:30 *** FLHerne has quit IRC
15:33:52 *** FLHerne has joined #openttd
15:43:19 *** KouDy has quit IRC
15:46:57 <kopoba> hello is there any way to automaticly run alias when i join to server?
15:50:29 <planetmaker> kopoba: if you play on luukland, you play on hacked servers. Please ask for advise there. We cannot support unreleased custom modifications of OpenTTD
15:53:25 *** kkimlabs_ has joined #openttd
15:53:39 *** pugi has joined #openttd
15:56:14 <kopoba> planetmaker i play with client that i download from here http://www.openttd.org/en/ its not official?
15:58:43 *** flaa has joined #openttd
16:00:56 <planetmaker> kopoba: yes. That's the official client. But the servers are hacked. And OpenTTD does not require anywhere any login.
16:01:52 <planetmaker> Thus the login via the chat function is their hack.
16:01:58 <planetmaker> server-side
16:02:03 <kopoba> ok
16:02:07 *** KouDy has joined #openttd
16:02:19 <kopoba> how to run alias when i join to server?
16:02:33 <planetmaker> ...
16:02:34 <planetmaker> ask them!
16:02:36 <NGC3982> :D
16:02:46 <planetmaker> most likely: there is no way
16:02:48 <kopoba> they are not developers of opttd
16:03:11 <planetmaker> exactly. But their server fakes to be an official OpenTTD version while it is not.
16:03:17 <planetmaker> We cannot support it
16:03:24 <planetmaker> Ask them about their servers
16:03:35 <planetmaker> They have a custom game. Which is not ours. It just claims to be
16:03:36 <kopoba> i dont ask of support server-side
16:04:24 <planetmaker> ... their servers require actions from the client which OpenTTD DOES NOT SUPPORT
16:04:38 <planetmaker> ask them how to do it
16:04:47 <planetmaker> Our clients support normal servers just fine.
16:04:53 <planetmaker> Normal OpenTTD servers require no login.
16:05:02 <planetmaker> Normal OpenTTD does not even know what alias is
16:05:10 <planetmaker> Thus OpenTTD does not support it
16:05:26 <planetmaker> I also don't know what alias is
16:05:35 <planetmaker> or might be
16:05:39 <kopoba> you wrong
16:05:41 <kopoba> planetmaker http://wiki.openttd.org/Console_Aliases
16:06:12 <planetmaker> ehm... you know that that's probably a quite different one?
16:06:35 <kopoba> why?
16:06:36 <kopoba> Create an alias named <name> bound to <command>.
16:07:24 <planetmaker> "You can define aliases ingame or in one of the scripts files" which implies you have ssh to the server
16:08:11 <planetmaker> if you want it in the script file
16:08:29 <kopoba> http://wiki.openttd.org/Scripts
16:08:37 <kopoba> nothing about ssh
16:09:13 <kopoba> i need somthing like this but on join the server
16:09:15 <planetmaker> otherwise use http://wiki.openttd.org/Console_Commands and follow the description...
16:09:27 *** Prof_Frink has joined #openttd
16:09:28 <planetmaker> the console offers no events
16:09:54 <planetmaker> which "on connect" would imply. You can try to modify your local script...
16:10:30 <kopoba> where can i read more about that scripts
16:10:44 <kopoba> wiki page have too small amount of information
16:11:45 <planetmaker> in the related readme.txt... bin/scripts/readme.txt
16:11:58 <kopoba> ok thanks
16:12:08 <planetmaker> +network scripts:
16:12:08 <planetmaker> should be used to set client optimization settings:
16:12:08 <planetmaker> - 'on_client.scr' is executed when you join a server [all clients]
16:12:46 <planetmaker> so there you might be lucky indeed. And ... I (re-)learnt about those scripts :-P
16:12:59 <planetmaker> I guess I should say thank you :-)
16:14:44 *** kkimlabs_ has quit IRC
16:16:54 <kopoba> no problems you are welcome =)
16:17:44 *** Zuu has joined #openttd
16:27:40 *** kkimlabs_ has joined #openttd
16:44:14 <frosch123> Question of the day: ‮?ylreporp txet lanoitceridib troppus tneilc CRI ruoy seoD
16:46:51 <Eddi|zuHause> depends on your definition of "proper"
16:47:08 <frosch123> well, can you select my line properly?
16:47:58 <Rawh_> Copy/paste is no issue there
16:48:03 *** Rawh_ is now known as Rawh
16:48:18 <Eddi|zuHause> i have trouble selecting the D if i don't want to select the start of the next line
16:49:39 <frosch123> my texteditor can not handle it
16:50:00 <frosch123> the text is shown correctly, but i cannot select anything, nor position the cursor
16:50:05 <Eddi|zuHause> if i start at the Q i select until :, and then it starts at the ? and goes backwards
16:50:22 <frosch123> that's how it should be :)
16:50:34 <Eddi|zuHause> if i paste that in the textbox, then i can edit it/move the cursor the same way
16:51:36 <Eddi|zuHause> so, except for the minor annoyance of selecting the "end" of the line, i'd answer with "yes" then
16:51:39 <Rawh> I can just doubleclick any sentence and it copies it all, regardless of what is on the line
16:51:50 <Rawh> 18:51 < Rawh> I can just doubleclick any sentence and it copies it all, regardless of what is on the line
16:51:57 <Rawh> Irssi is nice :)
16:52:30 *** plastics has joined #openttd
16:52:58 <Eddi|zuHause> Rawh: sure, doubleclick selects a word and tripleclick the line. but that wasn't really the point
16:53:03 <frosch123> Rawh: selecting the whole line is boring :)
16:53:12 <Rawh> Works for me :)
16:53:32 <Rawh> Eddi|zuHause: just as easy as ^W deletes a word
16:53:39 <Rawh> I really cannot live without that ability on irc anymore
16:53:44 <Rawh> Makes typing so much faster :P
16:53:58 <frosch123> the other day i tried kde3 kate, upon selecting it reordered the letters so that the selection is connected in one box
16:54:04 <Rawh> I hate word2010 for closing my file with ^W :(
16:54:05 <Eddi|zuHause> i hardly ever need to delete a word...
16:54:38 <Eddi|zuHause> Rawh: that should be configurable...
16:54:40 <frosch123> ctrl+w closes editor tabs in about every editor :)
16:54:59 <frosch123> though i am surprised that word supports it
16:55:11 <frosch123> i would have expected ctrl+f4 or something like that
16:55:14 <Eddi|zuHause> i don't remember ever using Ctrl+W anywhere
16:55:45 <frosch123> but, maybe ctrl+f4 is a win 3.11 hotkey :p
16:55:47 <Rawh> ctrl+w closes windows, I use it all the time for the abundance of windows I tend to have open
16:55:51 <Eddi|zuHause> i remember closing editors with Ctrl+K,Ctrl+D
16:56:00 <Eddi|zuHause> or Ctrl+K,d
16:56:07 * frosch123 still uses joe on console :)
16:56:08 <Rawh> "joe" ! :)
16:56:17 <Rawh> Ctrl-K,X here
16:56:32 <Eddi|zuHause> x is without saving?
16:56:36 <Rawh> Yep
16:56:55 <frosch123> while joe is actually totally broken, it's the console editor i am most used to :p
16:56:57 <Rawh> Most used shortcuts: Ctrl-a,d and Ctrl-a,n
16:57:00 <Eddi|zuHause> it was called "Borland Binary Editor", which my father used.
16:57:09 <frosch123> basically i am used to the bugs :p
16:57:15 <Rawh> I use "joe" over "vi" or "vim" whenever I can :)
16:57:19 <Eddi|zuHause> which he said he got from some pascal 2.0 or so
16:57:44 <Rawh> Even go as far as to export the editor=joe variable outside scripts
16:57:51 <Rawh> Or just put it in .bash_profile when I'm lazy enough
16:58:06 <frosch123> hmm, yeah... borland editors also used ctrl+k stuff
16:58:10 <frosch123> i think i forgot all hotkeys
16:58:25 <Eddi|zuHause> it's derived from starwriter commands, afaik
16:58:40 <frosch123> f2 save, f3 open, ctrl+k+f search, ctrl+k+g replace?
16:59:18 <Eddi|zuHause> well, the important ones are ^K,b and ^K,k for block selection, and ^K,c ^K,v for pasting
16:59:20 <frosch123> f4 debug to line, f7 step, f8 next, f9 run
16:59:22 <Rawh> Thinking about the good old days with WP :)
16:59:45 <Rawh> With the extra piece of paper with commands layed over the F keys :)
16:59:49 <frosch123> ah, kc and kv, yeah, i remember :)
17:00:26 <frosch123> i wonder why all those commands used a k first
17:00:59 <Rawh> Design thing I would say, just like why most windows commands use their own windows key and apple uses their apple key
17:01:11 <Rawh> It's something that they do to stand out against the rest, one might say :)
17:01:19 <frosch123> ctrl+f7 is watch variable i think
17:01:42 <frosch123> what might have been f5 and f6...
17:02:12 <frosch123> hmm, let's start dosbox and check
17:02:40 <Rawh> Hehehe
17:02:53 <frosch123> ctrl+f8 is breakpoint
17:03:22 <frosch123> ctrl+f2 is kill
17:03:48 <frosch123> alt+f5 is show screen
17:04:13 <frosch123> ah f5 and f6 are maximize and next window!
17:04:53 <frosch123> f10 is menu
17:05:10 <Eddi|zuHause> frosch123: there were other commands
17:05:17 <Eddi|zuHause> there was ^O,p for printing
17:05:38 <Rawh> Which might be related to the alt-o,p now?
17:05:41 <frosch123> i am currently looking at turbo pascal 7
17:05:44 <Rawh> Or simply using the printkey on the keyboard
17:05:46 <Rawh> No idea :)
17:05:49 <frosch123> alt+0 shows a list of window
17:05:56 <Rawh> frosch123: borland delphi or the older versions?
17:06:02 <frosch123> not delphi
17:06:22 <Rawh> I used to learn programming within borland delphi *shudders*
17:06:26 <frosch123> i own borland pascal 7 with bonus disk :)
17:06:47 <frosch123> borland pascal 7 is the thing before delphi 1
17:06:54 <Eddi|zuHause> Rawh: pascal/delphi is a rather good language for learning
17:07:18 <Eddi|zuHause> i "acquired" pascal 7 in school
17:07:26 <Eddi|zuHause> and later delphi 2
17:07:28 <frosch123> it can compile for dos realtime, dos protected mode and win 3.0
17:07:38 <Eddi|zuHause> and i had delphi 6 somewhen later
17:08:05 <frosch123> i also have delphi 2, it's even a bundle with delphi 1
17:08:41 <Eddi|zuHause> i made some of my numerics homework with delphi (console application)
17:09:12 <frosch123> hehe, me too :) later i used matlab :p
17:09:53 <Eddi|zuHause> that was when i wasn't familiar with C, and i got bored of Java quickly. then i "met" python :)
17:11:13 <frosch123> ah, my turbo pascal editor has a custom hotkey to run emtex \o/
17:12:00 <Rawh> Eddi|zuHause: I had it mostly for the silly buttons and the code underlying such a button, visual programming they call it these days I believe
17:12:18 <Rawh> Such as "action on press" "action on doubleclick" etc..etc..
17:12:49 *** valhallasw has joined #openttd
17:12:55 <Rawh> Basic stuff I guess, I'm more of an infrastructure engineering type, not programming :)
17:13:46 *** Zeknurn has quit IRC
17:14:27 *** Zeknurn has joined #openttd
17:14:59 *** Tvel has quit IRC
17:23:51 *** Progman has joined #openttd
17:25:14 *** valhallasw has quit IRC
17:26:49 *** guru3_ has joined #openttd
17:27:50 *** Wolf01 has joined #openttd
17:28:04 <Wolf01> evening
17:29:34 <frosch123> http://irclogs.qmsk.net/channels/openttd/last?count=200 <- haha, my line breaks the baglog completely
17:30:19 <frosch123> it has a unbalanced-RTL-control-code-injection vulnerability
17:30:57 <frosch123> ‬maybe this fixes it
17:31:53 <frosch123> yup, it does :)
17:33:31 *** guru3 has quit IRC
17:33:31 <Eddi|zuHause> doesn't look "fixed" to me
17:33:39 *** valhallasw has joined #openttd
17:34:57 <Eddi|zuHause> but hovering over the link somewhat tempoarily fixes it
17:38:50 <frosch123> how does not fix it for you?
17:39:12 <frosch123> does the text continue rtl after my pop-rtl-code?
17:39:17 <Eddi|zuHause> the lines don't start with the beginning of the line
17:39:40 <frosch123> yeah, but only between my first rtl line, and the "this fixes it"
17:39:41 <Eddi|zuHause> the time is at the end
17:39:52 <Eddi|zuHause> no, exactly that it does not
17:40:37 <frosch123> it does for me in firefox and in opera
17:40:58 <Eddi|zuHause> "study; financial crises preferrably start in september and in election-years"
17:41:35 <frosch123> kate already cancels the rtl code at the end of the line
17:44:01 <Eddi|zuHause> your end code definitely doesn't work in konqueror
17:46:04 *** valhallasw has quit IRC
17:49:07 <frosch123> ottd's in-game text viewer also cancels them after each line
17:56:14 <FLHerne> Is it not possible to have a combined road/tram bridge?
17:56:50 *** devilsadvocate_ is now known as devilsadvocate
17:57:02 <frosch123> it is
17:57:12 <frosch123> build a bridge of any type, then add the other type
17:57:27 <frosch123> use the normal road/tram tool
17:57:37 <frosch123> not sure whether it also works with the bridge tool
17:59:07 <FLHerne> Can't build road here:must demolish bridge first... :-(
17:59:23 <FLHerne> Perhaps I misunderstood your explanation...
17:59:33 <frosch123> first use the bridge tool to build a bridge
17:59:45 <frosch123> then use the normal road/tram tool on the bridgehead to add the other type
17:59:50 <frosch123> same works for tunnels
18:00:52 *** TGYoshi has quit IRC
18:00:53 <FLHerne> Works on one bridgehead, but not the other :o
18:01:04 <FLHerne> Thanks :-)
18:01:35 <frosch123> it works on both
18:01:41 <frosch123> but you have to click the outside part
18:01:46 <frosch123> like when building a half road
18:02:08 <FLHerne> Ah, alright
18:02:14 <frosch123> though for remove it also works in the inner side :p
18:02:20 <frosch123> seems a bit inconsistent :)
18:02:22 <FLHerne> ...
18:05:40 *** TGYoshi has joined #openttd
18:08:59 *** Rhamphoryncus has quit IRC
18:09:40 *** Rhamphoryncus has joined #openttd
18:11:52 *** valhallasw has joined #openttd
18:27:24 <Eddi|zuHause> weird. there is a tiny section of "rainbow" in the sky, but there is no rain
18:27:52 <Eddi|zuHause> and it's also in the wrong place, relative to the sun
18:28:23 *** Alberth has joined #openttd
18:28:23 *** ChanServ sets mode: +o Alberth
18:28:38 <Alberth> oi
18:31:03 <frosch123> Eddi|zuHause: either aliens, or oil
18:31:19 <frosch123> hai albert
18:31:47 * Alberth prefers aliens
18:32:52 <Alberth> Is there a game script for industry-industry subsidies I can borrow?
18:33:16 <frosch123> today at work i named a method "TurnIntoAliens" :p
18:33:36 <frosch123> ask zuu
18:33:45 <frosch123> i think zuu wrote all gs available, except maybe one
18:34:35 <Alberth> programming an alien game by accident? :)
18:36:08 <frosch123> no, just the usual trouble with not finding a fitting name for something i can think of, but not describe properly :)
18:38:08 <Alberth> I don't think it survives peer review if I try that :)
18:39:36 <frosch123> oh, it's no totally random name. i can make up reasons to call the stuff "aliens" it deals with :)
18:39:55 <Zuu> frosch123: I only wrote 4 out of 6 on banans :-)
18:40:18 <frosch123> hmm, now that i think about it... maybe "zombies" fits better than "aliens"
18:40:40 <frosch123> wasn't "zombie" the name for stalled tasks which idle and never exit?
18:40:54 <Zuu> but non of them does industry-industry subsidies. I haven't made anything with subsidies yet.
18:42:35 *** Bad_Brett has joined #openttd
18:43:08 <Alberth> frosch123: zombie is a dead process
18:43:10 *** Bad_Brett has quit IRC
18:43:50 <Alberth> but at least at Unix, its parent has not read the exit status, so it lingers in the process table
18:44:37 <Alberth> Zuu: pity, I'll make a trivial one myself then :)
18:45:54 <Zuu> local ind = GSIndustryList(); ind.Valuate(GSBase.RandItem); ind.KeepTop(2);
18:46:16 <Zuu> Then create a subsidie from ind[0] to ind[1]
18:46:29 <Alberth> I don't know how a zombie compares with 'the undead'
18:46:44 <Zuu> Althoug I beleive you cant do ind[0] or ind[1] exactly.
18:46:56 <Alberth> Zuu: perhaps they should have a cargo in common? :)
18:47:01 <Zuu> but ind.Front() and ind.Back() or so should give them.
18:47:23 <Zuu> Alberth: Thats a good requirement :-)
18:47:59 <Alberth> Zuu: can you build OpenTTD from the source?
18:49:29 <frosch123> Alberth: zuu is also a known patch writer :)
18:49:47 * Alberth takes that as a 'yes' :)
18:50:08 <frosch123> maybe he is just good at writing patches without syntax errors :)
18:51:31 <Zuu> Alberth: Yes
18:51:51 <Alberth> http://devs.openttd.org/~alberth/cargo_monitor.patch
18:52:19 <Alberth> I am playing with a game script extension that allows you to monitor industry-industry deliveries
18:53:06 <Alberth> This code extends OpenTTD in that direction, I need a script for proof of concept :)
18:53:21 *** DOUK has joined #openttd
18:53:47 <Alberth> If you are sufficiently bored..... :)
18:56:25 <Alberth> if not, that's fine too
18:56:37 <Zuu> I was bored yesterday. But not so much bored today :-)
18:57:07 <Zuu> Currently I'm reading your patch though to get an idea what it does.
18:58:29 *** mahmoud has quit IRC
19:03:30 <Zuu> Alberth: Which svn revision/hg rev is your patch against?
19:04:10 *** Bad_Brett has joined #openttd
19:04:19 <Alberth> HEAD
19:04:46 <Alberth> r24358 to be precise
19:05:32 <Alberth> Basically, you construct a 32bit number with industry/company/cargo-type
19:05:52 <Alberth> then give it to monitoring of deliveries or to pickup
19:06:03 <Alberth> then poll regularly for the amount
19:06:14 <Zuu> I think you docummented it quite well in the patch.
19:06:18 <Alberth> each poll will reset the count
19:07:14 <Alberth> yeah, I am somewhat of a doxymentation addict :)
19:08:01 <Alberth> it seemed like a gap in the current functionality
19:08:41 <SpComb> monitor?
19:08:43 <Zuu> Yep, indeed. Currently you cannot see deleveries to end point industries.
19:09:02 * SpComb thinks rrdtool graphs
19:09:03 <Zuu> And for others you have to resort to 'last month production'
19:09:40 <Alberth> SpComb yeah, the thing you're watching, or perhaps you can watch cargo deliveries too :)
19:10:35 <Alberth> yep, but that's not company oriented
19:13:10 <Zuu> Alberth: The convention for Lists in the API is the class that returns a list in the constructor has the suffix "List". Thus ScriptCargoMonitorDeliveries would be ScriptCargoMonitorDeliveryList
19:15:37 *** Mucht has joined #openttd
19:17:36 <Bad_Brett> Hey! Is there a FAQ on how to make a music pack (not the midis - the obm-file) ? And is there any way I can set a default music pack in newGRF?
19:18:04 <Alberth> thanks, patch updated
19:18:30 <frosch123> Bad_Brett: http://hg.openttd.org/openttd/trunk.hg/file/4e6c7e54d400/docs/obm_format.txt
19:18:59 <Zuu> I'm working on a test GS for you now :-)
19:19:03 <frosch123> Alberth: is it possible to extent it for towns?
19:19:11 <frosch123> just lke subsidies
19:19:40 <Bad_Brett> Thanks!
19:19:41 <frosch123> hmm, actually, it also needs some way to detect industry closure to remove stall items
19:19:43 <Alberth> sounds like it is possible :)
19:20:35 <Alberth> frosch123: doesn't matter much, it is a binary tree, so you hardly notice it still being around
19:20:36 *** roadt has quit IRC
19:21:06 <Alberth> also, the script tracks those things too probably
19:22:05 <Alberth> it'd probably need some hacking in the subsidies so the code can be shared
19:22:18 <frosch123> well, i think the state should also be saved. it's weird if scripts need a month to "boot". and when it is saved, it should clean removed industries
19:22:29 <frosch123> or it will return weird stuf when the industry id is reassigned
19:22:56 <Alberth> frosch123: my idea was that the script reads all data on save
19:23:20 <frosch123> isn't that quite hard for the script?
19:23:27 *** mahmoud has joined #openttd
19:23:29 <frosch123> then it has to process everything during autosave
19:23:42 <Alberth> and re-initializes the monitored items on reload
19:23:43 <frosch123> as the stuff is lost once queried
19:23:54 <frosch123> and scripts have very limited instructions in the save method
19:24:19 <Alberth> fair point, needs being looked at then
19:24:35 <Alberth> maybe generalize subsidies instead?
19:24:56 <frosch123> it would also be inconsistent, since everything else (like town grow goals, or even texts in the town gui) is saved
19:24:56 <Alberth> (or also)
19:25:23 <frosch123> Alberth: you mean a pool item for every connection?
19:25:39 <frosch123> sounds a bit cargodest-ish
19:25:47 <Alberth> we have a pool for subsidies?
19:26:12 <frosch123> sure, what else?
19:26:22 <frosch123> though i think it is quite limited in size
19:26:37 <frosch123> 256 items only :)
19:26:42 <frosch123> quite a lot actually
19:26:58 <Alberth> well, it seems a bit stupid to have subsidies and cargo monitoring which mostly do the same sort of thing, but are separate things
19:27:21 <Alberth> 256 sounds like sufficient to me
19:27:28 <frosch123> subsidies only monitor the connection of a single cargo between two specific objects
19:27:39 *** DOUK has quit IRC
19:27:42 <frosch123> while you seem to monitor everything for a destination
19:27:45 <frosch123> don't you?
19:27:58 <Alberth> my code also monitors only what the script says it should monitor
19:28:33 <Alberth> only particular combinations of industry/company/cargo-type
19:28:47 <frosch123> hmm, well, if the script wants to monitor a single cargo between a single source and a single industry, then subsidies are similiar
19:29:02 <Alberth> ieg all coal you bring to the Foo power plant
19:29:13 <frosch123> but, if it wants to monitor all supplies for a industry, or all destinations for a industry it would have to spawn douzen such subsidies
19:29:15 <frosch123> to monitor them all
19:29:31 <frosch123> and it would also have to constantly spawn new ones for new industries
19:29:36 <Alberth> euhm, at most 5 :)
19:29:55 <frosch123> [21:29] <Alberth> ieg all coal you bring to the Foo power plant <- but subsidies do not count "all coal"
19:30:05 <frosch123> they only count coal from a single specific source
19:30:19 <frosch123> unless you add a special value for "any source"
19:30:25 <frosch123> but then you cannot tell from which in the script
19:31:09 <frosch123> so, i think your stuff is quite different from subsidies
19:31:44 <Alberth> you may be right, I have to check it
19:32:59 <Alberth> ok, the patch just exploded in complexity, as usual :)
19:33:28 <frosch123> sorry :)
19:33:42 <Alberth> oh, np, it only gets better :)
19:37:20 <planetmaker> hello
19:37:37 <frosch123> hi pm :)
19:37:58 <planetmaker> Bad_Brett: music is not newgrf-able iirc
19:38:03 <planetmaker> only sound is
19:39:28 <frosch123> you can add ambient sounds :)
19:39:49 <frosch123> though likely not very useful for music
19:43:12 <Eddi|zuHause> the maximum file size is probably too low
19:44:03 <frosch123> 2 GB wave data is also many hours
19:44:33 <Eddi|zuHause> wasn't it something like 64k?
19:44:33 <frosch123> the problem is more that you have no real checks whether it is running, or whether you have to start it or smiliar
19:44:41 <frosch123> Eddi|zuHause: grf container 2
19:44:42 <planetmaker> Bad_Brett: 'best' documentation probably is openmsx for the obm file format. Though... I recall having some doc somewhere. But I don't recall. Did you check readmes and related documentation of openttd?
19:45:11 <frosch123> planetmaker: i linked that one already
19:45:30 <planetmaker> openmsx? sorry, I skipped some backlog :-)
19:45:39 <frosch123> no, the readme :)
19:45:42 <planetmaker> :-)
19:46:40 <frosch123> so, do your osx irc client and browser handle bidirectional text properly? :p
19:47:13 <planetmaker> I didn't find the line which you referred to. Can you give time?
19:48:15 <frosch123> http://irclogs.qmsk.net/channels/openttd/last?count=300 <- you might find it easier in there
19:48:29 <frosch123> select my question of the day
19:48:55 <planetmaker> 21:32 frosch123: [18:44:14] Question of the day: ?ylreporp txet lanoitceridib troppus tneilc CRI ruoy seoD
19:49:22 <planetmaker> hm... the visible is different from what is pasted from what is sent and received ;-)
19:49:24 <frosch123> at least your paste stripped them
19:49:53 <frosch123> ah, so you saw it correctly, but the paste removed the control codes? :)
19:49:55 <planetmaker> In my input view it looked right. In the backlog it looked like "Does the" as last part and here... strange
19:50:36 <frosch123> what does your browser do with the log?
19:50:44 <Terkhen> good night
19:50:45 <frosch123> does it cancel the rtl at the end of th eline
19:50:52 <Alberth> good night Terkhen
19:51:08 <frosch123> or is everything reversed from 18:33:53 till 19:21:32 ?
19:51:13 <planetmaker> FF13 does show a normal English question
19:51:23 <planetmaker> a completely normal line
19:51:41 <frosch123> planetmaker: select part of the line :)
19:51:49 <planetmaker> »» 18:33:53 < frosch123> Question of the day: ?ylreporp txet lanoitceridib troppus tneilc CRI ruoy seoD
19:51:54 <planetmaker> :-)
19:52:07 <frosch123> that paste stripped the control codes again :)
19:52:12 <planetmaker> yup
19:52:56 <Eddi|zuHause> frosch123: fyi, that's how it looks in my browser: www.informatik.uni-halle.de/~krause/Bildschirmfoto14.png
19:53:09 <planetmaker> ylreporp txet lanoitceridib troppus
19:53:13 <Eddi|zuHause> frosch123: and it doesn't stop at your "that fixed it" line
19:53:15 <planetmaker> like part of it :-)
19:53:30 <frosch123> Eddi|zuHause: that's also completely different to mine
19:53:33 *** DDR has joined #openttd
19:54:29 <glx> 18:33:53 < frosch123> Question of the day: ‮?ylreporp txet lanoitceridib troppus tneilc CRI ruoy seoD
19:54:49 <glx> copy paste works for me
19:55:17 <frosch123> http://devs.openttd.org/~frosch/bidirect.png <- that's what firefox and opera display for me
19:55:22 <Eddi|zuHause> frosch123: what i find the most interesting is that it puts interpunctation at the beginning of the line, and the rest normal
19:55:22 <frosch123> which i think is correct
19:55:38 <planetmaker> http://imagebin.org/218512 <-- you see that I really wondered what you meant :-) I guess the answer is 'yes' to your question
19:55:57 <frosch123> i used the force-RTL-independent-of-char-origin code
19:57:05 <glx> I see exactly like planetmaker
19:58:00 <frosch123> http://devs.openttd.org/~frosch/bidirect2.png <- that's the selection behaviour
19:58:06 <frosch123> start from left, then jump to the right
19:59:11 <frosch123> so for both pm and glx, the browser cancels the rtl at the end of the line
19:59:35 <planetmaker> probably same browser ;-)
19:59:41 <frosch123> which also do some of my editors and ottd, but not my browsers :p
20:00:01 <Zuu> Alberth: Oh, my test GS makes OpenTTD hang. somehow the CallStack only shows dll files for some reason...
20:00:09 <Eddi|zuHause> what's "end of the line" for a browser?
20:00:16 *** plastics has quit IRC
20:00:21 <Eddi|zuHause> a </p> or <br/> tag?
20:00:31 <glx> firefox 14 for me
20:00:40 <planetmaker> hm, 13.0.1
20:00:43 <Eddi|zuHause> html is supposed to ignore whitespace
20:00:46 <frosch123> http://devs.openttd.org/~frosch/bidirect.png <- btw. in that case the rtl continues until 19:20:36, where i inserted at pop-code
20:00:48 <glx> (beta)
20:00:49 <Alberth> Zuu: :(
20:02:06 <Zuu> Tries with a debug build instead. The hang happen during world generation. Probably at the phase when script get to run before the game starts. So its not like I need to run lots of time with the GS to prodece it.
20:03:37 *** cypher has quit IRC
20:04:05 <planetmaker> frosch123: now, that looks interesting ;-)
20:04:44 <Zuu> Alberth: EncodeMonitor keeps calling itself.
20:04:44 <frosch123> planetmaker: the behaviour of kde3 kate was also quite interesting
20:05:06 <Zuu> You have two EncodeMonitor functions and the one that get called by the GS calls itself instead of the other one.
20:05:30 <planetmaker> what is that like, frosch123?
20:05:48 <Alberth> Oh, interesting :)
20:06:11 <Zuu> That is what it looks like. I'll try again with a break point to catch it before the stack has overflown :-)
20:06:13 *** Djohaal has joined #openttd
20:06:43 <Zuu> Yep, its calling itself in an infinite loop
20:06:55 <Alberth> Zuu: add "::" to force it to use the global function
20:06:55 <frosch123> when selecting "day: properly?" it would reorder the text and show "[start of selection]day: properly?[end of selection]Does your IRC client support bidirection text"
20:07:29 <frosch123> i.e. it splits the rtl text in the middle and moves the stuff on the right so that the selection is a continuous block
20:07:41 <frosch123> kde4 kate does not behave like that, nor any other software i tried :)
20:07:50 <Alberth> Zuu: return ::EncodeMonitor(industry_id, company, cargo);
20:09:02 <planetmaker> that must look weired :-)
20:09:28 <Zuu> Alberth: Yep that fixes it. Now I need to hunt more bugs in my own code. :-)
20:09:50 <frosch123> yeah, but it allows continous selection without these off-points between rtl/ltr text where the selection jumps to something totally different
20:10:03 <frosch123> so, i wondered whether it was intentional :)
20:10:19 <frosch123> but it was also confusing since the text was moving all the time :p
20:23:46 <michi_cc> frosch123: You RTL text is interesting in my xchat :) I see it properly, and if I copy the *whole* line I get I including the control code. If I select inside the reversed area, the selection still moves left to right, but the selected characters are shown and copied in the physical order.
20:24:47 <frosch123> good point, that's also the case for me
20:25:15 <frosch123> so, force-direction codes are actually weird to handle
20:25:30 *** flaa has quit IRC
20:25:59 <Zuu> Alberth: http://junctioneer.net/openttd/CargoMonitorTestGS-v1.tar
20:26:09 <frosch123> i wondered whether those codes could be used to write numbers correctly
20:26:18 <frosch123> i.e. rtl
20:26:23 <Zuu> It does not display any delivery/pickup > 0 even if I pickup/deliver
20:26:41 <Zuu> pickup/delivery is displayed in the AI/GS debug window
20:27:03 <Zuu> It creates a Subsidy between the two industries that it monitors for each cargo that it monitors.
20:27:16 <Zuu> It only monitors pickup at the source industry and delivery at the target industry.
20:27:48 <Zuu> Maybe I should check one time more that pickup/delivery is not mixed up somewhere :-)
20:29:52 <Alberth> looking good at first sight
20:29:55 <Alberth> thanks
20:30:17 <Alberth> now I have to fix my patch with respect to the new ideas :)
20:30:57 *** KritiK has joined #openttd
20:31:08 <Zuu> Hmm, it does actually now show up.
20:32:03 <Zuu> At the time of delivery, it shows both delivery + pickup and the same value.
20:32:09 <Alberth> pickup administration is handled during delivery
20:32:35 <Alberth> otherwise you get all kinds of corner cases with feeder stations etc
20:32:42 <michi_cc> frosch123: Which control code did you use? There's at least two types I can see.
20:33:07 <Alberth> or possibly even round-trip delivery to the originating station for another pick-up :)
20:34:17 <frosch123> michi_cc: "start of right-to-left override" and later "pop directional formatting"
20:35:05 <Alberth> Zuu: the idea was not to use it for monitoring subsidies, but only servicing of some single industry
20:35:20 <Alberth> ie "get 500 coal from X mine
20:35:40 <Alberth> or "bring X tonnes stuff to industry Y"
20:35:44 <Zuu> I realized this. Its sort of redundant to monitor both source and dest side and you have no idea that it was transported between thoes industries.
20:36:00 <Zuu> The Subsity in this GS is more for visualization of which industries that it monitors.
20:36:19 <michi_cc> There's also right-to-left embedding, but I don't really see the difference. Third is the RTL mark, but that seems to be more like local modification for e.g. punctuation.
20:36:34 <Zuu> A cheap way to create a news item which is clickable and have all details in it. :-)
20:36:36 * Alberth nods
20:37:01 <frosch123> michi_cc: the other marks to not force rtl for latin characters for me
20:38:05 <frosch123> though the embedding thing still messes with selections :)
20:39:24 <Zuu> Alberth: http://junctioneer.net/openttd/CargoMonitorTestGS-v1b.tar <--- displays more details in the Monitor() function. But perhaps you are familar enough with Squirrel to modify the Monitor() function to get out the details that you need.
20:39:53 <Zuu> Note that you shouldn't have both 1 and 1b in OpenTTD search path at the same time as both register as version 1.
20:40:06 <Alberth> ok :)
20:40:11 <Zuu> At least you shouldn't do that if you want to predict which one it takes. :-)
20:40:43 <Alberth> yeah, I sort of copy/paste stuff until it works, and with some educated guesses, I usually get it working
20:40:56 *** Jupix has quit IRC
20:41:17 <Alberth> I cannot really be bothered to really study squirrel :p
20:41:18 <Zuu> 1b monitor and display both pickup and delivery at both industries.
20:42:28 <Alberth> hmm, 3,3k wood at a feeder station does not look good :)
20:43:09 <Alberth> Zuu: I'll have a look, and will figure it out. thanks for your efforts. I'll let you know when I have news
20:43:21 <Zuu> Great
20:44:45 <Alberth> oh, the other side of the water also has 3k wood in storage :)
20:44:49 *** Jupix has joined #openttd
20:45:23 <Alberth> let's do that another day :)
20:45:26 <Alberth> good night all
20:45:37 <frosch123> night albert
20:46:38 *** Alberth has left #openttd
20:53:58 <Wolf01> 'night
20:54:05 *** Wolf01 has quit IRC
20:58:35 *** Kylie has joined #openttd
21:01:37 <frosch123> night
21:01:40 *** frosch123 has quit IRC
21:13:40 *** Zeknurn has quit IRC
21:14:21 *** Zeknurn has joined #openttd
21:19:27 *** Progman has quit IRC
21:29:18 *** Biolunar has quit IRC
21:53:50 *** sla_ro|master has quit IRC
22:08:20 *** TGYoshi has quit IRC
22:13:00 *** Cybertinus has quit IRC
22:13:11 *** Cybertinus has joined #openttd
22:27:49 *** Zuu has quit IRC
22:49:22 *** FLHerne has left #openttd
23:06:52 *** Pixa has joined #openttd
23:12:01 *** LordPixaII has quit IRC
23:17:21 *** ben1066_ has joined #openttd
23:18:32 *** tokai|mdlx has joined #openttd
23:21:29 *** ben1066 has quit IRC
23:24:39 *** tokai has quit IRC
23:29:19 *** valhallasw has quit IRC
23:44:28 *** Devroush has quit IRC
23:45:57 *** Djohaal has quit IRC
23:55:16 *** pjpe has joined #openttd