IRC logs for #openttd on OFTC at 2024-11-26
β΄ go to previous day
01:48:04 *** Flygon has quit IRC (Read error: Connection reset by peer)
02:32:28 *** ChanServ sets mode: +v tokai
02:39:11 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
03:09:31 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:06:52 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
04:49:14 <DorpsGek> - Update: Translations from eints (by translators)
06:04:12 *** keikoz has quit IRC (Ping timeout: 480 seconds)
09:07:12 <LordAro> shouldn't `unit16_t target` be an EngineID as well?
09:08:02 <peter1138> No, it's the internal ID used within the NewGRF.
09:08:36 <LordAro> oh right, it's a different target being used with the find
09:09:41 <peter1138> Yeah, the IDs used in act 0.
10:56:41 *** Flygon has quit IRC (Remote host closed the connection)
11:09:56 <xarick> today I wake up with a new idea
11:11:01 <xarick> instead of pre-building rivers and have terraform forbid cleaning water, "mark" those begin and end points with a canal.
11:12:00 <xarick> make terraform able to remove rivers again. this way, canals can't be terraformed but rivers can
11:12:23 <xarick> the whole postponing of sea after river won't be necessary
11:12:55 <xarick> and once the entire river is build, transform those marked canals into rivers which is what they are
11:36:17 <mnhebi> kuhnovic: You just discovered the secret to being hired at Microsoft.
11:41:37 <xarick> kuhnovic: can you do something for me?
11:42:15 <xarick> there's AystarStatus without capical s in Star, also some functions that use int, they actually are supposed to use AyStarStatus.
11:47:15 <xarick> I'm too busy hacking rivers
11:47:41 <LordAro> peter1138: i don't think xarick is figured out stashing/partial staging yet
11:47:49 <peter1138> Those sort of little changes are way more likely to be seen than your mammoth experiments that look like guesswork from here...
11:48:05 <peter1138> Or lots of local branches.
11:48:22 <peter1138> I don't encourage stashing... stash@{463}: WIP on warp: 19110bde3 Change: Use SDL_SetRelativeMouseMode to control warping.
11:49:15 <kuhnovic> xarick: I'm too busy doing my job π
12:06:04 <xarick> is it just me or my system is faster todayt
12:07:11 <xarick> nevermind, i did a mistake
12:13:26 <xarick> static void BuildRiver, I'm inclined to change this into a static bool BuildRiver
12:13:59 <xarick> but that requires the AyStarStatus thingy
12:15:25 <xarick> if for some reason the river fails to build, instead of continuing to build the next flow segments, abort them. Leave with what's built up to this point
12:25:25 <xarick> hmm... what you think?
12:32:37 <xarick> 2 - build up to the point of disconnect
12:32:37 <xarick> 3 - hack the river with canals to prevent terraform of vital begin end points
15:31:49 <xarick> this looks weird, and it's master
15:33:55 <belajalilija> with one of those cirles might it be two different sources?
15:36:45 <xarick> maybe, i'll check if they're 2 springs
15:40:48 <talltyler> That looks like two springs to me, rivers donβt flow uphill π
15:42:45 <xarick> that's a lot of springs in the same spot
15:49:12 *** XYZ has quit IRC (Ping timeout: 480 seconds)
15:53:00 <_glx_> little fail in the big circle doesn't surprise me, probably could not terraform
16:03:17 <xarick> seems only 4 of them are springs, but my detection method is a bit off
16:17:11 <xarick> need to check those 3 individual river pieces where they originate from
16:20:57 <xarick> lol inline... 173 files need compiling
16:28:26 *** XYZ has quit IRC (Read error: Connection reset by peer)
16:33:23 <xarick> must think wtf happened here
16:34:05 <xarick> ah... i think i understand
16:34:38 <xarick> Breadth First Search found one path, AyStar found another
16:34:53 <xarick> let me check the next flow
16:35:54 *** virtualrandomnumber has joined #openttd
16:36:54 *** virtualrandomnumber has quit IRC ()
16:44:07 *** XYZ_ has quit IRC (Ping timeout: 480 seconds)
16:47:42 *** XYZ has quit IRC (Read error: Connection reset by peer)
16:49:31 *** XYZ_ has quit IRC (Read error: Connection reset by peer)
17:06:44 <xarick> the other spring, i bet the same thing happened
17:54:23 *** XYZ has quit IRC (Read error: Connection reset by peer)
18:31:44 <xarick> I don't have faith on these fixes
18:41:09 <xarick> in a non-watered state due to terraform
18:55:51 <xarick> the canal strategy is not gonna work π¦
19:35:29 *** gelignite has joined #openttd
19:48:26 *** XYZ_ has quit IRC (Read error: Connection reset by peer)
20:15:55 <truebrain> sorry it took forever to get to that orudge π¦ Time! It is such an annoying resource!
20:27:47 *** gelignite has quit IRC (Quit: Stay safe!)
20:33:21 <xarick> there's hope for the canal hack strategy
20:48:14 *** XYZ has quit IRC (Ping timeout: 480 seconds)
20:51:40 <xarick> how do i start openttd generating a map in the scenario editor
20:53:26 *** XYZ_ has quit IRC (Read error: Connection reset by peer)
21:07:39 <kuhnovic> There's a -g command line option to start a savegame, if you don't specify a filename it will generate a map
21:11:40 <kuhnovic> And you need -e to directly start the scenario editor. Not sure if it works well in combination with -g, one way to find out
21:11:45 <kuhnovic> `Command line options:
21:11:45 <kuhnovic> -v drv = Set video driver (see below)
21:11:45 <kuhnovic> -s drv = Set sound driver (see below)
21:11:45 <kuhnovic> -m drv = Set music driver (see below)
21:11:45 <kuhnovic> -b drv = Set the blitter to use (see below)
21:11:47 <kuhnovic> -r res = Set resolution (for instance 800x600)
21:11:47 <kuhnovic> -h = Display this help text
21:11:49 <kuhnovic> -t year = Set starting year
21:11:49 <kuhnovic> -d [[fac=]lvl[,...]]= Debug mode
21:11:51 <kuhnovic> -g [savegame|scenario|heightmap] = Start new/savegame/scenario/heightmap immediately
21:11:53 <kuhnovic> -G seed = Set random seed
21:11:53 <kuhnovic> -n host[:port][#company]= Join network game
21:11:55 <kuhnovic> -p password = Password to join server
21:11:55 <kuhnovic> -D [host][:port] = Start dedicated server
21:11:57 <kuhnovic> -I graphics_set = Force the graphics set (see below)
21:11:57 <kuhnovic> -S sounds_set = Force the sounds set (see below)
21:11:59 <kuhnovic> -M music_set = Force the music set (see below)
21:11:59 <kuhnovic> -c config_file = Use 'config_file' instead of 'openttd.cfg'
21:12:01 <kuhnovic> -x = Never save configuration changes to disk
21:12:01 <kuhnovic> -X = Don't use global folders to search for files
21:12:02 <truebrain> well, that was unneededly long
21:12:03 <kuhnovic> -q savegame = Write some information about the savegame and exit
21:12:03 <kuhnovic> -Q = Don't scan for/load NewGRF files on startup
21:12:05 <kuhnovic> -QQ = Disable NewGRF scanning/loading entirely`
21:12:35 <truebrain> if someone can't use `-h` themselves, they have no business using the CLI to start with π
21:13:30 <kuhnovic> Just trying to help for a change π
21:13:54 <truebrain> first, you should use triple ` π
21:14:02 <truebrain> second, BLOB OF TEXT! π
21:14:10 <truebrain> See, I am also being useful! π
21:14:32 <kuhnovic> Just squint your eyes and it looks just like regular messages, you won't notice it at all π
21:19:32 <xarick> but at least I can start the editor immediately, that's fine
21:20:48 <xarick> the -Q should be the default behaviour imo
21:23:22 <peter1138> Yes, everyone would love it if none of their NewGRFs were available to use.
21:24:19 <xarick> but not on startup plz
21:25:46 <xarick> oh, nvm, I'm special again
21:26:03 <xarick> I play without any newgrf
21:26:23 <xarick> others may want them already pre-assembled to go
21:27:06 <xarick> they should just not load on startup if my Active List of NewGRFs is empty
22:04:08 <xarick> I like this solution better
22:04:33 <xarick> needs someone to break it, someone plz try to get an assert or something
22:23:37 <xarick> that's quite some river
22:27:51 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:32:19 <xarick> ahhh snap got an assert!
22:40:14 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:04:47 <xarick> this tile asserted my checks
23:05:14 <_glx_> might be better to properly handle special cases instead of asserting they don't happen
23:06:18 <xarick> assert(IsWaterTile(tile) || GetTileZ(tile) == 0); It's not a water tile and is not at height 0 π¦
23:06:41 <xarick> but the river is still connected
23:12:28 <xarick> terraform raised something
23:29:20 <xarick> that's a very hilly river
23:29:35 <xarick> but it's not part of the begin_end_points
23:29:53 <xarick> it's really the river as it was before widening
23:50:39 <xarick> 127484 was a river tile that belonged to the path returned by AyStar
23:54:25 <xarick> while trying to wide for tile 119291, tile 123387 just north of 127484 from the circular tile search is raising the south corner, cleaning the river from 127484
23:54:32 <xarick> okay now bed, good night
23:55:24 <xarick> will pick up from where I left tomorrow
continue to next day β΅