Back to Home / #openttd / 2018 / 02 / Prev Day | Next Day
#openttd IRC Logs for 2018-02-14

---Logopened Wed Feb 14 00:00:06 2018
00:08-!-bwn [] has quit [Ping timeout: 480 seconds]
00:22-!-snail_UES_ [] has quit [Quit: snail_UES_]
00:24-!-sla_ro|master [] has quit []
00:25-!-sla_ro|master [] has joined #openttd
00:25-!-sla_ro|master is "slamaster" on @#sla #openttd
00:31-!-sla_ro|master [] has quit []
00:33-!-Netsplit <-> quits: avdg, lastmikoi, V453000, Hirundo, KenjiE20, dihedral, kais58, luaduck, @peter1138, TheIJ, (+41 more, use /NETSPLIT to show all of them)
00:34-!-Netsplit over, joins: +tokai, blathijs, +michi_cc, johnwhitlow[m], angguss[m], Sheogorath, jonty-comp, heffer, KenjiE20, Webster (+14 more)
00:35-!-Netsplit over, joins: ericnoan, Long_yanG, muffe, Taede, kais58, XeryusTC, @peter1138, Mazur, Yotson, __ln__ (+17 more)
00:35-!-Long_yanG is "long yang" on #debian #debian-es #tor #awesome #vserver #moocows #debian-apache #debian-science #python #kvm
00:36-!-mode/#openttd [+v peter1138] by ChanServ
01:13-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
01:14-!-Cubey [] has quit [Ping timeout: 480 seconds]
01:25-!-bwn [] has joined #openttd
01:25-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4
01:40-!-andythenorth [] has joined #openttd
01:40-!-andythenorth is "andythenorth" on #openttd
02:01-!-HerzogDeXtEr [] has joined #openttd
02:01-!-HerzogDeXtEr is "purple" on #openttd
02:02-!-efess` [] has quit [Read error: Connection reset by peer]
02:09-!-bwn [] has quit [Ping timeout: 480 seconds]
02:14-!-andythenorth [] has quit [Quit: andythenorth]
02:15-!-Biolunar [] has joined #openttd
02:15-!-Biolunar is "Biolunar" on #openttd #suckless
02:29-!-andythenorth [] has joined #openttd
02:29-!-andythenorth is "andythenorth" on #openttd
02:30-!-bwn [] has joined #openttd
02:30-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4
02:38-!-bwn [] has quit [Ping timeout: 480 seconds]
02:40-!-Xaroth [] has joined #openttd
02:40-!-Xaroth is "Xaroth Brook" on #openttd #opendune
03:12-!-andythenorth [] has quit [Quit: andythenorth]
03:32-!-supermop_work_ [] has quit [Read error: Connection reset by peer]
03:33-!-andythenorth [] has joined #openttd
03:33-!-andythenorth is "andythenorth" on #openttd
03:49-!-andythenorth [] has quit [Quit: andythenorth]
04:05-!-andythenorth [] has joined #openttd
04:05-!-andythenorth is "andythenorth" on #openttd
04:05-!-andythenorth [] has left #openttd []
04:13-!-colde [] has joined #openttd
04:13-!-colde is "Loke Dupont" on #openttd #tycoon
04:22-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
04:45-!-Biolunar [] has quit [Ping timeout: 480 seconds]
05:08-!-tokai|noir [] has joined #openttd
05:08-!-tokai|noir is "Christian Rosentreter" on #openttd
05:08-!-mode/#openttd [+v tokai|noir] by ChanServ
05:15-!-tokai [] has quit [Ping timeout: 480 seconds]
05:24-!-Mazur [] has quit [Ping timeout: 480 seconds]
05:33-!-Mazur [] has joined #openttd
05:33-!-Mazur is "Stefan Linnemann" on #oolite #openttd #openttdcoop.stable #openttdcoop
05:49-!-Wolf01 [] has joined #openttd
05:49-!-Wolf01 is "Wolf01" on #openttd
05:51-!-john-aj [] has joined #openttd
05:51-!-john-aj is "John" on #openttd
05:52<__ln__>moin customer of ISp that operates in more than one country
06:03-!-FLHerne [] has joined #openttd
06:03-!-FLHerne is "Francis Herne" on #openttd
06:06-!-Samu [] has joined #openttd
06:06-!-Samu is "OFTC WebIRC Client" on #openttd
06:15<Samu>ST2: hi
06:15<Samu>can I ask you a favour
06:16<ST2>you can ask, but can take some time to have time for it
06:17<Samu>I am experimenting something about goal update frequency, made it every tick, was wondering the impact it has on players
06:18<Samu>basically, was wondering if it's laggy
06:19<Samu>for me it's not laggy, but I'm local, need someone over the internet to test
06:19<Samu>plz join
06:32<Samu>who else can volunteer?
06:33<ST2>personally I think there's no need to update every tick - main reason ir that CV only gets updated quarterly
06:33<ST2>and can't test it now, @ work
06:37<Samu>i dont check the last quarter, i check the current quarter
06:45-!-HerzogDeXtEr [] has joined #openttd
06:45-!-HerzogDeXtEr is "purple" on #openttd
06:48-!-chomwitt is "chomwitt" on #debian #debian-games
06:48-!-chomwitt [~chomwitt@2a02:587:dc08:a00:9936:e12b:8bd7:1a13] has joined #openttd
06:57-!-john-aj [] has quit [Quit: john-aj]
07:06-!-bwn [] has joined #openttd
07:06-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4
07:14-!-john-aj [] has joined #openttd
07:14-!-john-aj is "John" on #openttd
07:15-!-FLHerne [] has quit [Quit: There's a real world out here!]
07:30-!-Flygon [] has quit [Remote host closed the connection]
07:33-!-ToBeFree is "ToBeFree" on @#freiwuppertal #debian #InfiniteAdventures
07:33-!-ToBeFree [] has joined #openttd
08:18-!-john-aj [] has quit [Quit: john-aj]
08:34-!-sim-al2 [] has joined #openttd
08:34-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
08:57-!-snail_UES_ [] has joined #openttd
08:57-!-snail_UES_ is "Jacopo Coletto" on #openttd
08:58-!-john-aj [] has joined #openttd
08:58-!-john-aj is "John" on #openttd
09:06-!-john-aj [] has quit [Quit: john-aj]
09:09-!-snail_UES_ [] has quit [Quit: snail_UES_]
09:47-!-nielsm [] has joined #openttd
09:47-!-nielsm is "Niels Martin Hansen" on #openttd #tycoon
09:49-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
10:10-!-FLHerne [] has joined #openttd
10:10-!-FLHerne is "Francis Herne" on #openttd
10:21-!-supermop_work [] has joined #openttd
10:21-!-supermop_work is "A CIRC user" on #openttd
10:22-!-ToBeFree [] has quit [Quit: Connection closed for inactivity]
10:26<Samu>I'm reviewing this
10:27<Samu>instead of printing the name of the colour, what if it actually acted as a colour for the text to follow?
10:27<Wolf01>Or the company name in the company colour?
10:29<Samu>what is currently do is transform {COMPANY_COLOUR} into Red (writen as text)
10:29<Wolf01>Which is pretty useless as I may not know the meaning of the colour names
10:29<nielsm>the most useful IMO would be transforming it to the color code
10:30<Samu>yes, nielsm that's what I thought
10:30<Samu>wondering if I can do that
10:30<nielsm>so you could use it for colorizing anything like station names or whatever
10:31<Samu>didn't put much thought into it when I made that, :(
10:32<Samu>the colouring order that is used for companies/liveries doesn't match the order that is used for texts
10:33<Samu>gotta make it correspond in some way
10:35<nielsm>just make a simple lookup table
10:42<Wolf01> this reminds me of something
10:49<supermop_work>Samu: some company colors might not show up well as text in that window however
10:55<Samu>"simple" lookup table... don't know how to do that
10:57<Samu>TextColour and Colours are both in the same file
10:59-!-john-aj [] has joined #openttd
10:59-!-john-aj is "John" on #openttd
11:04<Samu>gfx_type.h is used by 3 projects... scary
11:15-!-Cubey [] has joined #openttd
11:15-!-Cubey is "Jaybar" on #openttd
11:27-!-Alberth [] has joined #openttd
11:27-!-Alberth is "purple" on #openttd
11:27-!-mode/#openttd [+o Alberth] by ChanServ
11:27-!-frosch123 [] has joined #openttd
11:27-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
11:28<supermop_work>hi frosch123
11:35-!-john-aj [] has quit [Remote host closed the connection]
11:46<Wolf01>o/ quak
11:49<Samu>so i dunno how to do this :o... typical me
11:51<Wolf01>There's only one solution to that, learn how to do that instead of begging crumbs of code
11:51<Wolf01>And start from the basis, because it seem you miss even those
11:58-!-chomwitt [~chomwitt@2a02:587:dc08:a00:9936:e12b:8bd7:1a13] has quit [Ping timeout: 480 seconds]
12:03-!-chomwitt is "chomwitt" on #debian #debian-games
12:03-!-chomwitt [~chomwitt@2a02:587:dc08:a00:9936:e12b:8bd7:1a13] has joined #openttd
12:14-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
12:14-!-chomwitt [~chomwitt@2a02:587:dc08:a00:9936:e12b:8bd7:1a13] has quit [Ping timeout: 480 seconds]
12:18-!-TheMask96 [] has joined #openttd
12:18-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
12:26-!-synchris [~synchris@] has joined #openttd
12:26-!-synchris is "Synesios Christou" on #openttd
12:39-!-john-aj [] has joined #openttd
12:39-!-john-aj is "John" on #openttd
12:44-!-glx [] has joined #openttd
12:44-!-mode/#openttd [+v glx] by ChanServ
12:44-!-glx is "Loïc GUILLOUX" on +#openttd
12:53-!-Biolunar [] has joined #openttd
12:53-!-Biolunar is "Biolunar" on #openttd #suckless
12:55-!-Wormnest [] has joined #openttd
12:55-!-Wormnest is "Wormnest" on #openttd
12:59-!-APTX| [] has joined #openttd
12:59-!-APTX| is "APTX" on #openttd #kernelnewbies
13:09-!-Sylf [] has quit [Ping timeout: 480 seconds]
13:10-!-Progman [] has joined #openttd
13:10-!-Progman is "Peter Henschel" on #openttdcoop #openttd
13:14-!-Gja [] has joined #openttd
13:14-!-Gja is "Martin" on #ceph #bcache #openttd
13:19-!-Sylf [] has joined #openttd
13:19-!-Sylf is "Sylf" on #openttd #openttdcoop.stable #openttdcoop
13:33-!-FLHerne [] has quit [Ping timeout: 480 seconds]
13:39-!-john-aj [] has quit [Quit: john-aj]
13:47-!-Alberth [] has left #openttd []
13:47-!-sla_ro|master [] has joined #openttd
13:47-!-sla_ro|master is "slamaster" on @#sla #openttd
14:18-!-andythenorth [] has joined #openttd
14:18-!-andythenorth is "andythenorth" on #openttd
14:42<Samu>can't figure where to start
14:45-!-andythenorth [] has quit [Quit: andythenorth]
14:47<Samu>FormatString is called first, transformations to the string text is done there
14:47-!-andythenorth [] has joined #openttd
14:47-!-andythenorth is "andythenorth" on #openttd
14:48<Samu>GetLayouter comes later, and this is where the text color is assigned
14:49<nielsm>you shouldn't need to hook into GetLayouter at all
14:49<Samu>I need to have the special character symbol thing ready at some point during FormatString before GetLayouter calls Utf8Consume
14:50<nielsm>color codes entered in the normal way, directly in the string, are just special character values that the layouter interprets as color changes
14:50<nielsm>so if you just replace your COMPANY_COLOR formatting code with the color code value appropriate it should work
14:51<nielsm>exactly like the STRING1, STRING2 etc. "include" codes can insert color changes
14:56<Samu>i need to transform {COMPANY_COLOUR} into one of these {BLUE}, {RED}, etc...
14:57<Samu>hmm :(
14:58-!-andythenorth [] has quit [Quit: andythenorth]
14:58-!-synchris [~synchris@] has quit [Remote host closed the connection]
15:01<Samu>let me look at english.txt
15:03<Samu>yeah... this seems useful
15:04<Samu>here's only 3 colours
15:05<Samu>oh, black too, 4
15:05<nielsm>yeah but you don't need to use those
15:05<nielsm>I'm just using it as an example to point out that you don't need to change the layouting or rendering code, you just need to inject the color codes into the string
15:06<nielsm>which should be as simple as inserting the appropriate SCC_<colorname> value into the string
15:08<nielsm>and yes you just insert the codes as if they were any other character value
15:08<nielsm>SCC_CONTROL_START is defined as 0xE000 which is the first codepoint of the unicode basic multilingual plane private use area, meaning a program is explicitly allowed to define its own meaning for any code points after that
15:09<nielsm>so it can't conflict with text
15:13-!-andythenorth [] has joined #openttd
15:13-!-andythenorth is "andythenorth" on #openttd
15:17<supermop_work>YO ANDY
15:41-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
15:41-!-nielsm [] has quit [Quit: wroom]
15:48<andythenorth>YO supermop_work
16:00-!-cHawk [] has quit [Quit: Leaving]
16:01<supermop_work>other than fix rv costs, not sure what i need to do next before putting stuff on bananas
16:19-!-gelignite [] has joined #openttd
16:19-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
16:31-!-john-aj [] has joined #openttd
16:31-!-john-aj is "John" on #openttd
16:37<andythenorth>wait for NRT to be in trunk I guess
16:45<Samu>gonna give up on this colour stufff
16:47<Samu>there's no corresponding text colour for every company colour
16:47<Samu>some are missing
16:52<Wolf01>That's because using text colours is a bad idea
16:57-!-Sylf [] has quit [Ping timeout: 480 seconds]
17:00-!-Sylf [] has joined #openttd
17:00-!-Sylf is "Sylf" on #openttd #openttdcoop.stable #openttdcoop
17:01-!-sla_ro|master [] has quit []
17:08-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:09-!-andythenorth [] has quit [Quit: andythenorth]
17:35-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
17:46-!-FLHerne [] has joined #openttd
17:46-!-FLHerne is "Francis Herne" on #openttd
17:48-!-sim-al2 [~sim-al2@] has joined #openttd
17:48-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
17:53-!-Wormnest [] has quit [Quit: Leaving]
17:57-!-Biolunar [] has quit [Ping timeout: 480 seconds]
18:09<Samu>ST2: still busy?
18:14<Samu>which colours would go well into that global list?
18:14-!-Progman [] has quit [Remote host closed the connection]
18:15<Samu>btw, an AI won the game
18:16-!-Flygon [] has joined #openttd
18:16-!-Flygon is "Flygon" on #openttd
18:17-!-Gja [] has quit [Quit: Going offline, see ya! (]
18:18-!-gelignite [] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
18:27-!-john-aj [] has quit [Quit: john-aj]
18:30<ST2>sorry Samu, yes, kinda busy yet
18:30<ST2>with our #00
18:30<ST2>it's a nightmare :S
18:32<Samu>i feel like sending this to bananas, seems ready
18:32<Samu>besides, i'm not getting much feedback :(
18:32<ST2>now that you're making a CV GS, I'm making a sandbox server xD
18:33<ST2>with no goals
18:33<ST2>and no newgrf's, if that matter ^^
18:33<Samu>there is a goal mode that only ranks companies
18:33<Samu>no goal
18:33<Samu>only sorts them by value, with the most valuable always at 100%
18:34<ST2>most value (measure of CV and perf.)
18:34-!-sim-al2 [~sim-al2@] has quit [Ping timeout: 480 seconds]
18:34<ST2>at least the one I'm working on
18:35<Samu>oh you're also working on one
18:35<Samu>will it be available on bananas?
18:35<ST2>doesn't use GS
18:36<ST2>it's pure xShunter
18:38<Samu>I'm thinking of changing the amount of debug messages my GS is showing
18:38<Samu>it's insane atm
18:38<ST2>add debug levels
18:39<Samu>every other tick, it shows about 2 pages full of text
18:39<Samu>yes, debug levels, good idea
18:41<Samu>it's been a long time I've uploaded anything to bananas, i forgot what to do
18:42<Samu> it needs 4 unique characters or something, but not sure where I read that
19:00-!-supermop [] has joined #openttd
19:00-!-supermop is "A CIRC user" on #openttd
19:20-!-snail_UES_ [] has joined #openttd
19:20-!-snail_UES_ is "Jacopo Coletto" on #openttd
19:25-!-snail_UES_ [] has quit []
19:57<Samu>where do i find older openttd versions? forgot
19:58<Samu>like 1.2.0
20:12<Samu>is this page supposed to be empty?
20:18<Samu>ah nice, thx
20:19<Samu>it only got 1.7.2?
20:31<ST2>Samu... sec
20:32<ST2>on the link to download Stable:
20:32<ST2>remove the unecessary things
20:33<ST2>tada xD
20:33<ST2>did it worked?
20:34<Samu>nice, it went to here
20:34<ST2>it can goes to several places
20:34<ST2>I only told you the way to get them ^^
20:39<Samu>ok, the minimum API version for my GS appears to be 1.4
20:39<Samu>OpenTTD 1.4.0
20:40-!-bwn [] has quit [Ping timeout: 480 seconds]
20:40<ST2>that's why compat_#.#.nut files exist ^^
20:41<Samu>that's not how it works
20:42<Samu>openttd 1.4 added GSGoal::SetProgress
20:42<ST2>if you say so
20:42<Samu>can't set the GS to API 1.2
20:42<Samu>on openttd 1.2 the GS will crash
20:42<ST2>why you need that?
20:43<Samu>gotta go, take care
20:44-!-Samu [] has quit [Quit: Page closed]
20:44<ST2>a propper answer, thank you xD
21:48-!-FLHerne [] has quit [Ping timeout: 480 seconds]
21:58-!-sim-al2 [] has joined #openttd
21:58-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
22:11-!-Supercheese [] has joined #openttd
22:11-!-Supercheese is "Supercheese" on #openttd
22:15-!-sim-al2 is now known as Guest4152
22:15-!-sim-al2 [] has joined #openttd
22:15-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
22:15-!-Supercheese [] has quit [Remote host closed the connection]
22:18-!-Guest4152 [] has quit [Ping timeout: 480 seconds]
22:33-!-snail_UES_ [] has joined #openttd
22:33-!-snail_UES_ is "Jacopo Coletto" on #openttd
22:47-!-supermop [] has quit [Ping timeout: 480 seconds]
22:48-!-quiznilo [] has left #openttd [WeeChat 1.9.1]
22:49-!-glx [] has quit [Quit: Bye]
23:28-!-bwn [] has joined #openttd
23:28-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4
---Logclosed Thu Feb 15 00:00:07 2018