IRC logs for #openttd on OFTC at 2018-02-06
            
00:03:47 *** Snail has quit IRC
00:03:49 *** Thedarkb has quit IRC
00:07:21 *** Lemons has joined #openttd
00:08:00 <Lemons> helo
00:09:33 *** sim-al2 has quit IRC
00:09:40 <Lemons> does anyone play 1.4.4 ... i would like to connect to others...
00:09:40 <Samu> local am = ec.AcceptMerger()
00:09:55 <Lemons> socily ; - ;
00:09:57 <Samu> why did it just bought the company? :(
00:10:31 <Lemons> nobody....
00:10:36 <Samu> we're on 1.7.2
00:10:36 <ST2> Lemons: any particular reason to play 1.4.4 and not 1.7.2?
00:10:43 <Lemons> cuz im on a pi
00:10:50 <ST2> oh
00:10:51 <Lemons> thats my excuse
00:10:54 <LordAro> also you waited 30s for a response
00:10:58 <ST2> 1.7.2 won't run?
00:11:02 <Lemons> uhm
00:11:17 <LordAro> ST2: there won't be a precompiled version
00:11:20 <Lemons> i have a crappy operating system that my dad made me gun
00:11:23 <Lemons> run *
00:11:42 <Lemons> idk if i can even get 1.7.2 on a pi
00:11:46 <LordAro> hey now, no mean works about raspian
00:11:49 <LordAro> words*
00:12:15 <Samu> local am = ec.AcceptMerger() why did this accepted immediately?
00:12:29 <LordAro> why wouldn't it?
00:12:30 <Samu> i bought a company, while I was wondering if i could buy it
00:13:46 <Lemons> idk if i can get a version for the pi
00:14:01 <Lemons> or the operating system i have atm
00:14:09 <LordAro> Lemons: it's likely you'll have to compile it yourself
00:14:14 <Lemons> er the 1.7.2 version
00:14:17 <Lemons> sigh
00:14:25 <Lemons> welp....
00:14:46 <LordAro> Lemons: what OS do you have?
00:14:46 <ST2> 1st: what OS on PI?
00:14:52 <Lemons> uhm
00:14:53 <Lemons> idk
00:14:54 <ST2> that ^^
00:15:02 <Lemons> pi 3 running Kano?
00:15:46 <ST2> LordAro: take the wheel :)
00:15:59 <LordAro> ST2: pfft, i'm googling just the same as you here :p
00:16:11 <LordAro> looks raspian based though
00:16:26 <LordAro> at least, the download link is "http://downloads.kano.me/public/Kanux-Beta-latest-jessie-release.img.zip"
00:16:41 <Lemons> that i belive is what i have atm
00:16:45 *** Flygon has joined #openttd
00:16:50 <LordAro> Lemons: how familiar are you with the commandline?
00:17:05 <Lemons> the wat
00:17:08 <ST2> so, the "jessie" mention is that remotely based on debian?
00:17:40 <Lemons> words ---> 0.0 ---->
00:18:02 <LordAro> ST2: aye, debian jessie is debian 8, or the last stable version
00:18:20 <ST2> so, that gives a start point
00:18:32 <LordAro> Lemons: ok, i'm afraid you're probably going to struggle with compiling then
00:18:56 <Lemons> ok
00: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
00:19:51 <LordAro> lemme see if i can find anything else
00:20:01 <Lemons> thx for helping btw
00:20:17 <Lemons> im kindof not verry experienced with this kind of stuff....
00:20:33 <Lemons> and neither is my typing...
00:20:38 *** supermop has joined #openttd
00:21:20 <LordAro> is no problem
00: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)
00:22:25 <LordAro> ST2: yeah, buster, or 9
00:22:29 <LordAro> heh
00:22:30 <ST2> :P
00:22:39 <ST2> minors ^^
00:23:57 <Lemons> in openttd download stable there is somthing saying Linux Debian Jessie (x86_64, 64bit)
00:24:09 <LordAro> Lemons: that won't work on a rasppi
00:24:12 <Lemons> oh
00:24:16 <LordAro> rasppi's use ARM architecture
00: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"
00:25:00 <LordAro> this should teach you some terminal/commandline basics
00:25:13 <Lemons> yes
00:25:38 <ST2> does this instructions would help? https://wiki.openttd.org/Compiling_on_(GNU/)Linux_and_*BSD#Manually
00:25:42 <ST2> even on ARM?
00:25:57 <LordAro> ST2: that'll do it, but given "words ---> 0.0 ---->" ....
00:26:11 <ST2> and ofc, getting the sources, etc etc
00:26:33 <Lemons> im basicly saying i dont realy understand much tech stuff...
00:27:02 <LordAro> that's fine, everyone has to start from nothing at some point :)
00:27:11 <ST2> welcome to the club ^^
00:27:32 <LordAro> rasppi is generally an excellent place to start
00:28:40 <Lemons> im looking for the linux story
00:30:04 <ST2> to read later but, when getting sources, for 1.7.2, use: svn checkout svn://svn.openttd.org/tags/1.7.2
00:30:34 <LordAro> ST2: nah, download from the website
00:30:46 <ST2> other option too
00:30:50 <LordAro> easier than teaching about VCSs :p
00:30:59 <Lemons> any chance its called Terminal Quest?
00:31:10 <LordAro> Lemons: that'll be it
00:31:12 <Lemons> mk
00:31:35 <Lemons> mk
00:31:43 <Lemons> well i guess ill do that
00:31:55 <Lemons> brb in probably 10 - 20 min
00:33:22 <LordAro> i'll likely be asleep by then
00:34:13 <ST2> I'll be awake, but probably my directions he'll install PH-VR :P
00:34:24 <LordAro> ono
00:37:10 *** andythenorth has quit IRC
00:37:47 <Lemons> allmost done...
00:42:58 *** Wormnest has quit IRC
00:46:48 <supermop> @logs
00:46:48 <DorpsGek> supermop: https://webster.openttdcoop.org/index.php?channel=openttd
00:56:47 *** Lemons has quit IRC
01:00:31 <Samu> some of these events are misleading
01:00:37 *** FLHerne has quit IRC
01:00:41 <Samu> ET_STATION_FIRST_VEHICLE
01:00:56 <Samu> i thought it was of any company, it's only of my company
01:02:09 <LordAro> Samu: well you don't get notifications of first vehicles at other people's companies
01:02:27 <LordAro> AIs (try to) have exactly the same amount of knowledge as human players do
01:02:51 <Samu> we do
01:03:13 <LordAro> hrm
01:03:13 <Samu> unless i'm missing something ...
01:03:16 <LordAro> maybe we do
01:03:19 <LordAro> it's been a while
01:03:24 *** chomwitt has quit IRC
01:03:32 <Samu> gui settings?
01:03:58 <Samu> the AI chosen not to receive those news?
01:09:00 <Flygon> Are town 'root' tiles attached to the z axis?
01:09:10 <Flygon> Or the x and y one only?
01:12:39 <Samu> wtf i found a bug
01:12:53 <Samu> a zeppelin crashed on myai airport
01:13:05 <Samu> and the aircraft could still land on it
01:13:29 <LordAro> zeppelins are helicopters, aren't they?
01:13:38 <LordAro> don't think they stop the runway from being usable
01:13:46 <Samu> they're a disaster zepelin
01:13:53 <LordAro> oh, those
01:14:18 <Samu> disasters behave different for AIs?
01:14:30 <LordAro> i'd be extremely surprised
01:20:08 <Eddi|zuHause> Flygon: there is no z axis
01: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
01:25:22 <Samu> case MP_RAILWAY: if (Company::IsHumanID(GetTileOwner(tile))
01:25:27 <Samu> that is so lame
01:25:45 <Samu> AI railways are not destroyed by ufo disasters
01: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
01:28:50 <Flygon> Eddi|zuHause: Thanks.
01:29:00 <Flygon> The town 'name' didn't elevate when I raised its tile, that is all.
01:29:08 <Flygon> Hence my confusion.
01:29:43 <Eddi|zuHause> did you change all 4 corners of the tile?
01:30:19 <Flygon> ...
01:30:26 <Flygon> Come to think of it, no.
01:30:33 <Flygon> I only raised three corners .
01:32:07 <Eddi|zuHause> so i just tried, the name doesn't move on terraforming
01:32:25 <Eddi|zuHause> but if you then destroy a house, it moves when it draws the new town population
01:32:29 <Flygon> Huh.
01:32:31 <Flygon> Alright.
01:32:34 <Flygon> Thanks. :3
01:32:44 <Eddi|zuHause> so likely the height is cached somewhere
01:33:18 <Samu> i got a zeppeliner crashing again, this time the aircraft could not land
01:34:59 <Samu> wondering if the aircraft was at the airport the first time it happened
01:37:17 <Samu> hmm nop
01:37:41 <Samu> must be a very rare situation when the zeppelin crashes at the same time an aircraft is taking off
01:37:59 <Samu> zeppelin sets the block
01:38:12 <Samu> aircraft taking off sets it off
01:38:39 <Samu> so when it comes to land again it will land even with zeppelin debris there, i think
01:45:39 *** Samu has quit IRC
01:49:22 <supermop> maybe zepplin disaster should have to wait in holding pattern?
01:53:17 *** Laedek has joined #openttd
01:54:11 <supermop> need better names for industrial trams
02:04:58 <Eddi|zuHause> supermop: the disaster zeppelin cannot do a holding pattern, because it doesn't have rotational views
02:23:58 *** Thedarkb has joined #openttd
02:32:38 *** john-aj has quit IRC
02:34:13 *** Snail has joined #openttd
03:01:49 *** ToBeFree has joined #openttd
03:05:49 <supermop> Eddi|zuHause: whats an old timey german nomenclature for machine models
03:06:09 <supermop> like 'type 24' or 'model B'
03:06:50 <supermop> something that a german works might name a machine in the 1800s
03:08:39 <Eddi|zuHause> what kind of machine?
03:08:48 <supermop> in this case a steam dummy
03:08:54 <supermop> tramway locomotive
03:09:23 <supermop> could be a number , or a name that sounds like something a new company might name their first engine
03:09:36 <Eddi|zuHause> so early steam engines just got names like "Adler" and "Saxonia", that carried on till the 1870s
03:09:58 <Eddi|zuHause> then the various railway companies started having model series
03:10:19 <supermop> so a person or place for the earliest, and then a number in the 1890s ish?
03:10:23 <Eddi|zuHause> which usually involved a letter and one or two numbers
03:11:05 <Eddi|zuHause> so the letter was something like "S", "G", "P", "T" denoting the usage of the engine
03:11:09 *** Thedarkb has quit IRC
03:11:23 <Eddi|zuHause> and the number was either some power stat or just the number of axles
03:11:28 <supermop> were there many tramway locomotives in germany?
03:11:49 <Eddi|zuHause> i don't know much about tramway locomotives
03:12:45 <Eddi|zuHause> but, like trams now, they probably just enumerated them
03:13:25 <supermop> probably overthinking it with two fake german brands
03:13:29 <Eddi|zuHause> most trams were either horses or electric
03:14:09 <Eddi|zuHause> steam trams were mostly just regular steam engines with some casing around it
03:14:44 <supermop> these i am naming are basically that, small locomotives pulling wagons around harbors
03:16:53 <Eddi|zuHause> you might call them "T1" and "T2" or something
03:19:05 <supermop> 'vogel' sounds dumb for such a slow vehicle
03:24:23 <supermop> does 'Anfang' sound dumber for the first one?
03:36:46 <supermop> also as a matter of describing the vehicles to players, 'tramway train' sounds stupid
03:36:53 <supermop> 'boxcar tram' also
03:37:19 <supermop> 'tramway motor with boxcar train' much too verbose
03:43:08 *** Supercheese has joined #openttd
04:01:56 *** ToffeeYogurtPots has quit IRC
04:02:10 *** ToffeeYogurtPots has joined #openttd
04:13:14 *** Supercheese has quit IRC
04:32:16 *** supermop has quit IRC
04:46:12 *** glx has quit IRC
05:03:18 *** Snail has quit IRC
05:11:24 *** ToBeFree has quit IRC
06:34:55 *** sla_ro|master has joined #openttd
06:58:42 *** Cubey has quit IRC
07:01:44 *** sla_ro|master has quit IRC
08:17:14 *** andythenorth has joined #openttd
08:27:15 *** andythenorth has quit IRC
08:31:48 *** andythenorth has joined #openttd
08:59:12 *** andythenorth has quit IRC
09:19:09 *** andythenorth has joined #openttd
09:20:54 *** Thedarkb has joined #openttd
09:23:00 *** andythenorth has quit IRC
09:29:07 *** Thedarkb has quit IRC
10:02:27 *** andythenorth has joined #openttd
10:02:33 *** PressureLine has joined #openttd
10:26:31 *** berndj has quit IRC
10:39:24 *** TheMask96 has quit IRC
10:44:53 *** TheMask96 has joined #openttd
10:59:48 *** andythenorth has left #openttd
11:01:51 *** PressureLine has quit IRC
11:06:37 *** ToffeeYogurtPots has quit IRC
11:06:56 *** ToffeeYogurtPots has joined #openttd
11:08:03 *** tokai has joined #openttd
11:08:03 *** ChanServ sets mode: +v tokai
11:10:55 *** berndj has joined #openttd
11:14:59 *** tokai|noir has quit IRC
11:17:46 *** iSoSyS has joined #openttd
11:34:50 *** FLHerne has joined #openttd
12:34:23 *** john-aj has joined #openttd
12:41:05 *** chomwitt has joined #openttd
12:43:33 *** Samu has joined #openttd
13:00:35 <Eddi|zuHause> supermop_work_: i don't think anybody would call an engine "Anfang"
13:01:00 <Eddi|zuHause> just pick two random animals or something
13:12:12 <Samu> https://www.tt-forums.net/viewtopic.php?p=1202309#p1202309 this looks intersting
13:12:33 <Samu> too bad it's going into JGR build :(
13:12:44 <Samu> should go into Openttd itself
13:14:36 <Samu> https://wiki.openttd.org/AI:RoadPathfinder
13: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
13:15:00 <Samu> well, which file?
13:15:03 <Samu> main.nut?
13:15:14 <Samu> it's not clear for a total noob
13:15:16 <LordAro> the one you use it in
13:15:40 <Samu> that's main.nut i guess
13:17:31 <Samu> couldn't find library 'pathfinder.road' with version 3
13:23:14 <Samu> where is this pathfinder.road library thing?
13:23:27 <Samu> bananas?
13:25:45 <Samu> yeah i found it
13:35:21 *** iSoSyS has quit IRC
13:38:39 *** Gustavo6046 has joined #openttd
13:40:09 *** john-aj has quit IRC
13:45:08 *** Samu has quit IRC
13:48:06 *** Samu has joined #openttd
14:08:33 <Samu> the index AIAbstractList does not exist :(
14:08:43 <Samu> what is it?
14:09:07 <Samu> townlist.Sort(AIAbstractList.SORT_BY_VALUE, false);
14:15:56 <Samu> oh it's an API thing
14:17:46 <ST2> So, you started up asking about a GS and ended making an AI? good Samu :)
14:17:57 <Samu> yeah :(
14:18:13 <Samu> and my computer is still hanging, still unstable
14:18:32 <Samu> sucks when i'm in the middle of typing/coding/reading
14:18:44 <ST2> virus?
14:18:45 *** supermop has joined #openttd
14:20:59 <Samu> no
14:21:17 <Samu> it's an old issue, it happens from time to time
14:21:25 <Samu> for no apparent reason
14:21:47 <Samu> mobo complains about vga
14:22:35 <Samu> i don't know what it could be
14:22:37 <ST2> do like me, bought a double Xeon for 200 euros: 12 cores, 24 threads total :)
14:22:54 <Samu> could be PSU
14:23:00 <Samu> could be video card
14:23:03 <Samu> could be motherboard
14:23:10 <Samu> could be cpu, ram, etc.. etc...
14:23:12 <Samu> drivers
14:23:20 <Samu> dvi cable
14:23:24 <Samu> bah...
14:23:25 <ST2> or maybe software related ^^
14:23:44 <Samu> i just know one thing... this BIOS sucks
14: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
14: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...
14:25:59 <Samu> stupid rushed up product
14: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? :(
14:31:37 <Samu> use AIList instead says the changelog :8
14:31:40 <Samu> k lets try
14:32:39 <Samu> heh, it werks
14:32:55 <Samu> ty
14:34:40 *** Gustavo6046 has quit IRC
14:36:54 <LordAro> Samu: feel free to update the wiki :)
14:37:31 <Samu> me? no way, im noob, don't even know what i'm doing yet
14:37:43 <LordAro> well you can at least correct that :p
14:38:03 <Samu> no need to correct
14:38:03 <LordAro> given its been incorrect for 6 years or so..
14:38:14 <Samu> the guide is using 1.0 as API
14:38:31 <Samu> I forced my api choice to 1.7
14:38:35 <LordAro> true
14:41:53 *** stefino has joined #openttd
14:44:42 *** supermop has quit IRC
14:45:29 *** Samu has quit IRC
14:52:12 *** Samu has joined #openttd
15:15:51 *** supermop has joined #openttd
15:17:47 <supermop_work_> yo
15:22:14 <Samu> hi
15:23:52 *** supermop has quit IRC
15:31:14 <Samu> oh yes... pathfinder went full retard https://imgur.com/lQUwz9E
15:40:55 <LordAro> Samu: haha
15:41:07 <LordAro> sounds like you need to fiddle with those hueristic values
15:44:53 *** nielsm has joined #openttd
15:50:12 *** ToffeeYogurtPots has quit IRC
16:02:34 *** Snail has joined #openttd
16:29:59 *** Flygon has quit IRC
16: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
16:41:51 <supermop_work_> where the hell did i write that stuff and where did it go
16:42:17 <supermop_work_> like all of the code for the purchase menu sprites for trams is not there
16:56:02 *** john-aj has joined #openttd
17:00:21 <supermop_work_> I wonder - is the cargo age available for switches to use?
17:01:17 <supermop_work_> basically so slag in an open wagon or ladle gets fewer glowing orange bits the longer you haul it around?
17:09:42 *** Thedarkb has joined #openttd
17:19:37 *** Cubey has joined #openttd
17:20:38 *** iSoSyS has joined #openttd
17:26:48 *** iSoSyS has quit IRC
17:28:15 *** iSoSyS has joined #openttd
17:30:07 *** Cubey has quit IRC
17:31:28 *** Cubey has joined #openttd
17:31:35 *** iSoSyS has quit IRC
17:37:48 *** Gja has joined #openttd
17:39:11 *** Cubey has quit IRC
17:39:25 *** Cubey has joined #openttd
17:53:59 *** Samu has quit IRC
17:57:28 *** Samu has joined #openttd
18:04:17 *** synchris has joined #openttd
18:10:52 *** john-aj has quit IRC
18:11:58 *** HerzogDeXtEr has joined #openttd
18:13:59 *** LOIC_DURUCY has joined #openttd
18:15:01 *** LOIC_DURUCY has quit IRC
18:16:32 *** TheMask96 has quit IRC
18:21:07 *** TheMask96 has joined #openttd
18:23:14 <Samu> i can't build a rail station with the ai
18:23:20 <Samu> am i really that noob?
18:24:01 <Samu> it builds the rail, but not the stations
18:31:02 <Samu> oh wow, nevermind, it built it
18:31:30 <Samu> but now it failed to build rail :)
18:36:21 *** quiznilo has left #openttd
18:39:32 *** Electroz has joined #openttd
18:40:21 *** Gja has quit IRC
18:40:59 *** Electroz has quit IRC
18:53:11 *** Wormnest has joined #openttd
18:57:06 *** Wolf01 has joined #openttd
18:57:44 *** stefino has quit IRC
18:58:05 <Wolf01> o/
19:00:39 *** glx has joined #openttd
19:00:39 *** ChanServ sets mode: +v glx
19:14:34 *** frosch123 has joined #openttd
19:15:29 *** john-aj has joined #openttd
19:22:22 *** andythenorth has joined #openttd
19:23:33 *** tttt5 has joined #openttd
19:24:03 *** ToffeeYogurtPots has joined #openttd
19:24:51 *** sla_ro|master has joined #openttd
19:26:13 <Samu> my ai sucks
19:26:26 <Samu> now I wanna make a gs
19:27:12 <Samu> gonna replace "AI" to "GS", see what happens
19:28:32 <LordAro> lol
19:28:50 <LordAro> pretty sure a GS can't make rails
19:30:28 <supermop_work_> LordAro: i think they can?
19:30:36 <andythenorth> who's drawing this for me?
19:30:36 <andythenorth> http://maritime-connector.com/image/toll-emperor-9355927/166483/
19:31:15 <supermop_work_> nice
19:32:45 *** Progman has joined #openttd
19:34:48 *** Gja has joined #openttd
19:37:27 *** Progman has quit IRC
19:38:43 *** Progman has joined #openttd
19:42:10 *** gelignite has joined #openttd
19:52:39 <Samu> woah... can't use while(true) in a game script, it's slowwwwwww
19:54:12 <LordAro> well... yeah
19:54:29 <Samu> i put some sleep
19:55:34 <Samu> eh... the thing doesn't stop, not even with pause
20:07:07 <Wolf01> supermop_work_, andythenorth: wetroads
20:07:30 *** HerzogDeXtEr1 has joined #openttd
20:08:53 <andythenorth> :P
20:10:43 <Wolf01> 95 minutes to launch (SpaceX Falcon Heavy), grrrr I'm too much excited
20:11:39 <supermop_work_> Wolf01: i thought that was yesterday?
20:12:05 <Wolf01> No, today, and it was delayed of 2.5 hours
20:12:14 <Rubidium> again?
20:12:22 <Wolf01> Yeah, 21:45
20:12:38 <Wolf01> But Elon just did the "holy mouse click"
20:13:59 *** HerzogDeXtEr has quit IRC
20:19:08 <supermop_work_> andythenorth: i think the fear is that HAUL will somehow be hardcoded into NRT
20:19:14 <supermop_work_> or something
20:20:00 <Wolf01> Let's do it, really easy
20:20:03 <andythenorth> I am totally baffled
20:20:34 *** Stimrol has joined #openttd
20:21:34 <supermop_work_> nothing can probably be done. but for good measure we should allow maglevs to run on ROAD
20:22:13 <Wolf01> Luckily only Samu spotted that trucks could travel on rail bridges
20:26:30 <Samu> hi
20:32:34 <Samu> the index CURRENT_QUARTER doesnt' exist
20:33:10 <Samu> https://nogo.openttd.org/api/1.7.2/classGSCompany.html#a1278cdb787549987b105b8a7e2d0fa7
20:33:15 <Samu> it exists, it is there!
20:37:14 *** Thedarkb has quit IRC
20:38:12 *** michi_cc has quit IRC
20:47:05 <supermop_work_> someone took you at your word andy
20:57:38 *** Gja has quit IRC
20:58:21 *** synchris has quit IRC
20:59:48 *** michi_cc has joined #openttd
20:59:48 *** ChanServ sets mode: +v michi_cc
21:05:37 *** Gja has joined #openttd
21:14:47 <Wormnest> Samu: are you sure you added the class name before CURRENT_QUARTER
21:15:51 <Wolf01> https://www.youtube.com/watch?v=wbSwFU6tY1c
21:16:07 <Samu> no idea
22:05:04 <Samu> whats the class name
22:07:49 <Samu> how do i get the value from a setting?
22:10:07 *** sla_ro|master has quit IRC
22:10:58 <LordAro> Samu: look at that page again, what do you think the class name is?
22:11:19 <Wormnest> The class name should be on the api page where you found CURREN_QUARTER or else google it
22:11:52 <Samu> GSCompany
22:12:46 <Samu> GSCompany.GetQuarterlyCompanyValue(cid, 0)
22:12:58 <Samu> 0 works, but i wanted to make it look prettier
22:14:22 <Samu> GSCompany.GetQuarterlyCompanyValue(cid, CURRENT_QUARTER)
22:14:27 <Samu> doesn't work
22:15:15 <LordAro> it's a static class member
22:15:24 <LordAro> you should know how to refer to one of those
22:15:42 *** ToffeeYogurtPots has quit IRC
22:15:48 <LordAro> (it just happens to also be an enum member)
22:16:15 <Wolf01> Ah, SpaceX, pure poetry
22:17:17 <LordAro> Wolf01: it really was
22:17:38 <Wolf01> I hope the core landed well too
22:17:52 <LordAro> 2/3 isn't bad
22:17:52 <Samu> the index Quarter doesn't exist
22:17:55 <LordAro> but aye
22:17:58 <Samu> local cv = GSCompany.GetQuarterlyCompanyValue(cid, Quarter.CURRENT_QUARTER)
22:18:15 <LordAro> Samu: what do you think Quarter is?
22:18:16 <Wolf01> Considering the boosters were even recycled ones
22:18:23 <LordAro> i.e., learn to read error messages
22:18:52 <LordAro> Samu: *class* member value
22:19:18 <Samu> GSCompany.Quarter.CURRENT_QUARTER ?
22:19:33 <Samu> i have no idea wtf they mean with class
22:20:38 <LordAro> ::
22:20:51 <LordAro> you've done this before
22:20:53 <Samu> ah, it works
22:20:56 <Samu> local cv = GSCompany.GetQuarterlyCompanyValue(cid, GSCompany.CURRENT_QUARTER)
22:21:01 <Samu> no more complaining
22:21:20 <LordAro> (squirrel & c++ are different languages, but they have their similarities)
22:28:43 *** frosch123 has quit IRC
22:37:02 <Samu> how do i make a bool in squerril?
22:37:22 <Wolf01> You can't, you are doomed
22:38:05 <Samu> ah, local
22:38:11 <Samu> local does everything apparently
22:40:46 *** gelignite has quit IRC
22:42:49 <Samu> i'm not sure how this.Sleep works
22:42:53 <Samu> how does it stack
22:44:22 <Wolf01> I could show you how sleep work
22:45:27 <Samu> how do I break a while cycle?
22:46:05 <Wolf01> break; IMHO...
22:46:14 <Wolf01> Or use a control variable
22:46:46 <Samu> i'm utterly confused with all this
22:47:35 <LordAro> Samu: it's not entirely different from what you've bren doing in ottd itself, don't forget that
22:49:33 <Samu> https://paste.openttdcoop.org/pnqweidrz
22:49:35 <Samu> here's my code
22:50:11 *** Thedarkb has joined #openttd
22:50:16 <Samu> ST2: success?
22:52:07 <ST2> kinda busy now - some players think that just because game is free and opensource, they can do whatever they want ^^
22:54:11 *** john-aj has quit IRC
22:55:49 <Samu> what an ugly GS
22:55:55 <Samu> 50 lines of code
22:56:31 <Samu> still better than the AI
23:01:27 <Wolf01> https://youtu.be/aBr2kKAHN6M proof that Earth isn't flat... and flying cars are there
23:03:14 <LordAro> Wolf01: fake news
23:04:10 <Samu> why does function Load(version, data);
23:04:13 <Samu> require a ;
23:04:22 <Samu> all the others don't
23:05:23 <LordAro> the documentation implies it doesn't
23:05:50 <LordAro> but here you learn the difference between declaration and definition
23:06:30 <Samu> expression expected 6/2
23:06:37 <Samu> main.nut:6/2
23:06:52 <Samu> function Load(version, data);
23:07:02 <Samu> I mean function Load(version, data)
23:07:15 <Samu> with ; it won't complain
23:08:15 <LordAro> well then
23:08:21 <LordAro> guess you need the ;
23:08:31 <LordAro> what comes after it?
23:09:44 <Wolf01> this.Sleep()
23:09:48 <Wolf01> 'night
23:09:49 <Samu> nothing
23:09:52 *** Wolf01 has quit IRC
23:16:50 <Samu> cleaning up code, now it's like this
23:17:23 <Samu> ugly ugly!
23:17:40 <Samu> https://paste.openttdcoop.org/phvyja9wq
23:18:05 <Samu> oh, and the info.nut is like this
23:18:54 <Samu> https://paste.openttdcoop.org/ptsyp5qb2
23:22:36 *** Wormnest has quit IRC
23:27:37 <Samu> can't make a .tar
23:27:40 <Samu> what am i doing wrong
23:27:47 <Samu> im using 7zip
23:32:39 *** nielsm has quit IRC
23:39:19 *** HerzogDeXtEr1 has quit IRC
23:44:19 <Samu> nevermind, i got it
23:49:14 <Samu> horriblu!!!
23:50:13 <Samu> ST2: https://imgur.com/XLHNK2V :)
23:50:15 <Samu> lol
23:58:04 *** andythenorth has quit IRC