Log for #openttd on 11th July 2020:
Times are UTC Toggle Colours
00:01:24  *** gelignite has quit IRC
00:45:04  *** Wormnest has quit IRC
01:10:41  *** Wormnest has joined #openttd
02:03:12  *** Wormnest has quit IRC
02:16:23  *** keoz has quit IRC
02:34:20  *** Wormnest has joined #openttd
02:41:00  *** glx has quit IRC
02:57:25  *** debdog has joined #openttd
03:00:50  *** D-HUND has quit IRC
03:13:10  *** Flygon has joined #openttd
03:16:11  *** Wormnest has quit IRC
05:14:39  *** snail_UES_ has quit IRC
05:18:14  *** supermop_Home_ has quit IRC
06:09:56  *** debdog has quit IRC
06:24:56  *** cHawk_ has joined #openttd
06:30:59  *** cHawk- has quit IRC
06:57:03  *** nielsm has joined #openttd
06:57:32  *** cHawk_ has quit IRC
07:04:41  *** Progman has joined #openttd
07:08:19  *** HoppyHaus has quit IRC
07:15:57  *** Wolf01 has joined #openttd
07:16:29  *** andythenorth has joined #openttd
07:17:55  <andythenorth> yo
07:18:04  <Wolf01> o/
07:18:51  <andythenorth> should I get a reddit account? :P
07:18:53  <andythenorth> oof
07:19:18  <Wolf01> Nah, keep the social distance
07:25:17  *** iSoSyS has joined #openttd
07:40:38  <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on pull request #8268: Change: Sort cargo payment rates legend in order of (initial) cost instead of alphabetically
07:53:56  <DorpsGek_III> [OpenTTD/OpenTTD] ldpl commented on pull request #8268: Change: Sort cargo payment rates legend in order of (initial) cost instead of alphabetically
07:58:44  <DorpsGek_III> [OpenTTD/OpenTTD] James103 commented on pull request #8268: Change: Sort cargo payment rates legend in order of (initial) cost instead of alphabetically
08:07:25  *** iSoSyS has joined #openttd
08:09:20  *** keoz has joined #openttd
08:19:02  *** sla_ro|master has joined #openttd
08:27:12  *** gelignite has joined #openttd
08:34:28  *** andythenorth has quit IRC
08:56:14  *** HerzogDeXtEr has joined #openttd
09:12:57  *** andythenorth has joined #openttd
09:29:51  *** Borg has joined #openttd
09:30:03  *** sla_ro|master has quit IRC
11:27:00  *** gelignite has quit IRC
11:41:28  *** andythenorth has quit IRC
11:47:42  *** sla_ro|master has joined #openttd
12:14:18  *** glx has joined #openttd
12:14:19  *** ChanServ sets mode: +v glx
12:16:01  *** sla_ro|master has quit IRC
12:16:59  *** cHawk has joined #openttd
12:20:49  *** andythenorth has joined #openttd
12:28:39  *** cHawk- has joined #openttd
12:34:43  *** cHawk has quit IRC
14:09:02  *** tokai|noir has joined #openttd
14:09:02  *** ChanServ sets mode: +v tokai|noir
14:16:02  *** tokai has quit IRC
14:44:24  *** Wormnest has joined #openttd
15:34:42  *** sla_ro|master has joined #openttd
16:01:54  *** snail_UES_ has joined #openttd
16:16:54  *** iSoSyS has joined #openttd
17:28:36  *** Flygon has quit IRC
17:33:35  <andythenorth> hmm
17:47:08  <andythenorth> will I ever finish FIRS v4
17:47:09  <andythenorth> oof
18:21:36  *** iSoSyS has quit IRC
19:31:22  <andythenorth> can I take the industry xy value (80+ var 00) as a literal to make a UID?
19:32:12  <andythenorth> it's a word, I'm assuming it's conventionally split into 2 bytes to read xy?
19:32:19  <andythenorth> but I could just read it as a word
19:32:41  <andythenorth> I want a globally unique offset to prevent more than one industry closing in a month
19:34:04  <andythenorth> no this approach is flawed, industries may have different build dates :x
19:34:05  <andythenorth> meh
19:34:32  <andythenorth> also on large maps, lots of industries probably should close in the same month
19:36:59  <andythenorth> I guess only GS can really close industry in any useful way
19:37:56  <Eddi|zuHause> why would that even be a goal to aim for?
19:40:49  <andythenorth> having GS close industry?
19:42:23  <Eddi|zuHause> no, "only one industry closes at a time"
19:46:52  <andythenorth> last time I tested FIRS closure code, it produced waves of closures
19:47:14  <andythenorth> I never use the setting, but now I have to update it for 16-cargo industry as it checks delivered cargo
19:47:22  <andythenorth> which means I'll have to test it...
19:47:58  <andythenorth> wonder what would happen if I just deleted the setting?
19:49:26  * andythenorth asks forums
19:51:07  <nielsm> yeah I see the issue, industries from the start of the game all have the same age
19:51:17  <nielsm> so their chance to close occurs simultaneously
19:51:30  <nielsm> and then you suddenly have lots of room on the map for new industries
19:51:42  <nielsm> so lots spawn simultaneously
19:51:46  <nielsm> and the cycle repeats
19:53:24  *** FLHerne has quit IRC
19:55:09  *** FLHerne has joined #openttd
20:02:54  <andythenorth> I never play with industry closure so eh
20:02:57  <andythenorth> maybe I should
20:03:21  <andythenorth> a long time ago frosch told me to abandon trying to do it in newgrf
20:11:10  <nielsm> to even things out the best you can do is probably store a random value in permanent storage register on build and then let the production change cb depend on the last activity year adjusted by the random value
20:12:10  <andythenorth> yes, that's why I was looking for a unique ID
20:12:14  <andythenorth> I could just use random bits
20:12:16  <andythenorth> or town ID
20:12:29  <nielsm> town id should be fine I think?
20:12:46  <andythenorth> I wondered if that causes a town to lose all industries simultaneously
20:12:49  <andythenorth> quite realistic :P
20:12:51  <andythenorth> oof
20:13:09  <nielsm> town id + industry type? :)
20:13:14  <andythenorth> yes
20:13:24  <andythenorth> so 3 coal mines might all close at once
20:13:33  <andythenorth> quite similar to my childhood :P
20:14:28  <Borg> andythenorth: I fixed it.. by having GS..
20:14:47  <Borg> I start a map.. without industries at all... and GS preseeds map...
20:14:53  <Borg> but I guess its only good for random maps...
20:15:07  <Borg> I guess industry closure should be randomized a bit? like...
20:15:27  <Borg> if there is 5 years no supply.. it chance of closure should start to increase.. and reach 50% after a year?
20:15:39  <Borg> or 60% ? :) for nice numbers..
20:16:55  * andythenorth wonders what the upper range of town IDs is
20:17:00  <andythenorth> maybe they need normalised
20:17:03  <Borg> also.. there should be code.. to limit industry closures... to 1 per 2.5 days?
20:17:22  <andythenorth> that's just not possible in newgrf, which is why GS is required
20:17:26  <andythenorth> but then GS
20:17:30  <andythenorth> GS sucks imho
20:17:38  <Borg> well... I agree..
20:17:40  <andythenorth> but that's a broken record
20:17:41  <Borg> ints weird language
20:18:02  <Borg> I wonder why squirel script was used.. and not.. LUA?
20:18:05  <Borg> for example?
20:18:23  <Borg> but fsck it..
20:18:31  <Borg> dull talk.. we have it.. and we have to deal w/ it
20:18:47  <Borg> I still for example.. have totaly no clue.. how to use events in GS
20:19:14  <Borg> having basic C++ knowledge.. im really lost in GS
20:20:00  <andythenorth> players also want notification that industries are going to close
20:20:07  <andythenorth> but I don't want to waste industry window space on that
20:20:23  <andythenorth> closure, I never use it, wtf, how am I supposed to design the behaviour?
20:20:32  * andythenorth would accept a PR
20:20:43  <Borg> leave it as default?
20:20:44  <andythenorth> designing stuff I have zero interest in
20:20:47  <Borg> and dont bother?
20:22:29  <andythenorth> maybe yes
20:23:33  <Borg> anyway.. nite
20:26:52  <andythenorth> :)
20:33:20  <LordAro> Borg: OTTD's scripting interface predates lua
20:33:37  <LordAro> at least, lua having any sort of popularity
20:34:02  <Borg> LordAro: second is.. have more sense.. LUA first appear in 1993
20:34:04  *** smoke_fumus has joined #openttd
20:34:28  <LordAro> well, maybe
20:34:36  <LordAro> you'd have to ask TB, he picked it :p
20:34:40  <LordAro> we can't change it now
20:34:54  <LordAro> we can't even upgrade to squirrel 3 as it breaks existing code
20:36:19  <Borg> thats why we need moar good examples.. on WIKI..
20:36:34  <LordAro> i quite agree
20:37:02  <LordAro> at the very least, GS events is basically the same as AI event handling
20:37:07  <LordAro> which iirc does have a wiki page
20:37:26  <Borg> one question.. does event function is called on event? or I need to poll event manually?
20:37:47  <LordAro> you do need to poll events, yes
20:37:54  <Borg> ok...
20:37:59  <Borg> so for now.. I dont need them :>
20:40:14  *** Wormnest has quit IRC
20:48:47  *** WormnestAndroid has quit IRC
20:48:55  *** Borg has quit IRC
20:49:39  *** WormnestAndroid has joined #openttd
20:51:43  <glx> oh too late to point to
21:03:55  *** Wormnest has joined #openttd
21:04:34  *** sla_ro|master has quit IRC
21:16:37  *** andythenorth has quit IRC
21:19:48  *** iSoSyS has joined #openttd
21:20:42  *** iSoSyS has quit IRC
21:45:55  <_dp_> hm, that's an interesting desync...
21:48:15  <_dp_> or mb not exactly desync but smth weird is going on there for sure...
21:56:23  *** Wormnest has quit IRC
22:07:16  *** Wolf01 has quit IRC
22:25:06  <glx> _dp_: yeah looks weird, and can cause desync
22:25:31  <glx> not easily I guess, but still
22:26:41  *** smoke_fumus has quit IRC
22:31:18  *** nielsm has quit IRC
22:38:05  <_dp_> what's even weirder is that so far only androids seem to desync...
22:38:37  <_dp_> and where tf does androd put netsave? %)
22:53:22  <_dp_> hmm, found netsave but 121 ticks of difference is enough to hide all evidence :(
23:16:49  *** Progman has quit IRC
23:41:27  *** WormnestAndroid has quit IRC
23:42:11  *** WormnestAndroid has joined #openttd

Powered by YARRSTE version: svn-trunk