IRC logs for #openttd on OFTC at 2018-02-04
            
00:02:53 *** john-aj has quit IRC
00:20:35 *** Stimrol has joined #openttd
00:21:16 *** Flygon has joined #openttd
00:27:35 *** nielsm has joined #openttd
00:29:22 *** supermop has joined #openttd
00:32:31 <nielsm> hi I'm toying around with making a patch that adds a "cargo-tiles delivered" statistic to vehicles, as an alternate measure of vehicle usefulness than profit
00:32:35 <nielsm> http://0x0.st/sbR6.png
00:32:55 *** Samu has joined #openttd
00:33:17 <nielsm> the basic idea being that while vehicles in slow legs on feeder routes can end up showing a "false loss", it's still useful to know whether they're actually moving cargo around
00:35:31 <nielsm> (my dream is to replace the "min profit" component of performance rating with something that can actually be achieved when playing with cargodist for passengers, without making unrealistic routes where buses never link up with planes, etc.)
00:36:26 <nielsm> does this sound viable/something worth keep working on?
00:37:31 <nielsm> my current changeset, based on svn 27967: http://0x0.st/sb7-.patch
00:57:36 *** supermop has quit IRC
01:02:41 *** DDR has quit IRC
01:10:31 *** gelignite has quit IRC
01:10:37 *** supermop has joined #openttd
01:11:43 *** Progman has quit IRC
01:15:22 *** Lejving has quit IRC
01:16:42 *** nielsm has quit IRC
01:27:14 *** FLHerne has quit IRC
01:28:37 *** Samu has quit IRC
01:33:05 *** Snail has joined #openttd
01:36:02 *** Stimrol has quit IRC
01:40:41 *** supermop has quit IRC
01:49:29 *** chomwitt has joined #openttd
01:55:01 *** Thedarkb has joined #openttd
02:23:33 *** Gustavo6046 has quit IRC
02:23:34 *** glx has quit IRC
02:38:37 *** Biolunar has quit IRC
02:57:02 *** supermop has joined #openttd
03:10:03 *** HerzogDeXtEr has quit IRC
03:28:15 *** Supercheese has joined #openttd
03:48:16 *** Thedarkb has quit IRC
04:01:55 *** ToffeeYogurtPots has quit IRC
04:01:59 *** chomwitt has quit IRC
04:02:33 *** ToffeeYogurtPots has joined #openttd
05:15:41 *** supermop has quit IRC
05:19:44 *** Snail has quit IRC
05:42:46 *** ZexaronS has joined #openttd
05:51:37 <Flygon> Damn you OpenTTD.
05:51:44 <Flygon> I'm suppose to be working on productive stuff but
05:51:51 <Flygon> My body just really wants to OpenTTD.
06:05:15 *** ZexaronS has quit IRC
06:13:25 <Flygon> ...
06:13:27 <Flygon> Right, right.
06:13:36 <Flygon> I use My Documents so infrequently, I forget OpenTTD actually uses it.
06:14:01 <Flygon> I keep looking inside all my internal non-My Documents areas to find wherre OTTD stores stuff because it never occurs to me any application actually uses that stuff. :V
06:14:08 <Flygon> I'm stuck in 2002.
06:29:16 *** Cubey has quit IRC
06:57:53 *** ZexaronS has joined #openttd
07:06:42 *** supermop_work_ has joined #openttd
07:09:30 *** Warrigal_ has joined #openttd
07:10:40 *** supermop has joined #openttd
07:11:00 *** supermop_work has quit IRC
07:11:00 *** ccfreak2k has quit IRC
07:11:00 *** fiatjaf has quit IRC
07:11:00 *** Extrems has quit IRC
07:11:00 *** innocenat has quit IRC
07:11:00 *** Warrigal has quit IRC
07:11:00 *** ST2 has quit IRC
07:11:47 *** Supercheese has quit IRC
07:12:50 *** Extrems has joined #openttd
07:13:51 *** fiatjaf has joined #openttd
07:14:07 *** ST2 has joined #openttd
07:15:21 *** Supercheese has joined #openttd
07:15:52 *** ccfreak2k has joined #openttd
07:21:35 *** sla_ro|master has joined #openttd
07:35:41 *** supermop has quit IRC
08:55:34 *** andythenorth has joined #openttd
09:04:55 <andythenorth> o/
09:14:27 *** innocenat has joined #openttd
09:18:09 *** nielsm has joined #openttd
09:25:57 *** Progman has joined #openttd
09:43:37 *** Extrems has quit IRC
09:43:55 *** PressureLine has joined #openttd
10:09:35 *** Extrems has joined #openttd
10:21:10 *** andythenorth has quit IRC
10:38:23 *** chomwitt has joined #openttd
10:43:14 *** PressureLine has quit IRC
10:46:11 *** Wolf01 has joined #openttd
10:47:09 <Wolf01> o/
10:49:08 <nielsm> I guess I should repost, since everyone seemed to be asleep last night :) I've been toying with a patch that adds a new statistic to vehicles, "cargo-tiles delivered", as an alternate measure of usefulness than profit
10:49:56 <nielsm> especially meant for passenger networks with cargodist, because of the "wrong" profits the transfer credits system induce
10:50:11 <nielsm> example: http://0x0.st/sbR6.png
10:52:57 <nielsm> my dream is to replace the "min profit" component of the performance rating calculation with something that's actually achievable when you hook buses up on the end of aircraft etc., but I realise that could be very controversial
10:53:23 <nielsm> does any of this sound like a good idea, worth pursuing further?
11:05:18 *** andythenorth has joined #openttd
11:08:06 <Wolf01> o/
11:08:18 *** tokai has joined #openttd
11:08:18 *** ChanServ sets mode: +v tokai
11:12:39 <andythenorth> lo Wolf01
11:12:41 <andythenorth> I bbl
11:12:48 *** andythenorth has quit IRC
11:12:54 <Wolf01> Lol
11:13:18 *** gelignite has joined #openttd
11:15:07 *** tokai|noir has quit IRC
11:18:33 *** sla_ro|master has quit IRC
11:26:42 *** Supercheese has quit IRC
12:00:00 <Wolf01> Firefox became shit, uninstalled :|
12:02:20 <LordAro> really?
12:02:26 <Wolf01> Yes
12:02:42 <LordAro> most people have been very happy with the new update (57)
12:02:52 <LordAro> other than it breaking existing extensions
12:03:32 <Wolf01> It updated to 58 because I'm stupid and forgot to disable the autoupdate, missing 2 extensions I really need, missing the old about:home, reinstalling 56 has broken theme and icons
12:04:44 <Wolf01> Now I can't even find a reliable way to open the bookmarks on a new tab
12:05:00 <LordAro> not "become shit" by my definitions, but sure whatever
12:05:13 <Wolf01> (and no, I won't right click and open on new tab)
12:05:43 <nielsm> if you installed an old version after having had a new one, and didn't delete your profile/restore it from a backup, that's your mistake
12:06:04 <nielsm> don't expect old versions to work on a profile that was touched by a new one
12:07:16 <Wolf01> Eh, I don't have any recent backup of the profile, last time I did it when I moved to this pc, it could have warned to backup before updating automagically breaking everything
12:08:13 <LordAro> why should it? not like they expect people to downgrade
12:08:17 <LordAro> nor want people to
12:08:17 <nielsm> http://0x0.st/sbFW.png
12:08:31 <Wolf01> I could try to cherry pick the profile data on a clean profile
12:09:41 <Wolf01> nielsm: I had that on never check updates, but I restored FF because of a problem and it set it to automatically update, then it broke everything
12:10:38 <Eddi|zuHause> well, plenty of other browsers in the sea
12:10:47 <Wolf01> Yes, using Edge right now
12:11:05 <Eddi|zuHause> i heard someone recommend vivaldi
12:11:15 <Wolf01> The problem is that most of the bookmarks weren't imported
12:11:29 <Eddi|zuHause> (a chromium-derivate by the opera developer)
12:11:49 *** sla_ro|master has joined #openttd
12:11:49 <Wolf01> I don't like chrome or anything derivated
12:12:25 <Eddi|zuHause> (so basically an opera-rewrite on a new backend)
12:18:28 *** iSoSyS has joined #openttd
12:19:29 <Eddi|zuHause> why does the NRT thread spend a whole page discussing HAUL fallback when that's a one-liner?
12:19:48 <Wolf01> Ask andy
12:20:04 <LordAro> bikeshedding is an important part of any development process
12:20:49 <Eddi|zuHause> also, there's snow outside...
12:21:08 <Wolf01> Here is sunny and cold
12:21:15 <Wolf01> "sunny"
12:21:27 <Wolf01> "cold"
12:22:13 <Eddi|zuHause> what's italian "cold" in numbers?
12:22:30 <Wolf01> ~4°C
12:34:04 *** ToffeeYogurtPots has quit IRC
12:34:24 *** ToffeeYogurtPots has joined #openttd
12:40:20 *** Samu has joined #openttd
12:40:46 <Samu> hi
12:40:55 *** Thedarkb has joined #openttd
12:42:09 *** Biolunar has joined #openttd
13:00:34 *** Stimrol has joined #openttd
13:02:12 <Wolf01> Ha! The bastard, it starts to download the update when you create a new profile, then you exit, start it with your own profile (which has updates disabled) and it continues to download the update and BAM! there's the update
13:02:39 <Wolf01> So if you don't want the update and you have multiple profiles you are doomed
13:02:49 *** Thedarkb has quit IRC
13:10:44 <Samu> i just found a patch rejected
13:10:48 <Samu> on flyspray
13:11:08 <Samu> wondering how i can search for all rejected patches, they're hidden :(
13:11:18 <Samu> https://bugs.openttd.org/task/6500
13:11:29 <Samu> found this one cus i got the link for it
13:11:43 *** FLHerne has joined #openttd
13:12:37 <Samu> Alberth reasoning for closing it is strange anyway. It is already how it works for NPF
13:13:01 <Samu> but whatever, must search more hidden tasks
13:13:27 *** Thedarkb has joined #openttd
13:14:47 <Eddi|zuHause> maybe you should disallow it from accessing the internet :p
13:18:39 <Wolf01> Now I'm cleaning the prefs.js file to remove all the shit 58 put in it
13:23:31 <Samu> meh, andythenorth was closing bugs :(
13:26:07 *** iSoSyS has quit IRC
13:27:57 <Samu> can i request Re-open or will ppl get mad because i did that?
13:28:19 <Wolf01> You can request to reopen if the reason is valid
13:28:25 <Samu> andythenorth failed to reproduce a bug, and i just reproduced it
13:28:50 <Samu> https://bugs.openttd.org/task/6438?string=&project=1&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=closed&percent%5B0%5D=&opened=Samu&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=
13:28:53 <Samu> oops link
13:29:29 <Samu> maybe my explaination sucks
13:31:13 *** Gja has joined #openttd
13:34:49 <Samu> ty
13:34:56 <Samu> whoever accepted request
13:38:05 <Wolf01> I think the UI checks between 0-13 instead of 1-14, as 0 is the server-player
13:38:27 <Wolf01> And 14 are the possible clients/ais
13:38:54 <Samu> it's a gui display vs network
13:39:37 <Samu> in single player there is no issue
13:39:44 <nielsm> okay why is my vehicle list sorting function producing seemingly random orderings, when the data it's based on displays correctly and deterministically
13:40:26 <nielsm> (the sorter even got into an infinite loop before, because of the nondeterminism)
13:44:55 *** frosch123 has joined #openttd
13:45:01 <Wolf01> Quak
13:46:08 *** RABAR has joined #openttd
13:48:04 <frosch123> moin
13:51:08 <Samu> hello
13:54:45 *** HerzogDeXtEr has joined #openttd
14:02:28 *** iSoSyS has joined #openttd
14:02:50 *** Wormnest has joined #openttd
14:04:28 *** andythenorth has joined #openttd
14:04:30 <Wolf01> Mmmh, still the same problem with FF... unable to open any of the extension options
14:04:47 <Wolf01> The UI just hangs
14:06:09 *** Thedarkb has quit IRC
14:06:54 <andythenorth> lo
14:06:59 <Wolf01> o/
14:07:02 <andythenorth> maybe I should stop playing tanks
14:07:40 <Wolf01> Good idea
14:10:52 <Wolf01> Ok, it seem that uninstalling and reinstalling the extensions fixed the problem
14:12:10 <nielsm> ah figured out why things weren't sorting right, signedness mistakes and sign extension to 64 bit broke things
14:14:34 <Samu> lala
14:15:51 *** Gustavo6046 has joined #openttd
14:20:03 <nielsm> yep there it is, vehicles sorted by amount of cargo-miles delivered over potential cargo-miles delivered, i.e. capacity utilization: http://0x0.st/sbCp.png
14:27:24 *** RABAR has quit IRC
14:30:12 *** Lejving has joined #openttd
14:30:45 <andythenorth> Wolf01: I stopped with tanks
14:30:54 <andythenorth> didn't delete it, but no games for a bit
14:31:33 <Wolf01> +1
14:31:47 <andythenorth> I want to stop thinking about NRT :P
14:31:49 <andythenorth> what's left?
14:31:54 <andythenorth> then I can do some newgrf
14:32:01 <andythenorth> just the SE bug fix?
14:32:12 <Wolf01> Yes, at least for now
14:32:15 <andythenorth> and figuring it out if anyone will merge to trunk
14:32:19 <Wolf01> Then city roads
14:32:30 <andythenorth> what's the SE bug?
14:32:34 <andythenorth> I'll repro it locally
14:32:38 <Wolf01> You can't build tramways on SE
14:32:56 <andythenorth> I can
14:33:14 <Wolf01> Yes, since you merged the branch with the fix, now you can
14:33:49 <andythenorth> ok I've updated the github issue
14:34:49 <Wolf01> +1
14:34:59 <Wolf01> Now extensive testing
14:35:22 <Wolf01> Or do you want the no-junctions flag too?
14:35:37 <andythenorth> no
14:35:41 <andythenorth> I added it to 'future'
14:35:45 <Wolf01> Ok
14:36:24 <Wolf01> Put a space between [ ] or it won't work
14:37:57 <Wolf01> Ok, we'll need to stop that discussion about HAUL+HEQS in NRT topic, I'll add some testing requests
14:40:16 <andythenorth> I'm putting a post into thread Wolf01
14:40:41 <Wolf01> Already doing that, what would you write?
14:41:00 <andythenorth> https://www.tt-forums.net/viewtopic.php?p=1202267#p1202267
14:41:20 <andythenorth> I'm being dumb, but no-houses does use the correct bit?
14:41:27 <andythenorth> I didn't read the ottd code
14:42:21 <Wolf01> Bits are: catenary, level crossings, no-houses
14:42:47 <andythenorth> ok
14:42:49 <andythenorth> fine then
14:42:58 <andythenorth> it's untested :P
14:43:12 <andythenorth> supermop_work_ might make us a test case :)
14:43:48 <Wolf01> supermop_work_ might fix asphalt road too
14:44:41 <Wolf01> So I don't get a mini heart attack every time I fail to convert a road
14:49:07 <andythenorth> I'm guessing NRT is pretty untested in MP
14:49:16 <andythenorth> no evidence, but I'd bet on it
14:50:04 <Samu> Wolf01: posted a v2 https://www.tt-forums.net/viewtopic.php?p=1176101#p1176101
14:50:44 <Samu> solved the misterious "why u no grow for no reason"
14:54:39 <Wolf01> Ok, made a testing wishlist
14:55:08 <andythenorth> cool
14:55:42 <andythenorth> lol @ canals
14:55:47 <Wolf01> :D
14:55:53 *** Thedarkb has joined #openttd
14:56:22 <andythenorth> ok so now
14:56:30 <andythenorth> I do newgrf ship pixels
14:56:36 <andythenorth> unless we want to make flat docks?
14:56:44 <Wolf01> Make pixels
14:56:50 <Wolf01> ... not war
14:56:59 <andythenorth> war is over
14:57:10 <Wolf01> Flat docks need peter support
14:57:22 <andythenorth> k
14:58:26 <Wolf01> We'll get 2 birds with 1 stone, multitile docks with newgrf support like railstations and buildable everywhere, so they can look as you want
14:59:37 <Wolf01> Or better: non track tile stations where you just place 1 tile in water with "ship can dock here"
15:00:01 *** ToBeFree has joined #openttd
15:00:26 <Wolf01> *in water or in front of water
15:04:57 *** ToBeFree has quit IRC
15:11:32 <Wolf01> Hmmmm I think there is still the "bug" reported by adf88, I wonder if is possible to handle that situation in the grf or it needs an actual change in the code
15:12:02 <Wolf01> https://www.tt-forums.net/download/file.php?id=196363
15:15:42 <andythenorth> is that new to NRT?
15:15:47 <andythenorth> oic
15:15:54 <Wolf01> Nah, 2nd or 3rd post
15:15:55 <andythenorth> he wants it to turn?
15:16:16 <Wolf01> Yes, he turns without a track
15:16:20 <Wolf01> Like normal rvs
15:16:50 <andythenorth> we could draw the return loop if the next tile isn't compatible :P
15:16:55 <andythenorth> but sounds like headache
15:21:56 *** debdog has quit IRC
15:24:15 *** chomwitt has quit IRC
15:28:07 *** synchris has joined #openttd
15:30:07 *** Samu has quit IRC
15:30:54 *** chomwitt has joined #openttd
15:31:53 *** andythenorth has quit IRC
15:33:07 *** iSoSyS has quit IRC
15:33:07 *** andythenorth has joined #openttd
15:35:02 *** debdog has joined #openttd
15:44:11 *** Flygon has quit IRC
15:44:25 *** Samu has joined #openttd
15:45:35 *** iSoSyS has joined #openttd
16:15:24 *** urdh has quit IRC
16:16:17 *** urdh has joined #openttd
16:20:12 <Samu> i just dowloaded rat stuff
16:20:41 <Samu> openttd-ratt-g186b12b9-road-and-tram-types-windows-win64
16:20:48 <Samu> how am I testing this
16:21:00 <Wolf01> By reading the topic
16:21:09 <Samu> gonna try see what AIs do with it
16:21:28 <Wolf01> Maybe they explode
16:29:22 <andythenorth> no AI support yet eh?
16:29:41 <Wolf01> Dunno
16:30:23 *** iSoSyS has quit IRC
16:32:22 *** sim-al2 has quit IRC
16:35:02 *** Samu has quit IRC
16:54:41 *** supermop has joined #openttd
16:55:06 <supermop> yo
17:09:54 *** Samu has joined #openttd
17:10:04 <Samu> oops, sorry, my system is unstable
17:10:33 <Samu> it all points to being the vga card
17:10:44 <Samu> a red vga led shows up on the mother board
17:11:03 <Samu> i'm kinda pissed off already, it's been doing this for a week already
17:11:40 <andythenorth> my system is unstable
17:11:46 <andythenorth> it all points to...
17:11:51 <andythenorth> ...who knows, it's Apple :P
17:19:11 <Samu> i loaded a savegame, and bad stuff happens to roads
17:19:16 <Samu> are you aware?
17:19:21 <Samu> just load a 1.7.2 savegame
17:19:34 <Wolf01> Pics or didn't happen
17:20:21 <supermop> 'bad stuff'?
17:20:26 <Samu> i loaded another, and now i get worse, an assert
17:20:33 <Samu> --------------------------- Error! --------------------------- Assertion failed at line 2996 of ..\src\station_cmd.cpp: road_rti != NULL && tram_rti == NULL --------------------------- OK ---------------------------
17:20:51 <Wolf01> Are you playing with AIs?
17:21:02 <Samu> yes
17:21:05 *** Biolunar has quit IRC
17:21:07 <Wolf01> Try without
17:21:15 <Samu> um... ok
17:23:01 <Wolf01> Maybe there's a problem drawing catenary on a drive-in road stop
17:23:02 <Samu> loaded a 1.7.2 savegame without AIs https://imgur.com/a/5f98v
17:23:35 <Wolf01> I've already seen that problem
17:24:07 <Samu> no newgrfs at all
17:24:19 <Wolf01> It shouldn't happen, maybe trunk uses some of the bits on the tramtype
17:25:12 <Samu> could it be using wrong sprites?
17:25:18 <Samu> gonna try opengfx
17:25:43 <Wolf01> No, that's a case where NRT finds roadbits/trambits where they shouldn't be
17:26:46 <andythenorth> testing ftw :)
17:28:24 <Wolf01> Yes, there's a problem
17:29:50 *** urdh has quit IRC
17:30:31 <Samu> starting 14 AIs that build roads, let's hope my system doesnt hang
17:32:26 <Samu> well, many ais are unable to build
17:32:32 <Samu> CPU did build
17:32:45 *** urdh has joined #openttd
17:33:18 <Samu> can't find suitable station is what the logs are saying
17:33:25 <Samu> they're not able to build stations?
17:33:29 <Wolf01> Uhm, 1.7.2 savegame seem to have a "2:15 roadtype" which sould be "invalid_roadtype"
17:35:29 <Samu> OtviAI also built roads and stations
17:35:34 <Samu> and vehicles
17:35:42 <Samu> guess u wanna know that too, right?
17:36:31 <Wolf01> If one AI is able to build stations, other should too
17:36:50 <Wolf01> Unless they don't use special ways to do that
17:37:15 <Samu> AroAI did build roads, stations and buses
17:37:46 <Samu> AI's that are failing are: MogulAI
17:37:52 <Samu> can't build station
17:38:05 <michi_cc> Wolf01: I didn't look at any code, just be aware that if you use previously unused map bits, nothing guarantees you they are 0 in old savegames.
17:38:14 <Samu> Terron - can't find station
17:38:33 <Wolf01> michi_cc: right
17:38:34 <Samu> CluelessPlus - failed to build bus/truck station
17:39:15 <michi_cc> Basically, savegame bump + bit initialisation in AfterLoadGame
17:39:57 <frosch123> Wolf01: https://github.com/andythenorth/NotRoadTypes/blob/road-and-tram-types/src/saveload/saveload.cpp#L269
17:40:10 <Wolf01> extern const uint16 NRT_SAVEGAME_VERSION = 196; // compatible to all NRT version, compatible with 1.6.x, NOT COMPATIBLE with 1.7.x <- yes
17:40:24 <Wolf01> Needs another savegame bump
17:40:58 <Samu> LudiAI builds roads, but not stations
17:41:38 <Samu> MogulAI also builds roads, just noticed them on the map, but not stations
17:42:05 <Wolf01> frosch123: remind me why we need to have 2 different versions?
17:42:41 <frosch123> there are no 2 different versions
17:42:48 <Samu> Terron also appears to be able to build roads, but not stations
17:43:01 <frosch123> there is just a constant for the version that adds nrt, instead of a magic constant
17:43:24 <Wolf01> We could just have bumped to 197 directly
17:43:29 <frosch123> nrt was started during 1.6 and bumped by one compared to 1.6
17:43:41 <frosch123> then trunk bumped for 1.7
17:43:53 <Wolf01> Oh, that's why, and we forgot to bump NRT to 197
17:44:21 <frosch123> someone synced nrt with trunk, did not notice that the versions were the same, complained for a week that nrt was suddenly broken
17:44:46 <Wolf01> $someone... I wonder who it was
17:45:01 <frosch123> then i fixed the merge, and decided to keep compatibility within nrt, instead of breaking nrt compatibility to add rather pointless 1.7 compatibility
17:45:25 <Wolf01> Why not SAVEGAME_VERSION + 1?
17:45:40 <frosch123> you can do that, but it breaks nrt savegames
17:45:53 <Wolf01> Yeah, so now?
17:46:17 <frosch123> version numbers are linear :) you have to choose between breaking compatibility with 1.7 or breaking compatibilty with earlier nrt
17:46:36 <frosch123> if you break it, you should make it SAVEGAME_VERSION + 100 btw
17:46:44 <frosch123> that saves you for 1.9 :p
17:46:45 <andythenorth> break earlier NRT
17:48:30 <Wolf01> We'll start from 1000, so it's enought different from trunk to recognize it (and forgot to change it again if we need to bump NRT for breaking changes)
17:48:57 <Wolf01> *forget
17:50:41 *** supermop has quit IRC
17:50:44 <Wolf01> extern const uint16 NRT_SAVEGAME_VERSION = 1000; // Compatible with trunk and any future release, not compatible with old NRT versions
17:50:48 <Wolf01> ^ push?
17:50:58 <Samu> NoCAB can build station, can build road, but not vehicles, yet the log is saying that it can't build road ERR_UNKNOWN
17:51:06 <Samu> i see the road though
17:51:29 <Wolf01> Samu, without knowing how AIs work, that's really useless
17:51:37 <frosch123> you probably also have to set SAVEGAME_VERSION
17:51:42 <Samu> oh oki
17:52:41 <LordAro> Samu: have you considered writing your own AI?
17:53:20 <Samu> yeah, kinda wish
17:54:17 <Samu> well, out of 14 AIs, only 3 were successfully building road+station+vehicle
17:54:38 <Samu> what else do I test now?
17:54:52 *** john-aj has joined #openttd
17:54:53 <Wolf01> So bump SAVEGAME_VERSION to 1000 and remove NRT_SAVEGAME_VERSION?
17:55:43 <frosch123> no
17:56:07 <frosch123> don't add magic numbers to afterload which are subject to change
17:56:33 <frosch123> if trunk adds stuff you will need SAVEGAME_VERSION=NRT_SAVEGAME_VERSION+1
17:56:47 <frosch123> NRT_SAVEGAME_VERSION is essentially the first NRT version
17:58:08 <frosch123> you could also check which version JGR uses :)
18:08:36 *** chomwitt has quit IRC
18:11:45 *** Cubey has joined #openttd
18:12:36 <Wolf01> Meh, git bash stopped working, I can't go anywhere else than the MINGW64 folder
18:15:54 <Wolf01> Luckily I can use the WSL
18:20:05 <Wolf01> BTW he uses a different concept, ok, not so different, but changes some places where SAVEGAME_VERSION is used
18:27:10 <Samu> Wolf01: https://imgur.com/BoMAMvQ
18:27:24 <Samu> have you ever seed a "BuildNextToRoad" function somewhere?
18:28:00 <Wolf01> That's AI stuff
18:28:12 <Samu> they appear to fail there
18:28:36 <Wolf01> That function need to be updated then, but it should be the AI's author
18:30:02 <Samu> openttd doesn't have a BuildNextToRoad function, gah :(
18:30:13 <Wolf01> It's an AI function
18:31:36 <Wolf01> Ok, not sure on how to proceed, declare 1.7.2 saves incompatible, keep compatibility with NRT ones
18:32:33 <Samu> bump everything from 1 from the day u started NRT?
18:32:39 <Samu> by 1
18:33:25 <Wolf01> That would break NRT saves
18:34:59 <andythenorth> NRT saves are imho disposable
18:36:24 <Samu> IfIsSaveGameVersionBefore(197) {convert stuff to nrt} in afterload
18:36:56 <Wolf01> Samu, the problem is that saves made with 1.7.x have the same version of NRT
18:37:13 *** Snail has joined #openttd
18:37:13 *** Smedles has quit IRC
18:37:21 *** Smedles has joined #openttd
18:37:41 <Samu> ah, you screwed up
18:37:50 <Wolf01> Yes
18:37:51 <Samu> well, then I'm not sure
18:39:51 <Wolf01> If I bump trunk it still won't convert 1.7.x to NRT as it have the same version, if i bump both I can't load NRT saves because it tries to add NRT stuff where it's already present
18:40:19 <Wolf01> Or I could make it do it anyway by removing the assert
18:41:01 <Samu> separate 1.7.x from the first NRT incarnation
18:41:28 <Samu> so, what was the version NRT started?
18:41:32 <Samu> savegame version
18:41:38 <Wolf01> 195
18:42:55 <Samu> 195 for pre-NRT, 196 for the first NRT, but then there was also a 196 done with 1.7.2 or so
18:43:03 <Samu> and u want to update to it
18:43:09 <Samu> mhmm.... scary
18:44:54 <Samu> i think, u want to be on version 197, while still having the changes that went to official 196, let me think
18:46:17 <Samu> 195 pre-NRT, 196 NRT, 197 NRT with official 196 changes, something like this
18:48:10 <Samu> or ...
18:49:24 <Samu> 195 pre-NRT, 196 NRT, then insert official 196 before NRT while bumping NRT stuff by 1
18:50:08 <Samu> 195 pre-NRT, 196 pre-NRT, 197 NRT
18:50:51 <Samu> does it make any sense what i'm saying?
18:51:00 <Wolf01> It could even be 195 pre-NRT and 8001 NRT, Savegames made with 196 are doomed
18:52:02 <Samu> rip 196 savegames
18:53:18 <Samu> or just hack the savegames and tell them they're actually version 197
18:55:43 <Wolf01> Yes, I really should get all the palyer savegames and resave them with the right version
18:56:01 *** chomwitt has joined #openttd
18:58:27 <Eddi|zuHause> hm, i just read a "new post" from july 2017... i totally neglected the forum for ages...
18:59:51 <andythenorth> you didn't miss much
19:00:06 <andythenorth> it's 'fine'
19:00:20 <Eddi|zuHause> nope, i determined it's pointless and skipped the rest of the thread
19:07:24 <Samu> BuildNextToRoad is a SuperLib-39 function
19:07:33 <Samu> u broke SuperLib :(
19:09:03 <Samu> AIRoad.SetCurrentRoadType(AIRoad.ROADTYPE_ROAD);
19:09:38 <LordAro> i'd imagine all the AIRoad stuff will have to be reworked into something that looks more like AIRAil
19:13:21 <Wolf01> So Samu, 1.7 savegames aren't really a problem since you should be testing NRT with some new GRFs and not with old savegames
19:14:54 <Wolf01> Then go here https://www.tt-forums.net/viewtopic.php?f=33&t=75637&p=1202269#p1202269 and report that SuperLib should have a NRT version too
19:15:12 <Wolf01> Or just don't use AIs which rely on that
19:28:56 *** cHawk has quit IRC
19:29:10 <Wolf01> Going out, BBL
19:38:04 *** supermop has joined #openttd
19:39:07 *** Thedarkb has quit IRC
19:42:12 *** Thedarkb has joined #openttd
19:44:28 <supermop> now ps isn't showing the big split ring thing when eyedroppering
19:46:40 <V453000> supermop: select picker tool (I) and there is a checkbox for sampling ring
19:46:53 <andythenorth> sampling ring? :o
19:47:07 <V453000> it's from CS6 or something
19:47:14 <supermop> its greyed out
19:47:20 <supermop> the check box
19:47:32 <V453000> oh, that's probably some OpenGL shit or something
19:47:39 <supermop> hm yeah
19:47:52 <supermop> not showing the pixel grid either
19:47:55 <V453000> I think you need to re-enable GPU acceleration or something like that in preferences, try to google it
19:48:38 <supermop> ill restart in a bit and see if that fixes it
19:49:11 <supermop> Wolf01: andythenorth whats priority for testing from me? no_houses spool?
19:50:15 <supermop> i dont really have a yes_houses tramway i want to make, but i can for testing if you like
19:51:04 <supermop> something like https://en.wikipedia.org/wiki/Bourke_Street,_Melbourne#/media/File:BourkeStreetMall-rain.jpg
19:51:13 <V453000> btw how do I come to the number I need to set for disable_item(FEAT_TRAINS, 0, 115); for RV/industries etc?
19:51:32 *** Thedarkb has quit IRC
19:52:05 <Samu> Wolf01: src\script\api\script_road.cpp did u edit this at all?
19:53:33 <Samu> AIs are trying to use those functions
19:53:44 <Samu> or their libraries
20:00:26 *** som89 has joined #openttd
20:01:23 *** Thedarkb has joined #openttd
20:01:49 <frosch123> V453000: https://newgrf-specs.tt-wiki.net/wiki/VehicleIDs
20:01:57 <frosch123> disable_item only exists for vehicles
20:02:05 <frosch123> at least i think so
20:02:17 <frosch123> actually, probably i am wrong :p
20:03:29 <frosch123> https://newgrf-specs.tt-wiki.net/wiki/IndustryDefaultProps <- more lists
20:04:44 <V453000> thanks :)
20:13:02 <andythenorth> supermop: fix the asphalt road bug in spool?
20:13:10 <andythenorth> I don't know what it is, but Wolf found it
20:13:15 <supermop> uh
20:13:18 <andythenorth> and then houses / no-houses test
20:13:32 <supermop> Wolf01: whats wrong with asphalt road?
20:13:43 <andythenorth> logs might know
20:13:58 <andythenorth> iirc, asphalt and electrified asphalt aren't correctly compatible
20:17:14 *** Supercheese has joined #openttd
20:22:09 <supermop> well shit
20:22:16 <supermop> ill look into it
20:23:09 <andythenorth> I haven't repro-ed it
20:24:10 <supermop> looks like country roads beat me to no_houses
20:24:22 <supermop> should have jumped on that this morning
20:27:06 <supermop> think i caught it
20:27:23 <supermop> aspt didn't have elas as a powered type
20:27:32 <supermop> will text in a sec
20:27:36 <supermop> test
20:29:21 <supermop> * a bit, i'm running to lunch
20:38:06 *** Stimrol has quit IRC
20:40:34 *** Stimrol has joined #openttd
20:42:11 *** Supercheese has quit IRC
20:43:28 *** Stimrol has quit IRC
20:47:11 *** supermop has quit IRC
20:50:35 *** Stimrol has joined #openttd
20:51:23 *** john-aj has quit IRC
21:06:39 *** frosch123 has quit IRC
21:08:09 *** glx has joined #openttd
21:08:09 *** ChanServ sets mode: +v glx
21:13:02 *** synchris has quit IRC
21:18:17 *** debdog has quit IRC
21:20:42 *** debdog has joined #openttd
21:33:45 *** sla_ro|master has quit IRC
21:40:24 *** Snail has quit IRC
21:43:50 *** Snail has joined #openttd
21:52:26 *** supermop has joined #openttd
22:01:02 *** john-aj has joined #openttd
22:01:13 <Samu> back, re-hi
22:17:33 *** gelignite has quit IRC
22:20:55 *** sim-al2 has joined #openttd
22:21:03 <Samu> bug with NRT
22:21:05 <Samu> https://imgur.com/DtEDYR0
22:21:33 <Samu> the rail bridge description says I own the road?
22:21:38 <Samu> and the tram?
22:23:51 <Samu> also looking at infrastructure count, an AI that has only built rails, has the same number of road pieces
22:29:15 *** john-aj has joined #openttd
22:32:25 <Snail> hey guys, is there a way to display all the available vehicles in-game, by using the Console?
22:32:33 <Snail> something like… cheat: allvehicles
22:32:39 <Snail> or something like that?
22:39:02 <nielsm> as far as I can tell, no, there isn't a way to list all available vehicles
22:39:34 <nielsm> apart from turning off vehicles expire, and then turning up the date until everything is available
22:40:31 <Samu> I started a multiplayer game on NRT build https://www.openttd.org/en/server/114360
22:40:37 <Samu> anyone else testing it?
22:42:18 <Samu> something bad is supposed to happen when company 0 bankrupts
22:42:22 <Samu> i can feel it
22:47:55 <Eddi|zuHause> Snail: cheat the year to something high and then do "resetvehicles" with vehicles never expire enabled?
22:48:25 <Snail> right, thanks
22:54:10 <Samu> so company 0 bankrups, the road and tram owner of a rail bridge without any actual road or tram is now N/A. OWNER_NONE I presume
22:54:25 *** sim-al2 is now known as Guest3430
22:54:26 *** sim-al2 has joined #openttd
22:54:46 <Samu> Wolf01: hello!
22:57:57 *** Guest3430 has quit IRC
22:58:46 <supermop> andythenorth: do i have to compile your nml branch?
22:59:47 <andythenorth> can't remember
22:59:52 <andythenorth> how did you get the nml you have now?
23:02:39 <Eddi|zuHause> if you have python, you don't need to compile nml
23:03:12 <Eddi|zuHause> the "compile" is just bundling python and nml into an .exe for "windows users"
23:12:55 *** Gustavo6046 has quit IRC
23:19:14 *** nielsm has quit IRC
23:24:00 <Samu> uhm, i'm about to cause a desync
23:25:07 <Samu> i'm playing in the same company, on client 1 I got £70k in bank, on the other I got £64k
23:25:27 <supermop> downloaded it from some main nml place
23:25:28 <Samu> where are the NRT guys?
23:26:00 <supermop> it was one that frosch made
23:26:23 <supermop> there is no nmlc.exe in the thing i downloaded from your gh
23:30:11 *** Progman has quit IRC
23:30:18 <Samu> Wolf01: RIP NRT https://imgur.com/a/hZWFH
23:31:49 <andythenorth> nice Samu
23:31:51 <andythenorth> thanks
23:32:03 <andythenorth> is it reliable repro?
23:32:16 <Samu> yes, well kinda
23:32:22 <andythenorth> supermop: you'll have to wait for frosch, I don't know how to build the .exe
23:33:16 <Samu> needs a company to bankrupt for another to buy it, then leave game and rejoin game, then play on the same company
23:33:30 <Samu> infrastructure maintenance costs must be enabled
23:33:44 <Samu> the road piece counting are different on both clients
23:33:55 <Samu> i wasted money on both, until it desynced
23:34:26 <supermop> andythenorth: ok np
23:35:04 <andythenorth> Samu: good QA
23:35:26 <Samu> here
23:35:35 <Samu> got another screenshot with the different counting
23:35:55 <Samu> https://imgur.com/a/JTpw7
23:36:19 *** Stimrol has quit IRC
23:36:33 <Samu> i have no idea how it counted 900ish road pieces during company merge
23:36:58 <Samu> it didn't have any
23:37:26 <andythenorth> it's probably confused about who owns what
23:37:32 <andythenorth> it will be a valid bug
23:37:34 <andythenorth> I am guessing
23:38:07 <Samu> oh, i saw this too, sec
23:38:17 <Samu> https://imgur.com/DtEDYR0
23:38:40 <Samu> rail bridges owned by other companies will say that company 0 owns the tram and the road
23:38:52 <Samu> maybe the counting comes from here?
23:39:11 <Samu> also when building a rail piece, it also counts it as a road piece
23:39:44 <Samu> if i build 5 rail pieces, it counts as both 5 rail pieces and 5 road pieces
23:39:47 *** Thedarkb has quit IRC
23:40:07 <Wolf01> <supermop> Wolf01: whats wrong with asphalt road? <- not compatible with asphalt+catenary
23:41:32 <Samu> imminent desync incoming again
23:42:40 <Samu> no desync yet, i'm surprised
23:42:51 <Samu> i got £360k loan in one and £370k loan in the other
23:43:41 <Wolf01> Don't get off topic, focus on roads
23:43:55 <Samu> ok, the topic is infrastructure counting of roads
23:44:07 <Samu> that's what's causing desync
23:44:20 <Wolf01> For what I know about you, in half an hour you'll start to blame me that airports don't work
23:45:07 <Wolf01> The problem is "why is the owner of the bridge always company 0?"
23:45:19 <Samu> "infrastructure counting of roads during company merge, I suspect company 0 merging into another company"
23:45:45 <Wolf01> That might be a reason
23:46:21 <Samu> i also tested company 0 bankrupt without a buyout, and those rail bridges now got a N/A
23:46:42 <Wolf01> Then it's right
23:46:43 <Samu> for road/tram ownings, aren't those tunnel bridge tiles?
23:47:24 <Samu> haven't tried an aqueduct, but I bet they will also have a road/tramway owner on them
23:47:35 <Wolf01> Roads, no aqueducts
23:48:16 <Wolf01> The land area info tool might be broken
23:48:33 <Wolf01> We should check it in debug
23:48:38 <Wolf01> That's more reliable
23:49:02 <Wolf01> We didn't touch railways or aqueducts, so they can't be broken
23:49:14 <Wolf01> But we had to add some info to the land info tool
23:49:32 <Wolf01> And that might appear on unwanted places
23:49:56 <Samu> build a rail bridge as company other than 0, and u will get road + tramway owners on them, owned by company 0. And if company 0 doesn't exist, it will be owned by the dreaded "someone"
23:50:34 <Wolf01> Ok, then it's a land info tool problem, not game breaking
23:51:14 <Wolf01> The problem is the different count of infrastructure, which causes desyncs
23:52:04 <Wolf01> Make a clean list of problems which causes the game to break and how to exactly reproduce them
23:52:22 <Wolf01> I'll try to give a look at the problems tomorrow
23:53:12 <Samu> ok, gonna try reproduce the counting mismatching
23:53:22 *** HerzogDeXtEr has quit IRC