Back to Home / #openttd / 2015 / 07 / Prev Day | Next Day
#openttd IRC Logs for 2015-07-12

---Logopened Sun Jul 12 00:00:06 2015
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
02:24-!-andythenorth [] has joined #openttd
02:30-!-sla_ro|master [slamaster@] has joined #openttd
02:40-!-andythenorth [] has quit [Quit: andythenorth]
02:53-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
02:53-!-mode/#openttd [+o Alberth] by ChanServ
02:54<@Alberth>Eddi|zuHause: The proper jargon term for NML is "declarative"
02:54-!-Pokka [] has joined #openttd
02:54-!-roidal [] has joined #openttd
03:01-!-Pikka [] has quit [Ping timeout: 480 seconds]
03:17-!-andythenorth [] has joined #openttd
03:17<andythenorth>Pokka: tilt?
03:23<@Alberth>only if you're in a big hurry?
03:24<@Alberth>hmm, maybe for coal and other heavy stuff, it's useful to have it sooner
03:25<andythenorth>what does it do
03:26*andythenorth yields computer to 5 year old :(
03:26<andythenorth>he’s drawn thomas and put it in the game
03:36<Supercheese>doot doot
03:37<Supercheese>I'm honestly very surprised no complete Thomas set has ever emerged for OTTD
03:38<@Alberth>copyright troubles, mostly
03:39<@Alberth>doesn't tilt rotate the wagons into corners, for better stability?
03:40<Pokka>tilt to you too
03:40-!-Pokka is now known as Pikka
03:40<Pikka>andythenorth, it makes trains slow down less on corners
03:43<@Alberth>I wonder why they don't tilt the tracks themselves?
03:50<andythenorth>there is an aborted Sodor set somewhere
03:50<andythenorth>and Dan wants to do one
03:53<andythenorth>should I tilt something?
03:53*andythenorth needs to do a horse update anyway
03:53<andythenorth>tilting narrow gauge? o_O
03:55<andythenorth>powered wagons
03:55<andythenorth>livery overrides
03:55<andythenorth>air drag
03:55<andythenorth>Iron Horse must to use all these things?
03:55<andythenorth>seems I am not using the spec properly
04:01<Supercheese>eh I think there is some default the game uses when you don't specify air drag
04:01<Supercheese>which should be "good enough"
04:08-!-Progman [] has joined #openttd
04:30<andythenorth>Alberth: CreateChallenge() is the place to add ‘goal already fulfilled’ checks?
04:31<@Alberth>sounds like it
04:32<andythenorth>or maybe FindChallenge()
04:32<andythenorth>ah this might have potential
04:32<andythenorth>if (cdata != null && cdata.HasGoal(cargo.cid, accept)) continue; // Prevent duplicates.
04:33<andythenorth>cdata.HasGoal could be cdata.HasGoalEver
04:33<@Alberth>that's current goal check
04:33<andythenorth>or history.HasGoal
04:33<andythenorth>or such
04:34<@Alberth>you may want to keep both concepts separate, in case we want to tweak either one in the future
04:35<andythenorth>the history has to be per-company
04:35<andythenorth>eh, what happens if a company is purchased? o_O
04:36<Supercheese>fast food, apparently
04:38<andythenorth>copy HasGoal() and call it HasHadGoal()
04:40<andythenorth>HasHadAndWonGoal() is actually what’s needed
04:40<andythenorth>failed goals can be re-issued
04:41<andythenorth>Alberth: I’m not missing a really obvious list of goals won?
04:41<andythenorth>I don’t expect one and can’t see one
04:41<@Alberth>expectations match reality :)
04:41-!-Progman [] has quit [Remote host closed the connection]
04:41<andythenorth>UpdateDelivered() seemed the place to look
04:42<@Alberth>nah, that's for handling cargo that has been delivered for running goals
04:42<@Alberth>I don't keep track of things done in the past
04:42<andythenorth>I can’t see where won goals are cleared from active_goals
04:43*andythenorth looks more
04:43<@Alberth>too busy for that :)
04:43<@Alberth>it's done indirectly iirc
04:45<andythenorth>that would be the place to move the goal to won_goals
04:46<@Alberth>line 420 return {cmon=cmon, finished_goals=finished}; I think
04:46<@Alberth>ah, indeed, you are correct
04:47<andythenorth>stopped clock, twice a day
04:48<@Alberth>doesn't a 'running clock' stop every second?
04:48<@Alberth>line 515 company.nut this.active_goals[num] = null; kills the goal
04:52<andythenorth>looks like there are a *lot* of cases to handle cleaning up save / load
04:52<andythenorth>I guess won_goals would need to be handled the same
05:03-!-HerzogDeXtEr [] has joined #openttd
05:05<@Alberth>you just keep some set-like thing, and add it to save/load?
05:05<@Alberth>not sure what you mean by "a lot of cases"
05:08<andythenorth>LoadCompany() and such
05:08<andythenorth>not that many actually
05:10*andythenorth just doesn’t know what he doesn’t know
05:10<andythenorth>and what might go wrong :P
05:15-!-Pensacola [] has joined #openttd
05:15<@Alberth>at worst, script may die :)
05:16<@Alberth>you may want to increment the version, so old savegames are not loadable any more
05:16<@Alberth>unless you deal with optional existence of your set of old goals
05:17<andythenorth>can probably fail silently
05:18<andythenorth>don’t think it matters much
05:18<andythenorth>create won_goals if it doesn’t exist
05:19<@Alberth>iirc you get the version number of the loaded game, you can check that for deciding whether the list exists
05:24-!-Pensacola [] has quit [Ping timeout: 480 seconds]
05:30*andythenorth has stuff to do, but will come back to this later
05:30<andythenorth>ideal single-feature project :)
05:35-!-__ln_ [~user@] has joined #openttd
05:38*andythenorth is super-bored of making newgrf
05:38<andythenorth>and needs something different
05:41<andythenorth>GS will do the job
05:46-!-tycoondemon2 [] has quit []
05:46-!-__ln_ [~user@] has quit [Read error: Connection reset by peer]
05:46-!-tycoondemon [] has joined #openttd
05:56-!-andythenorth [] has quit [Ping timeout: 480 seconds]
05:59-!-frosch123 [] has joined #openttd
05:59-!-Wormnest [] has joined #openttd
06:04-!-wicope [] has joined #openttd
06:20-!-Wormnest_ [] has joined #openttd
06:26-!-Wormnest [] has quit [Ping timeout: 480 seconds]
06:35-!-Hiddenfunstuff [] has joined #openttd
07:31-!-Supercheese is now known as Guest4781
07:31-!-Supercheese [] has joined #openttd
07:37-!-Guest4781 [] has quit [Ping timeout: 480 seconds]
07:44-!-zeknurn [] has quit [Read error: Connection reset by peer]
07:44-!-andythenorth [] has joined #openttd
07:47-!-fjb [] has joined #openttd
07:49-!-jottyfan [] has joined #openttd
07:55<@Alberth>hi jottyfan, Bee Reward has an issue with step sizes, can you please have a look at it?
08:18-!-Myhorta [] has joined #openttd
08:24-!-Pikka [] has quit [Ping timeout: 480 seconds]
08:29-!-wicope [] has quit [Remote host closed the connection]
08:36-!-fjb is now known as Guest4785
08:36-!-fjb [] has joined #openttd
08:39-!-Pikka [] has joined #openttd
08:43-!-Guest4785 [] has quit [Ping timeout: 480 seconds]
08:44*andythenorth mumbles and waves
08:44<andythenorth>something about “people should try snakebite FIRS, it’s much better than old FIRS”
08:45-!-Pikka [] has quit [Read error: Connection reset by peer]
08:46<andythenorth>about 400 commits better :P
08:49<@Alberth>firs 2.0 alpha 1 :)
08:50<andythenorth>you want fruit store delivery? :P
08:53<@Alberth>oh, "people" was just random persons in this channel? :)
08:57<andythenorth>anyone even
08:58<andythenorth>even Baldy’s Boos
08:58<andythenorth>perhaps not
09:08<@Alberth>jottyfan: please push ?
09:09<@Alberth>ah, ok
09:09<@Alberth>I was bored with my current game anyway, so yeah, I can play a bit
09:12*andythenorth afk bbl
09:13<jottyfan>@Alberth: sorry, thought I still did
09:13<jottyfan>now I have
09:13<@Alberth>yeah, common mistake :)
09:16-!-sla_ro|master [slamaster@] has quit []
09:22<@Alberth>jottyfan: bananas doesn't like me as author of the project, so it'll take a little longer
09:32<@Alberth>jottyfan: released
09:53-!-Goddesen [~quassel@] has quit [Remote host closed the connection]
10:16-!-gelignite [] has joined #openttd
10:21-!-wicope [] has joined #openttd
10:37-!-HerzogDeXtEr1 [] has joined #openttd
10:41-!-sla_ro|master [slamaster@] has joined #openttd
10:43-!-HerzogDeXtEr [] has quit [Ping timeout: 480 seconds]
11:05<jottyfan>perfect, thanks
11:12-!-smoke_fumus [~smoke_fum@] has quit [Read error: Connection reset by peer]
11:12-!-smoke_fumus [~smoke_fum@] has joined #openttd
11:15-!-HerzogDeXtEr1 [] has quit [Ping timeout: 480 seconds]
11:15-!-glx [] has joined #openttd
11:15-!-mode/#openttd [+v glx] by ChanServ
11:21-!-HerzogDeXtEr [] has joined #openttd
11:29-!-Wormnest_ [] has quit [Quit: Leaving]
11:43-!-andythenorth [] has left #openttd []
12:05-!-Myhorta [] has quit [Quit: Leaving]
12:14-!-wicope [] has quit [Quit: Leaving]
12:15-!-zeknurn [] has joined #openttd
12:27<frosch123> <- enable yapf cache debugging with the usual desync cache debugging, instead of via a #define
12:33<Eddi|zuHause>frosch123: did that ancient report/fix that i dug out help in any way?
12:33<frosch123>no, yapf looks entirely different these days
12:40-!-smoke_fumus [~smoke_fum@] has quit [Read error: Connection reset by peer]
12:43<@Alberth>I wonder if we should keep the #define as well, or debugging yapf gets messy with all the desync output?
12:44<frosch123>desync only gets messy starting with level 3 :)
12:44<frosch123>at level 2 it's all about checking caches
12:45<frosch123>which "should" never print anything
12:47<frosch123>hmm, ok, it also prints commands, but that should not be much either
12:47<frosch123>anyway, when attaching it to multiple conditions, i do not know what "stream" to assign it to
12:48<frosch123>"desync" stream goes to commands-out.log
12:48<frosch123>the other ones go to console
12:56<@Alberth>fair enough
13:02<@Alberth>patch looks fine
13:06<@DorpsGek>Commit by frosch :: r27332 trunk/src/pathfinder/yapf/yapf_rail.cpp (2015-07-12 19:06:02 +0200 )
13:06<@DorpsGek>-Change: Enable YAPF cache debugging with desync debug level 2.
13:09-!-Progman [] has joined #openttd
13:14-!-Goddesen [~quassel@] has joined #openttd
13:41-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
13:53-!-liq3 [] has quit []
13:53-!-HerzogDeXtEr [] has joined #openttd
14:01-!-HerzogDeXtEr [] has quit [Quit: Leaving.]
14:01-!-HerzogDeXtEr [] has joined #openttd
14:07-!-Wormnest [] has joined #openttd
15:07-!-roidal [] has quit [Quit: WeeChat 1.2]
15:38-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
15:54-!-jottyfan [] has quit [Quit: Konversation terminated!]
16:16-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:41-!-Wormnest [] has quit [Read error: Connection reset by peer]
16:42-!-Wormnest [] has joined #openttd
16:45-!-sla_ro|master [slamaster@] has quit []
17:09-!-gelignite [] has quit [Quit:]
17:48-!-DDR [] has quit [Ping timeout: 480 seconds]
18:03-!-Wormnest [] has quit [Quit: Leaving]
18:17-!-Progman [] has quit [Remote host closed the connection]
18:26-!-Biolunar [] has joined #openttd
18:54-!-Biolunar [] has quit [Read error: Connection reset by peer]
20:15-!-HerzogDeXtEr [] has quit [Quit: Leaving.]
20:35-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd
20:55-!-DDR [] has joined #openttd
21:13-!-Hiddenfunstuff [] has quit [Quit: Try HydraIRC -> <-]
21:41-!-glx [] has quit [Quit: Bye]
22:14-!-liq3 [] has joined #openttd
22:23-!-Supercheese [] has quit [Read error: Connection reset by peer]
22:23-!-Supercheese [] has joined #openttd
22:33-!-fjb [] has quit [Ping timeout: 480 seconds]
22:53-!-smoke_fumus [~smoke_fum@] has joined #openttd
---Logclosed Mon Jul 13 00:00:07 2015