Config
Log for #openttd on 6th February 2018:
Times are UTC Toggle Colours
00:00:31  <Samu> some of these events are misleading
00:00:37  *** FLHerne has quit IRC
00:00:41  <Samu> ET_STATION_FIRST_VEHICLE
00:00:56  <Samu> i thought it was of any company, it's only of my company
00:02:09  <LordAro> Samu: well you don't get notifications of first vehicles at other people's companies
00:02:27  <LordAro> AIs (try to) have exactly the same amount of knowledge as human players do
00:02:51  <Samu> we do
00:03:13  <LordAro> hrm
00:03:13  <Samu> unless i'm missing something ...
00:03:16  <LordAro> maybe we do
00:03:19  <LordAro> it's been a while
00:03:24  *** chomwitt has quit IRC
00:03:32  <Samu> gui settings?
00:03:58  <Samu> the AI chosen not to receive those news?
00:09:00  <Flygon> Are town 'root' tiles attached to the z axis?
00:09:10  <Flygon> Or the x and y one only?
00:12:39  <Samu> wtf i found a bug
00:12:53  <Samu> a zeppelin crashed on myai airport
00:13:05  <Samu> and the aircraft could still land on it
00:13:29  <LordAro> zeppelins are helicopters, aren't they?
00:13:38  <LordAro> don't think they stop the runway from being usable
00:13:46  <Samu> they're a disaster zepelin
00:13:53  <LordAro> oh, those
00:14:18  <Samu> disasters behave different for AIs?
00:14:30  <LordAro> i'd be extremely surprised
00:20:08  <Eddi|zuHause> Flygon: there is no z axis
00:21:00  <Eddi|zuHause> Flygon: the town has an X/Y coordinate, the Z coordinate is read from that tile for the purpose of drawing the town name
00:25:22  <Samu> case MP_RAILWAY: 			if (Company::IsHumanID(GetTileOwner(tile))
00:25:27  <Samu> that is so lame
00:25:45  <Samu> AI railways are not destroyed by ufo disasters
00:27:52  <LordAro> Samu: there are a certain number of things like that, just because it's excessively difficult for AIs to detect (and fix) such things
00:28:50  <Flygon> Eddi|zuHause: Thanks.
00:29:00  <Flygon> The town 'name' didn't elevate when I raised its tile, that is all.
00:29:08  <Flygon> Hence my confusion.
00:29:43  <Eddi|zuHause> did you change all 4 corners of the tile?
00:30:19  <Flygon> ...
00:30:26  <Flygon> Come to think of it, no.
00:30:33  <Flygon> I only raised three corners .
00:32:07  <Eddi|zuHause> so i just tried, the name doesn't move on terraforming
00:32:25  <Eddi|zuHause> but if you then destroy a house, it moves when it draws the new town population
00:32:29  <Flygon> Huh.
00:32:31  <Flygon> Alright.
00:32:34  <Flygon> Thanks. :3
00:32:44  <Eddi|zuHause> so likely the height is cached somewhere
00:33:18  <Samu> i got a zeppeliner crashing again, this time the aircraft could not land
00:34:59  <Samu> wondering if the aircraft was at the airport the first time it happened
00:37:17  <Samu> hmm nop
00:37:41  <Samu> must be a very rare situation when the zeppelin crashes at the same time an aircraft is taking off
00:37:59  <Samu> zeppelin sets the block
00:38:12  <Samu> aircraft taking off sets it off
00:38:39  <Samu> so when it comes to land again it will land even with zeppelin debris there, i think
00:45:39  *** Samu has quit IRC
00:49:22  <supermop> maybe zepplin disaster should have to wait in holding pattern?
00:53:17  *** Laedek has joined #openttd
00:54:11  <supermop> need better names for industrial trams
01:04:58  <Eddi|zuHause> supermop: the disaster zeppelin cannot do a holding pattern, because it doesn't have rotational views
01:23:58  *** Thedarkb has joined #openttd
01:32:38  *** john-aj has quit IRC
01:34:13  *** Snail has joined #openttd
02:01:49  *** ToBeFree has joined #openttd
02:05:49  <supermop> Eddi|zuHause: whats an old timey german nomenclature for machine models
02:06:09  <supermop> like 'type 24' or 'model B'
02:06:50  <supermop> something that a german works might name a machine in the 1800s
02:08:39  <Eddi|zuHause> what kind of machine?
02:08:48  <supermop> in this case a steam dummy
02:08:54  <supermop> tramway locomotive
02:09:23  <supermop> could be a number , or a name that sounds like something a new company might name their first engine
02:09:36  <Eddi|zuHause> so early steam engines just got names like "Adler" and "Saxonia", that carried on till the 1870s
02:09:58  <Eddi|zuHause> then the various railway companies started having model series
02:10:19  <supermop> so a person or place for the earliest, and then a number in the 1890s ish?
02:10:23  <Eddi|zuHause> which usually involved a letter and one or two numbers
02:11:05  <Eddi|zuHause> so the letter was something like "S", "G", "P", "T" denoting the usage of the engine
02:11:09  *** Thedarkb has quit IRC
02:11:24  <Eddi|zuHause> and the number was either some power stat or just the number of axles
02:11:28  <supermop> were there many tramway locomotives in germany?
02:11:49  <Eddi|zuHause> i don't know much about tramway locomotives
02:12:45  <Eddi|zuHause> but, like trams now, they probably just enumerated them
02:13:25  <supermop> probably overthinking it with two fake german brands
02:13:29  <Eddi|zuHause> most trams were either horses or electric
02:14:09  <Eddi|zuHause> steam trams were mostly just regular steam engines with some casing around it
02:14:44  <supermop> these i am naming are basically that, small locomotives pulling wagons around harbors
02:16:53  <Eddi|zuHause> you might call them "T1" and "T2" or something
02:19:05  <supermop> 'vogel' sounds dumb for such a slow vehicle
02:24:23  <supermop> does 'Anfang' sound dumber for the first one?
02:36:46  <supermop> also as a matter of describing the vehicles to players, 'tramway train' sounds stupid
02:36:53  <supermop> 'boxcar tram' also
02:37:19  <supermop> 'tramway motor with boxcar train' much too verbose
02:43:08  *** Supercheese has joined #openttd
03:01:56  *** ToffeeYogurtPots has quit IRC
03:02:10  *** ToffeeYogurtPots has joined #openttd
03:13:14  *** Supercheese has quit IRC
03:32:16  *** supermop has quit IRC
03:46:12  *** glx has quit IRC
04:03:18  *** Snail has quit IRC
04:11:24  *** ToBeFree has quit IRC
05:34:55  *** sla_ro|master has joined #openttd
05:58:42  *** Cubey has quit IRC
06:01:44  *** sla_ro|master has quit IRC
07:17:14  *** andythenorth has joined #openttd
07:27:15  *** andythenorth has quit IRC
07:31:48  *** andythenorth has joined #openttd
07:59:12  *** andythenorth has quit IRC
08:19:09  *** andythenorth has joined #openttd
08:20:54  *** Thedarkb has joined #openttd
08:23:00  *** andythenorth has quit IRC
08:29:07  *** Thedarkb has quit IRC
09:02:27  *** andythenorth has joined #openttd
09:02:33  *** PressureLine has joined #openttd
09:26:31  *** berndj has quit IRC
09:39:24  *** TheMask96 has quit IRC
09:44:53  *** TheMask96 has joined #openttd
09:59:48  *** andythenorth has left #openttd
10:01:51  *** PressureLine has quit IRC
10:06:37  *** ToffeeYogurtPots has quit IRC
10:06:56  *** ToffeeYogurtPots has joined #openttd
10:08:03  *** tokai has joined #openttd
10:08:03  *** ChanServ sets mode: +v tokai
10:10:55  *** berndj has joined #openttd
10:14:59  *** tokai|noir has quit IRC
10:17:46  *** iSoSyS has joined #openttd
10:34:50  *** FLHerne has joined #openttd
11:34:23  *** john-aj has joined #openttd
11:41:05  *** chomwitt has joined #openttd
11:43:33  *** Samu has joined #openttd
12:00:36  <Eddi|zuHause> supermop_work_: i don't think anybody would call an engine "Anfang"
12:01:00  <Eddi|zuHause> just pick two random animals or something
12:12:12  <Samu> https://www.tt-forums.net/viewtopic.php?p=1202309#p1202309 this looks intersting
12:12:33  <Samu> too bad it's going into JGR build :(
12:12:44  <Samu> should go into Openttd itself
12:14:36  <Samu> https://wiki.openttd.org/AI:RoadPathfinder
12:14:55  <Samu> As with any library, before you can use it, you need to import it. You can do this by placing the following line at the top of your code
12:15:00  <Samu> well, which file?
12:15:03  <Samu> main.nut?
12:15:14  <Samu> it's not clear for a total noob
12:15:16  <LordAro> the one you use it in
12:15:40  <Samu> that's main.nut i guess
12:17:31  <Samu> couldn't find library 'pathfinder.road' with version 3
12:23:14  <Samu> where is this pathfinder.road library thing?
12:23:27  <Samu> bananas?
12:25:45  <Samu> yeah i found it
12:35:21  *** iSoSyS has quit IRC
12:38:39  *** Gustavo6046 has joined #openttd
12:40:09  *** john-aj has quit IRC
12:45:08  *** Samu has quit IRC
12:48:06  *** Samu has joined #openttd
13:08:33  <Samu> the index AIAbstractList does not exist :(
13:08:43  <Samu> what is it?
13:09:07  <Samu>   townlist.Sort(AIAbstractList.SORT_BY_VALUE, false);
13:15:56  <Samu> oh it's an API thing
13:17:46  <ST2> So, you started up asking about a GS and ended making an AI? good Samu :)
13:17:57  <Samu> yeah :(
13:18:13  <Samu> and my computer is still hanging, still unstable
13:18:32  <Samu> sucks when i'm in the middle of typing/coding/reading
13:18:44  <ST2> virus?
13:18:45  *** supermop has joined #openttd
13:20:59  <Samu> no
13:21:17  <Samu> it's an old issue, it happens from time to time
13:21:25  <Samu> for no apparent reason
13:21:47  <Samu> mobo complains about vga
13:22:35  <Samu> i don't know what it could be
13:22:37  <ST2> do like me, bought a double Xeon for 200 euros: 12 cores, 24 threads total :)
13:22:54  <Samu> could be PSU
13:23:00  <Samu> could be video card
13:23:03  <Samu> could be motherboard
13:23:10  <Samu> could be cpu, ram, etc.. etc...
13:23:12  <Samu> drivers
13:23:20  <Samu> dvi cable
13:23:24  <Samu> bah...
13:23:25  <ST2> or maybe software related ^^
13:23:44  <Samu> i just know one thing... this BIOS sucks
13:24:16  <vasatko> im starting with m4nfo, can you someone send mi m4nfo file (nfx) to ottd@vasatko.net? i cant see what must be in file
13:25:45  <Samu> i just pray it doesn't suck to the point of changing voltages of things... but it can't really detect the correct HyperTransport speed of my cpu... so...
13:25:59  <Samu> stupid rushed up product
13:29:17  <Samu> LordAro:   townlist.Sort(AIAbstractList.SORT_BY_VALUE, false); doesn't work for 1.7 API, but works for 1.0 API, how to make it 1.7 ready? :(
13:31:37  <Samu> use AIList instead says the changelog :8
13:31:40  <Samu> k lets try
13:32:39  <Samu> heh, it werks
13:32:55  <Samu> ty
13:34:40  *** Gustavo6046 has quit IRC
13:36:54  <LordAro> Samu: feel free to update the wiki :)
13:37:31  <Samu> me? no way, im noob, don't even know what i'm doing yet
13:37:43  <LordAro> well you can at least correct that :p
13:38:03  <Samu> no need to correct
13:38:03  <LordAro> given its been incorrect for 6 years or so..
13:38:14  <Samu> the guide is using 1.0 as API
13:38:31  <Samu> I forced my api choice to 1.7
13:38:35  <LordAro> true
13:41:53  *** stefino has joined #openttd
13:44:42  *** supermop has quit IRC
13:45:29  *** Samu has quit IRC
13:52:12  *** Samu has joined #openttd
14:15:51  *** supermop has joined #openttd
14:17:47  <supermop_work_> yo
14:22:14  <Samu> hi
14:23:52  *** supermop has quit IRC
14:31:14  <Samu> oh yes... pathfinder went full retard https://imgur.com/lQUwz9E
14:40:55  <LordAro> Samu: haha
14:41:07  <LordAro> sounds like you need to fiddle with those hueristic values
14:44:53  *** nielsm has joined #openttd
14:50:12  *** ToffeeYogurtPots has quit IRC
15:02:34  *** Snail has joined #openttd
15:29:59  *** Flygon has quit IRC
15:41:36  <supermop_work_> somehow the mop rv code i have at home is missing many of the changes in the latest version of the grf I have
15:41:51  <supermop_work_> where the hell did i write that stuff and where did it go
15:42:17  <supermop_work_> like all of the code for the purchase menu sprites for trams is not there
15:56:02  *** john-aj has joined #openttd
16:00:21  <supermop_work_> I wonder - is the cargo age available for switches to use?
16:01:17  <supermop_work_> basically so slag in an open wagon or ladle gets fewer glowing orange bits the longer you haul it around?
16:09:42  *** Thedarkb has joined #openttd
16:19:37  *** Cubey has joined #openttd
16:20:38  *** iSoSyS has joined #openttd
16:26:48  *** iSoSyS has quit IRC
16:28:15  *** iSoSyS has joined #openttd
16:30:07  *** Cubey has quit IRC
16:31:28  *** Cubey has joined #openttd
16:31:35  *** iSoSyS has quit IRC
16:37:48  *** Gja has joined #openttd
16:39:11  *** Cubey has quit IRC
16:39:25  *** Cubey has joined #openttd
16:53:59  *** Samu has quit IRC
16:57:28  *** Samu has joined #openttd
17:04:17  *** synchris has joined #openttd
17:10:52  *** john-aj has quit IRC
17:11:58  *** HerzogDeXtEr has joined #openttd
17:13:59  *** LOIC_DURUCY has joined #openttd
17:16:32  *** TheMask96 has quit IRC
17:21:07  *** TheMask96 has joined #openttd
17:23:14  <Samu> i can't build a rail station with the ai
17:23:20  <Samu> am i really that noob?
17:24:01  <Samu> it builds the rail, but not the stations
17:31:02  <Samu> oh wow, nevermind, it built it
17:31:30  <Samu> but now it failed to build rail :)
17:36:21  *** quiznilo has left #openttd
17:39:32  *** Electroz has joined #openttd
17:40:21  *** Gja has quit IRC
17:40:59  *** Electroz has quit IRC
17:53:11  *** Wormnest has joined #openttd
17:57:06  *** Wolf01 has joined #openttd
17:57:44  *** stefino has quit IRC
17:58:05  <Wolf01> o/
18:00:39  *** glx has joined #openttd
18:00:39  *** ChanServ sets mode: +v glx
18:14:34  *** frosch123 has joined #openttd
18:15:29  *** john-aj has joined #openttd
18:22:22  *** andythenorth has joined #openttd
18:23:34  *** tttt5 has joined #openttd
18:24:03  *** ToffeeYogurtPots has joined #openttd
18:24:51  *** sla_ro|master has joined #openttd
18:26:13  <Samu> my ai sucks
18:26:26  <Samu> now I wanna make a gs
18:27:12  <Samu> gonna replace "AI" to "GS", see what happens
18:28:32  <LordAro> lol
18:28:50  <LordAro> pretty sure a GS can't make rails
18:30:28  <supermop_work_> LordAro: i think they can?
18:30:36  <andythenorth> who's drawing this for me?
18:30:36  <andythenorth> http://maritime-connector.com/image/toll-emperor-9355927/166483/
18:31:15  <supermop_work_> nice
18:32:45  *** Progman has joined #openttd
18:34:48  *** Gja has joined #openttd
18:37:27  *** Progman has quit IRC
18:38:43  *** Progman has joined #openttd
18:42:10  *** gelignite has joined #openttd
18:52:39  <Samu> woah... can't use while(true) in a game script, it's slowwwwwww
18:54:12  <LordAro> well... yeah
18:54:29  <Samu> i put some sleep
18:55:34  <Samu> eh... the thing doesn't stop, not even with pause
19:07:07  <Wolf01> supermop_work_, andythenorth: wetroads
19:07:30  *** HerzogDeXtEr1 has joined #openttd
19:08:53  <andythenorth> :P
19:10:43  <Wolf01> 95 minutes to launch (SpaceX Falcon Heavy), grrrr I'm too much excited
19:11:39  <supermop_work_> Wolf01: i thought that was yesterday?
19:12:05  <Wolf01> No, today, and it was delayed of 2.5 hours
19:12:14  <Rubidium> again?
19:12:22  <Wolf01> Yeah, 21:45
19:12:38  <Wolf01> But Elon just did the "holy mouse click"
19:13:59  *** HerzogDeXtEr has quit IRC
19:19:08  <supermop_work_> andythenorth: i think the fear is that HAUL will somehow be hardcoded into NRT
19:19:14  <supermop_work_> or something
19:20:00  <Wolf01> Let's do it, really easy
19:20:03  <andythenorth> I am totally baffled
19:20:34  *** Stimrol has joined #openttd
19:21:34  <supermop_work_> nothing can probably be done. but for good measure we should allow maglevs to run on ROAD
19:22:13  <Wolf01> Luckily only Samu spotted that trucks could travel on rail bridges
19:26:30  <Samu> hi
19:32:34  <Samu> the index CURRENT_QUARTER doesnt' exist
19:33:10  <Samu> https://nogo.openttd.org/api/1.7.2/classGSCompany.html#a1278cdb787549987b105b8a7e2d0fa7
19:33:15  <Samu> it exists, it is there!
19:37:14  *** Thedarkb has quit IRC
19:38:12  *** michi_cc has quit IRC
19:47:05  <supermop_work_> someone took you at your word andy
19:57:38  *** Gja has quit IRC
19:58:21  *** synchris has quit IRC
19:59:48  *** michi_cc has joined #openttd
19:59:48  *** ChanServ sets mode: +v michi_cc
20:05:37  *** Gja has joined #openttd
20:14:47  <Wormnest> Samu: are you sure you added the class name before CURRENT_QUARTER
20:15:51  <Wolf01> https://www.youtube.com/watch?v=wbSwFU6tY1c
20:16:07  <Samu> no idea
21:05:04  <Samu> whats the class name
21:07:49  <Samu> how do i get the value from a setting?
21:10:07  *** sla_ro|master has quit IRC
21:10:58  <LordAro> Samu: look at that page again, what do you think the class name is?
21:11:19  <Wormnest> The class name should be on the api page where you found CURREN_QUARTER or else google it
21:11:52  <Samu> GSCompany
21:12:46  <Samu> GSCompany.GetQuarterlyCompanyValue(cid, 0)
21:12:58  <Samu> 0 works, but i wanted to make it look prettier
21:14:22  <Samu> GSCompany.GetQuarterlyCompanyValue(cid, CURRENT_QUARTER)
21:14:27  <Samu> doesn't work
21:15:15  <LordAro> it's a static class member
21:15:24  <LordAro> you should know how to refer to one of those
21:15:42  *** ToffeeYogurtPots has quit IRC
21:15:48  <LordAro> (it just happens to also be an enum member)
21:16:15  <Wolf01> Ah, SpaceX, pure poetry
21:17:17  <LordAro> Wolf01: it really was
21:17:38  <Wolf01> I hope the core landed well too
21:17:52  <LordAro> 2/3 isn't bad
21:17:52  <Samu> the index Quarter doesn't exist
21:17:55  <LordAro> but aye
21:17:58  <Samu> local cv = GSCompany.GetQuarterlyCompanyValue(cid, Quarter.CURRENT_QUARTER)
21:18:15  <LordAro> Samu: what do you think Quarter is?
21:18:16  <Wolf01> Considering the boosters were even recycled ones
21:18:23  <LordAro> i.e., learn to read error messages
21:18:52  <LordAro> Samu: *class* member value
21:19:18  <Samu> GSCompany.Quarter.CURRENT_QUARTER ?
21:19:33  <Samu> i have no idea wtf they mean with class
21:20:38  <LordAro> ::
21:20:51  <LordAro> you've done this before
21:20:53  <Samu> ah, it works
21:20:56  <Samu> local cv = GSCompany.GetQuarterlyCompanyValue(cid, GSCompany.CURRENT_QUARTER)
21:21:01  <Samu> no more complaining
21:21:20  <LordAro> (squirrel & c++ are different languages, but they have their similarities)
21:28:43  *** frosch123 has quit IRC
21:37:02  <Samu> how do i make a bool in squerril?
21:37:22  <Wolf01> You can't, you are doomed
21:38:05  <Samu> ah, local
21:38:11  <Samu> local does everything apparently
21:40:46  *** gelignite has quit IRC
21:42:49  <Samu> i'm not sure how this.Sleep works
21:42:53  <Samu> how does it stack
21:44:22  <Wolf01> I could show you how sleep work
21:45:27  <Samu> how do I break a while cycle?
21:46:05  <Wolf01> break; IMHO...
21:46:14  <Wolf01> Or use a control variable
21:46:47  <Samu> i'm utterly confused with all this
21:47:35  <LordAro> Samu: it's not entirely different from what you've bren doing in ottd itself, don't forget that
21:49:33  <Samu> https://paste.openttdcoop.org/pnqweidrz
21:49:35  <Samu> here's my code
21:50:11  *** Thedarkb has joined #openttd
21:50:16  <Samu> ST2: success?
21:52:07  <ST2> kinda busy now - some players think that just because game is free and opensource, they can do whatever they want ^^
21:54:11  *** john-aj has quit IRC
21:55:49  <Samu> what an ugly GS
21:55:55  <Samu> 50 lines of code
21:56:31  <Samu> still better than the AI
22:01:27  <Wolf01> https://youtu.be/aBr2kKAHN6M proof that Earth isn't flat... and flying cars are there
22:03:14  <LordAro> Wolf01: fake news
22:04:10  <Samu> why does   function Load(version, data);
22:04:13  <Samu> require a ;
22:04:22  <Samu> all the others don't
22:05:23  <LordAro> the documentation implies it doesn't
22:05:50  <LordAro> but here you learn the difference between declaration and definition
22:06:30  <Samu> expression expected 6/2
22:06:37  <Samu> main.nut:6/2
22:06:53  <Samu> function Load(version, data);
22:07:02  <Samu> I mean function Load(version, data)
22:07:15  <Samu> with ; it won't complain
22:08:15  <LordAro> well then
22:08:21  <LordAro> guess you need the ;
22:08:31  <LordAro> what comes after it?
22:09:44  <Wolf01> this.Sleep()
22:09:48  <Wolf01> 'night
22:09:49  <Samu> nothing
22:09:52  *** Wolf01 has quit IRC
22:16:50  <Samu> cleaning up code, now it's like this
22:17:23  <Samu> ugly ugly!
22:17:40  <Samu> https://paste.openttdcoop.org/phvyja9wq
22:18:05  <Samu> oh, and the info.nut is like this
22:18:54  <Samu> https://paste.openttdcoop.org/ptsyp5qb2
22:22:37  *** Wormnest has quit IRC
22:27:37  <Samu> can't make a .tar
22:27:40  <Samu> what am i doing wrong
22:27:47  <Samu> im using 7zip
22:32:39  *** nielsm has quit IRC
22:39:19  *** HerzogDeXtEr1 has quit IRC
22:44:19  <Samu> nevermind, i got it
22:49:14  <Samu> horriblu!!!
22:50:13  <Samu> ST2: https://imgur.com/XLHNK2V :)
22:50:15  <Samu> lol
22:58:04  *** andythenorth has quit IRC
23:02:48  *** Gja has quit IRC
23:07:17  *** Progman has quit IRC
23:07:47  *** Stimrol has quit IRC
23:15:12  *** Thedarkb has quit IRC
23:15:52  *** Biolunar has joined #openttd
23:16:23  *** supermop has joined #openttd
23:23:59  *** chomwitt has quit IRC
23:38:22  *** Biolunar has quit IRC
23:39:33  *** Snail has quit IRC
23:39:49  *** Snail has joined #openttd
23:41:56  *** Snail_ has joined #openttd
23:41:56  *** Snail has quit IRC
23:41:56  *** Snail_ is now known as Snail
23:44:59  *** john-aj has joined #openttd
23:47:33  *** Gja has joined #openttd

Powered by YARRSTE version: svn-trunk