Config
Log for #openttd on 25th April 2016:
Times are UTC Toggle Colours
00:14:02  *** drac_boy [~oftc-webi@modemcable027.125-163-184.mc.videotron.ca] has left #openttd []
00:14:56  *** JGR_ [~JGR@host109-158-44-126.range109-158.btcentralplus.com] has joined #openttd
00:17:46  *** JGR [~JGR@host213-1-22-70.range213-1.btcentralplus.com] has quit [Ping timeout: 480 seconds]
00:17:46  *** JGR_ is now known as JGR
00:26:45  *** smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
00:44:49  *** smoke_fumus [~smoke_fum@188.35.176.90] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
00:47:03  *** Ketsuban [~ketsuban@2a02:c7d:a34a:9000:9861:12a7:f4f6:623e] has quit [Quit: Leaving]
01:56:57  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
02:15:12  *** urdh [~urdh@00013d7a.user.oftc.net] has quit [Ping timeout: 480 seconds]
02:23:09  *** urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
02:45:27  *** glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
02:45:46  *** AdmiralKewl [~pcc31@119.94.103.62] has joined #openttd
02:52:33  *** supermop [~supermop@pool-100-37-203-161.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
02:52:43  *** AdmiralKew [~pcc31@119.94.103.62] has quit [Ping timeout: 480 seconds]
04:37:30  *** Pikka [~Octomom@220.240.120.137] has joined #openttd
05:00:53  *** Pikka [~Octomom@220.240.120.137] has quit [Quit: Leaving]
05:32:12  *** sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
05:43:07  *** andythenorth [~Andy@cpc87201-aztw31-2-0-cust156.18-1.cable.virginm.net] has joined #openttd
05:44:19  *** andythenorth [~Andy@cpc87201-aztw31-2-0-cust156.18-1.cable.virginm.net] has quit []
05:44:20  *** Arveen [~Arveen@ip-95-223-75-47.hsi16.unitymediagroup.de] has joined #openttd
05:56:27  *** sla_ro|master [slamaster@89.136.141.100] has joined #openttd
06:25:11  *** AdmiralKewl [~pcc31@119.94.103.62] has quit [Ping timeout: 480 seconds]
06:34:25  *** Biolunar [Biolunar@x5d82047a.dyn.telefonica.de] has joined #openttd
06:45:36  *** tokai [~tokai@00012860.user.oftc.net] has joined #openttd
06:45:39  *** mode/#openttd [+v tokai] by ChanServ
07:09:22  *** Arveen [~Arveen@ip-95-223-75-47.hsi16.unitymediagroup.de] has quit [Quit: Nettalk6 - www.ntalk.de]
07:12:29  *** efess [~Efess@c-24-61-64-170.hsd1.ct.comcast.net] has quit [Ping timeout: 480 seconds]
07:17:06  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
07:41:37  *** MonkeyDrone [~Monkey@84.255.151.207] has joined #openttd
07:55:00  *** Biolunar [Biolunar@x5d82047a.dyn.telefonica.de] has quit [Quit: leaving]
07:55:28  *** Mavy [quassel@2a00:1ca8:e:2::97e8:f6ec] has joined #openttd
08:06:35  *** Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
08:06:46  <Wolf01> o/
08:34:56  <argoneus> good morning train friends
08:55:46  <Wolf01> hmm, I would like to figure out how to start pickup of items when a belt is almost full
08:57:40  <Wolf01> also hysteresis made simple...
09:04:37  *** efess [~Efess@c-24-61-64-170.hsd1.ct.comcast.net] has joined #openttd
09:19:23  *** AdmiralKew [~pcc31@49.147.179.124] has joined #openttd
09:24:27  *** Arveen [~Arveen@ip-95-223-75-47.hsi16.unitymediagroup.de] has joined #openttd
09:26:48  *** Samu [~oftc-webi@po-217-129-255-23.netvisao.pt] has joined #openttd
09:27:03  <Samu> bah, GS script parameters are bugged
09:27:13  <Samu> why do i suck :(
09:28:27  <Wolf01> those 2 assertions don't match
09:30:16  <Samu> it's also bugged in 1.6.0, but differently bugged
09:30:23  <Samu> my bug is worse
09:31:50  <Samu> bug in 1.6.0
09:32:08  <Samu> configure GS Village is Villages in main menu
09:32:32  <Samu> change maximum size of largest non-city
09:32:47  <Samu> change from default to any other value you want
09:32:54  <Samu> now start a new game
09:33:08  <Samu> open AI/Debug
09:33:19  <Samu> change settings for GS script, click reset
09:33:42  <Samu> bug: the locked value goes back to default
09:34:45  <Samu> and my bug is worse
09:35:03  <Samu> it does that and more, you can even click disabled buttons
09:35:15  <Samu> this doens't happen in 1.6.0
09:58:17  <Wolf01> so, it looks you are a good bug catcher, why don't you try to fix them instead of trying to do some strange patch?
10:01:42  <Samu> my patches are never good
10:03:23  <Samu> brb, submiting bug report
10:14:31  *** sla_ro|master [slamaster@89.136.141.100] has quit []
10:16:06  <Samu> https://bugs.openttd.org/task/6452
10:36:40  *** smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
10:45:44  *** zeknurn` [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
10:50:41  *** zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Ping timeout: 480 seconds]
10:50:41  *** zeknurn` is now known as zeknurn
10:59:06  *** TheMask96 [martijn@sloth.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
11:01:05  *** Klanticus_ [~quassel@177.34.169.224] has joined #openttd
11:04:14  *** Klanticus [~quassel@177.34.169.224] has quit [Ping timeout: 480 seconds]
11:04:17  *** TheMask96 [martijn@wrath.vhost.ne2000.nl] has joined #openttd
12:21:40  *** AdmiralKewl [~pcc31@49.147.179.124] has joined #openttd
12:25:53  *** AdmiralKew_ [~pcc31@49.147.179.124] has joined #openttd
12:27:31  *** AdmiralKew [~pcc31@49.147.179.124] has quit [Ping timeout: 480 seconds]
12:30:36  *** AdmiralKewl [~pcc31@49.147.179.124] has quit [Ping timeout: 480 seconds]
12:31:27  *** Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
12:32:03  *** Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has joined #openttd
12:34:07  *** Kurimus [~stabbity@79.142.79.136] has joined #openttd
12:37:33  *** Kurimus_ [~stabbity@dsl-tkubrasgw2-54f816-197.dhcp.inet.fi] has quit [Ping timeout: 480 seconds]
12:51:34  *** Kurimus [~stabbity@79.142.79.136] has quit [Read error: Connection reset by peer]
12:58:18  <Wolf01> bbl
12:58:21  *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
12:59:54  *** MonkeyDrone [~Monkey@84.255.151.207] has quit [Read error: Connection reset by peer]
13:01:44  *** Ketsuban [~ketsuban@2a02:c7d:a34a:9000:50f6:bf85:cc0f:4387] has joined #openttd
13:06:39  <Samu> 4 & 4 = 1?
13:07:12  <Samu> 4 & 4 ==1 ?
13:07:35  <V453000> 666 = 1
13:07:58  <Samu> (config_item.flags & SCRIPTCONFIG_INGAME) == 0)
13:08:14  <Samu> config_item.flags is 4
13:08:24  <Samu> SCRIPTCONFIG_INGAME IS 4
13:08:25  <Eddi|zuHause> error: 666 is not an lvalue
13:08:35  <Samu> 4 & 4 == 1?
13:10:42  <Samu> i dont understand what the & calculates
13:10:48  *** Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
13:14:54  <Samu> what I know is that it's different than 0, i guess that suffices
13:14:59  <zeta> Samu: https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Bitwise_operators
13:20:01  <Samu> ah, it's 4
13:20:04  <Samu> ty
13:20:41  *** Hiddenfunstuff [~Geth@y32.ip1.anvianet.fi] has joined #openttd
13:35:01  *** tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
13:35:04  *** mode/#openttd [+v tokai|noir] by ChanServ
13:41:48  *** tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
13:42:05  *** supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
13:50:40  <supermop> yo
13:54:51  *** Wolf01 [~Wolf01@host249-115-dynamic.116-80-r.retail.telecomitalia.it] has joined #openttd
13:55:09  <Wolf01> o/
13:59:05  *** liq3 [liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has joined #openttd
14:00:40  *** liq3 [liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has quit []
14:01:32  *** sla_ro|master [slamaster@89.136.141.100] has joined #openttd
14:02:41  *** Wolf01 [~Wolf01@0001288e.user.oftc.net] has quit [Read error: Connection reset by peer]
14:03:00  *** Wolf01 [~Wolf01@host249-115-dynamic.116-80-r.retail.telecomitalia.it] has joined #openttd
14:04:05  *** sim-al2 [~sim-al2@dns25-172.cbu.edu] has joined #openttd
14:11:31  <Samu> Exception thrown: read access violation.
14:12:00  <Samu> i hate game scripts
14:13:17  <Samu> Game::GetGameInstance()->IsDead()
14:13:30  <Samu> errors with exception
14:13:42  <Samu> maybe because the map is still being generated
14:13:48  <Samu> there is no game instance yet
14:13:55  <Samu> gamescript
14:15:03  <Samu> I need a GetIfNotNULLGameInstance
14:15:58  <Samu> or a IsValidGS
14:16:32  <Samu> hmm :( gonna try
14:21:08  *** Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
14:21:11  *** mode/#openttd [+o Alberth] by ChanServ
14:21:20  <Alberth> moin
14:33:24  <Samu> nevermind, i'm an idiot
14:34:48  <Wolf01> bbl, again
14:34:58  <Wolf01> o/ Alberth
14:35:02  *** Wolf01 [~Wolf01@0001288e.user.oftc.net] has quit [Read error: Connection reset by peer]
14:35:20  <Alberth> bye wolf
14:37:17  <Samu> i edited a script to crash itself, but apparently it crashed openttd with it
14:39:32  <Alberth> well, it did die :p
14:49:27  <Samu> the code is wrong when it asks if _game_mode != GM_MENU
14:49:53  <Samu> it should ask _game_mode == GM_NORMAL
14:50:04  <Samu> there's the editor
14:50:19  <Samu> can configure ai stuff in the scenario editor
14:50:33  <Samu> treat editor like main menu
15:03:59  *** George [~George@185.43.94.91] has joined #openttd
15:04:35  *** George [~George@185.43.94.91] has quit []
15:38:16  *** Kurimus [~stabbity@dsl-tkubrasgw2-54f816-197.dhcp.inet.fi] has joined #openttd
15:40:23  *** Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd
15:47:01  *** TheMask96 [martijn@wrath.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
15:52:47  *** TheMask96 [martijn@sloth.vhost.ne2000.nl] has joined #openttd
16:01:08  *** sim-al2 [~sim-al2@dns25-172.cbu.edu] has quit [Ping timeout: 480 seconds]
16:13:10  *** Progman [~progman@p57A19831.dip0.t-ipconnect.de] has joined #openttd
16:16:37  <Samu> this is what I'm currently up to
16:16:38  <Samu> https://paste.openttdcoop.org/p7c0lr2u8
16:17:48  <Samu> https://git.openttd.org/?p=trunk.git;a=blob;f=src/ai/ai_gui.cpp;h=8944e8bc4f33f8187a50d9773078e21495e6bf6f;hb=HEAD#l378 line 378
16:20:53  *** aard [~aard@108.134.189.109.customer.cdi.no] has joined #openttd
16:26:33  <Samu> weird stuff
16:26:43  <Samu> i can access the parameters of the (none) GS
16:29:15  <Samu> in 1.6.0 too
16:30:57  <Samu> assertion
16:31:02  <Samu> in 1.6.0
16:31:07  <Samu> report bug?
16:31:39  <Samu> well not assertion, just memory violation thing
16:33:25  <Samu> vector iterator not incrementable
16:33:59  <Samu> i was scrolling down the paramenters from the list of (none) GS
16:34:09  <Samu> which in itself shouldn't be possible
16:34:12  <Samu> keks
16:35:56  <Samu> brb, creating report
16:47:39  <Samu> https://bugs.openttd.org/task/6453
16:56:03  *** sim-al2 [~sim-al2@dns25-172.cbu.edu] has joined #openttd
16:59:24  *** glx [~glx@000128ec.user.oftc.net] has joined #openttd
16:59:27  *** mode/#openttd [+v glx] by ChanServ
16:59:40  <Samu> hmm there are more bugs related to this scrolling stuff, for Random AI
16:59:57  <Samu> i see in the list a mix of parameters from several AIs
17:00:04  <Samu> chopper with Admiral
17:01:37  *** frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
17:03:32  <Samu> http://i.imgur.com/0BAKRVA.png AdmiralAI with Chopper when listing RandomAI parameters
17:21:15  *** gelignite [~gelignite@x4e3000f9.dyn.telefonica.de] has joined #openttd
17:25:38  <Ethereal_Whisper> Wow. Left my game running on fast forward on accident and went to a friend's house overnight
17:25:48  <Ethereal_Whisper> It's now 2508 and everything's still up and running
17:27:00  <Ethereal_Whisper> I also have  billion
17:32:44  <Alberth> too bad it's not real money :p
17:38:54  <Samu> i got to change the rules for GS, else this is all too confusing for me
17:39:40  <Samu> the idea of flags is interesting, but I don't know how to use this
17:39:47  <Samu> how to code with flags
17:40:47  <Samu> bitmask
17:40:50  <Samu> or something
17:41:58  <Samu> why can't game scripts restart?
17:42:15  <Samu> what would happen if they were restarted?
17:42:52  <Samu> they can't be randomly chosen on game start either
17:45:45  <DorpsGek> Commit by translators :: r27550 trunk/src/lang/unfinished/frisian.txt (2016-04-25 19:45:36 +0200 )
17:45:46  <DorpsGek> -Update from Eints:
17:45:47  <DorpsGek> frisian: 7 changes by BAJansen
17:47:26  <Ethereal_Whisper> Need a random mountain name
17:48:37  <Ethereal_Whisper> Found one :)
17:48:58  <Alberth> The Bump
17:52:50  <Samu> gosh, im horrible at this t.t
18:34:33  *** HerzogDeXtEr [~farci@i59F6A0FA.versanet.de] has joined #openttd
18:54:12  *** Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
19:06:45  *** Wolf01 [~Wolf01@host249-115-dynamic.116-80-r.retail.telecomitalia.it] has joined #openttd
19:06:57  <Wolf01> o/
19:10:42  <supermop> yo
19:16:40  <Samu> i've been all day fixing this bool :( i'm horribly slow
19:17:00  <Wolf01> pfff, a week for a file name
19:17:30  <Samu> https://paste.openttdcoop.org/pudxpqhgr
19:20:20  <Samu> it does not crash anymore
19:20:41  <Samu> that means... i failed at trying to make that line shorter
19:21:27  <Samu> there must be a way
19:22:06  <Samu> going to dissect it again
19:23:42  <Wolf01> Samu, a single boolean variable is not the way, doing 4235043645757 tests in one line is entirely wrong
19:24:02  <Samu> it's giant, but it works :( i also tried to make it shorter
19:24:10  <Samu> i failed when trying to make it shorter
19:24:26  <Wolf01> a comprehensible code is what it does make a patch a good patch, not less lines
19:24:41  <Wolf01> you don't need to make it shorter, you must split it
19:25:48  <Wolf01> use variables with a meaningful name, doesn't matter if you use 5 booleans which mean different things
19:26:27  <Wolf01> it's always better to check 5 booleans instead of 12 nested tests
19:27:30  <Wolf01> and I won't help you more than this, because it seem like you don't even want to listen what me, Alberth and others are telling you
19:28:07  <Samu> https://paste.openttdcoop.org/pnchdlx6n
19:31:59  <Samu> I want to make it readable
19:32:26  <Samu> I'm trying
19:35:36  *** frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
19:39:40  <Ethereal_Whisper> Indeed not
19:39:44  <Ethereal_Whisper> Whoops
19:43:21  *** Hiddenfunstuff [~Geth@y32.ip1.anvianet.fi] has quit [Quit:  HydraIRC -> http://www.hydrairc.com <- \o/]
19:55:25  *** Biolunar [Biolunar@x5d82047a.dyn.telefonica.de] has joined #openttd
20:09:22  *** Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
20:11:38  * Wolf01 is bored
20:12:03  *** sim-al2 [~sim-al2@dns25-172.cbu.edu] has quit [Ping timeout: 480 seconds]
20:23:06  *** Arveen [~Arveen@ip-95-223-75-47.hsi16.unitymediagroup.de] has quit [Quit: Nettalk6 - www.ntalk.de]
20:24:50  *** sla_ro|master [slamaster@89.136.141.100] has quit []
20:26:19  *** Supercheese is now known as Guest1842
20:26:24  *** Supercheese [~Superchee@50-37-110-37.mscw.id.frontiernet.net] has joined #openttd
20:41:48  <Alberth> nn
20:41:50  *** Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
20:45:37  *** gelignite [~gelignite@x4e3000f9.dyn.telefonica.de] has quit [Quit: http://bit.ly/1kso8Ta]
20:48:39  *** Progman [~progman@p57A19831.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
20:57:45  *** aard [~aard@108.134.189.109.customer.cdi.no] has quit [Read error: Connection reset by peer]
21:01:31  *** sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
21:15:54  *** Biolunar [Biolunar@x5d82047a.dyn.telefonica.de] has quit [Ping timeout: 480 seconds]
21:23:33  *** MonkeyDAcez [~MonkDAce@80.88.255.44] has joined #openttd
21:30:26  *** MonkeyDronez [~MonkDAce@80.88.255.44] has quit [Ping timeout: 480 seconds]
21:31:28  *** Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer]
21:36:33  *** ConductorCat [~Conductor@pool-108-56-8-121.washdc.east.verizon.net] has joined #openttd
21:41:53  *** ConductCat [~Conductor@pool-108-56-8-121.washdc.east.verizon.net] has quit [Ping timeout: 480 seconds]
21:42:32  *** Guest1842 [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Quit: Valete omnes]
22:02:14  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Quit: leaving]
22:02:22  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
22:11:04  <Wolf01> 'night
22:11:12  *** Wolf01 [~Wolf01@0001288e.user.oftc.net] has left #openttd []
22:33:52  *** supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Remote host closed the connection]
22:36:14  *** Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving]
22:36:21  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
22:49:08  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Remote host closed the connection]
22:54:31  <Samu> i did it guyz:o
22:54:41  <Samu> it shorter 7 characters
22:54:54  <Samu> but still barely readabl
22:55:14  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
22:58:10  <Samu> https://paste.openttdcoop.org/pdzyemlyo
22:58:25  <Samu> the problem is that I have to deal with all cases
22:59:26  <Samu> line 2 is the same as line 5 and the same as lines 8-14
22:59:43  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Remote host closed the connection]
23:00:35  <Samu> spend the entire day just for this line, and still I know it's not readable
23:00:52  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
23:02:07  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit []
23:03:43  <Samu> i don't know how to split this and still make sense of it
23:08:40  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
23:13:29  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Remote host closed the connection]
23:14:42  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
23:23:10  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Remote host closed the connection]
23:24:23  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
23:29:14  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Remote host closed the connection]
23:32:05  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
23:41:44  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has quit [Remote host closed the connection]
23:43:02  *** NGC3982 [~milda@h215n4-vj-d3.ias.bredband.telia.com] has joined #openttd
23:56:29  *** Samu [~oftc-webi@po-217-129-255-23.netvisao.pt] has quit [Quit: Page closed]

Powered by YARRSTE version: svn-trunk