Log for #openttd on 5th February 2018:
Times are UTC Toggle Colours
00:01:09  *** Samu has quit IRC
00:01:37  *** supermop has joined #openttd
00:03:41  *** vak has joined #openttd
00:03:50  *** john-aj has quit IRC
00:03:55  *** vak has quit IRC
00:32:24  *** Gja has quit IRC
00:33:27  *** Flygon has joined #openttd
00:37:34  *** chomwitt has quit IRC
01:36:34  *** som89 has quit IRC
01:38:32  *** Snail has joined #openttd
02:07:25  *** Snail has quit IRC
02:12:18  *** Compu has quit IRC
02:13:46  *** RD1N6Yjimmy has joined #openttd
02:14:05  <RD1N6Yjimmy> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY FAGS!!  ycrwsu: efess urdh rellig ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
02:14:05  <RD1N6Yjimmy> ▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY FAGS!!  zgzrwprh: dihedral tneo urdh ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
02:14:06  <RD1N6Yjimmy> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY FAGS!!  edkxerpll: SpComb Mavy michi_cc ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
02:14:13  <RD1N6Yjimmy> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY FAGS!!  stdtboxrn: kais58 bwn glx ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
02:14:13  <RD1N6Yjimmy> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY FAGS!!  hzlzvvbcv: TinoDidriksen funnel urdh ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
02:14:14  <RD1N6Yjimmy> ▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY FAGS!!  edrdie: cute[m] plp Flygon ▄▄▄▄▄▄▄▄▄▄▄
02:14:15  *** DorpsGek sets mode: +b *!
02:14:16  *** RD1N6Yjimmy was kicked by DorpsGek (glx)
02:24:22  *** supermop has quit IRC
03:15:58  *** supermop has joined #openttd
03:37:16  *** supermop has quit IRC
03:47:10  *** cHawk has joined #openttd
03:57:06  *** DDR has joined #openttd
04:05:35  *** DDR has quit IRC
04:07:00  *** DDR has joined #openttd
04:25:32  *** sla_ro|master has joined #openttd
04:30:49  *** glx has quit IRC
04:41:18  *** sla_ro|master has quit IRC
05:05:31  *** Cubey has quit IRC
06:26:32  *** Extrems has quit IRC
06:27:06  *** Extrems has joined #openttd
07:00:32  *** john-aj has joined #openttd
07:28:27  *** DDR has quit IRC
08:33:52  *** john-aj has quit IRC
08:46:12  *** stefino has joined #openttd
08:46:21  *** stefino has quit IRC
08:58:51  *** ZexaronS has quit IRC
09:30:38  *** som89 has joined #openttd
09:33:50  *** som89 has quit IRC
09:42:18  *** PressureLine has joined #openttd
09:43:43  <PressureLine> daylength binary for trunk?
09:47:15  *** vasatko has joined #openttd
09:47:30  *** stefino has joined #openttd
09:48:59  *** stefino has quit IRC
10:03:34  *** PressureLine has quit IRC
10:08:14  *** tokai|noir has joined #openttd
10:08:14  *** ChanServ sets mode: +v tokai|noir
10:15:14  *** tokai has quit IRC
10:37:25  *** Biolunar has joined #openttd
10:37:58  <Eddi|zuHause> was that a question?
10:38:49  <SpComb> it had a question mark at the end
10:39:05  <__ln__> but no verb
11:44:15  <vasatko> Hi, is tehre someone who can help me with instalation Cygwin on Windows? I try it from this tutorial: but i end on 'setting up python', where pip install Pillow (or images) ends with exception.
11:44:52  <Eddi|zuHause> what kind of exception?
11:45:14  <vasatko>  The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source.
11:46:43  <Eddi|zuHause> "Under Libs section - libjpeg-devel, libjpeg8, zlib, zlib-devel, zlib0" <-- you possibly skipped this step?
11:47:27  <vasatko> no 100% i install it! But can i check it somewhere (or add it now)?
11:48:10  <Eddi|zuHause> are you running the pip command from within cygwin?
11:48:47  <vasatko> yes
11:51:11  <vasatko> in etc/setup i see libjpeg8.lst.gz but i cant find any file with name 'libjpeg8' in cygwin (sub)folder
11:54:16  *** andythenorth has joined #openttd
11:54:39  <andythenorth> I assume orudge knows that the SSL has expired on forums? :)
11:54:54  <LordAro> again?
11:55:00  <andythenorth> HSTS is preventing me from adding any exceptions
11:55:02  <LordAro> didn't it do that a month ago?
11:55:15  <andythenorth> is it on a rolling re-cert?
11:55:45  <andythenorth> maybe the Let's Encrypt isn't automated correctly?
11:55:50  <andythenorth> or it's not handling LE failures
11:56:08  <LordAro> could well be
11:56:26  <LordAro> took me several "months" to get it working when i first used it
11:57:16  <__ln__> Let's Encrypt is sometimes painful to automate correctly.
11:59:04  <andythenorth> coop has invalid cert too
11:59:27  <andythenorth> specifically
12:02:59  *** Biolunar has quit IRC
12:11:22  *** efess has quit IRC
12:11:52  *** efess has joined #openttd
12:12:35  <orudge> andythenorth: bah
12:12:41  <orudge> It's meant to restart the web server
12:12:42  <orudge> it's evidently not...
12:14:40  *** Samu has joined #openttd
12:14:52  <orudge> Should now be fixed!
12:15:00  <orudge> and it should actually restart nginx next time...
12:15:55  <LordAro> \o/
12:16:51  <andythenorth> yay
12:17:10  <Samu> hi
12:17:39  <Samu> this site is not safe
12:20:40  <LordAro> orudge: you missed one
12:20:54  <LordAro> unless that's ^Spike^ or someone
12:23:27  <orudge> LordAro: sorry? I've fixed tt-forums
12:24:54  <LordAro> ottdc
12:25:07  <LordAro> but i guess you don't manage that one
12:30:05  *** Snail has joined #openttd
12:41:45  <Samu> is there a decent citybuilder GS on bananas that does not crash?
13:05:30  <LordAro> lol
13:05:43  <LordAro> you say that as if any of them are supposed to crash
13:06:03  <Samu> tried the one named CityBuilder
13:06:10  <Samu> crashed next month
13:10:45  <orudge> LordAro: no, sorry, that's not me
13:30:35  <Samu> ST2:
13:30:45  <ST2> sec
13:30:55  <Samu> bah i dunno how to innitialize pvt
13:34:48  *** ZexaronS has joined #openttd
14:16:07  *** ToffeeYogurtPots has quit IRC
14:34:24  *** chomwitt has joined #openttd
14:56:18  *** Snail has quit IRC
15:05:47  <Samu> can GSs stop cities from evolving with roads, but not towns? (citybuilder related question)
15:06:20  <Samu> i wanted to let claimed towns to grow with roads
15:06:29  <Samu> but not any other
15:16:53  *** andythenorth has quit IRC
15:19:59  *** Gja has joined #openttd
15:27:04  *** Flygon has quit IRC
15:28:05  *** Compu has joined #openttd
15:47:46  *** andythenorth has joined #openttd
15:56:00  *** nielsm has joined #openttd
16:12:22  *** Alberth has joined #openttd
16:12:22  *** ChanServ sets mode: +o Alberth
16:16:51  *** Snail has joined #openttd
16:17:08  <Samu> Snail, do u make SnakeAI? hmm guess not
16:17:27  <Snail> never heard of it
16:19:35  <Samu> I'm looking for someone to make a Company Value GS for me, lol
16:19:46  <Samu> to download from Bananas
16:21:09  *** andythenorth has left #openttd
16:23:07  <LordAro> Samu: make it yourself
16:23:25  <Samu> yeah, :(
16:24:31  <Samu> well all I wanted was something like "pause game when a company reaches a value of £xxx"
16:32:58  <Samu> teach me
16:36:42  <LordAro> plenty of squirrel tutorials around
16:36:47  <LordAro> stuff on the wiki as well
16:36:59  <LordAro> forums was where i started
16:38:02  <ST2> I started exploring couple existent GS's and reading the API (to know what each function do)
16:38:18  <ST2> not that I got anywhere, most it's by trial and error xD
16:39:41  <ST2>  -- maybe a good place to start :)
16:40:19  <Samu> squirrel?
16:40:37  <ST2> they love nuts :P
16:41:31  <Samu> ok, i downloaded minimal gs gonna read some stuff there
16:41:52  <Samu> and i hate reading
16:45:53  *** chomwitt has quit IRC
16:46:22  *** ToBeFree has joined #openttd
16:50:27  <Samu> function GetAPIVersion()	{ return "1.2"; } wha?
16:50:51  *** john-aj has joined #openttd
16:52:47  <Samu> SELF_VERSION <- 1;
16:52:53  <Samu> what the heck is <- ?
16:53:57  <Samu> the code looks different than coding in visual studio :(
16:56:53  <LordAro> funny that
16:57:01  <LordAro> almost as if it's a different language
16:57:17  <LordAro> although "<-" is pretty weird, i'll grant you
16:57:22  <nielsm> "put 1 into SELF_VERSION"
16:58:40  <nielsm> it's not unusual to see arrow-like symbols used in academics when presenting algorithms, in fact it's strange that assignment using an arrow-like symbol is so rare in programming languages
17:00:24  *** TheMask96 has quit IRC
17:00:40  <Alberth> math doesn't have the notion of assigmments, so it needs a special symbol to denote it, or you must resort to a functional language
17:01:08  <Samu> i think i'm gonna follow this first
17:01:17  <Samu> minimalGS seems confusing
17:01:19  <Alberth> sounds like a plan
17:01:49  <Alberth> a bit much boilerplate mostly, as the real functionality is almost zero
17:01:57  *** Cubey has joined #openttd
17:02:22  <Samu> i wanted to make a GS though, hope it's similar
17:02:44  <Alberth> it is
17:03:24  <Alberth> in both cases you have to wait for events and catch+process them
17:03:45  <Alberth> set of calls to do something is a bit different
17:03:59  <Alberth> as GS has different / bigger powers
17:05:53  *** TheMask96 has joined #openttd
17:08:33  <Samu> squirrel is a language?
17:13:07  *** iSoSyS has joined #openttd
17:13:53  <LordAro> yes
17:16:35  <Alberth>
17:20:41  <Samu> because one place was not enough
17:24:13  <LordAro> of course not :p
17:25:25  *** john-aj has quit IRC
17:34:18  *** HerzogDeXtEr has joined #openttd
17:37:04  *** sla_ro|master has joined #openttd
17:38:48  *** Thedarkb has joined #openttd
17:40:06  <Samu> is this true? 1.3 is max version?
17:40:08  <Samu>
17:45:11  <LordAro> no, but i'm pretty sure there have been no changes since then
17:45:28  <LordAro> see the changelog doc page, whereever that it
17:57:15  *** Biolunar has joined #openttd
17:59:01  <Alberth>
18:02:34  *** Wormnest has joined #openttd
18:03:50  <Samu> this script took too long to save? really?
18:03:52  <Samu> function MyNewAI::Save() {    //This function is outside the class declaration and requires the name of the class so squirrel can assign it to the right place. }
18:04:01  <Samu>
18:04:08  <Samu> followed these instructions :(
18:04:48  *** glx has joined #openttd
18:04:48  *** ChanServ sets mode: +v glx
18:04:58  *** Wolf01 has joined #openttd
18:05:48  <Wolf01> o/
18:05:57  <Alberth> o/
18:06:30  <Alberth> Samu: the } in the comment?
18:08:49  <Samu> no
18:09:35  <Samu>
18:09:36  <ST2> if after //
18:10:01  <ST2> if/when
18:10:31  <Wolf01> Oh fuck, certificate again
18:12:38  <LordAro> Samu: looks alright... did you reload the ai?
18:12:42  <Samu>
18:12:47  <Samu> yeah
18:13:20  *** andythenorth has joined #openttd
18:13:58  <Wolf01> o/
18:16:10  <Alberth> hola andy
18:17:39  <Samu> what is wrong?
18:17:46  <Samu> is it supposed to take too long to save?
18:19:35  <LordAro> it's not
18:20:10  <LordAro> Samu: put an Info statement inside the Save function, see if it gets output?
18:20:21  <Wolf01> To memory, which source file was the land info tool?
18:21:19  <Alberth> find a string in it, then find the string name :)
18:21:29  <Wolf01> Eh
18:21:37  <Samu>   AILog.Info("//This function is outside the class declaration and requires the name of the class so squirrel can assign it to the right place.")
18:21:39  <Samu> is this ok?
18:21:56  <LordAro> what do you think?
18:22:09  <Samu> i think so
18:22:46  <Samu>
18:22:48  <Samu> yeah it's there
18:23:21  <LordAro> that is weird then
18:24:45  <Samu> RIP GS development
18:24:57  <Wolf01> Ok, found it, the usual misc_gui.. when you can't find something it's there
18:25:11  <andythenorth> hi
18:25:14  <Alberth> :)
18:25:24  <LordAro> Samu: maybe some AI setting you've changed?
18:26:21  <LordAro> Samu: also, it's irrelevant until you actually need to start saving something
18:28:15  *** john-aj has joined #openttd
18:28:37  <Alberth> try returning some data
18:29:57  <Alberth> if you don't do that, I can't access the paste
18:30:01  <Samu> how do i do that?
18:30:13  <Alberth> return {};
18:30:34  *** Stimrol has joined #openttd
18:30:35  *** Smedles has quit IRC
18:30:37  <Samu> ok retrying
18:30:51  *** Smedles has joined #openttd
18:30:56  <Alberth> or some other value, the MainAI function doesm't, it seems
18:31:08  <Samu> nice it works now
18:31:42  <Samu> yeah, it was the return thing
18:33:26  *** ToffeeYogurtPots has joined #openttd
18:34:03  <Wolf01> Heh... getting roadtypes from a tile without road... like it should work as expected
18:35:15  <Wolf01> Nice to know that MayHaveRoad(tile) works on a railway bridge
18:35:24  <LordAro> Samu: huh
18:36:32  <Wolf01> NP, that's intended, it's a bridge so it may have road... there's a missing check somewhere else
18:37:19  <LordAro> Alberth: Samu: i have fixed the wiki :)
18:37:37  <Alberth> thanks!
18:37:54  * LordAro looks again at Special:Version
18:37:57  * LordAro becomes sad
18:42:41  <Alberth> reading the wiki too careful is depressing  :p
18:44:10  <LordAro> it's sooo old
18:44:16  <LordAro> i want to fix it
18:45:11  <Samu> naming your company? bah i am trying to make a GS :(
18:45:20  <Samu> how do i transform this into a gs
18:45:33  <LordAro> Samu: for once don't jump ahead 3 steps
18:46:04  <Samu> i jumped one step
18:46:16  <Samu> fine, i'll put a name in the company
18:47:07  *** iSoSyS has quit IRC
18:47:24  *** john-aj has quit IRC
18:49:06  <LordAro> Samu: also, be aware there's no real "how-to" guide for GS
18:49:16  <LordAro> you'll have to work out how to do quite a lot of it yourself
18:53:56  <Wolf01> andythenorth: I need NRT landscape internals, do you have some?
18:54:01  <Samu> the index 'some_integer' does not exist :(
18:54:50  <Samu>
18:54:56  <Samu> i fail at basics it seems
18:55:15  <andythenorth> Wolf01: not iirc
18:55:22  <andythenorth> do we need to make docs also?
18:55:24  <andythenorth> probly
18:55:25  <Wolf01> Yes
18:55:36  <Wolf01> I think bridges have strange m4
18:55:39  <andythenorth>
18:55:42  <andythenorth> is all I have
18:55:52  <andythenorth> we need to edit the landscape grid then
18:55:56  <Wolf01> Yes, it's the same that I have
18:57:04  <andythenorth> k brb
19:00:27  <Samu>   int some_integer = 2;
19:00:33  <Samu> why doesn't it work
19:01:07  <ST2> use: local some_integer = 2;
19:01:19  <Samu> local is for ints?
19:01:25  <Samu> confused
19:01:37  <nielsm> local is used for local variables
19:01:38  <LordAro> Samu: local is for anything
19:01:55  <nielsm> in squirrel, variables don't have types, values have types, and variables hold values
19:02:04  <nielsm> any variable can hold any type of data
19:02:06  <LordAro> squirrel is dynamically typed, so variables aren't "tied" to a particular type
19:03:03  *** frosch123 has joined #openttd
19:03:35  <LordAro> quak
19:03:40  <Wolf01> Quak
19:03:55  <Wolf01> frosch123: bridges are burning
19:03:55  <frosch123> hola
19:04:12  <frosch123> raze them?
19:04:31  <Wolf01> Yes, I was planning to remove tunnel/bridges from the game
19:06:44  <Wolf01> I can't understand what rails are trying to put in m4 to make the RoadTypes funcitons to believe there's a road/tram on rail bridges
19:07:00  <Wolf01> MakeBridgeHead puts 0 in M4
19:08:14  <frosch123> since when do we have level crossings on bridges?
19:08:29  <Wolf01> That's a good question
19:09:01  <Samu> i need to crash a vehicle
19:09:21  <Samu> because the guide says so
19:09:28  <Wolf01> We need also updated docs, I can't find anything related to NRT landscape internals on the links I saved
19:14:04  <Wolf01> Ok, I think I fixed it: m4 should be initialized to INVALID_ROADTYPES not 0... 0 is ROAD
19:14:25  <Wolf01> We have broken maps
19:14:43  <Wolf01> Time to savegame bump XD
19:15:04  *** john-aj has joined #openttd
19:16:08  <andythenorth> :)
19:24:09  *** Progman has joined #openttd
19:24:43  <Wolf01> Pushed a fix
19:34:54  *** FLHerne has quit IRC
19:45:50  *** Alberth has left #openttd
19:49:03  *** sim-al2 is now known as Guest3488
19:49:05  *** sim-al2 has joined #openttd
19:53:06  *** gelignite has joined #openttd
19:53:10  <andythenorth> thanks
19:53:27  *** Guest3488 has quit IRC
19:55:26  <Wolf01> Samu: now you should be happy: no more roads on rail bridges
20:06:14  <Samu> :)
20:11:45  <Wolf01> Also we should thank you as we don't have anymore rail crossings on bridges XD
20:15:07  *** sim-al2 has quit IRC
20:15:27  <andythenorth> loss of a feature IMHO
20:15:34  <andythenorth> crossings on bridge is nice
20:16:56  <Wolf01> Yup adds realism, who don't builds a bridge to level cross a rail bridge?
20:18:02  <Wolf01> BTW, I'm totally sure it was possible to run road vehicles on rail bridges
20:22:35  <andythenorth> feature
20:22:47  <andythenorth> child #1 keeps asking when we will put trains in roads
20:23:01  <andythenorth> child #1 is actually pretty close to typical forum user I think
20:23:11  <andythenorth> also he is sitting analysing the behaviour of all AIs
20:23:20  <Wolf01> Answer: when we'll decide to add more bytes to the map array
20:23:59  <Wolf01> Also needs revising the state machine
20:25:21  <Wolf01> I have a pony too, and you will hate me for it...
20:25:53  <Wolf01> One way tram tracks, only draws the tram track on one side
20:26:27  <Wolf01> But it should be independent from the road's one way, so another bit
20:26:41  <Wolf01> *2 bits
20:31:53  <andythenorth> one way tram tracks? o_O
20:32:03  <Wolf01> Yes
20:32:11  <andythenorth> intended use? o_O
20:32:41  <Wolf01> Make trams only go in one direction
20:33:30  <andythenorth> I'm neutral on that as a feature
20:33:36  <andythenorth> it probably has a use somewhere
20:33:38  <Wolf01> It could work best if tram and roads will be set in opposite one way directions
20:34:12  <andythenorth> so road has one way arrow, tram has just one track?
20:34:16  <Wolf01> Yes
20:34:18  <andythenorth> has to be drive-side aware
20:48:41  <Samu> AILog.Info("We have a crashed vehicle (" + v + ") (" + c + ") (" + r + ")");
20:48:53  <Samu> We have a crashed vehicle (10) (34942) (1)
20:48:58  <Samu> not what I expected
20:49:11  <Samu> local v  = ec.GetVehicleID(); 		 local c  = ec.GetCrashSite(); 		 local r  = ec.GetCrashReason();
20:50:28  <Samu> numbers!
20:50:42  <Samu> the reason was because 1
20:50:45  <Samu> :(
20:53:12  <Samu> why does it write 1 and not CRASH_RV_LEVEL_CROSSING?
20:53:29  <LordAro> because enums are numbers
20:53:32  <LordAro> just hidden
20:53:47  <Wolf01> Mark enum as flag
20:53:48  <LordAro> they (almost always) start at 0
20:53:54  <Wolf01> Or it works only on c#
20:53:59  <LordAro> Wolf01: lol
20:58:03  <supermop_work_> andythenorth: I want it for better looking end of line loops
20:59:37  <supermop_work_> can live without it, but if wolf promulgates the pony I will second the motion
21:01:18  <Wolf01> We vote, I won't decide for all
21:01:51  <Wolf01> Also I should check the feasibility
21:06:22  *** Progman has quit IRC
21:08:29  *** Progman has joined #openttd
21:12:31  <supermop_work_> not sure if voting makes sense
21:13:09  <supermop_work_> seems committee decision by wolf andy (and frosch?) would be the way to go
21:13:49  <supermop_work_> i haven't been writing code or spec so would be odd for me to vote
21:16:31  *** HerzogDeXtEr has quit IRC
21:19:11  *** sim-al2 has joined #openttd
21:22:12  <Samu> I'm bored
21:22:25  <Samu> is there a better way to code those events? :p
21:23:39  <LordAro> unfortunately, no
21:24:05  <Samu> gotta log them all!
21:26:25  <LordAro> you can of course just have a default: case just to throw away all the ones you don't care about
21:26:39  <LordAro> (or copy someone's existing one)
21:26:45  <Samu> I care about everyone
21:26:50  <LordAro> :p
21:30:24  *** sla_ro|master has quit IRC
21:33:23  *** frosch123 has quit IRC
21:35:51  <Samu> AIEventEnginePreview is interesting, let's seee
21:36:02  *** Progman has quit IRC
21:36:10  <Wolf01> 'night
21:36:12  *** Wolf01 has quit IRC
21:37:48  <supermop_work_> andythenorth: why is it so hard for some people to separate HAUL type from NRT?
21:37:57  <andythenorth> NFI
21:38:15  *** Progman has joined #openttd
21:39:05  *** Progman has quit IRC
21:41:08  *** Progman has joined #openttd
21:41:15  <andythenorth> supermop_work_: specifically? o_O
21:42:15  <supermop_work_> i feel like its a long running PR campaign in the thread to reassure people that no one is taking their HAUL away
21:42:59  *** FLHerne has joined #openttd
21:43:06  <andythenorth> or there HEQS
21:43:13  <andythenorth> their / there /s
21:43:29  <andythenorth> it's non-paying-customer-support :)
21:43:33  <andythenorth> I'm used to it, ish
21:43:37  <supermop_work_> im just surprised that people already so strongly equate NRT with air-gapped haul networks
21:43:59  <supermop_work_> no offense, but currently there are like only 3 haul trucks out in the wild
21:44:39  <supermop_work_> update HEQS so they only run on type HEQS, which is not compatible with HAUL nor ROAD
21:45:13  <supermop_work_> i just don't understand how people latched onto the concept so much already when it seems like the user base is still very low
21:46:46  *** ToffeeYogurtPots has quit IRC
21:47:28  *** ToffeeYogurtPots has joined #openttd
21:47:36  <Samu> damn the way things are translated into text...
21:47:59  <andythenorth> NRT Road Hog is not even on Bananas :P
21:48:14  <Samu>
21:48:27  <Samu> numbers!!! and a true
21:48:56  <supermop_work_> andythenorth: exactly -
21:48:56  <Samu> oh, i'm surprised it wrote the name of the aircraft
21:48:57  *** Progman has quit IRC
21:49:13  <LordAro> the vast majority of cases beyond debugging purposes never require a string version
21:49:28  <supermop_work_> i think maybe the strong reactions are partly due to the unfamiliarity with it
21:50:18  <Samu> i can't get the mail capacity of the aircraft, apparently
21:50:48  <Samu> GetCargoType()
21:50:50  <Samu> 0
21:50:55  <Samu> 0 means passengers ya?
21:51:28  <LordAro> possible, what's the enum say?
21:51:46  <Samu> what enum?
21:52:15  <Samu>
21:52:18  <Samu> no enums
21:52:38  <supermop_work_> this is kind of why i am reluctant to add HAUL support, because then i feel like people will complain that HAUL can't run on all roads,
21:52:48  <LordAro> Samu: not there, but the function returns a CargoID
21:52:51  <LordAro> look that up
21:53:04  <LordAro> newgrf cargoes mean they're never constant, remember
21:55:24  *** chomwitt has joined #openttd
21:56:16  *** sim-al2 has quit IRC
21:56:22  <Samu> not sure where to look
21:56:52  <LordAro> something that looks cargo related, probably ;)
21:57:22  *** gelignite has quit IRC
21:59:44  *** Progman has joined #openttd
22:03:31  <Samu>
22:03:40  <Samu> not sure what I'm looking for
22:03:49  <Samu> wanna know if it's passengers
22:04:30  <Samu> i assume it is
22:04:41  <Samu> with a 5% chance it could be mail
22:06:21  <LordAro> well you want something that takes the cargoid and turns it into a string
22:06:28  *** Gja has quit IRC
22:06:37  <LordAro> or at the very least, check it has the same effect that "passengers" do
22:06:44  <LordAro> you're on the right page
22:08:06  *** sim-al2 has joined #openttd
22:10:21  <Samu> ok gonna log all answers from these functions
22:12:50  <Samu> local c  = AICargo.IsValidCargo(ct)
22:12:55  <Samu> is this?
22:13:06  <Samu> local ct = ec.GetCargoType()
22:13:14  <Samu> local ec = AIEventEnginePreview.Convert(e)
22:13:31  <Samu> whatever gonna try
22:14:19  <supermop_work_>
22:14:28  <ST2> Samu: with so many questions and so few reading, LordAro makes ~90 percent of the GS xD
22:14:42  <supermop_work_> maybe town zones could be a bit differeny
22:15:25  <supermop_work_> so you dont end up with a city with a 10 mile diameter CBD and then 3 blocks of suburbs at the edges
22:15:49  <LordAro> ST2: i'm deliberately not giving  any answers :p
22:16:01  <ST2> that's ma boy ;)
22:16:10  <LordAro> Samu: read the function definition a bit more closely
22:16:14  <LordAro> it should become clearer
22:16:23  <LordAro> ST2: lol
22:17:13  <ST2> well, I look at many GS's and how functions were used and the API page
22:17:35  <LordAro> that's basically how i wrote my AI, all those years ago
22:17:35  <ST2> before trying to touch - and well, I didn't started on an easy place
22:18:27  <ST2> my 1st try was with Aphid's CB GS, because wanted to put it on our servers, and our server controller needed to get info from there (we have goal servers)
22:18:58  <supermop_work_> later
22:25:22  <ST2> anyway, I already told Samu that studying other GS's - or even using them as base (some simple ones) and using GSCompany::GetQuarterlyCompanyValue
22:25:31  <ST2> he would get a CV gamescript :)
22:25:50  *** Progman has quit IRC
22:25:53  <Samu> yeah i wanted to make a GS, but someone told me to make an AI instead
22:26:15  <ST2> hehe
22:26:22  <ST2> well, for GS:
22:26:38  <ST2> or even better:
22:26:46  <ST2> it can change
22:27:53  <ST2> I appreciate all the work devs put on this, and I prefer to read and test that ask (example): I typed an A, what comes next?
22:28:48  <ST2> if you hit a "brick" wall, ofc feel free to ask
22:28:55  <ST2> anyway, that's my opinion :)
22:31:01  *** dustinm` has quit IRC
22:34:14  *** Stimrol has quit IRC
22:34:33  <Samu> PASS
22:34:40  <Samu> now what was the question?
22:35:45  <Samu> the second question
22:35:57  <Samu> 		  local cl = AICargo.GetCargoLabel(ct)
22:36:07  <Samu> oki
22:36:27  <Samu>
22:36:57  <Samu> 		  local c  = AICargo.IsValidCargo(ct) 		  local cl = AICargo.GetCargoLabel(ct) 		  local f  = AICargo.IsFreight(ct) 		  local te = AICargo.GetTownEffect(ct) 		  local dt = AICargo.GetDistributionType(ct) 		  AILog.Info("Cargo: " + ct + " (" + c + ") (" + cl + ") (" + f + ") (" + te + ") (" + dt + ")")
22:38:40  <Samu>  TE_PASSENGERS,
22:38:42  *** dustinm` has joined #openttd
22:39:53  <LordAro> Samu: you don't need to echo everything you write into this channel
22:45:09  *** nielsm has quit IRC
23:03:47  *** Snail has quit IRC
23:03:49  *** Thedarkb has quit IRC
23:07:21  *** Lemons has joined #openttd
23:08:00  <Lemons> helo
23:09:33  *** sim-al2 has quit IRC
23:09:40  <Lemons> does anyone play 1.4.4 ... i would like to connect to others...
23:09:40  <Samu> local am = ec.AcceptMerger()
23:09:55  <Lemons> socily ; - ;
23:09:57  <Samu> why did it just bought the company? :(
23:10:31  <Lemons> nobody....
23:10:36  <Samu> we're on 1.7.2
23:10:36  <ST2> Lemons: any particular reason to play 1.4.4 and not 1.7.2?
23:10:43  <Lemons> cuz im on a pi
23:10:50  <ST2> oh
23:10:51  <Lemons> thats my excuse
23:10:54  <LordAro> also you waited 30s for a response
23:10:58  <ST2> 1.7.2 won't run?
23:11:02  <Lemons> uhm
23:11:17  <LordAro> ST2: there won't be a precompiled version
23:11:20  <Lemons> i have a crappy operating system that my dad made me gun
23:11:23  <Lemons> run *
23:11:42  <Lemons> idk if i can even get 1.7.2 on a pi
23:11:46  <LordAro> hey now, no mean works about raspian
23:11:49  <LordAro> words*
23:12:15  <Samu> local am = ec.AcceptMerger() why did this accepted immediately?
23:12:29  <LordAro> why wouldn't it?
23:12:30  <Samu> i bought a company, while I was wondering if i could buy it
23:13:46  <Lemons> idk if i can get a version for the pi
23:14:01  <Lemons> or the operating system i have atm
23:14:09  <LordAro> Lemons: it's likely you'll have to compile it yourself
23:14:14  <Lemons> er the 1.7.2 version
23:14:17  <Lemons> sigh
23:14:25  <Lemons> welp....
23:14:46  <LordAro> Lemons: what OS do you have?
23:14:46  <ST2> 1st: what OS on PI?
23:14:52  <Lemons> uhm
23:14:53  <Lemons> idk
23:14:54  <ST2> that ^^
23:15:02  <Lemons> pi 3 running Kano?
23:15:46  <ST2> LordAro: take the wheel :)
23:15:59  <LordAro> ST2: pfft, i'm googling just the same as you here :p
23:16:11  <LordAro> looks raspian based though
23:16:26  <LordAro> at least, the download link is ""
23:16:41  <Lemons> that i belive is what i have atm
23:16:45  *** Flygon has joined #openttd
23:16:50  <LordAro> Lemons: how familiar are you with the commandline?
23:17:05  <Lemons> the wat
23:17:08  <ST2> so, the "jessie" mention is that remotely based on debian?
23:17:40  <Lemons> words ---> 0.0 ---->
23:18:02  <LordAro> ST2: aye, debian jessie is debian 8, or the last stable version
23:18:20  <ST2> so, that gives a start point
23:18:32  <LordAro> Lemons: ok, i'm afraid you're probably going to struggle with compiling then
23:18:56  <Lemons> ok
23:19:46  <LordAro> looks like raspbian buster only has 1.7.1, so you'd be out of luck there as well, i'm afraid
23:19:51  <LordAro> lemme see if i can find anything else
23:20:01  <Lemons> thx for helping btw
23:20:17  <Lemons> im kindof not verry experienced with this kind of stuff....
23:20:33  <Lemons> and neither is my typing...
23:20:38  *** supermop has joined #openttd
23:21:20  <LordAro> is no problem
23:22:07  <ST2> LordAro: Debian is now 9 (or was last time I checked) - we just didn't upgraded our servers because mono runs stuttering (we actually did on 1 machine - and made it back to 8 xD)
23:22:25  <LordAro> ST2: yeah, buster, or 9
23:22:29  <LordAro> heh
23:22:30  <ST2> :P
23:22:39  <ST2> minors ^^
23:23:57  <Lemons> in openttd download stable there is somthing saying Linux Debian Jessie (x86_64, 64bit)
23:24:09  <LordAro> Lemons: that won't work on a rasppi
23:24:13  <Lemons> oh
23:24:16  <LordAro> rasppi's use ARM architecture
23:24:47  <LordAro> Lemons: assuming you want to go down this road, some searching has turned up a program installed by default on Kano called "linux story"
23:25:00  <LordAro> this should teach you some terminal/commandline basics
23:25:13  <Lemons> yes
23:25:38  <ST2> does this instructions would help?*BSD#Manually
23:25:42  <ST2> even on ARM?
23:25:57  <LordAro> ST2: that'll do it, but given "words ---> 0.0 ---->" ....
23:26:11  <ST2> and ofc, getting the sources, etc etc
23:26:33  <Lemons> im basicly saying i dont realy understand much tech stuff...
23:27:02  <LordAro> that's fine, everyone has to start from nothing at some point :)
23:27:11  <ST2> welcome to the club ^^
23:27:32  <LordAro> rasppi is generally an excellent place to start
23:28:40  <Lemons> im looking for the linux story
23:30:04  <ST2> to read later but, when getting sources, for 1.7.2, use: svn checkout svn://
23:30:34  <LordAro> ST2: nah, download from the website
23:30:46  <ST2> other option too
23:30:50  <LordAro> easier than teaching about VCSs :p
23:30:59  <Lemons> any chance its called Terminal Quest?
23:31:10  <LordAro> Lemons: that'll be it
23:31:12  <Lemons> mk
23:31:35  <Lemons> mk
23:31:43  <Lemons> well i guess ill do that
23:31:55  <Lemons> brb in probably 10 - 20 min
23:33:22  <LordAro> i'll likely be asleep by then
23:34:13  <ST2> I'll be awake, but probably my directions he'll install PH-VR :P
23:34:24  <LordAro> ono
23:37:10  *** andythenorth has quit IRC
23:37:47  <Lemons> allmost done...
23:42:58  *** Wormnest has quit IRC
23:46:48  <supermop> @logs
23:46:48  <DorpsGek> supermop:
23:56:47  *** Lemons has quit IRC

Powered by YARRSTE version: svn-trunk