IRC logs for #openttd on OFTC at 2016-04-24
⏴ go to previous day
00:08:57 *** Biolunar has joined #openttd
00:45:39 *** drac_boy has joined #openttd
00:47:32 <drac_boy> (talk about outdoing the uk pacers perhaps)
00:52:00 *** Progman_ has joined #openttd
00:57:26 *** Progman_ is now known as Progman
00:58:53 <Eddi|zuHause> that is not the best track i've ever seen :p
00:59:28 <Eddi|zuHause> but that is definitely depth-compressed
01:05:59 <_dp_> what city is that I wonder...
01:07:12 <Eddi|zuHause> i wondered as well, but i didn't bother trying to find out
01:09:33 <drac_boy> I wouldn't be surprised if russia could be one suggestion :)
01:09:50 <drac_boy> samu so you want text plastered all over the place permamently :)
01:10:28 <_dp_> that's almost certainly russia, finding city is more interesting)
01:10:32 <Samu> {BLACK}The AIs that will be loaded in the next game
01:10:45 <Samu> this depends if i am in main menu or in game
01:12:27 <Eddi|zuHause> i was stuck on "probably eastern europe"
01:12:48 <Samu> {BLACK}The AIs that will be loaded next time an AI starts this Company ID
01:13:00 <Samu> better: {BLACK}The AI that will be loaded next time an AI starts this Company ID
01:14:02 <Samu> i can't generalize a tooltip :(
01:15:32 <Samu> I also need to find a way to write down an AI that started as Random
01:17:03 <drac_boy> as long as it doesn't try to do infinite+1 :)
01:18:39 <Samu> and hmm... i also must find a way to write the Company ID beside each of the 15 lines
01:19:52 <Samu> line 1 = company 1, line 2 = company 2, etc... line 15 = company 15
01:23:27 <Samu> the line would change from" gelignAIte" to "Company 1: gelignAIte (Random AI)"
01:25:44 <Samu> in main menu, it would change from "Random AI" to "Company 1: Random AI"
01:28:32 <Samu> drag and drop would be nice here, I guess i gotta check vehicle orders code
02:15:46 <drac_boy> going off for now :)
04:15:03 *** supermop has joined #openttd
04:59:41 *** Ethereal_Whisper has joined #openttd
05:00:43 <Ethereal_Whisper> I've decided I've had enough of Quassel
05:09:02 <Ethereal_Whisper> Totally random question; what's the advantage of using pre-signals over block signals? I do it anyway of course, I'm just curious as to why.
05:14:57 <Ethereal_Whisper> The Chicago Blackhawks won
05:17:04 <Ethereal_Whisper> Not necessarly; they beat the St. Louis Blues who I'm not necessarily a fan of. I'd just like them to get eliminated ASAP
05:20:21 <Eddi|zuHause> it's not like you have a Bayern München who dominate every season
05:20:59 <Ethereal_Whisper> Yeah. NHL has a hard salary cap, mandatory revenue sharting, and cash transfers are banned, so it helps with parity quite a bit
05:24:06 <Eddi|zuHause> but to answer your question: you should use path signals for every complex situation. we only have pre-signals around for legacy reasons, and they have very limited use cases that cannot really be covered with path signals, like priority lanes
05:29:12 *** sim-al2 has joined #openttd
05:34:50 <Eddi|zuHause> it'll be fine with just block signals, but with pre- and combo-signals you can make it so one line gets priority in a way that trains on the other line will wait for a large enough gap to not disrupt traffic
05:38:22 <Ethereal_Whisper> Ok thanks :)
05:42:44 <ST2> screenshot is so small that your sings will work as good as any pre/pro/PBS or whatever you place there
05:44:25 <ST2> unless Eddi|zuHause is on the game and can the the whole picture ^^
05:45:32 *** Flygon__ has joined #openttd
05:45:46 <Ethereal_Whisper> Well, a friend wants to play a different game with me right now so I'll come back to it later
06:49:07 *** ConductorCat has joined #openttd
07:58:21 *** MonkeyDrone has joined #openttd
08:03:33 *** MonkeyDrone has joined #openttd
08:34:41 *** Alberth has joined #openttd
08:34:41 *** ChanServ sets mode: +o Alberth
09:01:22 *** sla_ro|master has joined #openttd
09:10:41 *** Progman has joined #openttd
09:23:19 *** ChanServ sets mode: +v tokai
09:43:25 *** AdmiralKew has joined #openttd
10:04:37 *** TrueBrain has joined #openttd
10:07:46 *** andythenorth has joined #openttd
10:38:32 *** Biolunar has joined #openttd
10:41:32 *** Flygon_ has joined #openttd
10:42:48 *** zeknurn` has joined #openttd
10:47:51 *** zeknurn` is now known as zeknurn
11:03:30 *** Hiddenfunstuff has joined #openttd
11:07:49 *** gelignite has joined #openttd
11:30:59 *** Wormnest has joined #openttd
11:33:19 *** Ketsuban has joined #openttd
11:48:13 <Samu> SetDParam(0, (_game_mode != GM_NORMAL || (_game_mode == GM_NORMAL && IsEditable((CompanyID)selected_slot) && (!Company::IsValidID(selected_slot) || Company::IsValidAiID(selected_slot) && Company::Get(selected_slot)->ai_instance->IsDead()))) ? STR_AI_CONFIG_CONFIGURE : STR_AI_DEBUG_SETTINGS);
11:49:40 *** TrueBrain has joined #openttd
11:57:34 <Alberth> you don't think I am going to decipher that, right?
12:01:04 <Samu> i mean, paste, not gonna post yet, not ready
12:03:05 <Samu> couldn't do better than this
12:05:03 <Alberth> if you break that line in 2 "bool b = ....; SetDParemt(0, b ? ... : ...); " would be better
12:05:15 <Alberth> but that's not the biggest problem
12:06:25 <Alberth> I have absolutely no idea what code you're hacking, or how that code works. It would cost me several hours to understand the code and then your patch
12:09:15 <Samu> if in a normal game and selected slot is GS, have the button change text to "Settings"
12:09:35 <Samu> the other is a bit harder
12:10:38 <Samu> it is about finding a dead AI slot, if it finds one, say "Configure", if not, say "Settings"
12:10:52 <Alberth> why are you changing max companies values in a "change button text" patch?
12:13:57 <Samu> it's the continuation of what I was doing
12:15:43 *** AdmiralKewl has joined #openttd
12:21:58 <Wolf01> anybody good with TCL?
12:22:31 <Alberth> I have no doubt about that, but you seem to be doing lots of different stuff, I don't follow that at all
12:23:17 *** Myhorta has joined #openttd
12:23:43 <Alberth> changing the text of a button should be around 10 lines of code probably a lot less, even
12:24:54 <Alberth> just making a big dump and adding a "?" isn't going to work, imho
12:25:50 <Alberth> Ha, I dropped TCL in favour of Python, around 20 years ago :p
12:29:42 <Alberth> Samu: simplify the change to as few lines as possible, just for changing the text. Even just a partial patch eg just one condition to change the text suffices. Once you get the idea expanding the conditions or replicating the same thing 100 times is easy to do afterwards
12:35:32 *** Quatroking has joined #openttd
12:41:28 *** frosch123 has joined #openttd
13:00:56 <Wolf01> Alberth, I found a problem in a tcl script (seen), it returns 0 for some nicks without any reason
13:02:23 <Wolf01> I suppose it's because the author used strings as lists, but other nicks with the same symbols work
13:03:41 <Alberth> in TCL everything is a string
13:04:13 <Alberth> the puzzle is always the order of evaluation, which you state with quotes
13:04:40 <Wolf01> yes, but if you use lindex for a string with {[(" it breaks
13:05:13 <Alberth> oh, could be, it has been some time :p
13:05:40 *** FLHerne has joined #openttd
13:05:50 <Alberth> but I got sick of the quote puzzle stuff, it gets messy at > 2 levels, so I dropped TCL when I found Python (1.5, at the time)
13:06:25 <Wolf01> I'm trying to replace some occurrencies with [lindex [split $string]] but seem to be worse :/
13:07:21 <Wolf01> also this stuff is a pita to debug, every time I must reload the bot
13:07:48 <Alberth> take out the offending lines, and run it as a separate tcl script?
13:08:16 <Wolf01> eheh, if only I can find the offending lines
13:09:12 <Wolf01> I figured out it should just be the part which prompts the result, because the reading goes well
13:09:21 <Wolf01> also the variables have the right values
13:10:36 <Samu> IsEditable has different rules in the original trunk version
13:10:55 <Alberth> Samu: looks good enough, you change both the button text and the tool tip?
13:11:09 <Samu> i'd like to change the tooltip, i can't manage to do it
13:11:19 <Alberth> I would suggest only change the text now
13:12:08 <Alberth> also instead of a complicated boolean condition, just set it to one string in the switch , and test, then set it to the other string and test
13:12:27 <Alberth> if that works, you know the widget and the switch work
13:13:25 <Alberth> if that works, add a boolean with a simple case, instead of the zillion things you have now, and test if it switches
13:13:47 <Alberth> if it does, add more condition, test again, and so on until you have all cases
13:14:23 <Alberth> don't do everything in one giant leap acros the sea if you can\t swim, take small steps
13:16:06 <Eddi|zuHause> oh, snow. how very april.
13:16:43 <Wolf01> leave a pair of eyes..
13:16:52 <Eddi|zuHause> well, it stops being snow the instant it hits the ground :p
13:20:08 <argoneus> good morning train friends
13:21:38 <Eddi|zuHause> so many words wrong in that greeting. every time.
13:22:53 <Wolf01> the only right word is "train"
13:28:28 <Wolf01> fuck... it uses it's own variable for nick length, and it was set to 9, the nick was 11
13:29:08 <Wolf01> if {[string length $data] > $bs(nicksize)} {return 0} <- really meaningful :|
13:29:47 <Alberth> I always consider "train friend" the wrong part, mostly
13:30:13 <Samu> if (bla) SetDParam else SetDParam ?
13:30:52 <Alberth> ha, otherwise people would make too long nicks? :)
13:31:23 <Wolf01> it was set for undernet which has a limit of 9 chars
13:32:49 <Samu> i have a hard time to understand your lingo
13:32:52 <Wolf01> I can't even understand why it doesn't use the global nick length set on the config
13:32:54 <Alberth> Samu: Your idea could work SetDParam(.. , b ? X : Y) is good too, but limit length of a statement to 80-100 characters or so. If you need more, break it into more lines, so you can just read it without having t decipher pairs of parentheses from a big jumble of symbols
13:34:02 <Alberth> it's the same idea as writing several short sentences on irc, instead of a long 1000 word text on one line
13:36:11 <Wolf01> now I should figure out how to maintain an index of the help sections for my script
13:36:41 <Alberth> Samu: first step is just unconditionally SetDParam(0, STR_AI_CONFIG_CONFIGURE);
13:37:11 <Alberth> then unconditionally SetDParam(0, STR_AI_DEBUG_SETTINGS);
13:37:59 <Samu> unconditionally means, without if?
13:39:03 <Samu> oh, strange, that's confusing me, how would it check?
13:39:06 <Alberth> if things fail, simplify stuff out of the way, so you get a handle on where the problem actually is
13:39:19 <Alberth> rather than random guessing and trying
13:39:49 <Alberth> putting things together again afterwards is quite easy if all the pieces work
13:40:30 <Alberth> how would it check what ?
13:41:02 <Alberth> if you always set that string, it should show at the button, shouldn't it?
13:41:39 <Alberth> if it doesn't something is wrong
13:42:04 <Samu> first step is SetDParam(0, STR_AI_CONFIG_CONFIGURE);
13:44:10 <Samu> the problem is probably in the widget
13:44:18 <Alberth> then your SetDParam isn't working
13:44:35 <Alberth> and not for example in the big condition or the if
13:45:07 <Alberth> more likely it's in the string texts
13:45:32 <Alberth> or you never reach "default" in the switch
13:46:12 <Alberth> ie the SetSParam is never executed
13:49:56 *** FLHerne has joined #openttd
13:51:07 <Samu> STR_JUST_STRING : {STRING}
13:52:00 <Samu> {STRING} changes to either STR_AI_CONFIG_CONFIGURE or STR_AI_DEBUG_SETTINGS
13:52:19 <Samu> i need a if to decide to what it changes
13:52:45 <Samu> if I don't put ifs there, where would I put them?
13:53:21 <Alberth> your code doesn't work right?
13:54:21 <Alberth> and you want to find out why
13:54:46 <Alberth> one good strategy is to remove as much as you can, and try if it works
13:55:11 <Alberth> if it still does not work, the problem is in the code you still have
13:55:23 <Alberth> if it does work, the problem is in the code you removed
13:56:02 <Alberth> so by throwing some code away, and testing, you are one step closer to finding where the problem is exactly
13:57:09 <Samu> what i'd like to do however is to also do this for the TOOLTIP part
13:57:44 <Alberth> as I said yesterday already, you cannot use string parameters for that
13:57:55 <Alberth> you have to change the string itself
13:58:39 <Samu> i tried, couldn't manage to do it, intellisense was complaining too much
13:59:18 <Alberth> that's a message I cannot help you with anything
13:59:51 <Alberth> "it does not work" contains no clue whatsoever why or how or what
14:00:43 <Samu> the conditions work, it changes the button to "Configure" or "Settings". This part I tested. Sorry
14:01:08 <Samu> the tooltip is the hardest part, gonna try do something again
14:03:32 <Samu> "Configure" will have "Configure tooltip", "Settings" will have "Settings tooltip"
14:04:31 <Samu> sorry, lunch time, be back later with this
14:31:04 *** Supercheese has joined #openttd
14:40:39 *** andythenorth has joined #openttd
15:22:39 <Samu> i can't do it as a parameter
15:23:47 <Alberth> tooltip gets handled directly by the generic mouse handling, the window is never used
15:24:07 <Alberth> aside from retrieving the widget you queried
15:34:23 *** andythenorth has joined #openttd
15:41:59 <Ethereal_Whisper> mfw I accidentally bulldoze an important line and create a traffic jam that lasts for 2 years
15:42:20 <Wolf01> reload the last autosave
15:43:04 <Ethereal_Whisper> I fixed it already, heh
15:43:04 <Alberth> repairing is much more fun :p
15:43:39 <Wolf01> You reminded me to repair that lone outpost near the biters nest
15:44:17 <Alberth> better check it's still there :)
15:45:00 <Alberth> but indeed, accidents happen when you modify things at or near a live transport line :)
15:45:01 <Wolf01> Oh, it is, don't worry, I have laser turrets now... upgraded to 3 (both damage and speed)
15:45:41 <Ethereal_Whisper> How do I remove just part of a station again? Control-Click with bulldozer?
15:46:00 <Alberth> select station building, then the bulldozer
15:46:24 <Alberth> click removes a tile iirc, ctl+click also the tracks
15:47:00 <Alberth> just bulldoze without the station build kills the station
15:47:12 <Alberth> or was that dynamite? don't remember
15:47:20 <Eddi|zuHause> that was dynamite
15:47:33 <Eddi|zuHause> but i think it now leaves the tracks behind
15:47:36 <Ethereal_Whisper> Had a RoRo expansion go wrong, forgot to leave room for a block signal in front of it
15:47:49 <Alberth> so just bulldozer doesn't do anything with stations?
15:48:00 <Ethereal_Whisper> It bulldozes the entire station
15:48:12 <Eddi|zuHause> bulldozer is always used with another tool
15:48:15 <Ethereal_Whisper> Bad idea if you just want to modify one of the platforms
15:48:15 <Alberth> ah right, as I remembered
15:48:23 <Eddi|zuHause> cannot be activated alone
15:49:00 <Alberth> I always use the keyboard, hardly ever look at the construction bar
15:59:10 *** sim-al2 has joined #openttd
15:59:41 *** AdmiralKew has joined #openttd
16:06:43 *** FLHerne has joined #openttd
16:09:16 <Samu> holy crap i think i did it
16:10:55 <Samu> got this working somehow
16:11:22 <Samu> I set it on OnInvalidateData instead of SetStringParameters
16:14:27 <Samu> i got to simplify that bool
16:14:57 <Alberth> sure, SetDataTip works
16:22:52 <Samu> will have to simplify that, must think
16:23:20 <Samu> how do i patch my patch?
16:24:18 <Samu> it only lets me select a folder to apply a patch, not a patch
16:24:38 *** HerzogDeXtEr1 has joined #openttd
16:27:27 <Alberth> there are patch utils to operate on patch files, but even for linux, they are not installed by default, so pretty niche
16:28:35 <Alberth> standard solution is to apply both patches after each other on the same set of files, then ask for the diff of that folder relative to the unmodified version
16:33:48 <Ethereal_Whisper> Why the hell is my 8-track RoRo station so congested
16:35:14 <FLHerne> Ethereal_Whisper: Screenshots?
16:35:28 <Ethereal_Whisper> I just blew it up. Going to completely redesign it
16:35:56 <FLHerne> If the exit layout causes trains to wait for each other too much, you get already-full trains standing in the platforms, which kills throughput
16:38:57 <FLHerne> Make sure you have standing room after each platform before the merge, because some waiting is inevitable
16:40:11 <Ethereal_Whisper> Far right platform is part of an S-bahn single-track point-to-point, don't mind it
16:40:26 <Ethereal_Whisper> I think I'm going to just delete that line
16:41:15 <Alberth> those pieces of track seem pretty useless unless you have very short trains
16:41:25 <Ethereal_Whisper> Train length is 3.0
16:41:47 <Eddi|zuHause> i know why your trains get stuck. the tracks are not connected to anything.
16:42:37 <Alberth> better use all space after the platform instead of twice not doing much imho
16:43:21 <Alberth> 1 tile signal, 3 tiles train, 1 tile signal, and a turn/merge
16:43:27 <Ethereal_Whisper> Eddi|zuHause, lol
16:44:14 <Eddi|zuHause> no, but seriously. build the whole thing, send the trains in there, and then show us a picture with the trains
16:44:48 <Eddi|zuHause> THEN maybe we can tell you where your bottleneck is
16:44:54 <Ethereal_Whisper> I've got a shit ton of exit space if I build long exits... I think I dare to blow up some of the city for the sake of efficiency. It'll re-grow
16:46:08 <Alberth> yep, TIAS is a good strategy in these things :)
16:47:01 <Eddi|zuHause> also, split/join your lines in stages, like 1-2 <trainlength> 2-4 <trainlength> 4-8 <platform>, or 1-3 <trainlength> 3-9 <platform>
16:48:32 <Eddi|zuHause> that way, trains which are not at full speed yet will not block each other so much
16:53:35 <Samu> what's the difference between INVALID_OWNER and INVALID_COMPANY?
16:54:10 <Alberth> there are more owners than companies
16:54:33 <Ethereal_Whisper> Alright, I got a design down
16:54:59 <Samu> INVALID_OWNER = 0xFF, ///< An invalid owner
16:55:08 <Samu> INVALID_COMPANY = 0xFF, ///< An invalid company
16:55:16 <Alberth> any INVALID_XXX is 0xFF
16:58:00 <Samu> ok, gonna use INVALID_COMPANY
17:01:05 <Ethereal_Whisper> I think I messed something up still
17:05:11 <Ethereal_Whisper> Split the entrance lines
17:06:04 <Eddi|zuHause> no point in merging two unrelated lines only to split them apart a tile later
17:06:22 <Eddi|zuHause> make two separate entrances/exits for each line
17:07:45 <Ethereal_Whisper> That's what I did. Splits into lines A and B, line A uses platforms 1-4, line B uses platforms 5-8
17:10:13 <Ethereal_Whisper> For reference, 52 trains are serving it
17:10:48 <Eddi|zuHause> that's a pretty meaningless number
17:23:47 <Ethereal_Whisper> Oh hey, the congestion has cleared
17:27:26 *** MonkeyDrone2 has joined #openttd
17:37:59 <Samu> i really need a GS script that dies
17:42:07 *** MonkeyDrone has joined #openttd
17:44:00 *** OsteHovel has joined #openttd
18:07:31 *** AdmiralKew has joined #openttd
18:18:14 <V453000> hm musa says you must pass a configuration file
18:18:34 <V453000> esp weird because it always used to work
18:21:01 <Rubidium> missing space, space too many, wrong working directory?
18:21:17 <V453000> it is called from the same directory where the config is
18:21:22 <Rubidium> tab instead of space?
18:21:42 <Rubidium> .cfg instead of .ini?
18:23:46 <Samu> i'm slightly confused. CompanyID can accept OWNER_DEITY?
18:25:31 <V453000> should I try to give musa absolute paths?
18:25:48 <V453000> sounds majorly bs, since it used to work earlier
18:26:04 <V453000> on a different machine, I wonder if win10 can fuck this up as well
18:28:38 <Samu> template <> struct EnumPropsT<Owner> : MakeEnumPropsT<Owner, byte, OWNER_BEGIN, OWNER_END, INVALID_OWNER> {};
18:29:48 <Samu> can i use CompanyID to refer to a game script, even though it's not really a company?
18:29:58 <Samu> game script uses OWNER_DEITY
18:31:20 *** HerzogDeXtEr has joined #openttd
18:33:35 <Samu> erm, i'll ask this some other way
18:34:42 <Samu> if i know beforehand that selected_slot is OWNER_DEITY, which one is better correct? IsEditable(this->selected_slot) or IsEditable((CompanyID)selected_slot)
18:34:58 <Samu> or there is no difference?
18:34:58 <V453000> nice, now musa broke completely
18:35:23 <frosch123> since when can you run ".py" files on win?
18:35:47 *** andythenorth has joined #openttd
18:35:51 <V453000> I have python installed so it should?
18:36:00 <V453000> I run python files at work as well on windoze
18:36:18 <frosch123> wouldn't you need to run "c:\xxx\python.exe musy.py -c ..."
18:36:30 <V453000> this folder of musa absolutely did work earlier
18:36:40 <V453000> I just copied the folder, replaced the grf, readme and changelog
18:36:53 <frosch123> well, the error is about not even detecting the "-c"
18:37:16 <frosch123> maybe it's no proper "-", but a "—" :p
18:37:28 <V453000> I didn't change it, it worked before
18:44:57 <Wolf01> I remember some weird behavior with python when we were trying tools for css compression/minification/obfuscation
18:45:38 <V453000> idk I will just wire up my desktop and try it there
18:45:48 <V453000> I can't be arsed spending an evening with some technical bullshit just to upload a grf
18:52:02 <Alberth> usually, assign a part of the condition onto a boolean variable, and use that variable in computing the final answer
18:52:38 <Alberth> where you generally avoid computing the same condition more than once
18:52:51 <Wolf01> V453000 iirc our errors are due to the different python versions installed, 2.0.x vs 2.2.x vs 2.3.x ... vs 3.x
18:53:39 <Samu> oops ValidAiID is not correct, brb
18:54:33 <Wolf01> we had some script which needed to run with 2.2.3, some others with ~2.5 others >2.6
18:54:40 <Wolf01> and it was really a mess
18:56:38 <Wolf01> oh, the sun, nice... too bad it is going to sleep now
19:00:35 <V453000> well I had python 2.7
19:01:01 <V453000> which I also have on teh desktop
19:01:13 <V453000> desktop also has some weird python35-32
19:02:51 <Alberth> newer nmls require python 3
19:06:34 <V453000> nice I apparently reinstalled windows on the desktop since I last used musa as well
19:06:39 <V453000> at least this is win7
19:10:36 <andythenorth> V453000: you need some web service that will run musa for you :P
19:10:46 <andythenorth> and a tool to upload your grf to that :P
19:11:13 <V453000> anything that "just works"
19:12:16 *** TrueBrain has joined #openttd
19:15:16 <V453000> for some weird reason here it works
19:15:21 <V453000> might juts require python35
19:15:56 <V453000> forum post says 2.6+ though
19:20:40 <Samu> it can't get any smaller than this if (_game_mode == GM_NORMAL && this->selected_slot != INVALID_COMPANY && IsEditable(this->selected_slot) && (this->selected_slot == OWNER_DEITY) || (Company::IsValidAiID(selected_slot) && Company::Get(selected_slot)->ai_instance->IsDead()))
19:21:59 <Samu> oops typo at the last check
19:23:49 <V453000> oh a wild TrueBrain appeared :)
19:24:47 <V453000> Samu: is anybody in this channel even communicating with you?
19:25:00 <V453000> sorry but, wall of text whenever I join
19:25:43 <Alberth> well, you seem obsessed with having one huuuuuge statement
19:25:47 <V453000> did bananas just crash?
19:28:05 <Alberth> hmm, 544768 bytes off
19:28:53 <Samu> i'm trying to make some bools, but ... hmm
19:29:05 <V453000> no when I try it again, it doesn't even progress after confirming that I am one of the authors
19:29:07 <Samu> either the bool is big, or the if is big
19:29:19 <Samu> no matter what, something big will stand
19:29:42 <Alberth> you can make more than one boolean :p
19:36:17 <V453000> I guess I can only try tomorrow
19:37:19 <V453000> for 10 minutes already actually ... now I restarted it
19:45:06 <frosch123> TrueBrain: did V crash musad? :p
19:51:19 <Samu> what a great mess of bools
19:51:45 <V453000> something certainly seems very wrong with musa
19:51:52 <V453000> and this time it looks like it isnt on my side XD
19:53:04 <Samu> what's the difference between this->selected_slot and selected_slot ?
19:53:15 <TrueBrain> frosch123: make him stop doing it!
19:53:25 *** Quatroking has joined #openttd
19:53:50 <V453000> TrueBrain: I have just let musa run :D
19:53:55 <V453000> not doing anything until poked
19:54:25 <Samu> if i can remove this-> i can spare 6 characters
19:54:30 <TrueBrain> member_descriptor object is not callable
19:54:41 <TrueBrain> but someone forgot to add timestamps
19:55:19 <TrueBrain> no SSL validation errors too
19:55:56 <TrueBrain> V453000: all I can see you are not talking SSL with musad ... for one reason or the other
19:56:15 <TrueBrain> frosch123: best to ask Rb for details; I can only see musad is up and running
19:56:41 <TrueBrain> and I have a small error log, with no timestamps
19:57:02 <TrueBrain> there I can see SSL connections fails a few times, some person tried to upload the same content 3 times in a row, and that is about it :D
19:57:21 <V453000> who could have it been :D
19:57:58 <frosch123> maybey some out-dated ssl version, that has been proven insecure, and is rejected by the server
19:58:09 <frosch123> but V's substandard OS still runs it?
19:58:55 <TrueBrain> I do still see 2 active connections to musad
20:00:05 <V453000> that might be the 2 attempts where my musa didn't progress after I confirmed that I am one of the original authors
20:00:34 <TrueBrain> guess you are not that IP :P
20:00:43 <TrueBrain> as those 2 connections are still open, and very recent
20:01:21 <TrueBrain> I am sorry, I am not of much help any further .. musad is up and running, and not producing backtraces I can work with
20:01:35 <TrueBrain> only errors are duplicated md5s, and SSL errors
20:01:39 <V453000> sooo I should terrorize Rubidium? :D
20:02:03 <TrueBrain> duplicated MD5s are user-problems, SSL Errors .. no clue where to start :D
20:02:15 <TrueBrain> frosch123: it is more likely the server is outdated tbh
20:02:24 <TrueBrain> possibly the certificate expired? I dont know if that is validated
20:03:07 <frosch123> did it print an md5 at least? :p
20:03:22 <TrueBrain> the errorlogging is seriously very poor
20:05:59 <Samu> OnInvalidateData is becoming a serious pile of bools :(
20:17:55 <Alberth> organize by slot number?
20:18:26 <Alberth> inserting newlines may also work
20:29:35 *** supermop has joined #openttd
20:42:41 *** FLHerne has joined #openttd
20:57:17 <Samu> less bools, or just scattered
20:57:26 <Samu> wondering if it still works
20:59:53 <Alberth> just get much better no matter what you do, I think
21:00:07 <Alberth> *doesn't get much better
21:12:19 <V453000> Hopefull it works tomorrow
21:24:32 *** FLHerne has joined #openttd
22:00:25 *** shirish has joined #openttd
22:05:47 <Samu> I think I can get rid of IsEditable
22:24:11 <Samu> I also think I can get rid of (CompanyID)
22:27:01 <Samu> can't simplify this any further !IsEditable((CompanyID)(this->selected_slot - 1))
22:34:04 *** Progman has joined #openttd
22:34:58 *** Hiddenfunstuff has quit IRC
22:43:46 <Samu> can't get any better than this
22:44:01 <Samu> can't remove any more code
22:44:47 <Samu> I hope the order of bool checking is from left to right
22:45:03 <Samu> else this code will fail
22:47:02 <Samu> this || that || maybe_that || or_that - does is makes the checking from left to right?
22:49:00 <Samu> if "this" is false, check "that", if "that" fails, check "maybe_that", and if "maybe_that" fails, check "or_that"
22:51:34 <Samu> if there's a IsEditable in "maybe_that" and it fails, I am working with the assumption of the opposite for "or_that", so I won't have to have an IsEditable in "or_that" - is my thinking correct?
23:19:52 *** Biolunar has joined #openttd
23:51:05 <Samu> is this good british english? The AIs that are currently loaded or that will be loaded next time they start on these Company IDs
23:52:20 <Samu> and another, british english: The Game Script that is loaded or will be loaded in the next game
23:56:36 <Samu> "The AIs that are currently loaded or will be loaded next time they start on these Company IDs while in a game"
continue to next day ⏵