Back to Home / #openttd / 2016 / 05 / Prev Day | Next Day
#openttd IRC Logs for 2016-05-04

---Logopened Wed May 04 00:00:56 2016
00:02-!-ToneKnee [~quassel@host81-153-252-34.range81-153.btcentralplus.com] has joined #openttd
00:08-!-ToneKnee_ [~quassel@host86-135-233-24.range86-135.btcentralplus.com] has quit [Ping timeout: 480 seconds]
01:03-!-Xal [~xal@S0106f0f2490b0073.vw.shawcable.net] has joined #openttd
01:47-!-Xal [~xal@S0106f0f2490b0073.vw.shawcable.net] has quit [Quit: WeeChat 1.4]
02:00-!-Netsplit synthon.oftc.net <-> beauty.oftc.net quits: theholyduck, Sirenia, funnel, DDR, Clockworker, joho, luca768, innocenat, davidstrauss, Vadtec
02:00-!-Netsplit over, joins: Sirenia, Clockworker, DDR
02:00-!-Netsplit over, joins: funnel, theholyduck, innocenat, davidstrauss, luca768, joho, Vadtec
02:08-!-sla_ro|master [slamaster@89.136.141.100] has joined #openttd
02:16-!-Flygon [~Flygon@ppp118-209-238-150.lns20.mel8.internode.on.net] has joined #openttd
02:35-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
03:23-!-FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
03:26-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Ping timeout: 480 seconds]
03:27-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd
04:04-!-FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds]
04:07-!-sla_ro|master [slamaster@89.136.141.100] has quit []
04:28-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
04:28-!-mode/#openttd [+v tokai|noir] by ChanServ
04:34-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
04:44-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Remote host closed the connection]
04:47-!-TheMask96 [martijn@greed.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
04:51-!-TheMask96 [martijn@gluttony.vhost.ne2000.nl] has joined #openttd
05:01-!-Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Quit: Valete omnes]
05:05-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has joined #openttd
05:16-!-MonkeyDrone [~Monkey@89.148.41.144] has joined #openttd
05:49-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
05:52-!-Ketsuban_ [~ketsuban@2a02:c7d:a34a:9000:dd8d:abba:7f98:badf] has joined #openttd
05:54-!-Ketsuban is now known as Guest2674
05:54-!-Ketsuban_ is now known as Ketsuban
05:56-!-Sylf [~sylf@c-71-199-78-95.hsd1.mo.comcast.net] has quit [Remote host closed the connection]
05:56-!-Sylf [~sylf@c-71-199-78-95.hsd1.mo.comcast.net] has joined #openttd
05:58-!-Guest2674 [~ketsuban@2a02:c7d:a34a:9000:d8b:4450:2865:9fc7] has quit [Ping timeout: 480 seconds]
05:58-!-Ketsuban is now known as Ketsuban_
05:59-!-Ketsuban_ is now known as Ketsuban
06:01-!-FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
06:04-!-MonkeyDrone [~Monkey@89.148.41.144] has quit [Quit: Leaving]
06:17<argoneus>good morning train friends~
06:33-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
06:35-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit []
06:35-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
06:41-!-TheMask96 [martijn@gluttony.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
06:46-!-TheMask96 [martijn@lust.vhost.ne2000.nl] has joined #openttd
06:59-!-Samu [~oftc-webi@a85-139-84-99.cpe.netcabo.pt] has joined #openttd
06:59<Samu>can you take a look at those warnings? https://paste.openttdcoop.org/p3ijo1zqa
07:01-!-Biolunar [Biolunar@x4d083e17.dyn.telefonica.de] has joined #openttd
07:25<Samu>i'm having trouble removing the remnants of a vertical scrollbar
07:26<Samu>the compiler complains about game_window.hpp.sq
07:27<Samu>there is awarning in there saying this file is auto-generated
07:27<Samu>but I removed a line there regarding to the vertical scrollbar, and now it compiles
07:27<Samu>did I do something wrong?
07:43<Samu>k
07:43<Samu>Severity Code Description Project File Line Suppression State Error C2039 'WID_AIC_SCROLLBAR': is not a member of 'ScriptWindow' (compiling source file ..\src\game\game_instance.cpp) openttd d:\openttd\trunk\src\script\api\game\game_window.hpp.sq 179
07:45<Samu>here's the patch I've done to remove the scrollbar https://paste.openttdcoop.org/pquxtgg4d
07:45<Samu>it complains
07:53<Samu>it doesn't complain if I do it like this -> https://paste.openttdcoop.org/peaytjfok
07:53<Samu>there's something amiss
07:53<Samu>THIS FILE IS AUTO-GENERATED; PLEASE DO NOT ALTER MANUALLY
07:54<Samu>what generates that file? I can't seem to track where it comes from
07:54<Samu>it's under external dependencies
08:02-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Remote host closed the connection]
08:07<Samu>If I can't alter that file manually, how do I solve this problem?
08:07<Samu>I'm confused
08:13-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has quit [Remote host closed the connection]
08:18-!-TrueBrain [~truebrain@000125f6.user.oftc.net] has quit [Remote host closed the connection]
09:04-!-Wolf01 [~wolf01@host157-194-dynamic.41-79-r.retail.telecomitalia.it] has joined #openttd
09:04<Wolf01>o/
09:08-!-Guest2573 is now known as FR^2
09:13<Wolf01>purchased "mini metro" looks interesting
09:17<@peter1138>um
09:17<Alkel_U3>Humble Bundle?
09:17<@peter1138>http://bright-cars.com/uploads/austin/austin-mini-metro/austin-mini-metro-04.jpg
09:19<Wolf01>^
09:19<Wolf01>XD
09:19<Alkel_U3>one can't download a car for a few bucks yet :-)
09:20-!-FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds]
09:21<Wolf01>btw, a neighbour had that car, I always asked myself what brand it was, then I figured out as soon as I started to understans british humour
09:22<@peter1138>eh?
09:23<Wolf01>it's unusual to find british cars around here
09:36-!-Clockworker_ [Clockworke@189-30-211-216.paemt702.dsl.brasiltelecom.net.br] has joined #openttd
09:43-!-Clockworker [~Clockwork@189-30-211-216.paemt702.dsl.brasiltelecom.net.br] has quit [Ping timeout: 480 seconds]
09:45<Wolf01>ha! I lost, also there isn't the Tokyo metro :(
09:45-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
09:46-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd
09:49<supermop>yo
09:49<Samu>hi
09:50<supermop>man im hungry
09:50<Samu>nobody answered my question yet, t.t
09:52<supermop>i doubt it is something i could answer
09:53<Samu>http://irclogs.qmsk.net/channels/openttd/link/1462361142#1462361142
09:56-!-MonkeyDrone [~MonkDAce@80.88.255.44] has joined #openttd
09:56-!-Hiddenfunstuff [~Geth@y32.ip1.anvianet.fi] has joined #openttd
09:58<supermop>i certainly don't know how to help with that
09:59<Samu>oh well t.t
10:03-!-sla_ro|master [slamaster@89.136.141.100] has joined #openttd
10:03<supermop>things I know about as relates to openttd:
10:03<supermop>How to use the pencil tool in Photoshop,
10:03<supermop>How to make make architectural renderings not suited to use as game sprites
10:04<supermop>How to get away with 1) and 2) above in my down time at at work so I do not have to melt my 6 year old laptop
10:05<Wolf01>samu: don't make the UI too big, people with small screens may not be able to see the entire window
10:05<supermop>How to be overly enthusiastic about adding Monorails as a somehow meaningful yet realistic thing in game
10:05<supermop>but Not How to code said monorails
10:05-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
10:05-!-mode/#openttd [+o Alberth] by ChanServ
10:07<Samu>the window fits in 640x480
10:07<supermop>How to get too excepted about urban rapid transit and desire to turn my games into some kind of pet metabolist city
10:07<Samu>what's the smallest?
10:09<Samu>brb
10:10-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
10:10<Samu>http://i.imgur.com/6Go6VdG.png in 800x600
10:11<Samu>http://i.imgur.com/Bd1K9bh.png in 640x480
10:12<Samu>what would be a minimum?
10:14<Samu>NewGRF window is still larger
10:14<Samu>I think I'm fine
10:15<@Alberth>640x480 is pretty close to minimum
10:16<@Alberth>although mobiles sometimes have a smaller screen, I think
10:19-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer]
10:21-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
10:22<Samu>uhm, what about my other question?
10:23<Wolf01>http://img-9gag-fun.9cache.com/photo/a1MgodD_460s.jpg mmh, almost the same size
10:27<@Alberth>:)
10:28<@Alberth>I don't even know what the other question is, I don't read logs
10:29<@Alberth>computer components have become a lot less lighter, I think
10:29<@Alberth>-less
10:29<Samu>i'm removing code specific to vertical scrollbar
10:30<Samu>http://irclogs.qmsk.net/channels/openttd/link/1462361142#1462361142
10:30<Samu>sorry :o
10:31<Samu>i manually edited a file that is telling me not to manually edit
10:31<Samu>if I don't edit it, what can I do?
10:33-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
10:33<@Alberth>there is a generator program you run instead
10:34<Eddi|zuHause>Wolf01: i guess the second picture's computer is like a million times more powerful
10:35<Samu>game_window.hpp.sq line 179
10:35<Samu>complains there
10:35<Samu>how do i generate this file?
10:36<@Alberth>I would guess the generator is in the scripts directory somewhere
10:36<@Alberth>not exactly sure where, I also always have to look for it
10:36<@Alberth>something that is executable :)
10:37<@Alberth>except windows hides that concept to the users
10:38<_dp_>script/api/squirrel_export.sh
10:38<_dp_>faced the same question yesterday, lol
10:38<_dp_>took me 2 mins to google it though :p
10:46<Samu>squirrel_export.as an executable?
10:46<Samu>hmm doesn't exist
10:47<_dp_>it is, but don't ask me how to run it in windows
10:50<Samu>google says to use bash or cygwin, whatever they are
10:50<Samu>bah :(
10:52<@Alberth>.sh is usually a shell script
10:53<@Alberth>removing a line is probably fine, just go with that
10:54<@Alberth>the point of the warning that you don't start adding new code in it, as it will automagically disappear
10:54<@Alberth>+is
10:54<supermop>seems of the few servers that run firs online, all of them use 1.4.3 or 1.4.4
10:55<Samu>hmm, i added a caption
10:55<@Alberth>I tried firs 2 a few times, but the industry distances aren't working properly yet
10:55<Samu>and removed a scrollbar
10:56<@Alberth>it's very annoying to have 2 industries that you need to connect with literally 1 tile distance
10:56<Samu>sec, alberth
10:56<Samu>let me copy paste
10:57<@Alberth>you have no interest in adding stuff to trunk, so don't bother too much about it
10:58<Samu>https://paste.openttdcoop.org/pr2xjzcwr#line-424
10:58<Samu>i manually edited it like that
10:59<Samu>caption added, scrollbar removed :p
11:00<@Alberth>your copy of the source is not using the generator, as you are the only person using it
11:01<@Alberth>entire lines with the same layout will work fine
11:01<@Alberth>at worst, the lines will move when you generate the file
11:01<@Alberth>or line, even, as you added only one new entry
11:08<Samu>if someone wants to apply my patch, will they have trouble?
11:08<Wolf01>Eddi|zuHause, I think that second picture computer is already at least 10k times more powerful than my first one
11:10-!-LongyanG [~long@15255.s.time4vps.eu] has joined #openttd
11:10-!-Long_yanG [~long@15255.s.time4vps.eu] has quit [Remote host closed the connection]
11:10<Wolf01>meh, I hate when you need a bookface account to enable some section of the games :|
11:13<Samu>eh, so no one will use my patches, huhu :(
11:13<@Alberth>Samu: if they use the exact same revision, no
11:14<@Alberth>otherwise, things may change, and merging can be troublesome
11:15<Samu>i see now why it matters to add the revision to the patch name
11:16<@Alberth>you can also write it in the post, but in the name has a smaller chance of getting lost
11:21<@Alberth>for extra fun, use the git hash, so people have absolutely no idea how old the patch is
11:23-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Remote host closed the connection]
11:24-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
11:27-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Remote host closed the connection]
11:30<Samu>git?
11:33<Wolf01>bbt
11:33-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
11:42-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
11:45-!-TheMask96 [martijn@lust.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
11:46<Eddi|zuHause>@calc 2**(58/2)
11:46<@DorpsGek>Eddi|zuHause: 536870912
11:46<Eddi|zuHause>@calc 2**(58/1.5)
11:46<@DorpsGek>Eddi|zuHause: 4.36341478646e+11
11:46<Eddi|zuHause>so "a million" doesn't even quite cut it
11:47<Eddi|zuHause>well, if you consider the size reduction, maybe
11:47<@Alberth>just the size reduction is sufficient :p
11:48<@Alberth>since that works in 3 dimensons
11:48<Eddi|zuHause>not really, computers are essentially 2-dimensional
11:49<Eddi|zuHause>you have some layering and stuff, but that doesn't really matter
11:49-!-TheMask96 [martijn@pride.vhost.ne2000.nl] has joined #openttd
11:50<Eddi|zuHause>so the original is like 3x5m and the new one is like 3x5cm [simplified], so that's about a factor of 100x100
11:50<@Alberth>maybe it was an analogue computer :)
11:51<@Alberth>right, not enough thus
11:51<Eddi|zuHause>@calc 2**(58/1.5)/100**2
11:51<@DorpsGek>Eddi|zuHause: 43634147.8646
11:51-!-zeknurn` [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
11:51<Eddi|zuHause>that doesn't look right
11:51<Eddi|zuHause>@calc (2**(58/1.5))/(100**2)
11:51<@DorpsGek>Eddi|zuHause: 43634147.8646
11:52<Eddi|zuHause>@calc (2**(58/2))/(100**2)
11:52<@DorpsGek>Eddi|zuHause: 53687.0912
11:52<Eddi|zuHause>so somewhere between 50.000 and 40.000.000 ;)
11:52<Eddi|zuHause>that basically works out to 1.000.000 :p
11:53<@Alberth>:)
11:54-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Ping timeout: 480 seconds]
11:54-!-zeknurn` is now known as zeknurn
11:54<Eddi|zuHause>wolfram says the geometric mean is sqrt(2)*1.000.000
11:54<Eddi|zuHause>close enough :p
11:54<@Alberth>yep :)
11:56-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
11:56-!-mode/#openttd [+v glx] by ChanServ
12:05-!-TrueBrain [~truebrain@i210033.upc-i.chello.nl] has joined #openttd
12:11-!-Progman [~progman@p57A186CF.dip0.t-ipconnect.de] has joined #openttd
12:16-!-M-E [~M@ip4da0d6bd.direct-adsl.nl] has quit [Ping timeout: 480 seconds]
12:27-!-Samu [~oftc-webi@a85-139-84-99.cpe.netcabo.pt] has quit [Ping timeout: 480 seconds]
12:28-!-Samu [~oftc-webi@a85-139-84-99.cpe.netcabo.pt] has joined #openttd
12:35-!-V453000 is now known as BiG_ASStHUNndER
12:42<supermop>nice
12:44-!-BiG_ASStHUNndER is now known as V453000
12:45<Samu>hey Alberth i noticed that there's some divergences between NewGRF settings window and AI config window
12:45<Samu>usually how windows are closed, and such, the behaviours are different
12:45<@Alberth>I am not surprised, two different authors
12:46<@Alberth>I must say, I don't like the AI config window at all
12:46<@Alberth>buttons at unexpected places
12:47<Samu>if i have a License window open and I close the NewGRF window settings, it also closes the License window, this doesn't happen in the case of AI config
12:47<Samu>it lets the License window open
12:49<@Alberth>windows are very not-the-same in general :p
12:49<@Alberth>I think we have 2 or 3 different styles of widgets
12:50<@Alberth>and I'd be surprised if colours of windows are consistent
12:51<Samu>the License window is the same for both NewGRF and AIConfig, it seems
12:51<Samu>but both handle it differently
12:52<+glx>compare the close handlers
12:53<V453000>glad you approve supermop
12:53-!-Nijske [~oftc-webi@ip-213-49-95-33.dsl.scarlet.be] has joined #openttd
12:53<Samu>oh gosh, i crashed NewGRF, didn't even touch any of its code
12:53<Nijske>hi guys i have a question
12:53<Nijske>who can help me
12:54<+glx>just ask
12:54<Nijske>or ask you dutch ?
12:54<Nijske>speak srr
12:54<+glx>and if someone can help it will
12:54<Nijske>i wont new
12:54<Nijske>euhm how i can say iet in the english
12:55<Nijske>i wont new company in the game whitch grf i must download ?
12:55<Samu>crash also present in 1.6.0, eum, im sorry, i notice i'm too quick at crashing openttd :(
12:56<@Alberth>you should download an AI instead
12:56<@Alberth>it's a computer competitor
12:56<@Alberth>it starts its own company against you
12:56<Nijske>yes but you can download new company ?
12:58<@Alberth>you download a new player that starts a company
12:58<@Alberth>or do you want to start a new game?
12:59<Nijske>yes whit more factory i mean
12:59<@Alberth>https://wiki.openttd.org/AI_settings
12:59<Nijske>normaly you can download new grf for that
12:59<@Alberth>ah, ok
12:59<Nijske>srr
13:00<@Alberth>no problem, text medium is difficult to understand
13:00<Nijske>my english is not verry good but i do my best :)
13:00<@Alberth>so you want different industries?
13:00<Nijske>yes
13:00<@Alberth>a newgrf will work indeed
13:01<@Alberth>there is ECS if you like stockpiling
13:01<@Alberth>FIRS for a lot of diversity
13:01-!-HerzogDeXtEr [~farci@89.246.168.4] has joined #openttd
13:01<+glx>ECS is complex
13:01<@Alberth>and YETI for awesome graphics
13:01<Nijske>ow ok
13:02<Nijske>what do you think is the best ?
13:02<@Alberth>there is also PBI (pikkas basic industries), but never tried that
13:02<+glx>don't forget you'll need new vehicles too, else you won't be able to transport cargos
13:02<V453000>YETI mainly has great production mechanisms, and now real dependence on towns :P
13:02<@Alberth>do you want 32bpp sprites?
13:02<V453000>the graphics are a nice face but under the hood is the real treasure
13:03<@Alberth>FIRS is all 8bpp, like the original game
13:03<Nijske>its not easy i think :p
13:04<@Alberth>but you can also try FIRS and YETI both (*not* at the same time)
13:04<@Alberth>see which one you like best
13:04<Nijske>ok
13:04<@Alberth>problem is you have to play more openttd :)
13:04<Nijske>i do First than
13:05<Samu>Ok, the crash is similar in nature to the others I've already reported. Basically, it didn't close the License window that I opened when I removed a NewGRF from the Active list of NewGRFs. Do I really have to report it?
13:05<Samu>it was trying to display a license for a null
13:05<Samu>something like that
13:05<Nijske>thanks for the help :)
13:05<@Alberth>as glx said, you also need to use a different train and truck set
13:06<@Alberth>default trains and truck do not work
13:09<Samu>show I create a new report, or append it to the same report?
13:10<Samu>very similar in nature to these https://bugs.openttd.org/task/6453
13:10<@Alberth>make a note in the existing report, imho
13:16-!-glx_ [~glx@2a01:e35:2f59:c7c0:1fb:d12a:b94e:ea92] has joined #openttd
13:16-!-glx is now known as Guest2708
13:16-!-glx_ is now known as glx
13:16-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
13:17<Samu>https://bugs.openttd.org/task/6453#comment14175 like that?
13:22-!-Guest2708 [~glx@000128ec.user.oftc.net] has quit [Ping timeout: 480 seconds]
13:26-!-Biolunar [Biolunar@x4d083e17.dyn.telefonica.de] has quit [Quit: leaving]
13:40<@Alberth>seems fine to me, thanks
13:45-!-Guest3054 [spbot@109.204.237.153] has quit [Server closed connection]
13:46-!-Nijske [~oftc-webi@ip-213-49-95-33.dsl.scarlet.be] has quit [Ping timeout: 480 seconds]
14:00-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
14:02-!-andythenorth [~Andy@cpc87201-aztw31-2-0-cust156.18-1.cable.virginm.net] has joined #openttd
14:02<andythenorth>o/
14:03<frosch123>\o
14:04*andythenorth enjoys a game
14:04<supermop>yo andythenorth
14:10<V453000>cat
14:10<andythenorth>just saw it on the wall
14:10<andythenorth>not mine, the neighbours'
14:10*andythenorth no cat
14:14-!-smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
14:17-!-Hazzard [~Hazzard@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
14:17-!-Hazzard [~Hazzard@188.cimarosa.openttdcoop.org] has joined #openttd
14:17<andythenorth>forums iz FIRS today
14:18-!-Osai [~Osai@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
14:18-!-Osai [~Osai@188.cimarosa.openttdcoop.org] has joined #openttd
14:18-!-fonsinchen [~fonsinche@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
14:19-!-fonsinchen [~fonsinche@188.cimarosa.openttdcoop.org] has joined #openttd
14:27-!-rah_ [rah@verain.settrans.net] has joined #openttd
14:27-!-Yexo [~Yexo@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
14:28-!-Yexo [~Yexo@188.cimarosa.openttdcoop.org] has joined #openttd
14:29-!-rah [rah@verain.settrans.net] has quit [Ping timeout: 480 seconds]
14:29-!-LordAro [~LordAro@runciman.default.hacksoc.uk0.bigv.io] has quit [Ping timeout: 480 seconds]
14:29-!-Ketsuban [~ketsuban@2a02:c7d:a34a:9000:dd8d:abba:7f98:badf] has quit [Ping timeout: 480 seconds]
14:29-!-TinoDidriksen [~TinoDidri@tinodidriksen.com] has quit [Ping timeout: 480 seconds]
14:30-!-LordAro [~LordAro@2001:41c8:51:10d:feff:ff:fe00:316b] has joined #openttd
14:31-!-TinoDidriksen [~TinoDidri@tinodidriksen.com] has joined #openttd
14:31-!-Ketsuban [~ketsuban@2a02:c7d:a34a:9000:dd8d:abba:7f98:badf] has joined #openttd
14:35<Samu>it's a bit complicated to manage a window which can have 2 "parents"
14:36<Samu>it's entirely my fault here, I wanted to do this
14:37<Samu>I wanted the AI Settings to be accessed from either AI debug or AI config
14:49<Samu>ugly, the slots really have to be identified in the window title
14:50<Samu>i can move slots up and down with select AI window and configure window both open
14:50-!-AdmiralKew [~pcc31@119.94.111.243] has joined #openttd
14:50<Samu>i'm surprised the parameters don't get confused and are still applied to the correct slot and correct configuration
14:53<Samu>either this, or a complete re-design of AI Config and all related windows it spans
14:57-!-AdmiralKewl [~pcc31@119.94.111.243] has joined #openttd
15:03-!-AdmiralKew [~pcc31@119.94.111.243] has quit [Ping timeout: 480 seconds]
15:17-!-andythenorth [~Andy@cpc87201-aztw31-2-0-cust156.18-1.cable.virginm.net] has quit [Quit: andythenorth]
15:21-!-roidal [~roland@194-152-173-232.adsl.highway.telekom.at] has joined #openttd
15:22-!-Progman [~progman@p57A186CF.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
15:37-!-TrueBrain_ [~truebrain@i210033.upc-i.chello.nl] has joined #openttd
15:37-!-TrueBrain is now known as Guest2737
15:37-!-TrueBrain_ is now known as TrueBrain
15:38-!-Guest2737 [~truebrain@000125f6.user.oftc.net] has quit [Ping timeout: 480 seconds]
16:02-!-gelignite [~gelignite@x4e305021.dyn.telefonica.de] has joined #openttd
16:11-!-svip [~svip@static.227.17.9.176.clients.your-server.de] has quit [Server closed connection]
16:11-!-svip [~svip@static.227.17.9.176.clients.your-server.de] has joined #openttd
16:17<Samu>I want to change this http://i.imgur.com/Bd1K9bh.png into that http://i.imgur.com/4LpVKjN.png
16:17<Samu>second image is photoshop
16:18<Samu>ops, not entirely like that
16:19<Samu>but ya, a way to identify an AI that started as random, while in-game
16:19-!-andythenorth [~Andy@cpc87201-aztw31-2-0-cust156.18-1.cable.virginm.net] has joined #openttd
16:19<Samu>and list Companies 1 - 15
16:20<Samu>this list is unmovable
16:20<Samu>permanent text
16:20<Samu>any tips how to make this?
16:22<Samu>i can't figure how to "build" a string made of 3 strings
16:24<andythenorth>is there a substring system?
16:28-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:30-!-AdmiralKew_ [~pcc31@119.94.111.243] has joined #openttd
16:37-!-AdmiralKewl [~pcc31@119.94.111.243] has quit [Ping timeout: 480 seconds]
16:38<Samu>I think so, but i can't quite get the whole picture
16:39<Samu>the whole procedure
16:45-!-Tirili [~Unknown@HSI-KBW-082-212-030-207.hsi.kabelbw.de] has joined #openttd
16:46<Eddi|zuHause>substring of what?
16:47<andythenorth>similar to newgrf
16:48<andythenorth>text stack or similar
16:54<Eddi|zuHause>the game has a textstack, on which the newgrf-textstack is based
16:54-!-AdmiralKewl [~pcc31@119.94.111.243] has joined #openttd
16:54<Eddi|zuHause>i'm assuming GS can use that as well
16:59-!-AdmiralKew_ [~pcc31@119.94.111.243] has quit [Ping timeout: 480 seconds]
17:00-!-Hiddenfunstuff [~Geth@y32.ip1.anvianet.fi] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it]
17:10-!-m1cr0man [~m1cr0man@ns312254.ip-188-165-194.eu] has quit [Server closed connection]
17:10-!-m1cr0man [~m1cr0man@ns312254.ip-188-165-194.eu] has joined #openttd
17:13-!-andythenorth [~Andy@cpc87201-aztw31-2-0-cust156.18-1.cable.virginm.net] has quit [Quit: andythenorth]
17:24-!-Progman [~progman@p57A186CF.dip0.t-ipconnect.de] has joined #openttd
17:29-!-Nothing4You [N4Y@nothing4you.w.tf-w.tf] has quit [Server closed connection]
17:30-!-Nothing4You [N4Y@nothing4you.w.tf-w.tf] has joined #openttd
17:41-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
17:51-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving]
18:00-!-AdmiralKewl [~pcc31@119.94.111.243] has quit [Read error: Connection reset by peer]
18:01-!-AdmiralKewl [~pcc31@119.94.111.243] has joined #openttd
18:16-!-DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has quit [Remote host closed the connection]
18:18-!-roidal [~roland@194-152-173-232.adsl.highway.telekom.at] has quit [Quit: WeeChat 1.4]
18:19-!-sla_ro|master [slamaster@89.136.141.100] has quit []
18:22-!-womble [~mjp16@minotaur.hezmatt.org] has quit [Server closed connection]
18:22-!-womble [~mjp16@minotaur.hezmatt.org] has joined #openttd
18:50-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
18:51<Samu>question: DrawString(r.left + 10, r.right - 10, y + WD_MATRIX_TOP, cid);
18:51<Samu>how do I calculate a distance offset to put on the 2nd DrawString?
18:52<Samu>r.left + 10 + largest distance based on the first string it was drawn
18:53<Samu>furst string will display string cid
18:54<Samu>cid is "Company 1" or "Company 2" or etcc... "Company 15"
18:56<Samu>guiding myself from this: http://i.imgur.com/4LpVKjN.png
18:57<Samu>StringID cid = STR_AI_CONFIG_AILIST_COMPANY_ID_1 + i;
19:00<Samu>erm, i guess i'm copy paste my code, better to visualize what I done so far
19:01<Samu>https://paste.openttdcoop.org/pyjy8a4ym
19:02<Samu>line 5 it draws the first string, the "Company #", line 16-17 draws the rest of it, but I'm using a random offset of 90 in that example
19:03<Samu>I want instead, compute the offset into avariable
19:16-!-Progman [~progman@p57A186CF.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
19:20-!-debdog [~debdog@2a02:8070:4584:4200:7a24:afff:fe8a:d04d] has quit [Server closed connection]
19:20-!-debdog [~debdog@2a02:8070:4584:4200:7a24:afff:fe8a:d04d] has joined #openttd
19:38-!-liq3 [liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has joined #openttd
19:38-!-liq3 [liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has quit []
19:41<_dp_>Samu, there is GetStringBoundingBox function, check NetworkClientListWindow for example
19:44<Samu>ok, thx
19:53-!-Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has joined #openttd
19:59-!-gelignite [~gelignite@x4e305021.dyn.telefonica.de] has quit [Quit: http://bit.ly/1kso8Ta]
20:03-!-Samu [~oftc-webi@a85-139-84-99.cpe.netcabo.pt] has quit [Quit: Page closed]
20:17-!-Tirili [~Unknown@HSI-KBW-082-212-030-207.hsi.kabelbw.de] has quit [Quit: Leaving]
20:31-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd
20:42-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
21:03-!-LongyanG [~long@15255.s.time4vps.eu] has quit [Server closed connection]
21:03-!-LongyanG [~long@15255.s.time4vps.eu] has joined #openttd
21:06-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Server closed connection]
21:07-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
21:09-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer]
21:36-!-Clockworker__ [Clockworke@189-30-211-216.paemt702.dsl.brasiltelecom.net.br] has joined #openttd
21:36-!-Clockworker_ [Clockworke@189-30-211-216.paemt702.dsl.brasiltelecom.net.br] has quit [Read error: Connection reset by peer]
21:59-!-AdmiralKew [~pcc31@119.94.111.243] has joined #openttd
22:05-!-AdmiralKewl [~pcc31@119.94.111.243] has quit [Ping timeout: 480 seconds]
22:10-!-Ketsuban [~ketsuban@2a02:c7d:a34a:9000:dd8d:abba:7f98:badf] has quit [Quit: Leaving]
22:35-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
22:49-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has joined #openttd
23:17-!-zeknurn` [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
23:21-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Ping timeout: 480 seconds]
23:21-!-zeknurn` is now known as zeknurn
---Logclosed Thu May 05 00:00:58 2016