Config
Log for #openttd on 27th December 2014:
Times are UTC Toggle Colours
00:03:36  *** Progman [~progman@p57A196A3.dip0.t-ipconnect.de] has joined #openttd
00:27:47  *** Progman [~progman@p57A196A3.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
00:28:35  *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd
00:28:53  *** Hazzard_ is now known as some_noob_hazzard
00:29:28  *** some_noob_hazzard [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has quit []
00:31:21  *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd
00:38:06  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
00:54:26  *** Pereba [~UserNick@177.40.217.73] has quit [Quit: AdiIRC -> http://www.adiirc.com <- *I* use it, so it must be good!]
00:59:34  *** Hazzard_ [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has quit [Quit: Goodbye.]
00:59:36  *** liq3 [liq3@CPE-120-147-178-81.gdfw1.lon.bigpond.net.au] has joined #openttd
01:04:46  *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd
01:06:57  *** gelignite [~gelignite@i5387AFD3.versanet.de] has quit [Quit: http://bit.ly/nkczDT]
01:07:14  <argoneus> I wish you could read books and watch movies without finishing them
01:07:26  <argoneus> because the feeling "oh it's not real, nevermind" afterwards is annoying
01:10:58  *** Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer]
01:11:30  *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds]
01:22:09  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Quit: There's a real world out here!]
01:38:25  *** Flygon_ is now known as Flygon
01:38:35  <Flygon> argoneus: And this is why MMORPGs are popular :D
01:40:33  <argoneus> Flygon: :(
01:40:49  <argoneus> I just finished steins;gate after 30 hours (a visual novel) and I wish I could live in such a world
01:41:00  <Flygon> I admit I haven't read that one
01:41:12  <argoneus> it's just that feeling of emptiness
01:41:16  <argoneus> after you have exhausted the story completely
01:43:03  <Flygon> Hmm
01:43:15  <Flygon> Sorry for the delay, trying to figure out what to title a pic for subbing to gallery
01:44:19  <argoneus> showp ic
01:44:21  <argoneus> show pic
01:44:54  <Flygon> Not if I don't want to get banned from #openttd I won't :P
01:46:37  <argoneus> :(
01:58:16  *** glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
02:00:36  <Flygon> Annnnd subbed
02:15:48  *** Mek [~quassel@marijnalexwedding.com] has joined #openttd
02:17:38  *** orudge` [~orudge@owenrudge.net] has joined #openttd
02:17:50  *** Speedy` [~speedy@the.wrong.domain.name] has joined #openttd
02:18:00  *** _hsknz [~hsknz@119.224.20.201] has joined #openttd
02:18:19  *** Netsplit reticulum.oftc.net <-> magnet.oftc.net quits: __ln__, ^Spike^, @orudge, +michi_cc, jA_cOp, @Terkhen, urdh, Hirundo, Mek_, dihedral,  (+7 more, use /NETSPLIT to show all of them)
02:18:19  *** Speedy` is now known as Speedy
02:18:49  *** Netsplit over, joins: Hirundo
02:18:58  *** Netsplit over, joins: Kurimus
02:20:12  *** __ln__ [~lauri@cable-tku-58c3cb-155.dhcp.inet.fi] has joined #openttd
02:20:55  *** michi_cc [michi@00012723.user.oftc.net] has joined #openttd
02:20:58  *** mode/#openttd [+v michi_cc] by ChanServ
02:21:43  *** ^Spike^ [~Spike@188.cimarosa.openttdcoop.org] has joined #openttd
02:21:43  *** Terkhen [~Terkhen@0001612d.user.oftc.net] has joined #openttd
02:21:46  *** mode/#openttd [+o Terkhen] by ChanServ
02:21:52  *** ccfreak2k [~ccfreak2k@hephaestus.untrust.org] has joined #openttd
02:22:11  *** urdh [urdh@00013d7a.user.oftc.net] has joined #openttd
02:22:43  *** Smedles [~quassel@58.160.136.199] has joined #openttd
02:26:33  *** dihedral [~dih@znc.dihedral-server.de] has joined #openttd
02:26:33  *** jA_cOp [~yakobu@2001:41d0:1:c5ab::1] has joined #openttd
02:31:13  *** Ammler [~ammler@188.cimarosa.openttdcoop.org] has joined #openttd
02:37:33  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Ping timeout: 480 seconds]
03:02:17  *** DorpsGek [~dorpsgek@000128f9.user.oftc.net] has joined #openttd
03:02:20  *** mode/#openttd [+o DorpsGek] by ChanServ
03:16:47  *** MJP [~mjp@hq.z77.fr] has quit [Ping timeout: 480 seconds]
03:32:13  *** luaduck is now known as luaduck_zzz
03:38:51  *** hdevalence [~quassel@TOROON0319W-LP130-01-1177970765.dsl.bell.ca] has quit [Remote host closed the connection]
04:16:22  *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Read error: Connection reset by peer]
04:20:20  *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd
05:16:57  *** Extrems1 [borgs@modemcable204.141-177-173.mc.videotron.ca] has joined #openttd
05:20:26  *** Extrems2 [borgs@modemcable204.141-177-173.mc.videotron.ca] has joined #openttd
05:22:29  *** Extrems [borgs@modemcable204.141-177-173.mc.videotron.ca] has quit [Ping timeout: 480 seconds]
05:25:01  *** Extrems1 [borgs@modemcable204.141-177-173.mc.videotron.ca] has quit [Ping timeout: 480 seconds]
05:36:36  *** hdevalence [~quassel@TOROON0319W-LP130-01-1177970765.dsl.bell.ca] has joined #openttd
05:56:01  *** Eddi|zuHause [~johekr@p57BD4688.dip0.t-ipconnect.de] has quit []
05:56:15  *** Eddi|zuHause [~johekr@p57BD4935.dip0.t-ipconnect.de] has joined #openttd
06:34:19  *** Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
06:34:22  *** mode/#openttd [+o Alberth] by ChanServ
07:04:06  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd
07:14:53  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has quit [Quit: andythenorth]
07:41:46  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd
07:59:28  <andythenorth> o/
08:04:38  *** Smedles [~quassel@58.160.136.199] has quit [Read error: Connection reset by peer]
08:07:12  *** Netsplit reticulum.oftc.net <-> testlink-beta.oftc.net quits: Stimrol, __ln__
08:08:23  *** Smedles [~quassel@58.160.136.199] has joined #openttd
08:10:24  *** Netsplit over, joins: __ln__, Stimrol
08:14:48  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has quit [Quit: andythenorth]
08:19:30  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd
08:24:53  <Alberth> moin
08:28:29  <andythenorth> hi hi
08:28:42  <andythenorth> maybe today is GS saturday
08:29:05  <andythenorth> probably depends if I am 100% in-demand by my kids
08:30:10  <Alberth> as in, make a GS ?
08:32:12  <Alberth> I had a preliminary GS idea too yesterday, just ask for delivery of random amount of random cargo, at random spot in the world (with some restrictions, so you actually get feasible requests)
08:32:32  <Alberth> amounts doesn't have to be big
08:33:48  <Alberth> just query 3-5 at the same time so the use can choose what to do, or what to do first
08:34:02  <Alberth> I was still pondering score
08:43:15  <andythenorth> number of challenges complete in 100 years
08:43:22  <andythenorth> 100 to be player configurable
08:44:03  <andythenorth> the actual ‘win’ doesn’t matter for GS imho
08:44:14  <andythenorth> just gives a direction to the game, instead of pure sandbox
08:47:23  <andythenorth> Alberth: is it a fixed quantity to be delivered, a fixed quantity within a deadline, or a fixed amount per year?
08:48:49  <Alberth> don't know, I was pondering to have a slowly decreasing score, so you cannot get 100% ever
08:49:01  <Alberth> but any of the above will do, imho
08:49:15  <andythenorth> I think it’s most relaxed with fixed quantity, like a directed sandbox
08:49:25  <andythenorth> fixed amount per year is quite intense, lots of network maintaining
08:49:27  <Alberth> sounds fine to me
08:49:44  <Alberth> (the former, fixed quantity)
08:50:02  <Alberth> can always be extended to other forms :)
08:50:03  <andythenorth> “can’t get 100% ever” sounds a bit like Dwarf Fortress
08:50:06  <andythenorth> which I haven’t played :)
08:50:19  <Alberth> me neither :)
08:50:28  <andythenorth> I dunno, for single-player I don’t know if much score is needed
08:50:35  <Alberth> but it opens the road to competition with yourself
08:50:36  <andythenorth> my kids play lots of casual games with no win conditions
08:50:43  <andythenorth> just constant mini-challenges
08:51:02  <andythenorth> I am not -1 to scores and win conditions, just can’t think of any
08:51:03  <Alberth> sounds fine
08:51:36  <andythenorth> “there is a zombie convention in Milan, deliver 75 carloads of zombies"
08:51:58  <Alberth> it needs to create challenges first, before you can consider winning or scoring at all
08:52:00  <andythenorth> “the mayor of Amsterdam is building a new statue of himself, deliver 75 loads of steel"
08:52:18  <Alberth> :)
08:52:55  <andythenorth> so
NoCarGoal and SV both have very black/white win conditions
08:52:58  <Alberth> he'd probably order a complete statue :p
08:52:58  <andythenorth> which is fun
08:53:18  *** sla_ro|master [~sla.ro@95.76.27.245] has joined #openttd
08:53:44  <Alberth> NoCargoGoal has few challenges, and then you have to wait
08:54:00  <Alberth> SV is a LOT of work, the few times I played it
08:54:51  <andythenorth> SV focuses a whole network
08:54:51  <Alberth> imho it should have small challenges, and concentrate on getting infra structure
08:54:56  <andythenorth> it’s fun, but I’ve done SV to death
08:55:16  <Alberth> large amount of cargo is not that interesting, imho
08:55:38  <andythenorth> the idea I was kicking around with pikka was constant mini-challenges
08:55:39  <Alberth> you can of course stack small challenges on top of each other
08:55:41  <andythenorth> of different kinds
08:56:16  * andythenorth thinks
08:56:45  <Alberth> once you have delivered steel for the statue, ask for double or triple that amount in the same time (or even first measure the rate of delivery)
08:57:18  <Alberth> but just simple small challenges seems like a nice idea for now
08:57:34  <andythenorth> agreed
08:57:40  <andythenorth> so my problem with sandbox...
08:58:00  <andythenorth> I never get any attachment to the game, because there’s no end goal or achievement
08:58:19  <andythenorth> the only achievements are (1) being profitable (2) seeing how long before I get bored
08:59:20  <andythenorth> the cargo challenges solve that, but they require quite ruthless gameplay
08:59:28  <Alberth> not sure you can do anything else with a game that one played for say, a decade
08:59:43  <andythenorth> ottd is quite good for tinkering, but that gets put aside in a cargo goal game
09:00:09  <andythenorth> it would be nice to have obscure goals, like connecting small towns etc
09:00:49  *** Pensacola [~quassel@c80094.upc-c.chello.nl] has joined #openttd
09:01:00  <andythenorth> connnect all the towns on one island
09:01:02  <Alberth> I was considering to have both industries and towns as targets for cargo
09:01:04  <andythenorth> yes
09:01:37  <Alberth> and I have no problem with a flag 'no industries' and 'no towns'
09:01:53  <andythenorth> main player activities seem to be: build routes, deliver cargo, fund industries
09:01:59  <andythenorth> what else is fun to do?
09:02:38  <Alberth> baby-sitting a town seems a popular play style, although I somewhat fail to see why
09:02:51  <Alberth> but I am not much of a 'town' player
09:03:37  <andythenorth> I don’t like baby-sitting towns
09:04:04  <andythenorth> town population just seems to be a proxy for ‘score'
09:04:09  <andythenorth> why not just have a score?
09:04:22  <Alberth> and it's not a challenge that you can fail, I think. You need X amounts to get growth. If you fail, you just don't get growth
09:04:51  <andythenorth> hmm
09:05:16  <andythenorth> “Universal Maglev have offerered you a discount on their new train, if you build 10 by the end of the year”
09:05:23  <Alberth> perhaps in MP where the goal is to first reach a population of X
09:06:24  <Alberth> money doesn't seem interesting to me, we all have plenty of the stuff
09:06:25  <andythenorth> “Ponningville streets are congested, the town council want a metro transporting 50% of population"
09:06:45  <Alberth> ^^ that would be nicer
09:07:18  <Alberth> did you look at gs-awards?
09:07:26  <andythenorth> nah
09:07:37  <andythenorth> is there a docs section for it?
09:07:41  <Alberth> that sounds somewhat like a collection of achievements
09:08:06  <andythenorth> most of the casual games I play have some kind of awards thing
09:08:17  <andythenorth> I find them a bit meaningless, but they set up the challenges I guessed
09:08:31  <Alberth> https://translator.openttdcoop.org/translation/gs-awards/en_GB
09:08:31  <andythenorth> although some are really stupid
09:08:58  <andythenorth> oh those I see
09:09:06  <andythenorth> yeah, that’s the kind of awards that bore me :)
09:09:09  *** Plaete [~moffi@dsdf-5d82cdb9.pool.mediaWays.net] has joined #openttd
09:09:18  <Alberth> very few people play true casual games
09:09:40  <Alberth> you also see that with OpenTTD, lots of people seek some form of challenge in the game :)
09:10:00  <Alberth> so for selling a game, it's obligatory, I think
09:10:22  <andythenorth> so ‘deliver x amount to location z’ is fine
09:10:26  <andythenorth> for a starting point
09:10:36  <Alberth> +1
09:10:51  <andythenorth> the main thing is to offer 3-5 challenges, and how to report on progress
09:10:58  <andythenorth> I think the challenges would be extensible later
09:11:29  <andythenorth> needs a name, and a repo
09:11:48  <Alberth> the one thing I always miss in nocargoal is an extrapolation of finishing time
09:12:02  <andythenorth> expand on that?
09:12:20  <Alberth> it says    year x month y, z% delivered
09:12:35  <Alberth> but not when 100% will be reached
09:12:44  <andythenorth> so a rate function
09:12:52  <andythenorth> at current rate, 3 years
09:13:09  <Alberth> something like that would be useful imho
09:14:05  <andythenorth> hmm
09:14:09  <andythenorth> animal name?
09:14:14  <andythenorth> or something else?
09:14:23  <Alberth> challenge-goals,  contract-gs ?
09:14:34  <andythenorth> Eager Beaver?
09:14:36  <andythenorth> Busy Bee?
09:14:43  <Alberth> spiffy :)
09:14:55  <Alberth> I like the latter
09:15:07  <andythenorth> busy-bee.gs
09:15:21  <andythenorth> could shorten it to busby.gs
09:15:22  <Alberth> changing to 'hive' in MP :p
09:15:34  <andythenorth> Busy Bees
09:16:07  <andythenorth> make an AI to play it
09:16:09  <Alberth> busbys.gs :)
09:16:10  <andythenorth> drone.ai
09:16:42  <Alberth> tbh I have no idea how to code a GS
09:17:12  <andythenorth> busy-bee.nut
09:17:15  <andythenorth> apparently
09:17:25  <andythenorth> me neither, but that’s my default state for all programming
09:17:50  <andythenorth> some would say I have no idea how to code a newgrf either :)
09:18:05  <Alberth> including yourself :)
09:18:37  <andythenorth> not sure whether to start with Zuu’s minimal.gs
09:18:42  <andythenorth> or work backwards from SV
09:19:54  <andythenorth> probably the ‘current goal progress’ function is the most important
09:20:12  <andythenorth> goal generation can be quite dumb initially
09:20:20  <andythenorth> and players don’t need to choose goals initiallly
09:21:02  <Alberth> I would start from scratch first, to get an idea what I am doing :)
09:21:07  <andythenorth> ok
09:21:11  <andythenorth> hello-world.gs
09:22:22  <Alberth> http://wiki.openttd.org/Game_script   apparently
09:23:16  <Alberth> hmm, doesn't explain it at all :(
09:23:17  <andythenorth> target trunk, not a released version?  Bleeding edge

09:23:25  <andythenorth> http://nogo.openttd.org/api/trunk/
09:23:45  <Alberth> yeah, aiming for 1.5 :p
09:23:59  <Alberth> but trunk-only is fine too by me
09:26:40  * andythenorth waits for the repo
09:27:29  <andythenorth> there must be some kind of loop which calls the GS every n ticks or whatever
09:27:43  <andythenorth> and probably some kind of persistent data structures?
09:28:35  <andythenorth> http://wiki.openttd.org/AI:Introduction
09:29:22  <Alberth> hmm, still lots of old 32bpp graphics pages at the wiki
09:29:58  <planetmaker> moin moin :)
09:30:32  <andythenorth> hi planetmaker
09:31:02  <Alberth> hi hi
09:31:54  <andythenorth> repo is up http://dev.openttdcoop.org/projects/busy-bee-gs/repository
09:34:36  *** Jinassi [~jinassi@176.76.23.230] has joined #openttd
09:36:30  <Alberth> am I supposed to use bin/game for my GS-es?  it's filled with compatibility files
09:36:51  <planetmaker> afaik yes
09:36:53  <andythenorth> mine appear to be in there
09:37:09  <andythenorth> also some in content_download/game
09:38:14  <Alberth> that's automagic downloaded stuff
09:38:26  <andythenorth> hmm
09:38:28  <andythenorth> FMainClass()
09:38:36  <Alberth> you're not supposed to touch that, although I break that rule all the time :)
09:38:37  <andythenorth> is that name just a convention?
09:38:47  * andythenorth is looking at SV and NCG
09:38:50  <andythenorth> info.nut
09:39:15  <andythenorth> planetmaker: written much GS? o_O
09:39:16  <Alberth> probably, "extends AIInfo"   stuff is the crucial bit I think
09:39:25  <andythenorth> or extends GSInfo
09:39:28  <andythenorth> in this case :)
09:39:54  <planetmaker> andythenorth, writen no GS at all
09:40:00  <planetmaker> +t
09:40:10  <andythenorth> care to begin? o_O
09:40:29  <planetmaker> Would mean more unfinished projects :)
09:41:09  <andythenorth> ah
09:41:13  <andythenorth> that
09:41:15  <Alberth> 4 space indenting?
09:41:27  <andythenorth> Alberth: my editor is set that way
09:41:34  <andythenorth> seems to be the convention in other GS
09:41:45  <andythenorth> that work for you?
09:42:19  *** Yotson [~Yotson@2001:980:6ac8:1:ccfe:fe97:145f:69bc] has joined #openttd
09:43:26  *** sla_ro|master [~sla.ro@95.76.27.245] has quit []
09:43:34  * andythenorth wonders how to reload GS
09:45:28  <andythenorth> got it selectable by player
09:45:30  <andythenorth> does nothing :P
09:45:57  * andythenorth pushes
09:49:06  <planetmaker> you got to reload the savegame, afaik. Not sure the file is re-read, though
09:49:17  <Alberth> yeah 4 spaces is fine
09:49:38  *** sla_ro|master [slamaster@95.76.27.245] has joined #openttd
09:51:06  * andythenorth trying to make a script that tells you a joke at game start
09:51:43  <Alberth> euhm, you're using tabs :)
09:52:10  <andythenorth> oops
09:52:47  <andythenorth> ah copy-paste
09:53:12  <Alberth> shall I fix?
09:53:37  <andythenorth> doing it
09:54:12  <andythenorth> done
09:54:58  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Ping timeout: 480 seconds]
09:55:19  <andythenorth> can’t find docs for GetAPIVersion
09:55:31  <andythenorth> maybe it’s just strings, and ‘trunk’ is acceptable?
09:56:20  <andythenorth> ah http://nogo.openttd.org/api/1.4.4/classGSInfo.html#f281fe0b2a32067b717861e1a795c3a5
09:56:57  <Alberth> pushed small fixes
09:57:16  <Alberth> I would expect "1.5"  tbh
09:58:46  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
10:00:07  <andythenorth> seems to work with trunk
10:02:45  <Alberth> tick example seems to work
10:03:02  <Alberth> commit main.nut?
10:06:12  <andythenorth> go ahead
10:06:20  <andythenorth> I have one locally that is empty and crashes
10:06:23  <andythenorth> I won’t miss it
10:06:56  <andythenorth> make it tell a random joke every time it runs?
10:07:11  <andythenorth> I find it helpful to learn by doing something stupid first :)
10:07:37  <andythenorth> reduces the amount of bad design baked into the actual thing I’m making
10:10:33  <Alberth> hmm, how to make a random number
10:12:46  <andythenorth> math.rand()?
10:19:56  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has joined #openttd
10:20:29  <Alberth> math.rand, and Math.rand  are both not recgonized on "[mM]ath"   it needs some import or so, probably
10:27:50  <Alberth> nice, language reference has no "import" :p
10:28:06  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has quit [Quit: JacobD88]
10:28:28  *** Progman [~progman@p57A187C6.dip0.t-ipconnect.de] has joined #openttd
10:30:35  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has joined #openttd
10:32:00  *** JacobD88 [~Thunderbi@cpc20-stap11-2-0-cust392.12-2.cable.virginm.net] has quit []
10:33:15  *** Flygon_ [~Flygon@147.18.214.218.sta.commander.net.au] has joined #openttd
10:40:04  *** Flygon [~Flygon@147.18.214.218.sta.commander.net.au] has quit [Ping timeout: 480 seconds]
10:46:34  <andythenorth> looks like there is an equivalent of python random.choice()
10:46:35  <andythenorth> GSBase.RandItem
10:47:09  <andythenorth> also GSBase.RandRange(3)
10:47:12  <andythenorth> is in superlib
10:47:28  <andythenorth> and GSBase.Rand()
10:47:30  <andythenorth> Alberth: ^ ?
10:47:57  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
10:48:04  <Alberth> ah, sounds useful
10:48:18  <Alberth> no idea how to use anything from math tbh
10:48:28  <Alberth> maybe it's even broken
10:54:52  <Alberth> andythenorth:  pushed a main.nut
10:54:57  <Alberth> (and a merge)
11:00:04  <Alberth> andythenorth:  pushed examining + printing of cargoes
11:01:32  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
11:03:53  * andythenorth pulls
11:06:14  * andythenorth needs to figure out how to read logs
11:06:42  <andythenorth> oh, debug panel
11:06:57  <andythenorth> “You are in a lake"
11:07:00  <andythenorth> go north :P
11:15:51  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has joined #openttd
11:16:15  <Alberth> adventure.gs :p
11:19:27  <andythenorth> inventory
11:19:36  <andythenorth> you have 3 gold coins, 2 arrows, and a smelly fish
11:32:58  *** LadyHawk [DaZeD@5751e87a.skybroadband.com] has quit [Read error: Connection reset by peer]
11:34:10  *** LadyHawk [~LadyHawk@5751e87a.skybroadband.com] has joined #openttd
11:34:49  *** Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
11:57:58  *** MJP [~mjp@hq.z77.fr] has joined #openttd
11:58:18  *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd
11:59:08  * andythenorth tries to make GSNews() work
11:59:15  <andythenorth> I don’t understand the notation style in the docs yet
12:00:13  <andythenorth> GSCompany::CompanyID
12:02:16  <Alberth> most likely just a company number
12:02:39  <andythenorth> http://nogo.openttd.org/api/1.2.3/classGSCompany.html#09ddb9c516f2f82254eedb44ad1ce98b
12:02:50  <andythenorth> looks like there’s a constant COMPANY_SELF
12:03:22  <andythenorth> GSCompany.ResolveCompanyID(COMPANY_SELF) fails though
12:04:19  <Alberth> I would hope so, as the GS is not a company, unless you do something with GSCompanyMode
12:05:04  <Alberth> I would expect that GSCompany.COMPANY_FIRST  to ... _LAST    gives a range of company numbers
12:06:03  <Alberth> then use GSCompany::ResolveCompanyID(c)    to filter the invalid companies out, or so
12:13:57  *** Plaete [~moffi@dsdf-5d82cdb9.pool.mediaWays.net] has quit [Quit: Nettalk6 - www.ntalk.de]
12:19:05  <Jinassi> anyone see my post from a day ago? seems like someone is anxious to make a trailer for openttd by injecting code to get cash and/or other stuff and thus creating a desync and making other players desync too. Luaduck has a plan to make or adjust a server, so you have a say in it too(probably pulling logs, troubleshooting if there's time, etc)
12:21:47  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has quit [Quit: andythenorth]
12:22:59  <Alberth> not seen it at tt-forums
12:23:41  <Jinassi> posted it here
12:23:43  <Jinassi> http://webcache.googleusercontent.com/search?q=cache:1cq1B-6MpQQJ:guidedhacking.com/showthread.php%3F5972-openTTD-CT+&cd=30&hl=sl&ct=clnk&gl=si
12:25:13  <Jinassi> Thread was deleted, hence the snapshot
12:27:18  <Alberth> I don't understand what you're saying
12:27:51  <Alberth> someone is trying to hack openttd, and failing, ..... ?
12:28:09  <Jinassi> and desyncing, perhaps thats one of the reasons
12:29:58  <Alberth> oh, right. Yeah, it would desync sooner or later
12:31:33  <peter1138> Hey guys, I hacked it so my client thinks I have more than the server does...
12:32:01  *** Supercheese is now known as Guest3206
12:32:06  *** Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has joined #openttd
12:32:58  <Jinassi> just giving a heads up tho, thought you might want to know
12:34:48  <Alberth> ok, thanks for letting us know. No idea how to use that information though :(
12:36:56  *** Guest3206 [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Ping timeout: 480 seconds]
12:37:36  *** romazoon [~romazoon@AMontsouris-654-1-57-205.w90-46.abo.wanadoo.fr] has joined #openttd
12:38:42  *** heffer [felix@hyperion.fk.cx] has joined #openttd
12:41:59  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd
12:42:02  <andythenorth> time out :(
12:42:37  *** xT2 [~ST2@118.107.136.95.rev.vodafone.pt] has joined #openttd
12:42:52  *** ST2 [~ST2@118.107.136.95.rev.vodafone.pt] has quit [Ping timeout: 480 seconds]
12:42:52  *** xT2 is now known as ST2
12:49:41  <argoneus> \o
12:55:17  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
12:56:27  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Ping timeout: 480 seconds]
12:59:00  <romazoon> hi
13:00:04  <romazoon> andy: i tried road hoag nightlies from last night, thanks, it s indeed a tad smoother in my cities
13:11:09  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has joined #openttd
13:11:31  <andythenorth> good
13:33:42  *** Wolf01 [~wolf01@host44-14-dynamic.31-79-r.retail.telecomitalia.it] has joined #openttd
13:34:06  <Wolf01> hi hi
13:57:37  <andythenorth> o/
14:12:53  *** Pereba [~UserNick@177.40.217.73] has joined #openttd
14:16:26  *** Progman [~progman@p57A187C6.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
14:29:46  *** Jinassi2 [~jinassi@176.76.126.158] has joined #openttd
14:31:07  *** Jinassi2 [~jinassi@176.76.126.158] has quit []
14:31:27  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Ping timeout: 480 seconds]
14:33:45  <andythenorth> hmm
14:34:42  <andythenorth> so in Squirrel, “function CompanyData::CreateGoals()” is similar to a python class function?
14:35:05  <andythenorth> it’s scoped to CompanyData class?
14:35:47  *** liq3 [liq3@CPE-120-147-178-81.gdfw1.lon.bigpond.net.au] has quit []
14:40:50  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has joined #openttd
14:40:56  <Alberth> seems that way
14:41:32  <Alberth> I don't understand why you can also state it in the class part however, maybe part of the public interface?
14:45:11  <andythenorth> plausible
14:45:18  <andythenorth> I just made a news message appear btw
14:45:35  <andythenorth> small victories :P
14:46:30  <Alberth> o/
14:46:37  <Alberth> \o/  actually
14:48:12  <Alberth> https://paste.openttdcoop.org/pf39rhyks    builds a map of cargoes and what they are
14:48:20  <Alberth> quite stuck what to do next though
14:48:47  <andythenorth> build a list of destinations and sources
14:49:19  <andythenorth> hmm
14:49:37  <Alberth> GSIndustryList_CargoAccepting::GSIndustryList_CargoAccepting                      (           CargoID             cargo_id                      )     ?
14:49:38  <andythenorth> how do I do equivalent of ‘reset’ on a mercurial repo?
14:49:46  <andythenorth> stack overflow doesn’t know either
14:49:51  <andythenorth> I guess I just rm it and clone again
14:49:53  <Alberth> probably  hg revert
14:50:06  <Alberth> depends on what you want to do
14:50:14  <Alberth> hg rollback undoes the last commit
14:50:21  <Alberth> or last action, even
14:50:41  <Alberth> hg revert goes back to the last committed state iirc
14:50:42  <andythenorth> I wanted to bin an attempted merge
14:50:50  <andythenorth> and lose all my changes
14:51:04  <andythenorth> but I was stuck with all the LOCAL / REMOTE lines in my files
14:51:07  <andythenorth> anyway I binned the repo
14:51:35  <Alberth> warning: conflicts during merge.
14:51:35  <Alberth> merging info.nut incomplete! (edit conflicts, then use 'hg resolve --mark')
14:51:35  <Alberth> 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
14:51:35  <Alberth> use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
14:51:46  <Alberth> probably   just hg update
14:52:17  <andythenorth> I’ll try that next time
14:52:29  <Alberth> it didn't give this text?
14:53:05  <andythenorth> no
14:53:09  <andythenorth> pdq2s-MacBook-Pro-2:busy-bee-gs andy $ hg up
14:53:09  <andythenorth> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
14:53:16  <andythenorth> pdq2s-MacBook-Pro-2:busy-bee-gs andy $ hg commit -m "Change: make a news message appear (annoying)"
14:53:17  <andythenorth> abort: unresolved merge conflicts (see hg help resolve)
14:53:32  <andythenorth> if 0 files are unresolved, then why I have to fix unresolved merge conflicts I don’t know
14:53:41  <andythenorth> I have fallen out of love with hg tbh
14:53:44  <andythenorth> but anyway
14:53:57  <michi_cc> andythenorth: "or 'hg update -C .' to abandon" ,aybe?
14:54:05  <andythenorth> maybe, next time
14:54:10  <andythenorth> I pushed the news message
14:55:13  <andythenorth> Alberth: so we need lists of cargo destination/source pairs?
14:55:24  <andythenorth> and possibly the distance between them?
14:55:40  <Alberth> seems plausible
14:55:59  * andythenorth has ideas about different flavours of goal, long distance versus short distance etc
14:56:21  <andythenorth> might be too map-dependent though
14:57:13  <Alberth> I think you normally have both
15:00:10  <andythenorth> yes
15:00:27  * andythenorth making lang work
15:07:14  *** romazoon [~romazoon@AMontsouris-654-1-57-205.w90-46.abo.wanadoo.fr] has quit []
15:12:26  * andythenorth pushes lang
15:21:12  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
15:22:25  <andythenorth> pushed a goal question dialog
15:24:08  <Alberth> progress!
15:26:40  <andythenorth> I need to look at the story book
15:26:53  <andythenorth> will do that next
15:52:19  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
16:05:22  *** smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
16:19:48  *** urdh [urdh@00013d7a.user.oftc.net] has quit [Remote host closed the connection]
16:26:39  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has quit [Quit: leaving]
16:38:05  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
16:41:57  <Alberth> https://paste.openttdcoop.org/pqaeqlsvi   trying to find 2 industries, but it doesn't make sense, it believes the coal mine accepts and produces oil :)
16:49:36  *** urdh [urdh@00013d7a.user.oftc.net] has joined #openttd
16:53:58  *** hdevalence [~quassel@TOROON0319W-LP130-01-1177970765.dsl.bell.ca] has quit [Remote host closed the connection]
16:58:15  *** HerzogDeXtEr [~flex@i59F6C0E8.versanet.de] has joined #openttd
17:33:26  *** Hazzard is now known as Fishbot
17:33:31  *** Fishbot is now known as Hazzard
17:45:31  <DorpsGek> Commit by translators :: r27099 trunk/src/lang/spanish.txt (2014-12-27 17:45:27 UTC)
17:45:32  <DorpsGek> -Update from WebTranslator v3.0:
17:45:34  <DorpsGek> spanish - 2 changes by SilverSurferZzZ
17:54:47  *** glevans2 [~glevans2@71-8-126-76.dhcp.ftwo.tx.charter.com] has joined #openttd
18:05:05  *** glx [~glx@000128ec.user.oftc.net] has joined #openttd
18:05:08  *** mode/#openttd [+v glx] by ChanServ
18:19:13  <smoke_fumus> streaming right now. http://www.twitch.tv/smoke_th already made pixelart board http://screencast.com/t/EQNUYThVl :D
18:22:29  <andythenorth> Alberth: maybe the coal mine does that?  But we never noticed? o_O
18:23:14  <Alberth> you'd hope you'd also get an oil well and a oil refinery in that case "p
18:27:02  <Alberth> maybe the data doesn't get properly copied or so, although I would expect more people to have problems in that case
18:33:01  <andythenorth> so L9 is logging “accept oil
”?
18:33:26  <Alberth> ?
18:33:57  <andythenorth>  I need to try the paste I guess, just reading it while I feed child #2
18:34:50  <Alberth> I may need to dig in the c++ code to understand what is happening
18:36:37  *** Pensacola [~quassel@c80094.upc-c.chello.nl] has quit [Remote host closed the connection]
18:37:00  <Alberth> http://devs.openttd.org/~alberth/oil_accept_produce.png    number of industries looks right, judging by the map (1 accept, 1 produce)
18:39:11  <argoneus> why is steins;gate such a masterpiece :(
18:49:12  *** qwebirc90317 [~oftc-webi@cpe-173-175-241-216.tx.res.rr.com] has joined #openttd
18:49:45  *** qwebirc90317 [~oftc-webi@cpe-173-175-241-216.tx.res.rr.com] has quit []
18:56:17  <andythenorth> hmm
18:56:29  <andythenorth> SV probably uses the accept function
18:56:57  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has joined #openttd
18:58:16  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Quit: Nettalk6 - www.ntalk.de]
18:58:21  *** Buntunub [~quassel@c-24-126-85-103.hsd1.va.comcast.net] has joined #openttd
18:59:45  *** luaduck_zzz [~luaduck@0001c465.user.oftc.net] has quit [Quit: ZNC gives me a nerd boner.]
19:00:39  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has joined #openttd
19:01:00  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit []
19:03:20  *** luaduck_zzz [~luaduck@0001c465.user.oftc.net] has joined #openttd
19:03:38  *** luaduck_zzz is now known as luaduck
19:08:36  *** luaduck [~luaduck@0001c465.user.oftc.net] has quit [Quit: ZNC gives me a nerd boner.]
19:25:09  *** luaduck_zzz [~luaduck@host109-149-143-142.range109-149.btcentralplus.com] has joined #openttd
19:25:38  *** luaduck_zzz is now known as luaduck
19:30:47  *** FredH [~fredh@host-92-21-209-79.as13285.net] has joined #openttd
19:31:00  *** FredH [~fredh@host-92-21-209-79.as13285.net] has left #openttd []
19:34:17  *** Jinassi [~jinassi@176.76.39.213] has joined #openttd
19:36:17  <andythenorth> hmm
19:36:28  <andythenorth> cargo PASS is reported as having town effect?
19:38:28  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds]
19:43:04  *** Yotson [~Yotson@2001:980:6ac8:1:ccfe:fe97:145f:69bc] has quit [Quit: .]
19:47:36  <Alberth> apparently, type 1
19:47:58  <Alberth>   TE_PASSENGERS,
19:48:24  <Alberth> seems useful :)
19:50:22  *** gelignite [~gelignite@i5387A351.versanet.de] has joined #openttd
19:55:02  <andythenorth> Alberth: I tried logging             GSLog.Info(GSIndustryList_CargoAccepting(cid))
19:55:08  <andythenorth> reports the same hash for every cargo
19:55:34  <andythenorth> I dunno how squirrel works, but in python, I would expect the same object id for every list of industries accepting a cargo...
19:55:38  <andythenorth> wouldn’t *
19:56:35  <Alberth> yeah, I vaguely remember a problem in AI with lists
19:56:39  <andythenorth> that function isn’t used in SV, NCG or Superlib, so maybe nobody has tried it
19:56:52  <andythenorth> that function = GSIndustryList_CargoAccepting
19:57:12  <Alberth> quite likely
19:57:57  <Alberth> I'll need to dig in the c++ code
19:59:19  <andythenorth> hmm it’s inconsistent, sometimes the hash varies
20:00:48  <Alberth> perhaps the garbage collector of squirrel
20:01:11  <andythenorth> I’ll poke in the story book for a bit
20:01:30  <Alberth> the other option is to check industry type (mapping cargo -> good ind types), and then walk through the industry list
20:03:54  <andythenorth> @seen Zuu
20:03:54  <DorpsGek> andythenorth: Zuu was last seen in #openttd 3 days, 23 hours, 59 minutes, and 21 seconds ago: <Zuu> EcoCarGoal? :-)
20:04:13  <Alberth> he drops in every now and then
20:04:43  <andythenorth> said he would be busy this christmas
20:05:21  <Alberth> oh right, I read something along those lines
20:05:55  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
20:06:29  <andythenorth> oh
20:06:33  <andythenorth> are we doing it wrong? http://nogo.openttd.org/api/1.4.1/classGSCargoList__IndustryAccepting.html
20:06:58  <andythenorth> no that’s a different function, similar name
20:07:22  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has quit [Quit: leaving]
20:13:52  <andythenorth> can’t see anything obviously wrong in script_industrylist.cpp
20:14:05  <andythenorth> L26 or so
20:14:06  <andythenorth> but by C++ is bad
20:14:39  <andythenorth> my *
20:14:39  <Alberth> you should probably print the data to check what goes in
20:14:50  <andythenorth> hmm
20:16:29  <andythenorth> no idea how to do that :)
20:16:38  <andythenorth> google was not my friend
20:17:42  <Alberth> http://noai.openttd.org/api/trunk/classAIIndustryList__CargoAccepting.html     AI also has it, so it's likely the same thing
20:19:29  <Alberth> it's unlikely that no AI ever used this function :)
20:22:09  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has joined #openttd
20:22:37  <Alberth> indeed, code looks fine on first sight
20:24:55  <Alberth> https://paste.openttdcoop.org/p29unkvwv  this is what pathzilla does
20:25:28  <andythenorth> is that scoping a list before using it?
20:26:29  <Alberth> local indList = AIList();  indList.AddList(... cargo_accepting (... ) )
20:27:14  <Alberth> it does add for each cargo, which would seem to give a lot of duplicates to me
20:28:17  * andythenorth experiments
20:28:43  <Alberth> doesn't work here
20:29:45  <andythenorth> me neither
20:29:52  <andythenorth> I get different length lists
20:29:58  <andythenorth> but always industry index 0
20:32:38  <Alberth> Accept: adding industry 4
20:32:38  <Alberth> Accept: adding industry 10
20:32:38  <Alberth> Accept: adding industry 26
20:32:38  <Alberth> Producing: adding industry 8
20:32:38  <Alberth> Producing: adding industry 22     <-- c++ code seems to work
20:34:52  <andythenorth> hmm
20:36:02  *** Progman [~progman@p57A187C6.dip0.t-ipconnect.de] has joined #openttd
20:40:49  <Alberth> ha!
20:41:03  <Alberth> foreach (accept_ind, _ in accept_inds) {
20:41:11  <Alberth> ie add ", _"
20:41:25  <Alberth> you get a pair of values for some reason
20:46:27  *** Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
20:53:04  *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
21:04:14  <peter1138> 3
21:04:14  <peter1138> 20:54 < adept256> also the les paul sg is for midgets
21:04:14  <peter1138> 20:54 < petern> Also his neck is massive.
21:04:15  <peter1138> 20:54 < adept256> which doesn't surprise my when he gets a mandolin
21:04:15  <peter1138> 20:54 < petern> (Is that relevant?)
21:04:17  <peter1138> 20:54 < adept256> for the acoustic bass?
21:04:21  <peter1138> ...
21:04:46  <peter1138> why did it paste 5 lines before asking me if i wanted to paste... :S
21:19:44  <andythenorth> :)
21:19:56  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has quit [Quit: leaving]
21:44:24  *** tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
21:44:27  *** mode/#openttd [+v tokai|noir] by ChanServ
21:44:43  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has joined #openttd
21:48:29  *** tokai|mdlx [~tokai@port-92-195-22-83.dynamic.qsc.de] has quit [Ping timeout: 480 seconds]
22:02:44  <Wolf01> 'night
22:02:52  *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
22:09:59  *** Tirili [~chatzilla@dslc-082-083-143-074.pools.arcor-ip.net] has joined #openttd
22:14:36  *** andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has left #openttd []
22:37:59  *** Tirili [~chatzilla@dslc-082-083-143-074.pools.arcor-ip.net] has quit [Quit: ChatZilla 0.9.91.1 [SeaMonkey 2.31/20141206170135]]
22:39:33  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Quit: Nettalk6 - www.ntalk.de]
22:39:49  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has joined #openttd
23:21:21  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Remote host closed the connection]
23:21:43  *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
23:28:20  *** MTsPony [~MTsPony@008-086-128-083.dynamic.caiway.nl] has quit []
23:30:08  *** MTsPony [~MTsPony@008-086-128-083.dynamic.caiway.nl] has joined #openttd
23:30:23  *** MTsPony [~MTsPony@008-086-128-083.dynamic.caiway.nl] has quit []
23:33:24  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has quit [Ping timeout: 480 seconds]
23:40:15  *** MTsPony [~MTsPony@008-086-128-083.dynamic.caiway.nl] has joined #openttd
23:42:25  *** sla_ro|master [slamaster@95.76.27.245] has quit []
23:46:01  *** Jinassi [~jinassi@0001ec72.user.oftc.net] has quit [Quit: Nettalk6 - www.ntalk.de]
23:54:52  *** mgpl [~mgpl@176-58-16-246.net.e-cho.pl] has joined #openttd

Powered by YARRSTE version: svn-trunk