Back to Home / #openttd / 2019 / 06 / Prev Day | Next Day
#openttd IRC Logs for 2019-06-04

---Logopened Tue Jun 04 00:00:06 2019
---Daychanged Tue Jun 04 2019
00:00<Eddi|zuHause>and a diagonal trackbit has 8*192 substeps
00:00<Corns[m]>oh 16*256?
00:00<Corns[m]>diagonal as in N/S/E/W?
00:00<Corns[m]>ah ic
00:01<Eddi|zuHause>diagonal relative to the map grid, not the screen
00:01<Corns[m]>i.e. the HL/HU/VL/VR trackbits
00:01<Corns[m]>aight sweet thanks :)
00:02<Eddi|zuHause>this is all from memory, the numbers might be wrong
00:04<Eddi|zuHause>also related: a train actually makes two progress calculations per tick, so a train travelling at speed 128 makes 256 substeps
00:05-!-KenjiE20 [] has quit [Server closed connection]
00:05-!-KenjiE20 [] has joined #openttd
00:05-!-KenjiE20 is "kenji" on #openttd
00:06<Corns[m]>Ok i see :)
00:07<Corns[m]>Thats weird, i always thought it was the other way around
00:23-!-snail_UES_ [] has quit [Quit: snail_UES_]
00:27<Eddi|zuHause>the main purpose of that is to achieve higher top speeds, while still fitting the speed units into one byte. that kind of memory optimization was important in the 90s but feels a bit outdated now
01:08-!-fonsinchen [] has quit [Server closed connection]
01:08-!-fonsinchen [] has joined #openttd
01:08-!-fonsinchen is "Ulf Hermann" on #openttd #/r/openttd
01:17-!-nakki [] has quit [Server closed connection]
01:18-!-nakki [] has joined #openttd
01:18-!-nakki is "Matti Känninen" on #openttd
01:32<Corns[m]>yeah i wonder if openttd's game mechanics could conceptually be refactored to be more efficient
01:32<Corns[m]>eg. async render and simulation
01:35<Eddi|zuHause>the last time i suggested that they called me crazy
01:35<Corns[m]>probably too much work :) :) :)
01:35<Eddi|zuHause>which i probably am, but that's besides the point :p
01:35<Corns[m]>async render would be nice
01:51<peter1139>It could be more efficient, but that wouldn't be.
02:08<Eddi|zuHause>they had one problem, so they added multithreading. then they had -2- -4- -8- 16 problems
02:13<juzza1>isn't the simulation already async? or what does this mean:
02:23<Eddi|zuHause>the drawing is decoupled from the rendering, but the rendering isn't decoupled from the simulation
02:23<peter1139>You'd need to duplicate a lot of state...
02:24<Eddi|zuHause>"drawing" means "put the pixels on the screen", and "rendering" means "prepare the pixels that should be displayed"
02:24<Eddi|zuHause>(grossly simplified)
02:25<Eddi|zuHause>this preparation step needs to know the game state, and the simulation changes the game state
02:25<Eddi|zuHause>so in order for the simulation to run while the preparation runs in parallel, they need to operate on separate copies of the game state, which are synchronized inbetween
02:27<Eddi|zuHause>which potentially needs a 3rd copy, so it doesn't have to wait for both the simulation and the preparation to be idle at the same time to interrupt them for synchronizing
02:27<peter1139>Rendering is decoupled, but has to happen between simulation runs.
02:27<peter1139>Part of the "wow, fast foward is really fast now" thing is that rendering is no longer necessarily done for every simulation run.
02:30<Eddi|zuHause>well, different meaning of "decoupled" :p
02:34<peter1139>Sort of. It's not like the game is rendering stuff in between moving vehicles or whatever.
02:36<Eddi|zuHause>ok, maybe my simplification was too broad... maybe more like: the rendering must be synchronized with the simulation, and the drawing must be synchronized with the rendering, but the drawing needn't be synchronized with the simulation.
02:37<Eddi|zuHause>"synchronized" here means "one can't run while the other is running"
02:50-!-juzza1 [] has quit [Server closed connection]
02:51-!-juzza1 [] has joined #openttd
02:51-!-juzza1 is "juzza1" on #openttd
03:23<peter1139>I'm sure we both know what it means, and we're neither disagreeing.
04:11-!-tycoondemon [] has joined #openttd
04:11-!-tycoondemon is "..." on #openttd
04:29<Sacro>Eddi|zuHause: you are crazy
04:30-!-Supercheese [] has quit [Quit: Valete omnes]
04:32-!-ad5twoknebor[m] [~ad5twokne@2001:470:1af1:101::33c7] has quit [Server closed connection]
04:32-!-ad5twoknebor[m] [~ad5twokne@2001:470:1af1:101::33c7] has joined #openttd
04:32-!-ad5twoknebor[m] is "" on #openttd #Qubes_OS
05:04-!-chomwitt is "chomwitt" on #debian #debian-games
05:04-!-chomwitt [~chomwitt@2a02:587:dc19:af00:7ced:c3df:ec19:bae9] has joined #openttd
06:13-!-ist5shreawf[m] [~ist5shrea@2001:470:1af1:101::33cb] has quit [Server closed connection]
06:13-!-ist5shreawf[m] [~ist5shrea@2001:470:1af1:101::33cb] has joined #openttd
06:13-!-ist5shreawf[m] is "" on #openttd #Qubes_OS
06:13-!-ookfof[m] [~ookfofru-@2001:470:1af1:101::344b] has quit [Server closed connection]
06:14-!-ookfof[m] [~ookfofru-@2001:470:1af1:101::344b] has joined #openttd
06:14-!-ookfof[m] is "" on #openttd #Qubes_OS
06:19-!-jeeg[m] [~jeegkdeor@2001:470:1af1:101::37b5] has quit [Server closed connection]
06:19-!-jeeg[m] [~jeegkdeor@2001:470:1af1:101::37b5] has joined #openttd
06:19-!-jeeg[m] is "" on #openttd #Qubes_OS
06:20-!-ircer[m] [~ircernerd@2001:470:1af1:101::37cd] has quit [Server closed connection]
06:20-!-ircer[m] [~ircernerd@2001:470:1af1:101::37cd] has joined #openttd
06:20-!-ircer[m] is "" on #openttd #Qubes_OS
06:21-!-josef[m] [~josefbau-@2001:470:1af1:101::37ce] has quit [Server closed connection]
06:21-!-josef[m] [~josefbau-@2001:470:1af1:101::37ce] has joined #openttd
06:21-!-josef[m] is "" on #openttd #Qubes_OS
06:40-!-berndj-blackout [] has quit [Ping timeout: 480 seconds]
06:45-!-lpx is now known as Guest4413
06:45-!-lpx [] has joined #openttd
06:45-!-lpx is "Lyle Lack Leopold Penxicles III" on #openttd
06:47-!-Guest4413 [] has quit [Ping timeout: 480 seconds]
06:55-!-Speedyn [] has joined #openttd
06:55-!-Speedyn is "Speedy's my name." on #openttd #sd
06:56-!-Alkel_U3 [] has quit [Quit: WeeChat 2.3]
06:57-!-Speedy` [] has quit [Ping timeout: 480 seconds]
07:05-!-lpx is now known as Guest4415
07:05-!-Alkel_U3 [] has joined #openttd
07:05-!-Alkel_U3 is "alkel" on #openttd
07:05-!-lpx [] has joined #openttd
07:05-!-lpx is "Lyle Lack Leopold Penxicles III" on #openttd
07:07-!-Guest4415 [] has quit [Ping timeout: 480 seconds]
07:21-!-khavik[m] [~khavikmat@2001:470:1af1:101::31e9] has quit [Server closed connection]
07:22-!-khavik[m] [~khavikmat@2001:470:1af1:101::31e9] has joined #openttd
07:22-!-khavik[m] is "" on #openttd
07:43-!-Laedek_ [~quassel@] has quit [Read error: Connection reset by peer]
07:47-!-Laedek [~quassel@] has joined #openttd
07:47-!-Laedek is "Laedek" on #openttd
08:03-!-Laedek_ [~quassel@] has joined #openttd
08:03-!-Laedek_ is "Laedek" on #openttd
08:04-!-GroovyNoodle [] has joined #openttd
08:04-!-GroovyNoodle is "" on #openttd
08:10-!-Laedek [~quassel@] has quit [Ping timeout: 480 seconds]
08:14-!-andythenorth [] has joined #openttd
08:14-!-andythenorth is "andythenorth" on #openttd
08:14<andythenorth>are we discussing lunch?
08:14<andythenorth>or is that old news?
08:15<LordAro>hmm, dorpsgek_ii didn't come back
08:15<LordAro>that's disappointing
08:16<LordAro>wait, yes it did
08:16<LordAro>oh, another netsplit
08:19<peter1139>I had lunch. It was, of course, another salad. With egg.
08:31<peter1139>Wish I had some chocolate now, but didn't bring any, nor acquire from the sandwich van.
08:35-!-Samu [] has joined #openttd
08:35-!-Samu is "realname" on #openttd
08:36<Samu>round 32 begins
08:40<Samu>Radeon Pro Vega II Duo
08:40<Samu>what a name
08:42-!-snail_UES_ [] has joined #openttd
08:42-!-snail_UES_ is "Jacopo Coletto" on #openttd
08:56-!-snail_UES_ [] has quit [Quit: snail_UES_]
09:00<peter1139>Probably shit too.
09:00<peter1139>Just like all ATIs.
09:07<supermop_work>hmm now peter is emerald green in my irc client whereas normally he is ruby port
09:38-!-tokai [] has joined #openttd
09:38-!-tokai is "Christian Rosentreter" on #openttd
09:38-!-mode/#openttd [+v tokai] by ChanServ
09:45-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
09:48-!-nielsm [] has joined #openttd
09:48-!-nielsm is "Niels Martin Hansen" on #openttd
09:55-!-gareppa [~gareppa@] has joined #openttd
09:55-!-gareppa is "gareppa" on #bcache #privacybadger #https-everywhere #llvmlinux #ext4 #mm #moocows #oftc #openttd #scilab #C
09:56-!-gareppa [~gareppa@] has quit []
10:13<Eddi|zuHause> that's because he incremented
10:18-!-Wormnest [~Wormnest@] has joined #openttd
10:18-!-Wormnest is "Wormnest" on #openttd
10:52-!-Alkel_U3 [] has quit [Quit: WeeChat 2.3]
10:52-!-Flygon [] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
10:53-!-Alkel_U3 [] has joined #openttd
10:53-!-Alkel_U3 is "alkel" on #openttd
11:40<nielsm> <-- WITH!!!!! ?
11:41<nielsm>I don't mind reading posts by people not great at english, but that's a really strange way to write a single particular word
11:42<LordAro>i've seen that before
11:42<LordAro>i think it's a forum autoreplace
11:42<LordAro>wiht or something
11:44<peter1139>Turn off censoring.
11:44<peter1139>whit -> WITH!!!!!
11:44<peter1139>(Or perhaps wiht)
11:46<peter1139>It's an old orudge thing :p
11:49<nielsm>it's "whit" in this case
11:49<nielsm>found and disabled the censoring option
12:15-!-Gumle2 [] has joined #openttd
12:15-!-Gumle2 is "Martin" on #ceph #bcache #openttd
12:15-!-Gumle2 [] has quit []
12:16-!-frosch123 [] has joined #openttd
12:16-!-frosch123 is "frosch" on #openttd
12:26-!-arikover [] has joined #openttd
12:26-!-arikover is "unknown" on #openttd
12:33-!-sla_ro|master [] has joined #openttd
12:33-!-sla_ro|master is "slamaster" on #sla #openttd
12:33-!-qwebirc95265 [] has joined #openttd
12:33-!-qwebirc95265 is "OFTC WebIRC Client" on #openttd
12:34<qwebirc95265>jo guys, i need to draw the domain class like the class diagram, any tips or helps ?
12:35-!-qwebirc96565 [~oftc-webi@] has joined #openttd
12:35-!-qwebirc96565 is "OFTC WebIRC Client" on #openttd
12:35<Eddi|zuHause>with all due respect, you sound like a spambot
12:36<qwebirc95265>lol why would i ?
12:37<Eddi|zuHause>questionable nickname, asking a question without proper context
12:37<qwebirc96565>guys , is it possible to make ships crash ? like trains and aircrafts
12:37<qwebirc95265>well i thought the content was claer "OpenTTD" anything else?
12:38<Eddi|zuHause>great, now it's two.
12:39<qwebirc96565>dude I just came in
12:39<qwebirc96565>if you dont have an answer tell me
12:40<qwebirc95265>I dont, sorry
12:42-!-qwebirc95265 [] has quit [Quit: Page closed]
12:42<qwebirc96565>I'm asking one of the develepers not you :)
12:43<Eddi|zuHause>have you tried reading the code that makes trains crash?
12:43-!-gelignite [] has joined #openttd
12:43-!-gelignite is "gelignite" on #openttd
12:43<qwebirc96565>I did
12:43<qwebirc96565>4 days
12:44<Eddi|zuHause>what did you find?
12:44<qwebirc96565>they are not same
12:44<qwebirc96565>I cant implement crash function in ship.h // ship.cpp
12:46<andythenorth>it is possible to make ships crash
12:46<andythenorth>what would cause them to crash?
12:46<frosch123>demolishing aqueducts with magic bulldozer?
12:47<peter1139>Hit by a UFO.
12:47<frosch123>sunk by the submarine?
12:47<qwebirc96565>when 2 ships have the same x,y coordinates
12:47<qwebirc96565>I need that explosioneffect to do it to ships
12:47<andythenorth>yes that's possible
12:47<qwebirc96565>how can I do it ?
12:47<peter1139>It is definitely possible.
12:48<peter1139>You can do it by writing the code to do it.
12:48<andythenorth>yes, it's done by writing the code
12:48<qwebirc96565>I tried to implement a class // struct Seavehicle (like Groundvehicle for train)
12:48<andythenorth>iirc, ships are groundvehicles?
12:48*andythenorth checks
12:48<peter1139>Ships are already in their own vehicle class.
12:49<peter1139>I don't see why you'd want or need to add another.
12:49<frosch123>andythenorth: groundvehicles are things with articulated parts
12:49<peter1139>Articulated ships, did you say?
12:49<qwebirc96565>I said Seavehicle for ships like Groundvehicle for trains
12:49<peter1139>I think we've had that conversation :D
12:49<andythenorth>what if the articulated ship parts collided?
12:49<peter1139>Well they wouldn't, because ships don't collide.
12:50<Eddi|zuHause>why would you need a seavehicle class, which would only have one subclass?
12:50<frosch123>andythenorth: the front as back part connect, and the ship drives in circles forever
12:50<andythenorth>would articulated ships be good?
12:50<qwebirc96565>Yes I want the collide
12:50*andythenorth serious question
12:51<LordAro>qwebirc96565: no one's ever tried to make ships crash before, you're mostly on your own
12:51<LordAro>it's certainly not as simple as adding a crash(); call somewhere
12:51<Eddi|zuHause>qwebirc96565: imho, adding a check for collision should be something around 10 loc, not a giant architecture change
12:51-!-HerzogDeXtEr [] has joined #openttd
12:51-!-HerzogDeXtEr is "purple" on #openttd
12:52<andythenorth>there's a patch for ships that avoid each other
12:52<andythenorth>in forums
12:52<LordAro>ship movement code is probably a good place to start
12:52<andythenorth>I'll find it
12:52<qwebirc96565>I just need a change in the code for my Uni-Project , I suggested to the prof to add ship collision
12:52<Eddi|zuHause>LordAro: well, changing the routing of ships wasn't part of the posed problem.
12:52<peter1139>andythenorth, ships colliding is separate from ships avoiding each other ;)
12:53<peter1139>qwebirc96565, so if this is university course work, you really need to learn how to do what you proposed to do. It's no good asking us to do your course work.
12:53<LordAro>Eddi|zuHause: i was thinking "move_ship(); if ship.coord == another_ship.coord() { explode(); }"
12:53<LordAro>so perhaps not directly in the movement code
12:54<andythenorth>oh possibly JGR has already done it
12:54<peter1139>I'm pretty sure it's, as Eddi|zuHause says, a few LoC to make ships collide. Desirably, no.
12:54<Eddi|zuHause>LordAro: yes. as i said, 10loc
12:54*andythenorth reading
12:54<peter1139>qwebirc96565, real-world coding isn't about making new classes and having magic happen. You need to write the actual code to do stuff.
12:56<andythenorth>yeah JGR has ship collision avoidance
12:56<andythenorth>but not ship collisions
12:56<qwebirc96565>so it is not possible yo make the collide ?
12:57<peter1139>It is very much possible. You will have to write (albeit using existing code as refernce) your own code to do it!
12:58<qwebirc96565>thank you !
12:58<qwebirc96565>last question , I didnt find the main function when for example crashfunction ist called
12:59<peter1139>You didn't find it for ships because it's not called for ships.
12:59<qwebirc96565>I mean any function
12:59<qwebirc96565>I gave the example of trainc rash
12:59<qwebirc96565>train crash *
13:00<peter1139>Search harder then. It may not be a separate function, it may be intermingled in other places.
13:00<peter1139>If you're at university level, you really should be able to do this.
13:01<andythenorth>try searching 'crashed'
13:01<peter1139>('this' being searching around code, figuring out how bits of it (not all of it of course!) work)
13:01<LordAro>peter1139: depends on particular specialisation, tbf
13:01*andythenorth guesses
13:01*andythenorth BIAB, and then much NRT grf to make
13:01<andythenorth>very fun :)
13:01-!-andythenorth [] has quit [Quit: andythenorth]
13:01<peter1139>LordAro, university level is dumbed down enough to not have basic skills of understanding things?
13:02<peter1139>Discovery is waaaay before uni level.
13:02<LordAro>you would think
13:02<Eddi|zuHause>peter1139: given the discussions i follwed during my time at university, where they started introducing the "Bologna" changes, yes.
13:03<LordAro>you can *nearly* get through the entire CS course at York without touching a computer
13:04<LordAro>well, perhaps that's not quite fair, but there's an awful lot that doesn't require it, nor does it particularly focus on practical skills
13:20<Eddi|zuHause>university never focused on practical skills
13:21<Eddi|zuHause>but one of those "bologna" standardization changes being discussed was for example the requirement to teach binary as a basic concept
13:21<Eddi|zuHause>which was being removed
13:30-!-andythenorth [] has joined #openttd
13:30-!-andythenorth is "andythenorth" on #openttd
13:33-!-qwebirc96565 [~oftc-webi@] has quit [Quit: Page closed]
13:34-!-Wormnest [~Wormnest@] has quit [Ping timeout: 480 seconds]
13:38-!-glx [] has joined #openttd
13:38-!-mode/#openttd [+v glx] by ChanServ
13:38-!-glx is "Loïc GUILLOUX" on +#openttd
14:00-!-Wolf01 [] has joined #openttd
14:00-!-Wolf01 is "Wolf01" on #openttd
14:02<Wolf01>Choice was between 1070ti and rtx2060... the result was clear
14:03<Wolf01>Problem is that I can't connect the other display right now :P
14:04<Eddi|zuHause>could you explain that choice to someone who has never heard those letter combinations before?
14:06<Wolf01>1070 is a bit old, still really valid but I choose a brand new one so it might be supported a bit longer
14:10-!-Gumle2 [] has joined #openttd
14:10-!-Gumle2 is "Martin" on #ceph #bcache #openttd
14:10<Eddi|zuHause>support length was definitely a factor i considered when buying my graphics card
14:12-!-Wormnest [~Wormnest@] has joined #openttd
14:12-!-Wormnest is "Wormnest" on #openttd
14:14<Wolf01>This one is about 4cm shorter than my old one
14:14<Wolf01>I have a tower server case, plenty of space, so size is not a problem :P
14:18-!-Gumle2 [] has quit []
14:21<Eddi|zuHause>that website doesn't seem to be able to sort on price/value
14:24-!-Progman [] has joined #openttd
14:24-!-Progman is "Peter Henschel" on #openttd
14:25<andythenorth>Wolf01: orange crawler? o_O
14:25<andythenorth>or is Lego over yet?
14:25<supermop_work>orange crawler?
14:25<Wolf01>Orange crawler.
14:26<Wolf01>Also huge excavator, I'm hoarding vip points for it
14:26<supermop_work>i want the vestas turbine
14:26<supermop_work>and the roller coaster
14:27<supermop_work>the roller coaster should snap into the townhouse buildings
14:27<supermop_work>i mean it would be trivial to modify it to
15:10<Wolf01>andythenorth: I purchased some tens of those new small technic panels 3x3x1, I'm looking to use them in my current moc because they should really simplify a lot of things
15:16<andythenorth>I don't have any
15:16<andythenorth>lego buying has ceased :)
15:28-!-Samu [] has quit [Ping timeout: 480 seconds]
15:44-!-gelignite [] has quit [Quit: Good fight, good night!]
15:46-!-Gumle2 [] has joined #openttd
15:46-!-Gumle2 is "Martin" on #ceph #bcache #openttd
15:49-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
15:55-!-Gumle2 [] has quit []
16:14-!-chomwitt [~chomwitt@2a02:587:dc19:af00:7ced:c3df:ec19:bae9] has quit [Quit: WeeChat 1.6]
16:14-!-sla_ro|master [] has quit []
16:14<Wolf01> <- andythenorth
16:26-!-andythenorth [] has left #openttd []
16:54-!-Eddi|zuHause [] has quit [Remote host closed the connection]
16:55-!-Eddi|zuHause [] has joined #openttd
16:55-!-Eddi|zuHause is "Johannes E. Krause" on #openttd
16:56-!-Eddi|zuHause [] has quit [Remote host closed the connection]
16:56-!-Eddi|zuHause [] has joined #openttd
16:56-!-Eddi|zuHause is "Johannes E. Krause" on #openttd
17:18-!-nielsm [] has quit [Ping timeout: 480 seconds]
17:23-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:28-!-Compu [] has joined #openttd
17:28-!-Compu is "Compu" on #help #openttd #/r/openttd
17:29-!-Compu [] has quit [Remote host closed the connection]
17:42-!-GroovyNoodle [] has quit [Quit: Leaving]
18:31-!-arikover [] has quit [Remote host closed the connection]
18:33-!-techmagus [] has quit [Ping timeout: 480 seconds]
18:38-!-Progman [] has quit [Remote host closed the connection]
18:51-!-Wormnest [~Wormnest@] has quit [Ping timeout: 480 seconds]
19:07-!-SimYouLater [] has joined #openttd
19:07-!-SimYouLater is "realname" on #openttd
19:29-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
19:53-!-techmagus [chatrix@] has joined #openttd
19:53-!-techmagus is "Yahanan Xie" on #openttd #friendica #/r/openttd
19:56-!-Flygon [] has joined #openttd
19:56-!-Flygon is "Flygon" on #openttd
19:58-!-snail_UES_ [] has joined #openttd
19:58-!-snail_UES_ is "Jacopo Coletto" on #openttd
20:49-!-Supercheese [] has joined #openttd
20:49-!-Supercheese is "Caseum" on #openttd
21:02-!-SimYouLater [] has quit [Remote host closed the connection]
21:03-!-SimYouLater [] has joined #openttd
21:03-!-SimYouLater is "realname" on #openttd
21:04-!-Wormnest [~Wormnest@] has joined #openttd
21:04-!-Wormnest is "Wormnest" on #openttd
21:06-!-Wormnest [~Wormnest@] has quit []
21:14-!-snail_UES_ is now known as Guest4459
21:14-!-Guest4459 [] has quit [Read error: Connection reset by peer]
21:14-!-snail_UES_ [] has joined #openttd
21:14-!-snail_UES_ is "Jacopo Coletto" on #openttd
21:47-!-SimYouLater [] has quit [Ping timeout: 480 seconds]
21:49-!-SimYouLater [] has joined #openttd
21:49-!-SimYouLater is "realname" on #openttd
22:21-!-debdog [~debdog@2a00:79c0:615:b00:7a24:afff:fe8a:d04d] has joined #openttd
22:21-!-debdog is "Wowbagger" on #bitlbee #openttd
22:25-!-D-HUND [~debdog@2a00:79c0:664:eb00:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
22:29-!-glx [] has quit []
23:58-!-SimYouLater [] has quit [Ping timeout: 480 seconds]
---Logclosed Wed Jun 05 00:00:11 2019