Config
Log for #openttd on 1st August 2018:
Times are UTC Toggle Colours
01:21:33  *** snail_UES_ has joined #openttd
01:37:39  *** Mazur has joined #openttd
01:47:41  *** Mazur has quit IRC
02:42:24  *** Supercheese has joined #openttd
03:13:08  *** glx has quit IRC
03:39:08  *** mindlesstux has quit IRC
03:39:42  *** haudrauf has quit IRC
03:41:01  *** haudrauf has joined #openttd
03:43:47  <snail_UES_> anybody here? :P
04:29:56  *** Supercheese has quit IRC
04:30:18  *** Supercheese has joined #openttd
04:33:15  *** snail_UES_ has quit IRC
05:32:23  *** Supercheese has quit IRC
05:32:45  *** Supercheese has joined #openttd
05:34:31  *** Smedles has quit IRC
05:35:03  <LordAro> TrueBrain: that is much more friendly than i would've been :>
05:35:11  <TrueBrain> I know; that is why I replied :P
05:35:56  <TrueBrain> hmmm .. why did nobody review #6868 yet, but newers of similar content were reviewed?
05:35:57  <TrueBrain> that is odd
05:41:08  <TrueBrain> right, off to work!
06:30:08  *** andythenorth has joined #openttd
06:31:45  <andythenorth> OpenBU.com
06:31:54  <andythenorth> oof wrong window
06:55:21  <peter1138> Nothing there though.
07:39:19  *** Supercheese has quit IRC
08:18:19  <planetmaker> moin
08:20:09  <peter1138> Hi
08:21:45  <planetmaker> he, this openbu guy is funny. He always has these funky ideas :D He's not new, though
08:35:10  <andythenorth> will it rain today?
08:35:36  <andythenorth> dislike cycling in rain
08:39:37  <V453000> I'd pay for rain
08:42:21  <andythenorth> hmm
08:42:22  <andythenorth> bbl
08:42:24  *** andythenorth has quit IRC
09:02:23  *** andythenorth has joined #openttd
09:22:39  <peter1138> That moment when you realise you didn't push the thing you were working on on your laptop.
09:33:54  *** gentz has joined #openttd
09:34:36  <gentz> Hello OpenTTD irc, hopefully some of you have knowledge with the openttd codebase
09:34:46  <gentz> My goal is as follows:
09:35:37  <gentz> I want to implement a "Smart" level terrain feature, which, if the user bumps into the terraform limit, it restarts that terraform the next day
09:36:13  <dihedral> so if the user does not bump into that limit, the limit will not be reset the next day?
09:36:24  <dihedral> so you are looking for a daily terraforming limit?
09:36:49  <gentz> If the user doesn't bump into the limit, then it is done teraforming
09:38:01  <gentz> Every tried to level a mountain in a server with a daily terraforming limit? It's very inconvenient
09:38:29  <dihedral> that's what the terraforming limit is there fore
09:38:32  <dihedral> ... for
09:38:39  <gentz> Anyways, I added a function called "SmartLevelDailyLoop", and it get's called every day
09:39:21  <gentz> But I'm not sure how to swich to the appropriate companies and issue a new "CmdLevelLand" for them.
09:40:29  <gentz> dihedral, I'll still be respecting the limits imposed. Only difference is that now I won't have to keep re-issuing the command repeatedly
09:42:48  <dihedral> now i get what you are after
09:42:51  <dihedral> ha!
09:43:48  <dihedral> i was under the imression you wanted to further restrict the terraforming limit, as to only reset it once per day - i.e. limit is not per terraforming action but per day
09:45:23  <LordAro> there's a config variable to increase/remove the limit
09:45:28  <LordAro> much better to use that
09:46:33  <dihedral> ^ what he sais
09:47:19  <gentz> I'm not the one running the server. I get that intention is to stop people from leveling the world to sea level, but I only want to lower the height of a couple mountains without getting carpel tunnel syndrome
09:47:33  <gentz> *I get that their
09:47:59  <LordAro> maybe the server owner wants to stop people from leveling mountains
09:49:09  <gentz> Well, then It's an ineffective counter measure. Currently I just use an autoclicker + the lower land tool
09:52:43  <dihedral> perfect - you have a solution :-)
09:53:03  <andythenorth> 64 cargo FIRS then?
09:53:20  <LordAro> i believe the original intention of the feature was to stop accidental/abusive "level the entire map"
09:54:31  <dihedral> gentz, you do not need to implement that feature server side, it would suffice for you to patch your client
09:54:48  <gentz> I'm not trying to implement it server side.
09:55:18  <dihedral> then there is no need to loop over every company
09:55:20  <dihedral> only your own
09:56:34  <dihedral> but quite frankly, I personally dislike the idea
09:56:38  <gentz> But don't I need to loop over all of them to get access to my "Company*"?
09:57:11  <dihedral> I find it a lot more challenging and interesting to build with unchanged terrain and minimize the need for terraforming
09:57:22  <LordAro> _current_company, or something iirc
09:57:59  <dihedral> the price for terraforming should be increased drastically :-P
09:58:16  <dihedral> that would actually force people to use those tools less
09:58:30  <gentz> They can increase the price if they want to (the server operators), I just want to level mountains till that happens :p
09:58:32  <peter1138> _local_company
09:58:40  <dihedral> hehe - terraforming is not a fixed cost but rather percentage of your bank balance
09:59:21  <dihedral> that would actually be a nice idea - make it 10% and you have a natural limit :-D
10:01:08  <LordAro> terraforming EU style :)
10:01:13  <dihedral> :-D
10:01:27  <dihedral> i genuinly like that thought
10:04:22  <dihedral> LordAro, where you first have to get the permission for the docmd before it gets scheduled and executed?
10:04:27  <dihedral> with a random factor
10:04:50  <dihedral> "Your request to build the 5th Trainsstation in x has been denied"
10:04:54  <LordAro> hey, people wanted a more realistic financial model
10:04:57  <LordAro> turn it up to the max
10:05:19  <andythenorth> add more politics too
10:05:31  <andythenorth> and geographical borders
10:05:32  <dihedral> that would be easy: initial loan = 0, buy credit with paypal and transfer it into the game with a bot and the ai
10:05:41  <andythenorth> so you have to do different compliance in different areas
10:05:52  <andythenorth> and territories also re-weight industry probability
10:05:59  <andythenorth> and mess with payment curves
10:06:03  <dihedral> hehe
10:06:06  <andythenorth> random offsets from the defaults
10:06:27  <andythenorth> then all those track sets with 14 kinds of electrification make sense
10:06:37  <gentz> Hmmm, another question, I see "DoCommandP" gets sent 5 parameters from terraform_cmd.cpp, but I can only find 2 definitions of it in command.cpp, one which wants 2 parameters and another which wants 7
10:06:40  <dihedral> :-D
10:06:43  <andythenorth> eh why don't the railtype grfs also have types for different signalling systems?
10:06:49  <andythenorth> that affects speed
10:06:56  <andythenorth> and we could have them adjust the pathfinder
10:06:59  <gentz> Anyone know where the third definition is?
10:07:59  <dihedral> what if stations never belong to a company but to the town, and you can only service the stations a town builds
10:08:25  <LordAro> gentz: probably default parameters, check the relevant header file
10:09:06  <LordAro> http://docs.openttd.org/command__func_8h.html#af56e7f6f41e2c8ba64abe224f5ca2b9d alternatively...
10:09:28  <LordAro> ...i realise that link isn't all that helpful
10:09:33  <LordAro> but the documentation in general probably is
10:09:35  <LordAro> maybe
10:12:13  <peter1138> Hmm, can I track how many times something has occurred in the past 24 hours (rolling) without keeping a history of every time it has occurred?
10:12:51  <LordAro> map of thing to number?
10:19:06  *** andythenorth has left #openttd
10:40:55  <gentz> Network-game sychronization failed...
10:40:56  <gentz> damn
10:41:14  <gentz> I've implemented it wrong :/
10:44:25  <gentz> And in local games: "Can't level land here... land sloped in wrong direction"
10:50:18  <gentz> The thing is making docks... docks with no water
10:50:48  <gentz> https://i.imgur.com/iMaBSiV.png
10:51:59  <gentz> Err locks, and they do have water. Forgot abase was disabled.
11:20:01  *** gnu_jj has quit IRC
11:46:48  *** gnu_jj has joined #openttd
11:52:09  <gentz> Hold on, that is abase... hmm for some reason I remember the water brighter
11:53:28  <peter1138> I recommend TTD graphics ;)
11:58:22  <LordAro> ^
12:22:13  <gentz> Can someone explain to me why the CcTerraform callback isn't called when it fails to terraform (and gives a read message)?
12:25:46  <gentz> Well, it's called in single player games
12:26:01  <gentz> Not multiplayer games however... augh
12:34:00  <peter1138> In multiplayer the command is sent to the server and there is no immediate response.
12:35:31  <gentz> So, when the "only_sending" flag in DoCommandP is set true, I wont see the response?
12:36:05  *** snail_UES_ has joined #openttd
12:36:41  <gentz> Time to add an "always run" callback, I guess :/
12:39:08  <peter1138> Good luck with that.
12:39:57  <peter1138> Anyway, the callback should be called when the command comes back to you from the server.
12:40:46  <gentz> I want to add failed commands to a vector of them, so that I can keep retrying them
12:41:21  <gentz> When they come back (if they do) they don't appear to be calling my callback if it failed
12:42:16  <gentz> (I know my callback isn't being called cause I can't see the message in the log, nor hear the sound terraforming makes)
12:46:31  <peter1138> Looking at the code, I suspect the server also needs to know about the callback.
12:46:59  <gentz> By my callback I mean "CcTerraform"
12:47:12  <peter1138> Ah, modifying existing callback.
12:48:39  <gentz> I suspect there is a way to examine all the commands we are getting back?
12:56:20  <gentz> It's 6am and I've been working at this way too long. I think I'll go to bed and hope a sudden understanding of how openttd works internally pops into my head. (I wish that was how it works)
13:03:56  <peter1138> Nah, it'll keep you awake wondering, and frustrated.
13:10:01  *** snail_UES_ has quit IRC
13:12:04  <dihedral> you go to bed at 6 AM?
13:13:08  <peter1138> Well he started this around 3.5 hours ago...
13:13:18  <peter1138> And that's just the IRC side.
13:13:32  <peter1138> "A quick fix" no doubt.
13:16:26  <dihedral> hehe
13:23:31  <peter1138> Waking up in the morning... "well, maybe an autoclicker isn't so bad"
13:31:45  <dihedral> terraforming a mountain is bad!
13:31:57  <dihedral> regardles of the method
13:46:43  *** nielsm has joined #openttd
13:49:21  <peter1138> Morning.
13:49:57  <peter1138> dihedral, know anything about ASP.NET Identity, Single Sign-On, and how to meld it all together?
13:50:50  <nielsm> wazza
13:56:33  <dihedral> i've worked with asp, and with single sign on separate systems however
13:56:35  <dihedral> :-P
13:56:53  <dihedral> never touched .net or asp.net identity
13:57:04  <dihedral> what'cha got?
13:58:17  *** sim-al2 has quit IRC
13:59:02  *** Alberth has joined #openttd
13:59:02  *** ChanServ sets mode: +o Alberth
13:59:06  <Alberth> o/
13:59:44  <peter1138> Currently I've got some kind of .net forms authentication
14:02:43  <Alberth> sounds dangerous
14:06:02  <peter1138> Pretty much. It's mixed with 2FA authentication, token-based auth and web services / non-web backend programs.
14:07:46  <dihedral> my contact to sso was mainly shibboleth and cas
14:08:04  <dihedral> a rather simple approach really
14:08:19  <dihedral> but that will not help you, unless you want to reinvent the asp.net wheel for sso
14:12:04  *** cHawk has quit IRC
14:14:24  <nielsm> okay why does timidity (the cmdline program) just produce silence here
14:17:41  <dihedral> have you turned up the volume?
14:17:58  <nielsm> I'm having it dump to a wav file and the wav file is zero all the way through
14:19:20  <nielsm> trying to have it use freepats, but it also complains about no instruments being mapped to all the various programs
14:20:21  *** frosch123 has joined #openttd
14:27:38  <nielsm> fluidsynth works
15:09:31  *** Wormnest has joined #openttd
15:12:10  <peter1138> It's a mess, isn't it.
15:13:59  <peter1138> I'm sure I had a patch onceā„¢ that implemented SDL_mixer support.
15:14:14  <LordAro> you should find that
15:14:23  <nielsm> there is a patch somewhere that uses fluidsynth as a library to render music
15:14:42  <LordAro> i remember that, should be PR'd, imo
15:14:45  <nielsm> https://github.com/OpenTTD/OpenTTD/issues/6611
15:14:49  <peter1138> Or at least, someone else did. Hmm.
15:16:03  <peter1138> Hmm, fluidsynth is nicer than timidity anyway.
15:39:43  <nielsm> so did anyone patch nml yet? :P
16:21:12  *** nielsm has quit IRC
16:24:58  *** Progman has joined #openttd
16:41:37  *** Wormnest has quit IRC
17:02:33  *** Wormnest has joined #openttd
17:06:10  *** Progman has quit IRC
17:17:43  *** innocenat has joined #openttd
17:41:23  *** andythenorth has joined #openttd
17:42:23  <Alberth> o/
17:44:27  <andythenorth> hi
17:56:44  <andythenorth> such cat
18:26:38  *** tokai|noir has joined #openttd
18:26:38  *** ChanServ sets mode: +v tokai|noir
18:33:37  *** tokai has quit IRC
18:34:59  *** nielsm has joined #openttd
19:07:49  *** mindlesstux has joined #openttd
19:18:22  *** frosch123 has quit IRC
19:57:30  *** ToBeFree has joined #openttd
20:03:02  *** Wolf01 has joined #openttd
20:03:13  <Wolf01> Moin
20:03:19  <andythenorth> yo Wolf01
20:03:30  <andythenorth> which technic 2018 sets you buying?
20:03:50  <Wolf01> Everyone
20:07:04  *** ToBeFree has quit IRC
20:08:50  *** Progman has joined #openttd
20:20:55  *** Alberth has left #openttd
20:21:11  *** glx has joined #openttd
20:21:11  *** ChanServ sets mode: +v glx
20:26:26  <andythenorth> I don't need a giant red crane in my house
20:29:42  <Wolf01> I do, I need it to move the boxes up and down from the top of the wardrobe
20:31:16  <Wolf01> https://www.brothers-brick.com/2018/08/01/the-biggest-lego-technic-set-ever-42082-rough-terrain-crane-review/
20:41:20  <Wolf01> Also, we'll might have another grf for NRT
20:48:27  *** nielsm has quit IRC
20:54:17  *** sim-al2 has joined #openttd
21:19:21  <andythenorth> bed
21:19:22  *** andythenorth has left #openttd
21:35:21  <Wolf01> Me too
21:35:24  <Wolf01> 'night
21:35:32  *** Wolf01 has quit IRC
21:49:30  *** Progman has quit IRC
22:05:36  *** Wormnest has quit IRC
23:57:23  *** mindlesstux has quit IRC

Powered by YARRSTE version: svn-trunk