Config
Log for #openttd on 26th May 2020:
Times are UTC Toggle Colours
00:07:43  *** Wormnest has quit IRC
00:48:17  <Speeder> how I reduce number of pasengers generated?
00:48:33  <Speeder> also I wonder if there is a way to block hotels appearance until cities are big enough to support them
00:48:46  <Speeder> it is silly a hotel can make 150 passengers per month while it is in a city that has 20 people
00:49:06  <Speeder> or better ,hotels should accept, not produce, passengers
01:12:58  <Eddi|zuHause> Speeder: i think we added a setting for passenger generation
01:13:43  <Eddi|zuHause> Speeder: also, it is perfectly realistic that some towns grow to multiples of their size during holiday season
01:14:09  <Speeder> Eddi|zuHause, problem is I am seeing this ALL THE TIME
01:14:25  <Speeder> played on my test run from 1700 to 1895
01:14:38  <Speeder> never managed to make passengers waiting on stations to decrease
01:14:42  <Speeder> they only kept forever increasing
01:15:07  <Eddi|zuHause> that's because you don't have much technological development in this timeframe
01:15:14  <Speeder> at some point I started to demolish the cities to build more rails and roads, but made no difference, a few hotels could easily overwhelm the network
01:15:30  <Eddi|zuHause> the game was never balanced for that. or... anything, really...
01:15:35  <Speeder> a couple towns with 20 people were producing thousand and thousand sof people
01:15:48  <Speeder> I think my solution will be just disallow hotels from producing passengers
01:15:57  <Speeder> accepting passengers and food is enough to make me happy iwth them I guess
01:19:27  <Speeder> another subjecct entirely
01:19:38  <Speeder> how slow is the GS function that gets a list of industries?
01:19:48  <Speeder> basically I didn't liek the "natural" generation of industries
01:19:51  <Speeder> so I will make my own
01:20:03  <Speeder> but I need to know the amount of each industry type before I add another to the map
01:20:11  <Speeder> this during the game, not map generation
01:21:10  <Eddi|zuHause> you can set industries to only appear after a certain date
01:21:32  <Speeder> I know, I am talking about the location
01:21:53  <Speeder> I want certain industries to show up only in certain places
01:22:25  <Eddi|zuHause> you can check some properties of the location in the industry construction callback
01:22:56  <Speeder> my idea was check the amount of each type of industry, and if below a certain limit, spawn one in a random location in a pre-defined area
01:22:57  <Speeder> using a GS
01:23:30  <Eddi|zuHause> the game already does that
01:23:37  <Eddi|zuHause> somewhat-ish
01:27:06  <Speeder> it does?
01:28:56  <Eddi|zuHause> the newgrf defines some ratio of industries that should be on the map, and when the game decides to build a new industry it tries to pick an industry that it has too few of
02:15:04  <Speeder> I want to define the LOCATION of stuff too
02:24:47  <Eddi|zuHause> there it gets tricky, the GS doesn't necessarily know anything about the industry it's trying to build (as the newgrf can do whatever)
02:25:29  <Eddi|zuHause> and the NewGRF has some limited choice in selecting a location, by rejecting certain locations and telling the game to try again elsewhere
02:26:01  <Eddi|zuHause> so if your GS is trying to force a location, it may run in circles...
02:27:11  <Eddi|zuHause> that's an unresolved issue between responsibility of a GS and NewGRF
02:30:25  *** Gustavo6046 is now known as Guest26155
02:30:28  *** Gustavo6046 has joined #openttd
02:31:06  *** Guest26155 has quit IRC
02:36:20  *** Flygon has joined #openttd
02:51:41  *** D-HUND has joined #openttd
02:55:06  *** debdog has quit IRC
02:56:23  *** glx has quit IRC
03:05:12  <Speeder> so, I am trying to make a GS to build industries where I want
03:05:41  <Speeder> local industries = GSIndustryList(); <<< this is correct. local types = GSIndustryTypeList(); <<< also correct
03:06:13  <Speeder> local typeIndex = GSBase.RandRange(types.Count()); types.GetValue(typeIndex); <<< but this... is always zero.
03:06:18  <Speeder> what I did wrong?
03:20:12  <Eddi|zuHause> i think you need to Valuate() the list first
03:22:27  <Eddi|zuHause> so: types.Valuate(GSIndustryType.someproperty);
03:45:05  <Gadg8eer> Can someone help me compile my Late Start version of OpenGFX Mars Houses? It's complaining about (VERSION) this and #ifndef that because I tried to transplant the compiler from another project with a Makefile and Makefile.config
03:47:09  <Gadg8eer> And no, I'm not stupid enough to modify  Makefile or anything other than NML code without knowing what it does.
04:00:47  <Eddi|zuHause> first step: throw away all the changes you've done to the makefile and GRF and try to compile the unmodified one first
04:17:24  *** keoz has joined #openttd
04:19:34  <Gadg8eer> Fair enough. Give me a bit.
04:25:31  <Gadg8eer> Same error as the modified version. Unidentified command "VERSION"
04:29:07  <Gadg8eer> Do you have a better way of communicating than IRC? If you could look at the file structure, this would make a lot more sense to you.
04:36:20  <Gadg8eer> The error is because "(VERSION)" is in the language file, but the file that defines what VERSION is is somehow not accounted for.
04:45:24  <Eddi|zuHause> that's where the Makefile would step in, it would read out the revision number from your checkout (unless you used a tarball), and replace the {VERSION} placeholder
04:46:14  <Eddi|zuHause> what command are you using to compile it?
04:54:37  <Gadg8eer> A batch file. Give me a bit to send it to you.
04:54:54  <Gadg8eer> Oh. Which command? nmlc
04:56:46  <Eddi|zuHause> yeah, no, that won't do, you actually have to use "make" for all the other stuff to be prepared correctly
04:58:49  <Gadg8eer> https://www.irccloud.com/pastebin/rzY9tYXZ/build.bat
05:03:19  <Gadg8eer> What do I add besides the "make" command itself? I at least know there's supposed to be parameters like -x or something to tell make what to do.
05:08:51  <Eddi|zuHause> if everything is set up correctly, just "make" should do it
05:16:02  <Gadg8eer> Alright, thanks. I'll try that in the morning.
05:16:11  <Gadg8eer> Good night.
05:19:28  *** argoneus7 has quit IRC
05:53:07  *** LordArtoo is now known as LordAro
06:02:23  *** sla_ro|master has joined #openttd
06:35:08  *** andythenorth has joined #openttd
06:38:23  <andythenorth> o/
06:59:41  <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #152: Codechange: Reintroduce 0.4 syntax for compatibility https://git.io/JfwGH
07:57:19  *** cHawk- has quit IRC
08:02:06  *** Borg has joined #openttd
08:02:47  *** iSoSyS has joined #openttd
08:41:14  *** cHawk- has joined #openttd
08:49:04  *** cHawk- has quit IRC
08:58:01  *** cHawk has joined #openttd
09:03:31  *** Samu has joined #openttd
09:03:45  *** arikover has joined #openttd
09:07:28  <Samu> hi
09:39:30  *** Westie has joined #openttd
09:39:35  <FLHerne> andythenorth: When there's a release with it, yes
09:39:52  * FLHerne wonders what the next release should be
09:40:43  <FLHerne> Re-adding a ton of code is a bit questionable for a point release, but releasing 0.6 already would be silly
09:45:35  <FLHerne> Eh, it's 0.x, IMO do 0.5.3 and saying it fixes the decision not to keep back-compat :p
09:47:28  <andythenorth> seems fine
09:47:50  <LordAro> FLHerne: i'd say so, yeah
09:50:55  <DorpsGek_III> [OpenTTD/nml] nielsmh commented on pull request #152: Codechange: Reintroduce 0.4 syntax for compatibility https://git.io/JfwRa
09:56:18  <andythenorth> hmm where's that frosch town spec gone
09:56:20  * andythenorth google
09:56:34  <andythenorth> https://wiki.openttd.org/Frosch/Town_Control
09:57:26  * andythenorth looks for growth speed
09:58:13  <andythenorth> UpdateTownGrowthRate looks promising
09:58:27  <andythenorth> most newgrf callbacks are simple, I'm hoping this one is :P
09:58:34  * andythenorth might start a patchpack
10:00:53  <andythenorth> CmdTownGrowthRate looks like the GS API for setting town growth rate?
10:07:55  <DorpsGek_III> [OpenTTD/OpenTTD] Chr12t0pher updated pull request #8169: Fix #8153: Report autoreplace failure when new vehicle cannot carry the cargo https://git.io/JfVAv
10:31:28  <DorpsGek_III> [OpenTTD/OpenTTD] Chr12t0pher updated pull request #8169: Fix #8153: Report autoreplace failure when new vehicle cannot carry the cargo https://git.io/JfVAv
10:37:35  <DorpsGek_III> [OpenTTD/OpenTTD] Chr12t0pher updated pull request #8169: Fix #8153: Report autoreplace failure when new vehicle cannot carry the cargo https://git.io/JfVAv
10:40:10  <DorpsGek_III> [OpenTTD/nml] glx22 commented on pull request #152: Codechange: Reintroduce 0.4 syntax for compatibility https://git.io/JfwEm
11:13:36  *** gelignite has joined #openttd
11:25:16  <DorpsGek_III> [OpenTTD/OpenTTD] Chr12t0pher updated pull request #8169: Fix #8153: Report autoreplace failure when new vehicle cannot carry the cargo https://git.io/JfVAv
11:45:04  *** iSoSyS has quit IRC
11:45:06  *** WormnestAndroid has quit IRC
11:45:28  *** WormnestAndroid has joined #openttd
11:47:36  *** WormnestAndroid has quit IRC
11:47:53  *** WormnestAndroid has joined #openttd
12:00:47  *** derF has joined #openttd
12:04:44  <derF> Morning everyone!
12:07:09  <derF> Anyone else getting a MSB3073 from "Microsoft.MakeFile.targets" since the update to VS2019 community 16.6.0?
12:08:54  <derF> MSB3073	The command "chcp 65001 >NUL &&  ..\objs\settings\settings_gen.exe -o ..\objs\settings\table\settings.h -b ..\src\table\settings.h.preamble -a ..\src\table\settings.h.postamble ..\src\table\company_settings.ini ..\src\table\currency_settings.ini ..\src\table\gameopt_settings.ini ..\src\table\misc_settings.ini ..\src\table\settings.ini ..\src\table\win32_settings.ini ..\src\table\window_setti
12:09:46  <derF> ngs.ini     " exited with code 255
12:18:32  *** APTX has quit IRC
12:22:52  *** glx has joined #openttd
12:22:52  *** ChanServ sets mode: +v glx
12:28:44  *** APTX has joined #openttd
12:50:51  <FLHerne> Who looks after tt-wiki.net? I get ERR_CERT_DATE_INVALID (orudge or planetmaker?)
12:51:05  <planetmaker> ^^ orudge
12:52:01  <glx> usual expired error
12:52:20  <FLHerne> Yep
12:52:45  <FLHerne> Oh, tt-forums.net is the same, so that'll get noticed soon :p
12:53:18  <FLHerne> Cert expired 12 minutes ago
12:54:16  <Eddi|zuHause> wasn't the cert supposed to be self-renewing?
12:55:09  <FLHerne> It's a letsencrypt one, so it certainly *can* be self-renewing if he set it up right
12:55:35  <FLHerne> But apparently not
13:01:29  <Borg> low importance SSL cert should be given for 3 years at last..
13:03:33  <FLHerne> I quite like the LetsEncrypt model
13:03:54  <FLHerne> The cert lifetime is so short it forces you to automate renewal, and then you can't forget it
13:06:22  <Borg> the whole SSL thing gives me mixed feelings...
13:06:23  <supermop_Home> yo
13:06:31  <Borg> I mean.. cert stuff
13:06:34  <LordAro> FLHerne: but then what invariably happens is that it breaks every 90 days because you never get the automation set up right :p
13:07:41  <FLHerne> Eh, mine have been happily renewing themselves for a few years now
13:07:55  <andythenorth> Borg ?
13:08:00  <FLHerne> I think the very first time it failed because I screwed up cron
13:09:05  <FLHerne> Can someone explain why `ConvertSpeedToDisplaySpeed` exists, and is used only in the order GUI?
13:10:06  <FLHerne> Pretty much everything else uses `ConvertKmhishSpeedToDisplaySpeed` via the string parameters
13:10:33  <FLHerne> The former seems to be converting from mph (ish) and I don't really see why
13:11:02  <Borg> andythenorth: well, all those cert companies are surely.. pretty enpowered...
13:11:44  <Eddi|zuHause> probably something hysterical
13:13:42  <LordAro> ^
13:14:44  <milek7> DNSSEC/DANE was a flop, so we're left with ca/browser PKI
13:15:58  <andythenorth> Borg the chances of them mitm is low
13:17:11  <andythenorth> nobody uses SSL as a trust measure any more do they?
13:17:24  <andythenorth> it's just for encryption in transit
13:17:43  <LordAro> pretty much
13:18:01  <Borg> andythenorth: if you are paranoid about encryption on internet.. you should NOT sit on internet at first place ;)
13:18:54  <LordAro> i'm not paranoid because i know SSL (well, TLS ideally) is used almost everywhere
13:42:12  *** nielsm has joined #openttd
13:56:39  *** gelignite has quit IRC
14:55:29  *** Wormnest has joined #openttd
14:59:30  <andythenorth> oops I crashed the crash reporter
14:59:31  <andythenorth> hard
14:59:35  <andythenorth> shell won't end the process
15:16:14  *** gelignite has joined #openttd
15:25:47  *** tokai has joined #openttd
15:25:47  *** ChanServ sets mode: +v tokai
15:32:33  *** tokai|noir has quit IRC
15:47:34  *** iSoSyS has joined #openttd
15:55:21  *** arikover has quit IRC
15:56:34  *** glx has quit IRC
16:05:42  *** glx has joined #openttd
16:05:42  *** ChanServ sets mode: +v glx
16:13:18  *** cHawk has quit IRC
16:34:51  *** Artea has quit IRC
16:41:03  *** Artea has joined #openttd
16:43:32  *** Wolf01 has joined #openttd
16:43:48  <Wolf01> Meh, I need a reboot
16:44:12  <glx> updated VS ?
16:44:32  <Wolf01> No, I, not the pc
16:44:37  <glx> ha
16:45:31  <Wolf01> The button inside my ear is stuck pressed since.. forever, so it's useless
16:51:48  *** Speeder_ has joined #openttd
16:52:32  <glx> lol I have exactly https://developercommunity.visualstudio.com/content/problem/1046649/166-nmake-build-fails-if-nmakebuildcommandline-sta.html
16:54:19  <Wolf01> "I have the same problem. Help! :)" lol
16:55:06  <Wolf01> I have a problem decoding an AES-128-ECB payload
16:55:39  <glx> so for now openttd compilation fails for me with VS 16.6
16:58:29  *** Speeder has quit IRC
17:00:17  <FLHerne> glx: derF mentioned that earlier
17:00:41  <FLHerne> <derF> Anyone else getting a MSB3073 from "Microsoft.MakeFile.targets" since the update to VS2019 community 16.6.0?
17:02:22  <glx> it's easy to fix by editing the project file, but generate script will need an update
17:13:45  *** Progman has joined #openttd
17:18:33  *** Flygon has quit IRC
17:20:20  *** Gustavo6046 has quit IRC
17:26:30  *** Gustavo6046 has joined #openttd
17:54:51  <derF> oh, glx, you encountered the same issue. :) what did you edit in the project file?
17:57:04  <glx> in projects\settings_vs142.vcxproj there's a <SettingsCommandLine> block line 26-28, make it a one line
18:01:49  <derF> Thank you, I will try i later :)
18:44:59  <Eddi|zuHause> wasn't AES-ECB the thing you should never use because it's horribly unsafe?
18:46:06  <Wolf01> It's just because paranoid developers don't trust https, so they want to encrypt the payload
18:46:37  <Eddi|zuHause> but... ECB...
18:47:21  <Wolf01> I don't give a fuck about it, if it was for me I would have sent it in plain text
18:47:38  <Eddi|zuHause> with ECB, you might as well just send plain text
18:48:13  <Wolf01> It's to "discourage" script kiddies
18:49:43  <Eddi|zuHause> heed my warning: ECB is NOT a REAL encryption
18:50:12  <Eddi|zuHause> may as well just ROT13 it...
18:50:15  <Wolf01> And we don't need it, we could have used rot13 for my advice
18:50:18  <Wolf01> Eh
18:50:55  *** cit|zen has joined #openttd
18:51:22  <Wolf01> I think it's just to slow the development down for nonsense
18:51:52  <Wolf01> There are a lot of more important things and they focus on this stuff
18:52:00  <Eddi|zuHause> but if you're gonna go fetch a library that does AES, may as well do proper AES... ECB was meant for dumbphones with the processing power worse than your toaster
18:52:30  <Wolf01> Yes, we are doing IoT shit
18:53:18  <Eddi|zuHause> and if you're not using an existing library, you should go to coder hell...
18:53:48  *** adikt has quit IRC
18:53:51  <Wolf01> I use the node one (crypto), but seem to be incompatible with the one they use on ESP32
18:56:15  <Borg> Wolf01: IoT shit? nooo. you are the doom of internetz.. ;))
18:57:28  <Wolf01> But, I don't want to do it too :(
18:58:08  <Wolf01> Also I'm the only one in charge
19:00:16  <Eddi|zuHause> whatever you do, don't use ECB
19:08:26  *** cit|zen has quit IRC
19:09:30  *** adikt has joined #openttd
19:17:39  <DorpsGek_III> [OpenTTD/nml] FLHerne updated pull request #150: Fix #147: rounding issues https://git.io/JfaZl
19:18:59  <DorpsGek_III> [OpenTTD/OpenTTD] Andrew350 commented on issue #8168: It takes two actions to move your company HQ by one tile. https://git.io/JfViG
19:22:49  *** gnu_jj has quit IRC
19:23:01  *** gnu_jj has joined #openttd
19:32:15  <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #22: Add: allow an option what the first package is for BaseGraphics listing https://git.io/Jfw7J
19:32:23  <TrueBrain> nielsm: sorry for the delay, but ^^ :)
19:32:47  <TrueBrain> I even tested it .. somewhat :D
19:33:20  <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain updated pull request #22: Add: allow an option what the first package is for BaseGraphics listing https://git.io/Jfw7J
19:33:21  <TrueBrain> I did, however, of course, forgot to run black :D
19:33:52  <Wolf01> At least it doesn't throw errors as soon as it starts :P
19:36:28  <TrueBrain> hmm .. commit message is shit
19:37:15  <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain updated pull request #22: Add: an option to indicate the first entry in BaseGraphics listing https://git.io/Jfw7J
19:37:27  <TrueBrain> because "allowing an option" makes zero sense :P
19:37:42  <Eddi|zuHause> i just wanted to ask, because that message made no sense
19:38:15  <TrueBrain> long days at work; brain is a bit of a liquid :)
19:39:14  <DorpsGek_III> [OpenTTD/bananas-server] nielsmh approved pull request #22: Add: an option to indicate the first entry in BaseGraphics listing https://git.io/Jfw78
19:39:29  <nielsm> ofc my reviews have no formal value on that repo :P
19:39:36  <TrueBrain> awh, your review means nothing :(
19:39:40  <TrueBrain> so sad
19:40:09  <TrueBrain> no frosch .. hmm .. how about LordAro ? :P
19:41:48  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 opened pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfw72
19:42:52  <TrueBrain> glx: pretty sure that PR does more than the title says :D
19:43:24  <glx> not much more :)
19:43:49  <TrueBrain> the whole sdl2 config changes? :)
19:44:04  <glx> it's just fixes an inconsistency
19:44:13  <TrueBrain> well, fair, 3 lines of code :P
19:44:27  <TrueBrain> tssk, making it another commit was too much effort? >:D
19:44:29  <TrueBrain> I am trolling :)
19:44:42  <glx> yeah I could split
19:47:24  <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #22: Add: an option to indicate the first entry in BaseGraphics listing https://git.io/Jfw7J
19:47:36  <TrueBrain> ssssttttt
19:51:31  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfw72
19:51:53  <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.9 https://git.io/Jfw5f
19:52:08  *** adikt has quit IRC
19:53:40  *** adikt has joined #openttd
20:00:12  <TrueBrain> nielsm: new version is deployed and configured; could you give it a try and see if the problem is really fixed?
20:03:27  <nielsm> first test worked
20:03:41  <nielsm> fetched 4f474658-OpenGFX-0.6.0.tar
20:03:47  <TrueBrain> sweet
20:04:28  <nielsm> also tested with an openttd 1.2.3 I have around, also works
20:04:35  <TrueBrain> :D Nice, tnx :)
20:10:33  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on issue #8168: It takes two actions to move your company HQ by one tile. https://git.io/JfViG
20:21:46  *** tokai|noir has joined #openttd
20:21:46  *** ChanServ sets mode: +v tokai|noir
20:27:08  <DorpsGek_III> [OpenTTD/OpenTTD] michicc approved pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfwd0
20:28:03  *** tokai has quit IRC
20:30:45  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 dismissed a review for pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfwd0
20:32:13  *** tokai|noir has quit IRC
20:33:52  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 updated pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfw72
20:35:42  <Speeder_> what is the correct way to use the GS "list" classes?
20:36:04  <Speeder_> for example I am trying to get the list of all industry types, and then output the name of a random type in the list to the dev console
20:36:21  <Speeder_> but although I do get a random number that is valid among the types, whenever I try to get the type name I get "0"
20:42:24  <DorpsGek_III> [OpenTTD/OpenTTD] michicc approved pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfwd5
20:43:01  <Borg> Speeder_: GSIndustryList() ?
20:44:06  <Speeder_> yes
20:44:06  *** tokai has joined #openttd
20:44:06  *** ChanServ sets mode: +v tokai
20:44:09  <Speeder_> how that works exactly?
20:44:16  <Speeder_> googling for it I found two contradictory exampleso nly
20:44:21  <DorpsGek_III> [OpenTTD/OpenTTD] glx22 merged pull request #8170: Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> https://git.io/Jfw72
20:44:35  <Borg> local il=GSIndustryList();
20:44:35  <Borg> for(i=il.Begin();!il.IsEnd();i=il.Next())
20:45:23  <Borg> and u can use this index to ask for data via GSIndustry class
20:45:38  <Borg> yeah.. GS isnt easy to use ;P I got confused myself too first
20:46:02  <glx> lists contain indexes
20:46:19  <Gadg8eer> So, I tried adding "make" and I can't seem to get it to work.
20:46:53  <Gadg8eer> What should I add to this file to get it to work? https://www.irccloud.com/pastebin/rzY9tYXZ/build.bat
20:48:36  <Eddi|zuHause> 1) type "make", 2) install make, 3) remove everything else
20:49:13  <Eddi|zuHause> you probably want to install all of mingw
20:49:31  <Eddi|zuHause> as you'll need gcc for pretty much anything
20:50:22  <Eddi|zuHause> (i probably told you this last year, to do this properly to avoid problems in the future, which is now.)
20:51:16  *** tokai|noir has joined #openttd
20:51:16  *** ChanServ sets mode: +v tokai|noir
20:51:40  <Gadg8eer> Definitely never told me this, at least not on IRC.
20:55:02  <Eddi|zuHause> then maybe you're just by coincidence someone who uses a similarly half-assed way of compiling grfs the way it was never meant to be done
20:55:20  <Eddi|zuHause> or you've learned stuff from the wrong people
20:57:16  *** jottyfan has joined #openttd
20:57:34  <Borg> Gadg8eer: what GRF you are trying to build?
20:57:53  *** tokai has quit IRC
20:58:22  <Gadg8eer> OpenGFX Mars
20:58:27  <Gadg8eer> Houses.
20:58:42  <jottyfan> a question about the move of bananas to github...
20:58:48  <Borg> oh.. ok.. I wondered who else uses GNU make to build GRFs ;)
20:58:56  <jottyfan> anyone here that can answer to this?
20:59:27  <nielsm> yes there are people here who are capable of answering that kind of questions
20:59:31  *** tokai has joined #openttd
20:59:31  *** ChanServ sets mode: +v tokai
20:59:31  <nielsm> just ask, don't ask to ask
20:59:32  <jottyfan> I'm one of the developers of BeeReward (https://bananas.openttd.org/package/game-script/42524557)
20:59:49  <jottyfan> I'd like to move this project to github also
21:00:07  <jottyfan> was bananas move to github meant to move the projects also, or is this completely independent?
21:00:22  <nielsm> that's independent
21:00:28  *** tokai|noir has quit IRC
21:01:16  <Eddi|zuHause> openttdcoop was always independent from bananas
21:01:23  <jottyfan> so there is no build tool on github that integrates existing projects automatically to bananas?
21:01:30  <nielsm> the only impact on bananas content creators the github move has is how you log in to the management page
21:01:43  <Gadg8eer> Eh, I'm getting help on the Discord server, sorry to bother you guys with my amateur questions.
21:02:21  <nielsm> but github offers github actions, which can be made to do builds and other helpful stuff
21:02:26  <jottyfan> so it's all about authentication only?
21:03:13  <nielsm> that's the only content-creator-visible change yes
21:03:21  <jottyfan> ok
21:03:47  <nielsm> there's more to it in the administration end of things
21:03:52  <jottyfan> I'm afraid but I did never have a login for bananas, the integration has been done by one of the other authors (Alberth or andythenorth)
21:04:43  <jottyfan> so there is nothing for me to do regarding the gitlab change
21:05:12  <jottyfan> I still would like to move the project to gitlab, but this is not the right place for that discussion, is it?
21:05:12  *** tokai|noir has joined #openttd
21:05:12  *** ChanServ sets mode: +v tokai|noir
21:05:31  <nielsm> well if you want your github account to be manager for one or more packages you are co-developer of, you can probably get that arranged somehow
21:06:57  <jottyfan> I don't care about the mercurial history, doesn't matter if that gets lost on moving to github
21:07:13  <jottyfan> so a simple creation of a new project should do it
21:07:20  <jottyfan> and add all the files
21:07:36  <Speeder_> why not gitlab instead of github?
21:07:43  <jottyfan> fine to me, also
21:07:52  <jottyfan> I'd indeed prefer gitlab
21:08:16  <nielsm> TrueBrain: did you also break the content service for unofficial ports? how sad! https://www.tt-forums.net/viewtopic.php?f=31&t=87143
21:08:20  <jottyfan> but I don't want to annoy anyone doing a move...
21:08:25  <nielsm> (no idea if that's actually it ;)
21:08:44  *** tokai has quit IRC
21:10:38  *** Borg has quit IRC
21:11:32  <Speeder_> there is a way to use GS to found an industry within a random area inside influence of a town?
21:12:20  <Eddi|zuHause> jottyfan: there's perfectly fine ways to preserve the mercurial history on importing to git
21:12:24  <andythenorth> jottyfan it's possible to import the coop mercurial repo
21:12:29  <andythenorth> we've moved lots of repos
21:12:37  *** tokai has joined #openttd
21:12:37  *** ChanServ sets mode: +v tokai
21:12:46  <Eddi|zuHause> jottyfan: mostly the difficult part is mapping the devzone users to github (or whatever) users
21:12:53  <andythenorth> unless it has eints commits
21:13:03  <andythenorth> then the import breaks in some cases
21:13:07  <andythenorth> oof
21:13:50  <andythenorth> hmm economy post in forums
21:14:08  <jottyfan> well, if I did remember my account on openttdcoop, I could clone the mercurial repo again - but I still don't remember anything...
21:14:20  <jottyfan> so @andythenorth - you're one of the authors
21:14:39  *** tokai|noir has quit IRC
21:14:46  <jottyfan> could you move that project to gitlab? My gitlab account is still jottyfan, you could add me as a co developer afterwards?
21:15:07  <andythenorth> which one?  Busy Bee, or Bee Reward?
21:15:15  <Eddi|zuHause> you don't need an account to clone the repo
21:15:30  <jottyfan> Bee Reward is the only one that I took part of
21:16:07  <andythenorth> http://hg.openttdcoop.org/bee-awards
21:16:11  <andythenorth> hmm lots of eints commits
21:16:12  *** Speeder__ has joined #openttd
21:16:14  <andythenorth> probably won't import
21:16:29  <jottyfan> and I still don't know how to make clear that the head repository is on gitlab from now on
21:17:25  <andythenorth> I have just been deleting the coop repos
21:17:33  <andythenorth> or at least, the repo in redmine view
21:17:38  <jottyfan> well, if importing is an issue, I could simply cut the history and import the current state
21:19:30  <TrueBrain> nielsm: that is not unthinkable
21:19:34  <TrueBrain> many factors that can play a part there
21:19:52  <TrueBrain> but mainly the returned content-ids now make use of the full 32bit
21:19:58  <TrueBrain> instead of only like 12 bits
21:20:17  <andythenorth> jottyfan worked https://github.com/andythenorth/bee-reward
21:20:37  <andythenorth> you might as well import it yourself
21:20:50  <jottyfan> well thats perfect, thank you very much!!! :)
21:21:34  <jottyfan> so on extensions, I clone it and make pull requests for you to achieve a new version?
21:21:48  *** Wolf01 has quit IRC
21:21:59  <andythenorth> no just take your own import of the repository :)
21:22:06  <andythenorth> I don't actually want a copy of it
21:22:25  <andythenorth> I just made it to see if it worked, but I'd like to delete it now
21:22:40  <jottyfan> ehm
21:22:49  <jottyfan> could I clone it from gitlab instead of mercurial?
21:22:58  <jottyfan> and import it then again as a new project?
21:23:10  <jottyfan> this might be much easier for me...
21:23:23  *** Speeder_ has quit IRC
21:23:40  <andythenorth> it was one button for me
21:23:54  <jottyfan> but you remember your mercurial login, do you?
21:23:59  <andythenorth> I just chose 'import' then gave it the url https://dev.openttdcoop.org/projects/bee-awards
21:24:15  <jottyfan> that easy? Wow
21:24:29  <jottyfan> ok, then you might remove it
21:25:25  <TrueBrain> nielsm: sadly, I have no clue where the source of the android port is, and what they might have changed; so hard to judge :)
21:26:23  * andythenorth wonders about town growth callback for newgrf
21:26:42  <andythenorth> also many things
21:27:25  <nielsm> https://github.com/pelya/openttd-android/
21:27:27  <nielsm> looks like that
21:27:47  *** jottyfan has quit IRC
21:29:11  *** Samu has quit IRC
21:30:38  <nielsm> anyway, late, sleeptime
21:32:49  <TrueBrain> nielsm: those commit messages
21:32:50  <TrueBrain> lolz
21:32:53  <TrueBrain> okay, that is going to be difficult
21:38:10  *** tokai|noir has joined #openttd
21:38:10  *** ChanServ sets mode: +v tokai|noir
21:38:42  *** nielsm has quit IRC
21:43:29  *** tokai has quit IRC
21:46:25  *** jottyfan has joined #openttd
21:47:19  <jottyfan> so having moved the project to gitlab, who could update the link on bananas website https://bananas.openttd.org/package/game-script/42524557 to change the project site to that link: https://gitlab.com/jottyfan/bee-reward/ ?
21:48:58  *** tokai|noir has quit IRC
21:50:13  <DorpsGek_III> [OpenTTD/OpenTTD] Andrew350 commented on issue #8168: It takes two actions to move your company HQ by one tile. https://git.io/JfViG
21:55:34  <Eddi|zuHause> jottyfan: you need to get a github account and get it linked to your upload
21:58:10  *** Speeder_ has joined #openttd
21:58:47  <jottyfan> so I expect it here: https://github.com/OpenTTD/BaNaNaS/blob/70b83adeeb85067c103e50ba03307aada954e3df/game-script/42524557/global.yaml#L3
21:59:13  <jottyfan> If I clone this project, make a pull request with just that line, this is all I need to do?
22:02:21  <TrueBrain> hmm, the androidport doesn't really make changes in the network code; so that would mean there is a connection problem. I wouldn't be surprised if connecting to a random port towards AWS is blocked by some providers. Comes back to: we should port this to HTTPS :)
22:03:26  *** keoz has quit IRC
22:04:54  *** tokai has joined #openttd
22:04:54  *** ChanServ sets mode: +v tokai
22:05:00  <milek7> jottyfan: no
22:05:17  <milek7> you need to get access to bananas webinterface, and change it there
22:05:23  *** Speeder__ has quit IRC
22:09:24  <jottyfan> ok, thx
22:09:43  <Eddi|zuHause> TrueBrain: it sounds a lot like this other guy who claimed it was a DNS problem
22:12:52  <glx> mobile internet provided often bad things, more than non mobile ones
22:14:11  <glx> (insert "do" somewhere above)
22:33:39  *** Wormnest has quit IRC
22:37:13  <TrueBrain> Eddi|zuHause : yup. I still suspect cgnat is to blame here
22:37:20  <TrueBrain> But hard to diagnose
22:37:54  *** Progman has quit IRC
22:39:00  <TrueBrain> We need a sane person who has this issue who is willing to spend some time on it :)
22:40:04  <Eddi|zuHause> where'd you expect to find a sane person? :p
22:40:33  <TrueBrain> Haha, fair point
22:41:10  <TrueBrain> But yeah, this requires capturing packets :)
22:42:00  *** Arthur_Wang has joined #openttd
22:42:06  <glx> testing via a vpn could also be an option I guess
22:42:12  <Arthur_Wang> Hi. This is the OpenTTD IRC server, right?
22:42:58  <Arthur_Wang> How do I play the game with AI competitors?
22:43:05  *** Arthur_Wang is now known as Wrench_In_The_Plan
22:43:38  <glx> download AIs using in game content thing
22:43:51  <Wrench_In_The_Plan> I've already downloaded several
22:44:07  <Wrench_In_The_Plan> And set the "Maximum no. competitors" setting in the AI settings to their maximum of 14
22:44:54  <Wrench_In_The_Plan> But when I generated a new world using the "New Game" option, I was the only company.
22:45:33  <glx> you also may need to set starting date for each AI
22:45:59  <glx> but you can force start an AI in the console
22:46:31  <Wrench_In_The_Plan> I see.
22:47:03  <glx> "start_ai" is the command
22:48:12  <Wrench_In_The_Plan> For the Game Script, which one would you recommend, if any?
22:48:27  *** Wormnest has joined #openttd
22:54:04  *** sla_ro|master has quit IRC
22:55:37  <Wrench_In_The_Plan> Also, what world generation settings should I use if I want a mix between size and not taking too long to save?
22:59:09  *** cHawk has joined #openttd
23:02:53  *** andythenorth has quit IRC
23:37:54  <Wrench_In_The_Plan> Also, thanks. Managed to get AI competitors up and running.
23:47:00  <Speeder_> so I applied a patch here, but had to edit it a little to compile
23:47:11  <Speeder_> but now whenever this patch create signs, it crate stuff that is nonsense
23:47:24  <Speeder_> so what is the correct way to create signs on C++?
23:47:58  *** gelignite has quit IRC
23:48:50  <Speeder_> currently the code does this: "seprintf(sign_text, "%s", buf); DoCommandP(tile, 0, 0, CMD_PLACE_SIGN, NULL, sign_text);"
23:48:54  <Speeder_> I assume the seprintf part is wrong
23:49:15  <Speeder_> since there was a guard to prevent sprintf from compiling, and I only did a search-replace from sprintf to seprintf
23:50:26  *** jottyfan has quit IRC

Powered by YARRSTE version: svn-trunk