Config
Log for #openttdcoop.pro on 24th November 2016:
Times are UTC Toggle Colours
00:29:27  <Sylf> what's up
00:29:37  <Lejving> we're thinking yeti is dun goofed again
00:29:46  <Lejving> and I'm wondering if you can explain something to me
00:30:37  <Lejving> http://dev.openttdcoop.org/projects/yeti/repository/revisions/0a840c6821e8/entry/src/production_callbacks.pnml
00:30:45  <Lejving> 187
00:30:59  <Lejving> why  is it using 0x13 there? I couldn't figure it out
00:31:21  <Lejving> also is 190 really the correct formula?
00:33:38  <Sylf> hold on
00:33:56  <Lejving> http://pastebin.com/PMjAhykK
00:34:05  <Lejving> I tried making a python script to calculate it
00:35:07  <Sylf> 1. industry_4X_yeti_worker_yard.pnml calls produce_worker_yard
00:36:17  <Sylf> 2. when the game is in town-pop based mode, it calls produce_worker_yard_std
00:36:37  <Lejving> right
00:36:37  <Sylf> ok, so that's where we're at
00:36:43  <Lejving> good =)
00:36:59  <Sylf> wait, no, not yet.
00:37:47  <Sylf> 3. In produce_worker_yard_std, it stores town population to 0x14.  number of houses to 0x15.  and initializes 0x11, 0x12 and 0x13.
00:37:58  <Sylf> It also stores number of ticks in a month to 0x17.
00:38:12  <Lejving> agreed
00:38:17  <Lejving> 0x11 bdmt conusmed
00:38:21  <Lejving> 0x12 food consumed
00:38:28  <Lejving> 0x13 yeti produced
00:38:42  <Sylf> And if the population of the town is 0, then the logic skips to produce_worker_yard_final
00:38:58  <Sylf> if there are more than 0 population, then it calls produce_worker_yard_std2
00:39:21  <Lejving> I love this debugging btw
00:39:23  <Sylf> In produce_worker_yard_std2
00:41:54  <Sylf> 4.1 amount_of_food_consumed = min( (town_population / "POPULATION_BONUS_PERCENT" * 256 / TICKS_IN_A_MONTH), unprocessed_food)
00:42:02  <Sylf> WTF does that line mean
00:42:23  <Lejving> min = math
00:42:26  <Sylf> ok, population bonus percent is a hard constant of 5
00:42:35  <Lejving> yes
00:42:47  <Sylf> so, if there are 2000 population, and 200 tons of food
00:42:49  <Lejving> food_consumed = town_pop / 5 * 256 / ticks_31_days
00:43:02  <Lejving> is what I simplified it to
00:43:23  <Sylf> 2000 / 5 * 256 / 2294
00:43:27  <Sylf> @calc 2000 / 5 * 256 / 2294
00:43:28  <Webster> Sylf: 44.6381865737
00:43:44  <Lejving> agreed
00:43:48  <Sylf> mmmkay
00:43:59  <Lejving> that doesn't seem too far fetched
00:44:17  <Lejving> so 0x12 in this scenario is 44
00:44:23  <Sylf> 4.2BDMT:  if there's no food, then don't consume BDMT.  else...
00:45:20  <Lejving> this is the line we fixed last time also
00:45:23  <Sylf> it's the same formula as food, except it looks at bdmt and number of houses
00:45:35  <Lejving> bdmt_consumed = houses / 5 * 256 / ticks_31_days
00:45:39  <Lejving> is what I simplified it to
00:45:55  *** happpy has quit IRC
00:46:21  <Lejving> @calc 50 / 5 * 256 * 2294
00:46:21  <Webster> Lejving: 5872640
00:46:29  <Lejving> oops
00:46:34  <Lejving> @calc 50 / 5 * 256 / 2294
00:46:34  <Webster> Lejving: 1.11595466434
00:46:56  <Lejving> so here I guess is another question, 44 food and 1 bdmt
00:47:18  <Lejving> seems like more bdmt could be consumed
00:47:38  <Lejving> (assuming 50 houses)
00:47:48  <Sylf> !pw
00:47:48  <coopserver> Sylf: casing
00:48:40  <coopserver> *** Game still paused (connecting clients, number of players)
00:48:43  <coopserver> *** Sylf has joined
00:48:44  <coopserver> *** Game still paused (number of players)
00:49:11  <coopserver> *** Sylf has left the game (Leaving)
00:50:39  <Sylf> yes, possibly.
00:51:03  <Sylf> Is that the issue?
00:51:05  <Lejving> nope
00:51:15  <Sylf> I didn't think so.
00:51:18  <Lejving> too few yeti is the issue
00:52:07  <Sylf> we broke the formula on line 187 when we fixed line 185
00:52:17  <Sylf> wait no
00:52:41  <Lejving> #0x16
00:52:41  <Lejving> bdmt_boost = food_consumed * 100 * _doesnotmakesense / houses * 5 / 100
00:54:25  <Sylf> before we fixed line 185, it was actually working fine.
00:54:31  <Sylf> We didn't fix anything the last time
00:54:48  <Lejving> well we fixed one thing but broke another =)
00:54:52  <Sylf> there was a disconnect between the comment and the code, but the code was doing exactly as designed
00:55:18  <Sylf> By changing 0x13 on line 187 to 0x11, the code is EXACTLY same as a week ago.
00:55:29  <Lejving> ok then it's something bigger
00:55:43  <Lejving> because it didn't update bdmt consumed before
00:55:45  <Sylf> line 189 is commented out, so 0x11 wasn't used anywhere at all
00:55:48  <Lejving> and it does now
00:55:58  <Sylf> wait...
00:56:25  <Sylf> 0x11 is being used in produce_worker_yard_final etc
00:56:53  <Sylf> so by fixing line 187, it should bring the yeti productiong level back to normal, and bdmt will be consumed as it should
00:57:22  <Lejving> good!
00:57:30  <Lejving> so basically change 0x13 to 0x11 on line 187
00:58:03  <Sylf> yes, that 'll fix the issue.
00:58:04  <Lejving> bdmt_boost = food_consumed * 100 * bdmt_consumed / houses(50) * 5 / 100
00:58:11  <Lejving> will the formula be then for 0x16
00:58:52  <Sylf> that formula looks seriously fucked up
00:59:09  <Sylf> why does it take house number into count for the second time, but not the population count?
00:59:25  <Lejving> good question
00:59:49  <Sylf> oh
00:59:56  <Sylf> wait WHAT
01:00:03  <Lejving> http://i.imgur.com/TxL3L6I.png
01:00:07  <Sylf> that's the amount of yeti production boost
01:00:11  <Sylf> from BDMT
01:00:28  <Sylf> so why is it taking food consumption into calculation....
01:00:40  <Sylf> line 187 is totally fucked up
01:00:42  <Lejving> lol I didn't even think that far
01:02:19  <Sylf> !pw
01:02:19  <coopserver> Sylf: fucked
01:02:23  <Lejving> LOL accurate
01:02:45  <coopserver> *** Game still paused (connecting clients, number of players)
01:02:48  <coopserver> *** Sylf has joined
01:02:49  <coopserver> *** Game still paused (number of players)
01:03:06  <Sylf> so, the number of population to building ratio is about 100:1
01:03:14  <coopserver> *** Sylf has left the game (Leaving)
01:03:27  <Lejving> something like that
01:04:19  <Sylf> if we boost the bdmt consumption by * 50, the bdmt consumption will rise, but still remain lower than food
01:04:37  <Sylf> so we can see some reason to use 5X industry
01:05:12  <Lejving> 2:1 seems like a good ratio to me
01:06:23  <Sylf> and I'm going to use that straight number as the yeti production boost
01:06:46  <Sylf> the logic now is somewhat simpler than before
01:09:11  <Sylf> ok http://dev.openttdcoop.org/projects/yeti/repository/diff?utf8=%E2%9C%93&rev=83bc5c9bfc40&rev_to=5bc2fb954731
01:10:44  <Sylf> compile farm status: https://jenkins.openttdcoop.org/job/yeti/259/console
01:11:10  <Sylf> when compile is done, it'll be pushed to http://bundles.openttdcoop.org/yeti/push/
01:11:29  <Sylf> you can grab that and test it in about 2 hours
01:11:48  <Lejving> cool will do
01:14:59  <Lejving> ok Sylf with the example of 2k pop and 50 houses a town will consume 44 food and 55 bdmt, will produce 110 yeti
01:15:14  <Lejving> need to check it with a real town
01:15:24  <Lejving> !pw
01:15:24  <coopserver> Lejving: raised
01:15:29  <coopserver> *** Game still paused (connecting clients, number of players)
01:15:32  <coopserver> *** Lejving has joined
01:15:33  <coopserver> *** Game still paused (number of players)
01:15:34  <coopserver> *** Game unpaused (number of players)
01:15:52  <Lejving> ok a real town was much better
01:16:00  <Lejving> 3109 pop, 24 houses
01:16:14  <Lejving> 69 food, 26 bdmt, 106 yeti
01:17:47  <Lejving> ok Sylf this is way better, we will get much more yeti now
01:17:50  <Lejving> well done
01:19:04  <Lejving> to reach maximum of yetis from a town (9180) you'll need like what a 350k town or so
01:19:08  <Lejving> seems like a good amount
01:20:09  <Lejving> I guess the locale is wrong now then, since it says 20% for food and 40% for food+bdmt
01:21:37  <coopserver> *** Lejving has left the game (Leaving)
01:21:38  <coopserver> *** Game paused (number of players)
01:33:45  <Sylf> yeah, the text probably is all wrong
01:39:35  *** mescalito has quit IRC
01:45:55  <Lejving> Sylf, you busy irl or something? you should come play with us on pz =)
01:49:20  *** mescalito has joined #openttdcoop.pro
02:04:47  <Sylf> maybe some day
02:05:00  <Sylf> i've been too lazy
02:05:04  <Lejving> ha
02:05:09  <Lejving> too lazy to play openttd :D
02:24:07  *** Alaura_ has joined #openttdcoop.pro
02:27:26  *** Alaura has quit IRC
03:42:04  <Lejving> !pw
03:42:04  <coopserver> Lejving: domain
03:42:13  <coopserver> *** Game still paused (connecting clients, number of players)
03:42:17  <coopserver> *** Lejving has joined
03:42:18  <coopserver> *** Game still paused (number of players)
03:42:19  <coopserver> *** Game unpaused (number of players)
03:42:30  <coopserver> *** Lejving has left the game (Leaving)
03:42:31  <coopserver> *** Game paused (number of players)
03:55:10  <Lejving> holy shit what a difference Sylf
03:55:20  <Lejving> works great now
03:55:44  <Lejving> you can make this as stable
06:50:56  *** Alaura_ has quit IRC
06:52:29  *** Alaura has joined #openttdcoop.pro
08:04:10  *** supermop has joined #openttdcoop.pro
08:10:31  *** supermop_ has quit IRC
08:27:42  <V453000> hello gentlemen :)
08:58:33  <V453000> @logs
08:58:34  <Webster> #openttdcoop IRC webstuff - IRC Log Viewer - http://webster.openttdcoop.org/
09:01:53  <V453000> holy motherfucker :D
09:01:58  <V453000> 350k town is kind of alot, you know :D
09:02:02  <V453000> but well, so is 10k yetis
09:25:05  *** StarLite has joined #openttdcoop.pro
09:25:05  *** ChanServ sets mode: +o StarLite
10:24:45  *** happpy has joined #openttdcoop.pro
11:47:32  *** happpy has quit IRC
13:02:35  *** happpy has joined #openttdcoop.pro
13:26:24  <Lejving> hey V453000
13:27:05  <Lejving> I guess it's pretty big but I tried it out and I got up to almost 4k with our current towns
13:27:22  <Lejving> so the cap is like a 100k town still big but yeah 9k yetis
13:29:40  <V453000> wait so 350k town or 100k town for 9k yetis? :D
13:32:30  <Lejving> I think 100k
13:32:33  <Lejving> would have to test it out
13:33:29  <happpy> hey
13:33:32  <Lejving> anyways it's working much better now
13:33:35  <Lejving> hey happpy
13:33:53  <V453000> great :)
13:33:59  <V453000> 100k for max production sounds reasonable to me
13:34:11  <happpy> how things
13:34:27  <V453000> it would be nice if you checked how pax-oriented yeti works
13:34:50  <V453000> and make the towns scale similarly ... I guess for pax-oriented you would need a bit bigger town, with industry oriented smaller
13:35:36  <Lejving> yeah can test it out sometime
14:26:26  *** Alaura has quit IRC
16:55:55  <Jam35> !pw
16:55:55  <coopserver> Jam35: player
16:56:03  <coopserver> *** Game still paused (connecting clients, number of players)
16:56:06  <coopserver> *** Jam35 has joined
16:56:07  <coopserver> *** Game still paused (number of players)
16:56:15  <coopserver> *** Jam35 has joined company #1
16:56:16  <coopserver> *** Game unpaused (number of players)
16:57:27  <coopserver> *** Jam35 has left the game (Leaving)
16:57:28  <coopserver> *** Game paused (number of players)
16:59:56  <V453000> yo mf
17:02:30  <Jam35> hi
17:02:59  <Jam35> when will the new YETI be on bananas?
17:03:04  <Lejving> hey
17:03:09  <Jam35> hoi
17:08:21  <Lejving> yeah V453000 when the fuck will it be on bananas
17:08:28  <Lejving> fucker!
17:11:03  <V453000> when you fucks compile a release :)
17:11:11  <Lejving> like there aren't one already
17:11:22  <V453000> I thought you just made push version?
17:11:47  <Lejving> oh yeah you ahve to compile it again for release?
17:11:49  <Lejving> dafuq
17:11:49  <V453000> http://bundles.openttdcoop.org/yeti/releases/
17:11:51  <V453000> mf
17:11:51  <V453000> yep
17:11:57  <V453000> you have to give it tag 1.6.0
17:11:58  <Lejving> well start it now then
17:12:01  <Lejving> ?
17:12:13  <V453000> I can't push shit from here
17:12:16  <V453000> only have hg at home
17:12:21  <Lejving> ah
17:12:25  <Lejving> Sylf, fuckaaaah
17:53:32  *** Arveen has joined #openttdcoop.pro
18:05:30  *** Progman has joined #openttdcoop.pro
18:16:37  *** tycoondemon has quit IRC
18:55:13  *** tycoondemon has joined #openttdcoop.pro
20:16:48  <Mark> yoyo
20:16:53  <Mark> !pw
20:16:53  <coopserver> Mark: widget
20:16:58  <coopserver> *** Game still paused (connecting clients, number of players)
20:17:04  <coopserver> *** Mark has joined
20:17:05  <coopserver> *** Game still paused (number of players)
20:17:06  <coopserver> *** Game unpaused (number of players)
20:17:39  <coopserver> *** Mark has joined spectators
20:17:40  <coopserver> *** Game paused (number of players)
20:28:00  <Lejving> hey mark
20:28:17  <Lejving> we're waiting for yeti update sylf fixed yesterday
20:28:22  <Lejving> just need it on bananas
20:33:07  <V453000> yo mF
20:35:33  <V453000> Lejving: this right? http://dev.openttdcoop.org/projects/yeti/repository/revisions/83bc5c9bfc40/entry/src/production_callbacks.pnml
20:35:38  <V453000> last commit 19 hours ago
20:36:03  <V453000> please confirm and I will push 0.1.6 tag
20:36:34  <V453000> LEJVING WANKING
20:36:38  <V453000> GET HERE
20:40:20  <Lejving> WHAT THE FUCK
20:40:22  <Lejving> I WAS WANKING
20:40:47  <Lejving> yes V453000 that's correct you may push
20:41:08  <V453000> GO FUCK YOURSELF I ALREADY PUSHED
20:41:13  <Lejving> BEEN THERE DONE THAT
20:41:23  <V453000> AGAIN
20:41:26  <Lejving> OK
20:41:42  <V453000> in other news I have continued my LLLL_RRRR heaven in factorio
20:41:45  <V453000> it's glorious
20:41:48  <V453000> but it jams again ._.
20:41:50  <Lejving> pics or it didn't happen
20:41:55  <V453000> adding lines is stupidly inefficient
20:42:06  <V453000> hmmm, don't have pics here right now
20:42:15  <V453000> could obtain revision from work but rather tomorrow
20:42:49  <Lejving> =)
20:43:05  <Lejving> we will have to change the 2:1 split
20:43:10  <Lejving> no not the 2:1
20:43:22  <Lejving> we will have to change the what 9:1 split for bdmt/food TO 2:1
20:44:03  <Lejving> it's using much more bdmt now
20:45:40  <V453000> mhm
20:45:55  <V453000> id say reconsider after seeing WTF does it do with the new yeti XD
20:47:13  <Lejving> http://i.imgur.com/QvA32QT.png
20:47:15  <Lejving> here's what it does
20:47:16  <Lejving> :P
20:49:08  <V453000> dafok
20:50:25  <V453000> https://jenkins.openttdcoop.org/job/yeti/
20:50:35  <V453000> when 261 finishes (when I wake up), I will push it to bananz
20:51:11  <Lejving> coolio
20:53:46  <V453000> k building new version at work
20:53:48  <V453000> just cause of your ass
21:17:23  *** StarLite has quit IRC
21:42:32  *** Arveen has quit IRC
21:42:35  <V453000> Lejving: https://dl.dropboxusercontent.com/u/20419525/_FACTORIO/rail-mayhem.png
22:08:05  <Lejving> lookin good V453000
22:08:35  <V453000> buildin moar
22:08:47  <V453000> I will eventuall get rid of the 3-slot limit for trains
22:08:53  <V453000> should be good
22:09:51  <V453000> there is also new research which increases train braking speed, and better fuel gives better train stats now
22:09:58  <Lejving> cool
22:10:10  <V453000> researching rocket silo for rocket fuel atm
22:10:31  <V453000> +80% acceleration sounds retarded
22:10:44  <V453000> but hey thats why I test it
22:10:53  <Lejving> can get pretty good accel with exo skeletons also I think
22:11:05  <V453000> train with exoskeletons?
22:11:07  <Lejving> yeah
22:11:08  <V453000> jesus fuck :D
22:11:12  <Lejving> :D
22:11:13  <Lejving> it works
22:11:24  <V453000> I am considering if I am surprised
22:11:27  <V453000> not sure
22:16:25  <V453000> nice
22:16:39  <V453000> people started working on nuclear power so all of my steam engines are off XD
22:16:44  <V453000> glad I slowly started going towards solar
22:16:45  <Lejving> rekt
22:16:46  <Lejving> :
22:16:48  <Lejving> :D
22:18:41  <V453000> the high traffic is awesome to look at
22:18:45  <V453000> worse with dodging
22:19:45  <Lejving> get lejv armor, add like 20 energy armor thingies
22:19:48  <Lejving> and you stop trains with your body
22:19:50  <Lejving> :D
22:19:54  <Lejving> also run faster than them
22:19:58  <Lejving> with 20 exoskeletons
22:20:56  <V453000> well yeah it has it's use
22:20:57  <V453000> :)
22:20:59  <V453000> but no
22:21:06  <V453000> want to keep it vanilla
22:21:08  <Lejving> stupidly op
22:21:26  <V453000> the fact that I play on development version without any guarantee of save compatibility is fucked up enough
22:21:39  <V453000> luckily I can always come to some programmer and ask them to fix my save :D
22:21:52  <V453000> they usually swear but do it in the end
22:21:59  <Lejving> haha
22:22:12  <Lejving> I heard them trash talk the "slow graphic designers" in #factorio
22:22:21  <Lejving> they deserve to fix some saves
22:22:29  <V453000> foqrs
22:22:51  <V453000> they just dont understand that making things hires isn't just render x2, done
22:24:44  <Lejving> http://i.imgur.com/1vLLI3A.png
22:26:13  <V453000> gg ez
22:29:48  <V453000> am honestly considering to suggest increasing of grid sizes as infinite research
22:29:55  <V453000> since the tank also probably is going to have grid, it would be nice
22:30:07  <Lejving> you mean cargo size?
22:30:25  <V453000> no, equipment grid for power armor and everything that has teh grid
22:30:29  <Lejving> ah
22:30:31  <Lejving> well yeah why not
22:30:44  <V453000> in the end game you kind of want that
22:31:09  <V453000> ofc to get to lejving level armor you would need to spend fuckload of eternities to research it, but you theoretically could
22:31:14  <Lejving> yeah it comes to a point where you can make billions of shit but what you can't have more than one exo skeleton in your armor?!
22:31:44  <V453000> well it's sensibly on your legs, yknow :D
22:31:51  <Lejving> like surely you'd have that technology
22:31:52  <Lejving> :D
22:31:57  <V453000> but yeah
22:31:57  <Lejving> well ok better exo skeletons then!
22:33:11  <V453000> true actually
22:33:23  <V453000> every part of factorio scales, but the player only in follower faggot count
22:41:07  <Lejving> V453000, give me an idea to play solo openttd on
22:41:34  <V453000> 256x256
22:41:45  <V453000> TL5 strong class -> chameleon -> slugs endgame
22:41:57  <V453000> connect everything, grow industries, wreck shit
22:43:24  <Lejving> done deal
22:43:35  <V453000> I've played this way many times
22:43:56  <V453000> don't forget to obtain retarded amount of trains
22:44:02  <V453000> slugs with CL1.5 allow for mayhem
22:44:25  <Lejving> :D
22:45:56  <V453000> report progress
23:02:21  <Lejving> ok progress so far: can't get a train to exit a depot
23:02:33  <V453000> gg
23:02:34  <Lejving> wtf am I doing wrong
23:02:36  <V453000> factorio has no depots, auto win
23:03:05  <Lejving> I'm using the slug, maglev and refitted it to coal
23:03:17  <Lejving> won't leave the fucking depot
23:03:31  <V453000> any error message?
23:03:36  <Lejving> nope
23:03:42  <V453000> screenshot or death
23:03:48  <Lejving> just says no orders
23:04:16  <V453000> what
23:04:30  <Lejving> http://i.imgur.com/A3NCprn.jpg
23:04:54  <Lejving> ok
23:04:55  <Lejving> fuck me
23:04:55  <Lejving> irl
23:04:58  <Lejving> hahahahaha
23:05:05  <Lejving> SHIT IS BUGGED
23:05:21  <Lejving> *cough presses unpause*
23:05:25  <V453000> XD
23:07:08  <Lejving> it's like when you think your sound is broken
23:07:10  <Lejving> and you try everything
23:07:15  <Lejving> and oops apparantely had it on mute
23:07:15  <Lejving> :P
23:08:18  <V453000> yes
23:14:42  *** Progman has quit IRC
23:27:16  <Lejving> it feels like cheating with 1 cl :P
23:27:26  <Lejving> but nizzee

Powered by YARRSTE version: svn-trunk