Back to Home / #openttd / 2016 / 04 / Prev Day | Next Day
#openttd IRC Logs for 2016-04-25

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