IRC logs for #openttd on OFTC at 2016-04-23
⏴ go to previous day
00:05:01 <Samu_> looks like i figured it out
00:18:44 <Samu_> how do i change the tooltip?
00:19:07 <Samu_> NWidget(WWT_PUSHTXTBTN, COLOUR_YELLOW, WID_AIC_CONFIGURE), SetFill(1, 0), SetMinimalSize(93, 12), SetDataTip(STR_AI_CONFIG_CONFIGURE, STR_AI_CONFIG_CONFIGURE_TOOLTIP),
00:19:31 <Samu_> want to change the last STR_AI_CONFIG_CONFIGURE_TOOLTIP, to point to the right tooltip
00:20:12 <Samu_> it can be either STR_AI_CONFIG_CONFIGURE_SETTINGS_TOOLTIP or STR_AI_CONFIG_CONFIGURE_CONFIGURE_TOOLTIP
00:50:02 *** sim-al2 has joined #openttd
00:53:09 <Samu_> i can't change tooltip :(
01:12:22 <Samu_> String 0xB670 is invalid. You are probably using an old version of the .lng file
01:12:49 <Samu_> how do I fix the tooltip?
01:19:34 *** tokai|noir has joined #openttd
01:19:34 *** ChanServ sets mode: +v tokai|noir
01:49:58 *** smoke_fumus has joined #openttd
03:27:51 *** zeknurn` has joined #openttd
03:32:55 *** zeknurn` is now known as zeknurn
06:42:54 *** AdmiralKewl has joined #openttd
07:55:44 *** MonkeyDrone has joined #openttd
08:17:25 *** Alberth has joined #openttd
08:17:25 *** ChanServ sets mode: +o Alberth
08:30:40 *** Biolunar has joined #openttd
09:28:06 *** Clockworker_ has joined #openttd
09:31:33 *** Hiddenfunstuff has joined #openttd
09:42:47 *** AdmiralKew_ has joined #openttd
09:49:43 *** AdmiralKew has joined #openttd
09:59:29 *** Progman has joined #openttd
10:17:47 *** gelignite has joined #openttd
10:18:21 *** sla_ro|master has joined #openttd
11:39:27 *** Wormnest has joined #openttd
11:41:05 *** Ketsuban has joined #openttd
11:59:56 <Wolf01> I'm sick... I started dreaming about factorio mixed with real life :|
12:18:08 <Alberth> factorio gets attacked by aliens, isn't it?
12:18:23 <Alberth> not sure I'd like that :)
12:19:29 *** Myhorta has joined #openttd
12:22:31 <Wolf01> I need to to something different, maybe moving that red circuits line somewhere... damn, again
12:25:12 *** Quatroking has joined #openttd
12:28:23 <Samu> when i build, it complains about empty strings
12:30:01 <Wolf01> at least it complains... mine are completely ignored
12:31:22 <Samu> D:\OpenTTD\trunk\src\lang\lithuanian.txt(4277): warning : STR_AI_CONFIG_CONFIGURE: Param idx #0 '<empty>' doesn't match with template command 'STRING' (warning)
12:31:31 <Samu> all languages complaining
12:31:50 <Samu> D:\OpenTTD\trunk\src\lang\lithuanian.txt(4278): warning : STR_AI_CONFIG_CONFIGURE_TOOLTIP: Param idx #0 '<empty>' doesn't match with template command 'STRING' (warning)
12:31:59 <Wolf01> did you ever try to run strgen?
12:32:31 <Samu> I don't know what's that
12:32:53 <Samu> it's goes building many stuff
12:33:41 <Samu> it's only complaining about these 2 strings
12:33:54 <Samu> they are empty on purpose, but maybe they can't be empty
12:34:42 <_dp_> last time I checked SetStringParameters didn't even work for tooltips
12:35:04 <_dp_> and you're doing something very weird setting 2 parameters when you strings only take one
12:36:03 <Samu> oh, so i'm doing it wrong
12:37:47 *** frosch123 has joined #openttd
12:37:57 <Samu> tooltips can't be changed?
12:38:17 <Samu> a button can only have 1 tooltip?
12:42:36 <frosch123> Alberth: not quite, in factorio you are the alien invading the plants of cute animals
12:48:49 <Alberth> right, not sure how that combines with real life then :)
12:48:52 <Wolf01> oh, it seem that I finally understood the implicit rule to make the translations work on UWP
12:50:15 <Samu> SetDataTip(STR_AI_CONFIG_CONFIGURE, STR_AI_CONFIG_CONFIGURE_TOOLTIP)
12:50:19 <Wolf01> Alberth, when you are doing something like repairing an electric device and the components are coming on your kitchen table with a conveyor belt, I think you developed an addiction
12:50:40 <Alberth> Samu: you can change tooltips by changing the tooltip string of the widget directly, it's probably not recommended though, people don't expect functionality of a button to change
12:51:29 <Alberth> Wolf01: that, or you have too many conveyor belts in your home :)
12:51:37 <Samu> functionality doesn't really change much
12:53:36 <Alberth> don't try to use a parameter in a tooltip, I think
12:53:37 <frosch123> Wolf01: next time dream about logistic robots and fly swatters
12:53:40 <Wolf01> \o/ I understood everything about UWP localization now, from nothing to everyting in 10 minutes!
12:54:07 <Alberth> does that involve more conveyor belts?
12:54:23 <Wolf01> yes, I'll run factorio now
12:55:00 <Alberth> may be less good for wolfs, they seem to develop an addiction
12:56:52 <Wolf01> it's been a week I'm trying this and I had that intuition while breakfast so I had to make this stuff work before starting to playing again, now I can play in peace
13:00:22 <Alberth> hmm, so it's a week+10 minutes :p
13:00:37 <Alberth> but job well, done, you've earned your weekend :D
13:01:05 <DorpsGek> frosch123: 0.000992063492063
13:02:58 <Wolf01> ah, when you get power armor in factorio it's a brand new game
13:03:16 <Wolf01> more action, less time reloading the last autosave
13:04:58 <_dp_> Samu, check how build/relocate HQ is done
13:05:07 <Alberth> frosch123: the "week" was the error, not the 10 minutes :)
13:05:12 <_dp_> looks to me that's exactly your case
13:05:57 <Alberth> sounds like it, at least
13:08:59 <_dp_> does anyone know what's up with this chinese openttd invasion, are they going to do it every weekend?)
13:10:44 *** JacobD88 has joined #openttd
13:14:15 <Wolf01> :o i just found that is possible to build doors over rails
15:04:28 *** Ketsuban has joined #openttd
15:34:35 *** ChanServ sets mode: +v tokai
15:42:45 <Eddi|zuHause> what does a "chinese invasion" look like?
15:54:31 <Eddi|zuHause> that's an empty page.
15:55:06 <_dp_> Eddi|zuHause, strange, do you have javascript enabled?
15:56:54 <_dp_> ehm, well, don't know how else to show then ;) and it's already over
15:58:32 <Eddi|zuHause> a few years ago i played a game where lots of bulgarians played, and it turned out that they were mostly some friends who use the same internet cafe
15:59:49 <_dp_> Eddi|zuHause, well, this is some kind of tournament in some chinese university or smth like that
16:00:00 <_dp_> there was post on redding but I can't find it anymore
16:00:37 <_dp_> few passworded sevrers with 150-200 players total, running for about 3 hours every weekend
16:16:56 <Samu> i don't know how to do this window plane thing
16:17:12 <frosch123> don't open windows in planes
16:17:15 <Samu> i only want to change a button, not the whole window
16:25:43 <Samu> i can't do that bool logic there, but i don't know where either
16:26:23 <Samu> i don't know how to compute the button
16:27:39 <frosch123> is there a way to mirror blueprints instead of rotating?
16:30:50 <frosch123> thanks, only found the 0.11 one
16:39:58 <Wolf01> so, where I left the other exit of the underground belt?
16:40:55 <Sylf> I so need the x (hide trees) in factorio :/
16:41:18 <frosch123> set manual mining speed to 100
16:41:49 <Wolf01> I already select them for cutting and send my minions, mwahahah
16:42:35 <Sylf> I just don't make a habit of logging everything that comes in my sight
16:43:00 <Wolf01> enclosing underground pipes with walls make them more visible when running around with the car
16:47:07 <frosch123> Sylf: safe them from dying by polution
16:53:03 <Wolf01> half of my map is bright red
16:53:14 <Wolf01> but trees aren't dying
16:53:42 <Alberth> they are on the other half of the map? :)
16:55:23 <Wolf01> nah, just aside of the power plants
16:55:29 *** andythenorth has joined #openttd
17:01:49 <andythenorth> probably 40% of channel logs are o/
17:07:19 <Wolf01> I started to build proper railways in this game
17:07:36 <Wolf01> mainly because there is no S strack
17:10:08 <frosch123> what defines a proper railway?
17:11:23 <Wolf01> something which doesn't forces you to do strange loops to connect 2 adjacent pieces of track
17:18:49 <Samu> i need help, can't figure this out
17:31:15 <Samu> the code is way different in company_gui.cpp
17:32:23 <Alberth> every file is unique :)
17:35:20 <Samu> show either WID_AIC_CONFIGURE or WID_AIC_SETTINGS
17:35:56 <Samu> all this because of a darn tooltip :(
17:43:51 <Samu> if the game is running, the ai is not dead, then show the settings button
17:43:57 <Samu> and also the settings tooltip
17:44:27 <Samu> if the ai is dead, or you're in main menu, then show the configure button, and also the configure tooltip
17:44:40 <Samu> can't manage to do this simple thing :(
17:45:48 <Samu> AI or GS, have to do for both
17:45:56 <Samu> just mentioned ai for this case
17:57:35 <Alberth> why don't you change the tooltip string?
18:00:41 <Alberth> no, the stringId number
18:01:54 <Alberth> like src/order_gui.cpp: line 934: nwi->SetDataTip(STR_ORDERS_DELETE_BUTTON, STR_ORDERS_DELETE_ALL_TOOLTIP);
18:02:32 <Alberth> first parameter is the button text, second is the tooltip
18:02:48 <Alberth> to modify the tooltip, assign the same value for the button text
18:03:43 <Alberth> SetDataTip just copies both values into two fields, you can also just assign those fields
18:28:29 *** sim-al2 has joined #openttd
18:30:46 *** HerzogDeXtEr has joined #openttd
18:33:14 *** DanMacK has joined #openttd
18:35:04 <DorpsGek> DanMacK: andythenorth was last seen in #openttd 1 hour, 7 minutes, and 40 seconds ago: <andythenorth> game over
18:40:27 <Wolf01> bah, scrolling web browser page with WASD
18:44:53 <Alberth> if you need the scroll the web page is too large :)
18:53:40 <Wolf01> and I leave you with this: 3 way splitters
18:59:49 <Eddi|zuHause> sounds easier than 4 way splitters, at least
19:01:05 <frosch123> no, power-of-2 splitters are trivial
19:01:14 <frosch123> 3 requires some thinking
19:03:59 <frosch123> you build a 3-way splitter by coming a 2-1 merger with a 1-4 splitter
19:04:10 <frosch123> and then feeding one of the outputs to one of the inputs
19:15:02 <Alberth> interesting strategy :)
19:16:15 <frosch123> well, it's pure theory. quite pointsless in a real game
19:32:32 <glx> and with bad luck one is always in the loop ?
19:35:39 *** [1]Tuhin has joined #openttd
19:36:39 <Alberth> the laws of stochastics make that impossible :p
19:37:30 <Eddi|zuHause> no, the laws of stochastics make it just very unlikely
19:38:58 <Alberth> you didn't wait long enough :p
19:41:16 *** [1]Tuhin is now known as Tuhin
19:41:37 <frosch123> V453000: do you regret picking V has nick instead of F ? :p
19:45:45 <DorpsGek> Commit by translators :: r27549 trunk/src/lang/traditional_chinese.txt (2016-04-23 19:45:37 +0200 )
19:45:47 <DorpsGek> chinese (traditional): 1 change by ww9980
19:47:07 <Samu> Severity Code Description Project File Line Suppression State Error (active) the object has type qualifiers that are not compatible with the member function "NWidgetCore::SetDataTip" openttd d:\OpenTTD\trunk\src\ai\ai_gui.cpp 758
19:48:46 <Samu> Severity Code Description Project File Line Suppression State Error (active) cannot determine which instance of overloaded function "AIConfigWindow::GetWidget" is intended openttd d:\OpenTTD\trunk\src\ai\ai_gui.cpp 758
20:07:51 *** andythenorth has joined #openttd
20:16:15 <Marek> Hello, is it possible to install OpenTTD on Mac OS X "El Capitan"?
20:18:02 <Marek> just downloaded installation files from opened.org [openttd-1.6.0-macosx]
20:18:17 <Marek> what next? (it is my first day as a Mac user)
20:18:24 <Marek> I will appreciate your help
20:18:48 <Marek> when I open the folder there is OpenTTD file
20:19:38 <Marek> when I open the error message occurs -> this program comes from unauthorized author and cannot be open
20:28:22 *** Progman has joined #openttd
20:30:26 <Marek> yes, I am doing this right now
20:30:38 <Marek> the problem is that I have never used Mac OS X
20:30:49 <Marek> well... I guess I have to do it alone
20:32:28 <Marek> ok. I have run the OpenTTD "exe" file
20:32:47 <Marek> has to turn off the 'unauthorized author' prevention
20:33:07 <Marek> now I will try to download graphics files
20:36:12 <Marek> cannot find "baseset" folder
20:36:25 <Marek> got only: docs, media, man and scripts
20:37:00 <andythenorth> Marek: do not turn off GateKeeper
20:37:07 <andythenorth> just allow an exception for OpenTTD
20:37:56 <Marek> need to know how to add exception just for OpenTTD... give me a hint please
20:38:34 <Eddi|zuHause> those were plenty of hints for a google search
20:38:54 <andythenorth> and then it will refuse to run OpenTTD
20:38:59 <Marek> cool! reading this right now
20:38:59 *** AdmiralKewl has joined #openttd
20:39:12 <andythenorth> the you go to System Preferences -> Security & Privacy
20:39:31 <andythenorth> and there will be a message that OpenTTD tried to run, with ‘run anyway'
20:39:37 <andythenorth> or whatever equivalent in your language
20:41:05 <andythenorth> for the ‘baseset’ folder, just add a folder the OpenTTD dir using Finder
20:41:26 <Marek> I restore the GateKeeper
20:41:27 <andythenorth> the ‘exe’ is better known as ‘application bundle’ or ‘binary’ or just ‘app'
20:42:08 <glx> the exe is hidden in the bundle
20:42:29 <Marek> Alberth said: "mkdir baseset"
20:42:41 <andythenorth> you would need Terminal for that, or just use Finder
20:43:00 <andythenorth> File -> New Folder
20:52:11 <Marek> created the folders 'data' and 'gm' and I have copied there original files
20:52:21 <Marek> everything works perfectly
20:52:27 <Marek> I am so proud of myself
20:52:38 <Marek> first game on new Mac? OpenTTD
20:52:45 <Marek> thank you for your support
20:53:53 <andythenorth> Marek: you’ll probably need to disable ‘full animation’ btw
20:53:59 <andythenorth> otherwise the game is unplayable for me
20:54:41 <Wolf01> oh, they are talking about upgrading the connections on the entire country, or better, for the 60% of the population, from FTTC to FTTH
20:55:33 <Marek> 1280x720 in window mode and it looks ok
20:56:07 <Marek> mouse moves little bit slower then normally
20:58:18 <Marek> andy, you are playing on Mac also?
20:58:21 <Wolf01> andy, do macs have really so shitty graphics? I can play ottd here with the 32bpp-anim without problems in a Intel HD integrated graphic card... maybe I can't really fast forward, but it works well
20:59:16 <Marek> I got Intel Iris graphics
20:59:22 <andythenorth> 2.8Ghz i7, 16GB, Intel Iris
20:59:40 <glx> Wolf01: mainly weird drivers ;)
21:00:20 <Wolf01> I'm on a i5 1.33Ghz with 4GB ram :P
21:01:25 <Wolf01> also factorio works well, but I preferred to disable the smoke and inserters shadows
21:02:48 <Marek> thanks for help again. I will try to play now and I will let you know if everything works fine
21:03:08 <Alberth> see you in the next decade :p
21:03:38 <Samu> EpicTrans had crashed 40 years ago
21:03:49 <Samu> survived 60 years without crashing
21:04:23 <Samu> i really should start saving all autosaves
21:05:24 <Samu> of the 8 AI scripts that I tested for 100 years, 2 crashed, AIAI and EpicTrans
21:09:24 <Samu> oh, AIAI crashed 87 years ago
21:09:24 <Samu> so, lasted 13 without crashing
21:10:17 <Samu> is it possible to revive a dead ai?
21:10:28 <Samu> without having to save game and loading it back?
21:11:28 <Samu> i just noticed AIAI started from where it died when i loaded the savegame
21:12:52 <Samu> went on to take care of his old vehicles, massively replacing everything
21:13:59 <Wolf01> mmmh, I would like to store some informations on my channel bot, I'm using a modified version of the !quote command which allows a generic search for keywords, but it's too weird... any suggestion?
21:38:52 *** andythenorth has joined #openttd
21:42:59 *** Wormnest_ has joined #openttd
21:48:47 *** AdmiralKew_ has joined #openttd
21:51:30 *** Supercheese has joined #openttd
21:56:10 *** sla_ro|master has joined #openttd
21:57:50 *** Clockworker has joined #openttd
22:03:00 *** MonkeyDrone has joined #openttd
22:21:53 *** gelignite has joined #openttd
22:53:55 <Samu> my mental capacities are degrading :(
22:56:12 <Samu> where is EpicTrans topic? can't find it, no link given
23:02:49 <Samu> i've seen several AIs spamming bus stations
23:03:42 <Samu> do they use the same code?
23:04:10 <Samu> maybe the original code it uses is bugged?
23:05:28 *** MonkeyDronez has joined #openttd
23:05:37 <Alberth> depends on your definition of bug :P
23:07:11 <Samu> it seems related to expanding a station which doesn't connect with the station they want to expand
23:07:22 <Samu> and then just spam bus stations everywhere
23:08:51 <Samu> Is there a topic for EpicTrans'
23:09:05 <Samu> unofficial or so? i wanted to post for EpicTrans
23:11:22 <Samu> do you know who uploaded EpicTrans to banana?
23:15:04 *** Ketsuban has joined #openttd
23:26:13 *** FLHerne has joined #openttd
23:34:16 <Samu> epictrans with bus spams
23:41:06 *** Hiddenfunstuff has quit IRC
23:41:28 *** zeknurn` has joined #openttd
23:46:22 *** zeknurn` is now known as zeknurn
continue to next day ⏵