Back to Home / #openttd / 2022 / 01 / Prev Day | Next Day
#openttd IRC Logs for 2022-01-20

---Logopened Thu Jan 20 00:00:37 2022
00:01-!-_aD [~quadrant@0001362b.user.oftc.net] has quit [Quit: leaving]
00:18-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:96b6:f57:b290:e69a:6832] has quit [Remote host closed the connection]
00:18-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:96b6:f57:b290:e69a:6832] has joined #openttd
00:18-!-Gustavo6046 is "realname" on #openttd
01:25-!-Kitrana1 [~yoshi@45.130.86.4] has joined #openttd
01:25-!-Kitrana1 is "purple" on #openttd
01:26-!-Kitrana [~yoshi@45.130.86.4] has quit [Ping timeout: 480 seconds]
01:34-!-Kitrana [~yoshi@45.130.86.4] has joined #openttd
01:34-!-Kitrana is "purple" on #openttd
01:39-!-Kitrana1 [~yoshi@45.130.86.4] has quit [Ping timeout: 480 seconds]
02:44-!-sla_ro|master [~sla.ro@93.118.46.75] has joined #openttd
02:44-!-sla_ro|master is "slamaster" on @#sla #openttd
02:47-!-nielsm [~nielsm@188-181-82-243-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
03:13-!-andythenorth [~andytheno@cpc87165-aztw31-2-0-cust40.18-1.cable.virginm.net] has joined #openttd
03:13-!-andythenorth is "andythenorth" on #openttd
04:02-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:96b6:f57:b290:e69a:6832] has quit [Quit: Leaving]
08:45<supermop_Home>yo
09:00-!-grossing [~grossing@dysnomia.uberspace.de] has joined #openttd
09:00-!-grossing is "Florian Gross" on #openttd #centos #oftc #kaschemme #osm-de-ot
09:02-!-basxt0 [~basxto@dione.uberspace.de] has joined #openttd
09:02-!-basxt0 is "basxto" on #openttd
09:02-!-Feuersalamander [~grossing@dysnomia.uberspace.de] has quit [Ping timeout: 480 seconds]
09:03-!-basxto [~basxto@dione.uberspace.de] has quit [Ping timeout: 480 seconds]
09:29-!-tokai [~tokai@00012860.user.oftc.net] has joined #openttd
09:29-!-tokai is "Christian Rosentreter" on #openttd
09:29-!-mode/#openttd [+v tokai] by ChanServ
09:36-!-tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
09:38-!-nielsm [~nielsm@188-181-82-243-cable.dk.customer.tdc.net] has joined #openttd
09:38-!-nielsm is "Niels Martin Hansen" on #openttd
09:46-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
09:46-!-glx is "Loïc GUILLOUX" on #openttd
09:46-!-mode/#openttd [+v glx] by ChanServ
10:35-!-sla_ro|master [~sla.ro@93.118.46.75] has quit []
10:49-!-gelignite [~gelignite@55d4ea14.access.ecotel.net] has joined #openttd
10:49-!-gelignite is "gelignite" on #llvm #openttd
10:57<bkilm[m]>Hello, I've updated the Multiplayer rules wiki page, a little proofreading would be welcome https://wiki.openttd.org/en/Community/Play%20Style/Multiplayer%20Rules
10:58<+glx>each server uses its own rules anyway
10:58<bkilm[m]>I've created a section for "house rules" to enumerate those that I could find. Feel free to extend if you know more.
11:09<supermop_work>none of these rules are canonical
11:10<supermop_work>'boosted primary industry stealing' doesn't even make sense from a vanilla gameplay perspective
11:11<supermop_work>this whole page should be deleted
11:11<supermop_work>it is a bad faith misrepresentation of what OpenTTD is
11:12<bkilm[m]>The canonical rules are the first half (created many years ago), and the second parts are house rules that are not canonical, which some servers may cherry pick based on demand.
11:13<Eddi|zuHause>there is no such thing as "canonical rules"
11:13<bkilm[m]>Rules can scroll through real fast on chat and it was difficult for even me who played OpenTTD - it took some time to understand all hence why it is an advantage to have them explained at a single wiki page.
11:13<supermop_work>espescially any rules regarding a 'city builder script'
11:14<bkilm[m]>The city builder script is only mentioned in the non-canonical section
11:14<bkilm[m]>Sorry, I'd not want to repeat myself so many times, I'll leave for a few hours to let you read through and then I'll come back for feedback
11:14<bkilm[m]>AFK
11:14<LordAro>yeah, much of that needs removing
11:14-!-sla_ro|master [~sla.ro@93.118.46.75] has joined #openttd
11:14-!-sla_ro|master is "slamaster" on @#sla #openttd
11:14<supermop_work>it shouldn't be mentioned at all, it implies that this script is officially sanctioned by OpenTTD and other scripts are not
11:14<LordAro>not all, by any means
11:14<LordAro>but most of it is extremely server specific
11:15<LordAro>and "House rules" implies there is a "House"
11:15<LordAro>which there is not
11:18<supermop_work>the whole page should be 'in general, be a considerate player, and be sure to familiarize yourself with any particular rules or conventions that a server operator may apply"
11:18<LordAro>pretty much
11:18<LordAro>possibly keep some of the "Common rules" stuff
11:19<LordAro>also == foo == -> = foo = & === bar === -> == bar ==
11:19<LordAro>=== foo === is really ugly
11:22<supermop_work>also competing with other players to take more cargo from an industry or town by virtue of better station ratings is one of the original core elements of gameplay
11:38-!-Wormnest [~Wormnest@35.136.189.95] has joined #openttd
11:38-!-Wormnest is "Wormnest" on #openttd
12:02-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
12:02-!-frosch123 is "frosch" on #openttd
12:34-!-Flygon [~Flygon@2001:44b8:411e:4e00:e091:669e:9c61:456c] has quit [Remote host closed the connection]
12:40<supermop_work>lets see what did i decide on for maximum building height
12:40<supermop_work>i was doing 128, but tube building might want to be taller
13:08<andythenorth>wiki things are wiki
13:08<andythenorth>it's kind of funny how some of us instantly react against a page
13:09<andythenorth>even though it looks like it's been there for a long time
13:10<LordAro>andythenorth: first part has been there a long time
13:10<LordAro>second part is new, afaik
13:10<LordAro>i don't really have any issues with the first part
13:12-!-gelignite [~gelignite@55d4ea14.access.ecotel.net] has quit [Quit: Stay safe!]
13:20<andythenorth>how much GS can we patch then? :P
13:35<supermop_work>tube proportions? https://imgur.com/a/e1Ts3Te
13:38<supermop_work>https://imgur.com/Q6ndmDu
13:39-!-Gustavo6046 [~Gustavo60@2804:14d:4cd8:96b6:f57:b290:e69a:6832] has joined #openttd
13:39-!-Gustavo6046 is "realname" on #openttd
13:43<supermop_work>or this:
13:44<supermop_work>https://64.media.tumblr.com/tumblr_mdf41aWPlW1qzqju7o1_500.jpg
14:05-!-refujesus [~refujesus@bras-base-hmtnon1485w-grc-04-174-95-152-55.dsl.bell.ca] has joined #openttd
14:05-!-refujesus is "Matthew" on #openttd
14:05<refujesus>hello
14:06<refujesus>I am with a group of 3 people in university, looking to see if there was anything we could help to implement as a part of our project. We would be working on this for 3 months. Does anyone have any suggestions?
14:09<frosch123>what are your interests and your skills? there are plenty of python/web thingies around
14:11-!-jottyfan [~Thunderbi@dynamic-078-054-242-043.78.54.pool.telefonica.de] has joined #openttd
14:11-!-jottyfan is "jottyfan" on #openttd
14:11<frosch123>https://github.com/OpenTTD <- there are many projects which would be suitable to learn something from or with. just
14:11<frosch123>just avoid the basegame :)
14:12<frosch123>i don't think the basegame is particular 3-month project friendly
14:13<refujesus>okay thanks
14:13<refujesus>umm we all have good python skills
14:14<refujesus>we are all interested in development
14:16<frosch123>https://github.com/OpenTTD/bananas-api/issues https://github.com/OpenTTD/bananas-frontend-web/issues <- some projects are connected, so also offer to learn about containers and clouds stuff
14:16<frosch123>i am sure you can find somethnig that looks nice on a CV :p
14:18<frosch123>https://github.com/OpenTTD/game-coordinator/issues <- game-coordinator is also new, but possibly harder to test/play with
14:19<frosch123>though not sure whether there is much too do
14:21<refujesus>is there any particular issues that will take around 3 months to fix
14:21<LordAro>that very much depends on the person :)
14:22<refujesus>that is true, we got 3 people and we are pretty competant
14:22<frosch123>i would think with the bananas stuff you have the most options to choose your own topics
14:23<frosch123>there are endless community wishes for bananas, not everything is a good idea :)
14:25<LordAro>i very much doubt there's a single issue that will take 3 months exactly
14:25-!-Tirili [~Tirili@tmo-102-0.customers.d1-online.com] has joined #openttd
14:25-!-Tirili is "realname" on #openttd
14:25<frosch123>for now you only said python. there is also c++, html, css, js, rust, ...
14:25<LordAro>just start at one end and see how many you do :)
14:25<LordAro>frosch123: only TrueBrain has any rust, afaik :p
14:25<frosch123>i know, only threw that in check whether it shows a reaction
14:25<LordAro>haha
14:26<refujesus>yeah we can do java, c++, js, and html
14:26<frosch123>no java here :)
14:26<refujesus>not enough oop
14:28-!-gelignite [~gelignite@55d4ea14.access.ecotel.net] has joined #openttd
14:28-!-gelignite is "gelignite" on #llvm #openttd
14:42<Gustavo6046>you mean poop?
14:43<Gustavo6046>it's good to modularize projects, especially as they get large
14:43<Gustavo6046>because with a lot of moving parts, interdependence between parts of your code becomes more of a liability, especially if you start having to rewrite stuff
14:43<Gustavo6046>there's always a bunch of unwritten specs between code that does interface
14:43<Gustavo6046>but OOP is by far a bad, bad, bad way to solve that problem
14:51<bkilm[m]>LordAro: Sorry, did I use this phrase incorrectly? https://en.wikipedia.org/wiki/House_rule As in "house of n-ice, house of Reddit, etc."
14:51<bkilm[m]>And also, `<h1>` (and =xxx=) is used for the title of a page, not on subsections in mediawiki. This is what I see in mediawiki as well.
14:51<bkilm[m]>I mean I can see the same convention in the openttd wiki
14:52<LordAro>bkilm[m]: i'm not sure what wikipedia says, but "house rules" sounds overly official to me
14:52<supermop_work>"X's Server house rules" are not the 'house rules" of OpenTTD
14:53<bkilm[m]>House rules in English mean "unofficial modifications of the rules"
14:53<Xaroth>House rules are defined by the house, not by the game.
14:54<supermop_work>if i have a pool table in my basement, my house rules are free placement of cue ball after a scratch
14:54<supermop_work>those are not the house rules of pool / billiards in general
14:54<Xaroth>When you have a pool table in your basement, can I come play a game of pool, supermop_work?
14:54-!-virtualrandomnumber [~Thunderbi@p4ffe3dad.dip0.t-ipconnect.de] has joined #openttd
14:54-!-virtualrandomnumber is "virtualrandomnumber" on #openttd
14:54<supermop_work>i used to when i lived in the midwest
14:55<supermop_work>now i don't even have a basement
14:55-!-virtualrandomnumber [~Thunderbi@p4ffe3dad.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
14:56<supermop_work>bkilm[m]: for example, the openttdcoop rules are not openttd rules
14:56<LordAro>yeah, i'm saying in the context of the OTTD wiki, the "house" is OTTD, which is not the case here
14:56<LordAro>which is not something we want to suggest*
14:56<supermop_work>and they would be published on the openttdcoop site, not openttd wiki
14:58<bkilm[m]>Okay, I renamed the section to "additional unofficial rules" to make that more clear.
14:58*andythenorth thought the OOP backlash had ended now
14:58<andythenorth>didn't we make our peace with it?
14:59<andythenorth>it's only been 30 years or so
15:00<Gustavo6046>(still on OOP) arguably, it solves that problem, then brings up many of its own; its structural programming nature often leads to boilerplate code, class inheritance hierarchies tend to do more bad than good (reusing code is good but forcing it will generally cripple your code quality), and don't even get me started on the performance issues, particularly related to branching and the CPU cache and what virtual method tables
15:00<Gustavo6046>does to your poor processor.
15:00<frosch123>andythenorth: 30? you mean 60-70?
15:01<Gustavo6046>brb porting openttd to a MOS 6502
15:01<Gustavo6046>:p
15:01<Gustavo6046>you know what would be cool?
15:01<Gustavo6046>using several 6502s to kind of make a large and beefier "processor"
15:01<wiscii>you will be starting the games back in 1700 then ;-)
15:02<andythenorth>frosch123 70 years since the backlash started? :o
15:02<andythenorth>oof
15:02<bkilm[m]>Gustavo6046: Please do that, I'm still desperate to be able to play on an ASCII screen!
15:03<bkilm[m]>Many great demos from recent times had been ported to C64 as well.
15:03<Gustavo6046>maybe one would be the control processor, and like six would be for arithmetic operations and SIMD, four would be for floating point operations, and another two for handling large-throughput memory operations (what was it called again?), also a rasterizer iGPU made of 4 processors
15:03<Gustavo6046>lol
15:04<bkilm[m]>https://www.pouet.net/prod.php?which=63
15:05<Gustavo6046>ah I remember Second Reality
15:05<Gustavo6046>I wouldn't call it recent, even though it's definitely not from the very early demoscene
15:05<Gustavo6046>it's from the 90s
15:05<Gustavo6046>then again when it was released the demoscene was more of an Amiga thing than PC
15:06<Gustavo6046>I just like the music though, not too much for the demos themselves, to be honest, although they are certainly impressive
15:06<_dp_>as much as I like the idea of explaining various rules that servers can have right now those additions are mostly nonsense
15:06<bkilm[m]>https://en.wikipedia.org/wiki/Utopia_(video_game)
15:06<_dp_>like exclusive rights aren't even a rule, it's a server misconfiguration
15:06<_dp_>if you see it enabled, run
15:07<Gustavo6046>exclusive rights?
15:07<Gustavo6046>This railcar station is (C)1963 Gustavo6046 Inc.
15:07<Gustavo6046>lol
15:08<_dp_>Gustavo6046, if it's enabled you can for about 300k buy exclusive rights to all cargo in the zone of that town for a year
15:08<_dp_>fun and exciting mechanic :p
15:09<Gustavo6046>oh o.o
15:09<Gustavo6046>that sounds horrible
15:09<bkilm[m]>https://en.wikipedia.org/wiki/Stonkers https://en.wikipedia.org/wiki/Herzog_Zwei (although the last one runs on a 16-bit CPU with 128kB RAM, it could surely be minimized)
15:11<bkilm[m]>_dp_: Well, there are lots of other town in play and each player should already have built up their empire to not rely on a single town by the time anyone has enough money to fund this.
15:12<bkilm[m]>It can be used to drop out some of your opponents when you are running in "massively" multiplayer mode and most people got access to a small territory.
15:12<_dp_>bkilm[m], I can get 300k in two month and buy rights in your starting town, good luck surviving :P
15:13<bkilm[m]>By the way, it is sad how almost all AI's fail when you turn the difficulty setting to `hard`. They are also bad at computing infrastructure maintenance.
15:13<bkilm[m]>Not sure your currency, but last time I looked it cost millions, but it was long ago.
15:14<bkilm[m]>Like multiple times what was a typical loan, maybe 10x, a little less I think
15:15<_dp_>I can get exclusive rights in single player, bullying ais is a harmless fun
15:16<_dp_>but in mp it's just nonsense, whoever is ahead can just force others into bancrupcy
15:17<bkilm[m]>A different kind of question. Is the wiki running a fully static website? I like how it is generated from github (although I would prefer Markdown). Redirecting to ddg for search seems like an odd choice, but still better than Google, though. It's a pity that it does not open without JavaScript (there's lite.duckduckgo.com and lite.qwant.com for that) Did you consider perhaps generating a static word index for search, though?
15:18<andythenorth>PRs are possible :P
15:18<bkilm[m]>Interestingly, in all multiplayer games I've seen, people were struggling just to survive and not go bankrupt in a few years - the focus wasn't about being a mogul. The last time I even let my opponent back to my company after he went bankrupt so we could resume the fun.
15:18<bkilm[m]>andythenorth: 🤩
15:28<supermop_work>bkilm[m]: personally i only ever play multiplayer to play cooperatively with someone else who has a similar playstyle to me
15:30<andythenorth>there's really only one rule needed
15:30<andythenorth>"swastikas aren't as funny as you think"
15:32<TrueBrain>frosch123: you didn't even suggest https://gist.github.com/TrueBrain/976cab3b6c88f208636653191ba5c420? Tssk
15:32<andythenorth>" most of the servers that currently run are not official open TTD servers "
15:32<andythenorth>none
15:32<andythenorth>lol never start rewriting a wiki article :P
15:32<andythenorth>endless
15:33<TrueBrain>lol, we never had any official servers :D Which is a good thing :)
15:33<andythenorth>right how do I patch OpenTTD :P
15:34<andythenorth>limitation skill disturbs me greatly
15:34<frosch123>TrueBrain: ah, that's actually a self-contained subject. but still, bananas is probably less political :)
15:34<andythenorth>goes it throw out?
15:34<TrueBrain>frosch123: and 3x 3 months .. that might even be possible :D
15:34<frosch123>pretty sure it was not meant fulltime
15:34<TrueBrain>awh :P
15:35<frosch123>and i did not want to rely on you mentoring them everyday :)
15:35<TrueBrain>I appreciate it :)
15:35<andythenorth>I guess it's not just this (plus a check for invalid / not found)? https://gist.githubusercontent.com/andythenorth/b2e92b8af34ee15089788cdc16b0609d/raw/e6404d73f71caeef440a7473aa078056ab652f5c/gistfile1.txt
15:36<andythenorth>doesn't compile for starters
15:36<andythenorth>extraneous comma in params
15:36<Gustavo6046>who needs a masters in business administration when you have someone who has played openttd or simcity 4 since childhood
15:36<Gustavo6046>if you have someone with a MBA and someone who has played those games, who do you think will be better at managing a business?
15:37<Gustavo6046>the person who is good at memorizing funny feel-good vocabulary from capitalist wannabe education, or the person who has developed a more concrete intuition for accounting through the help of simulation games?
15:38<Xaroth>I have my 15 years of experience running stuff in EVE Online on my resume.
15:38<Xaroth>has landed me more than one job interview.
15:38<frosch123>is it just me, or did the bs level raise in this channel over the last week?
15:38<LordAro>:D
15:38<Gustavo6046>frosch123, :D
15:38<Gustavo6046>don't you agree though?
15:39<LordAro>frosch123: i'll take that over silence
15:39<LordAro>i tried EVE for about 9 months
15:39<LordAro>never really got into the swing of it
15:39<Xaroth>You lasted quite a long time :P
15:39<andythenorth>running a business is mostly people, spreadsheets, people, compliance questionnaires and people
15:39<Xaroth>most people either last two weeks, or get hooked on it for years
15:39<TrueBrain>"tried" .. "for .. 9 months" ...
15:39<LordAro>i wanted to get hooked on it
15:40<LordAro>but couldn't
15:40<TrueBrain>that is enough time for someone to poop out a baby
15:40<LordAro>i blame the cinematic trailer from... 2015?
15:40<frosch123>"the game really becomes boring after some time" (lordaro, 9 months in)
15:40<Xaroth>They are running a Dr.Who crossover event currently :P
15:40<Xaroth>just saying.
15:40<LordAro>wut.
15:40<bkilm[m]><andythenorth> "" most of the servers that..." <- This was an original sentence. I tried to not touch anything else from the past, only extend the free knowledge base.
15:40<andythenorth>TrueBrain you don't poop out a baby. I have been there.
15:40<TrueBrain>I sure don't
15:40<TrueBrain>never will
15:40<andythenorth>just in case you were confused
15:40<Xaroth>https://www.youtube.com/watch?v=uhBFYpx_62Y LordAro
15:41<TrueBrain>EVE is fun, till someone steals your Tengu .... :P
15:41<TrueBrain>at least I still have my Loki
15:41<Xaroth>It's even more fun when you are the one stealing.
15:41<Xaroth>or so I've heard.
15:41<TrueBrain>the transport stealing, that isn't "fun" :P
15:42<Xaroth>There's two things in EVE that I loathe. Mining, and Logistics.
15:42<TrueBrain>back in the day ... where you want ratting with carriers ... now that were fun times
15:43<TrueBrain>want -> went
15:43<TrueBrain>typing, hard
15:43<andythenorth>game hates me, won't compile https://gist.githubusercontent.com/andythenorth/b2e92b8af34ee15089788cdc16b0609d/raw/d036b28314be465c5a216cd0fb1e4d9132526feb/gistfile1.txt
15:43<andythenorth>game is probably correct
15:43<bkilm[m]>I did primary industry stealing with a friend just for the kicks (he didn't even notice it 😄). I compared our profits to see which kind of train schedules and solutions worked better (full load vs not, 2 trains vs 1, 2 rails vs 1).
15:43<TrueBrain>and someone has to start talking about OpenTTD again
15:43<TrueBrain>le sigh
15:43<TrueBrain>:P
15:43<Gustavo6046><andythenorth> running a business is mostly people, spreadsheets, people, compliance questionnaires and people
15:44<bkilm[m]>Although I gave up that coal line because I found much better ones - shipping valuables that only required building a little sidelines to hook up with the existing tracks.
15:44<andythenorth>oh it might be working
15:44<andythenorth>well it might compile
15:44<andythenorth>'working' is too strong
15:44<Gustavo6046>it's mostly about the business model
15:44<Gustavo6046>that is, it's about what you do, and how you earn money from that, and where you spend money, and whether the earnings exceed the expenditures
15:44<andythenorth>ok don't declare a param as uint8 in one place and uint32 in another
15:45<andythenorth>Gustavo6046 how many business have you started / closed / sold / run? :)
15:45<Gustavo6046>sometimes it's not enough for them to exceed just a bit; a low 'profit margin' means you have less wiggle roo mto change thihngs up
15:45<Gustavo6046>I know friends who have and they agree, though none of them have MBAs (or the Brazilian equivalent of that anyway)
15:46<Gustavo6046>besides, isn't it kind of obvious?
15:46<Gustavo6046>the main purpose of a business is to profit, and to use some of that profit to provide goods or services for its customers
15:46<Gustavo6046>it doesn't take a lot of first-hand experience to know that
15:47<Gustavo6046>the thing that complicates it sometimes is the volume of data, like how many employees / departments and stuff to account for when calculating the cost of doing something to assess whether doing it is a good idea
15:47<Gustavo6046>that's why spreadsheets exist!
15:47<andythenorth>such spreadsheets
15:48<Gustavo6046>but really those are just nuances
15:48<andythenorth>the primary use of spreadsheets is to track policy vs. non-conformity
15:48<andythenorth>in my experience
15:48<andythenorth>TrueBrain will agree I think
15:48<Gustavo6046>well spreadsheets have a lot of uses
15:48<Gustavo6046>but accounting (financial usage) is one of the main ones
15:48<Gustavo6046>they're versatile
15:48<Gustavo6046>also different people with different job positions may use the same tools for different things
15:48<andythenorth>right let's see if I crash OpenTTD
15:48<andythenorth>I should
15:48<Gustavo6046>e.g. accountants will use spreadsheets for, well, accounting
15:52<andythenorth>ok I've crashed my script
15:53<andythenorth>I expected to crash OpenTTD
15:55<andythenorth>why doesn't openttd crash? https://gist.githubusercontent.com/andythenorth/b2e92b8af34ee15089788cdc16b0609d/raw/8aaa69d281aa16b445c622a3e1ed33c0fa53c0e6/gistfile1.txt
15:55<andythenorth>does _object_mngr handle the failure case of invalid grfid and grf_local_id
15:55<TrueBrain>what a weird order of parameters ...
15:55<TrueBrain>I first tell you the name, after that the room to find it in
15:55<TrueBrain>weird
15:56<frosch123>andythenorth: it will even handle the case when the grf was removed from the savegame laer
15:56<+glx>well check GetID
15:56<frosch123>it remembers everything
15:56<+glx>but yeah we tried to be failproof with human messable stuff :)
15:56<andythenorth>TrueBrain not even sure they're uint32 :P
15:57<andythenorth>I did start counting bytes on my fingers
15:57<andythenorth>but I can only count to 3
15:57<frosch123>TrueBrain: maybe urls were still cool at that time?
15:57<TrueBrain>I don't know that number?
15:57<TrueBrain>0, 1, 10, 11, 100, ...
15:57<TrueBrain>frosch123: yeah .... also never understood subdomains and tlds .. that is just wrong
15:57<TrueBrain>I also don't understand 12-12-12 as dates
15:57<TrueBrain>like wtf people
15:58<TrueBrain>use SANE ORDER OF SHIT
15:58<frosch123>i remember a funny conversation with my father. he was upset how shuffled the urls are. like first go to "www" in the front, then go do "country-code" in the back :)
15:59<supermop_work>bring back gopher
15:59<supermop_work>who needs www
16:00<supermop_work>TrueBrain: i cannot understand any date other than 2022.01.20
16:00<supermop_work>espescially for naming files etc
16:00<andythenorth>fortunately we have standards
16:00<andythenorth>multiple standards
16:00<andythenorth>ok so now I get 65536 as result
16:00<supermop_work>andythenorth: no one appears to actually use the date standards
16:00<frosch123>andythenorth: INVALID_OBJECT?
16:01<+glx>thats 0xFFFF
16:01<+glx>so probably invalid indeed
16:01<frosch123>andythenorth: if i had to guess, you probably need to byteswap the grfid :)
16:01<wiscii>65535=0xFFFF
16:01<supermop_work>is there an ottd gopher site?
16:01<frosch123>it's one of those reoccuring traps
16:01<TrueBrain>65536? Really andythenorth ?
16:01<andythenorth>frosch123 probably :(
16:02<TrueBrain>seems glx just substracted by one, for good measure :)
16:02<+glx>yeah I assumed things
16:02<TrueBrain>you are most likely not wrong
16:02<andythenorth>I always forget how grfids work
16:02<TrueBrain>fat finger syndrome :P
16:02<andythenorth>so I copied 47477015 from what OpenTTD shows in grf window
16:02<andythenorth>(Auz power line stuff)
16:02<frosch123>TrueBrain: my word processor runs through a google ai, it silently changes the text to something it thinks fits better
16:03<+glx>grf window shows byteswapped value
16:03<frosch123>andythenorth: try adding a BSWAP32 somewhere
16:04<+glx>so numbers are in same order as letters
16:04<andythenorth>GSNewGRF stuff has
16:04<andythenorth> this->AddItem(BSWAP32(c->ident.grfid));
16:04<andythenorth>lol
16:04<andythenorth>grfid = BSWAP32(grfid); // Match people's expectations.
16:04<frosch123>are you "people"?
16:05<andythenorth>I believe michi intended that yes
16:06<+glx>all that because grfid is an uint32 but filled like a char[4]
16:06<+glx>(in NFO)
16:07<andythenorth>hmm
16:10<andythenorth>https://gist.githubusercontent.com/andythenorth/b2e92b8af34ee15089788cdc16b0609d/raw/d8825ec04e7fce015d1ea9ccbabdc4f8a82d3c94/gistfile1.txt
16:11<supermop_work>maybe i should switch to doing a 32bpp EZ set so i can just use antialiased line drawings, and do everything in cad/rhino
16:11<andythenorth>still 65535
16:11<+glx>add breakpoints and trace :)
16:11<andythenorth>now you torture me :(
16:11<supermop_work>total base set and gui conversion to make the game look like an autocad window
16:12<andythenorth>I got through an entire devloloper career
16:12<frosch123>andythenorth: add a "0x" in your .nut file
16:12<andythenorth>20 years, no breakpoints
16:12<supermop_work>so it looks like i am working when i play
16:12<andythenorth>frosch123 got a result :D
16:13<frosch123>yay, this is like that old tv show
16:13<frosch123>i give you the letters, you tell me whether they fit
16:13<supermop_work>frosch123: thats still on tv
16:13<supermop_work>with the same hosts!
16:13<+glx>wheel of fortune ?
16:14<frosch123>no idea, i haven't watched tv since 2008
16:14<frosch123>also pretty sure i only saw the german version, though it is a literal translation of '"wheel of fortune"
16:14<+glx>same
16:14<+glx>but in french
16:15<andythenorth>now I need to reverse it to find the in the grf :P
16:15<andythenorth>I didn't make it
16:15<andythenorth>it's auz object stuff
16:16<frosch123>supermop_work: https://image.stern.de/4061196/t/p8/v8/w1440/r0/-/fernsehserein-08-jpg.jpg <- do you have the same hosts with the same clothes?
16:16<supermop_work>haha glucks rad
16:16<supermop_work>so much better
16:16-!-jottyfan [~Thunderbi@dynamic-078-054-242-043.78.54.pool.telefonica.de] has quit [Quit: jottyfan]
16:16<supermop_work>certainly a lot more concise
16:17<frosch123>https://www.picclickimg.com/d/l400/pict/334241838696_/Spiel-Gl%C3%BCcksrad-TV-Show-in-SAT1.jpg <- you an also play it at home
16:17<supermop_work>we should shorten the name to luckwheel
16:18<+glx>yup I have the french version of this one frosch123
16:19<+glx>https://jouets-retro.fr/10024-large_default/la-roue-de-la-fortune-jeu-mb-1987.jpg
16:20<frosch123>lol, almost the same box design
16:23<andythenorth>hmm how do I increment a hex value in squirrel?
16:23<+glx>a = a +1
16:23<+glx>or a += 1
16:23<+glx>your call :)
16:23<andythenorth>https://gist.githubusercontent.com/andythenorth/b2e92b8af34ee15089788cdc16b0609d/raw/cef71c6f89a11e2b3a83c0b31e60b566eebf09c8/gistfile1.txt
16:23<andythenorth>trying to find the grf local id of an object
16:23<+glx>or even a++ should work too I think
16:23<andythenorth>maybe I can just look in auz objects src
16:23<andythenorth>I thought this would be faster :P
16:24<+glx>let me introduce you to for loops :)
16:24<frosch123>can you use the tileinfo tool?
16:24<frosch123>newgrf debug window
16:24<frosch123>maybe there is a objectid of nearby tile variable
16:24<andythenorth>var 60 is there
16:24<andythenorth>offset 00
16:24<andythenorth>what a useful var
16:24<andythenorth>but I don't know how to translate the id
16:26<andythenorth>do objects append something to the id per view?
16:26*andythenorth confused what the id scheme is
16:28<frosch123>var60 says "Get object type and view at offset "
16:28<andythenorth>test case works
16:28<frosch123>view is in bits 16-19
16:29<andythenorth>not sure I understand objects :)
16:30<andythenorth>I assumed each entry in the buildable list was 1 ID, with 4 views
16:30<andythenorth>but the IDs are spread across list entries
16:30<andythenorth>hmm maybe user error
16:30<andythenorth>all these pylons look the same :P
16:30<frosch123>it's the same as vehicleids, you do not need to use them consecutively
16:31*andythenorth invents OOPS
16:31<andythenorth>some object grf
16:31<andythenorth>version 2 can be HULA HOOPS
16:31<andythenorth>ok this GRF resolver appears to work
16:34<@DorpsGek>[OpenTTD/OpenTTD] andythenorth opened pull request #9795: Change: NewGRFResolveID method to resolve object id from grfid and gr… https://github.com/OpenTTD/OpenTTD/pull/9795
16:36<frosch123>"change" :p
16:36<andythenorth>commit message and docstring stuff both wrong :P
16:37<andythenorth>and I didn't fill out PR motivation stuff
16:37<frosch123>but as tb already said, the parameters are weird
16:37<+glx>andy uses "Change:" for every commits
16:37<andythenorth>also does it really not need any validation?
16:37<frosch123>"static ObjectType ResolveNewGRFID(uint32 grfid, uint32 grf_local_id)"
16:38<+glx>but here it should be something like "Add: [scripts] blah"
16:38<frosch123>andythenorth: grf_local_id is used as uint16, you could reject ids >= 0x10000
16:39<andythenorth>inline review? :P
16:40<frosch123>but other than that, it needs no validation
16:40<frosch123>the override-manager is meant to process data from newgrf
16:40<frosch123>so, no trusted data anywhere
16:42<andythenorth>helpful
16:42-!-NGC3982 [~henrik@81-226-182-8-no69.tbcn.telia.com] has joined #openttd
16:42-!-NGC3982 is "henrik johansson" on #openttd
16:51<supermop_work>more tube ideas? https://imgur.com/YAmq9TX
16:52<supermop_work>should have a bunch of pipes etc running up the side to look more pompideau-y
16:57-!-gelignite [~gelignite@55d4ea14.access.ecotel.net] has quit [Quit: Stay safe!]
16:57<andythenorth>one PR for industry and object grf ID resolving?
16:57<@DorpsGek>[OpenTTD/team] denialmac opened issue #288: [it_IT] Translator access request https://github.com/OpenTTD/team/issues/288
17:05<andythenorth>hmm
17:05<andythenorth>if FIRS sets power station probability to 0
17:06<andythenorth>GS can place them where it thinks the power grid should be
17:06<andythenorth>rather than trying to pathfind to backbone connect them all
17:07<andythenorth>might need to check terrain can build power station though
17:10<supermop_work>" lets put the nuclear powerplant at the top of this 4000' mountain"
17:14<supermop_work>andythenorth: need bucket lines and ropeways for the coal
17:23-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
17:29<wiscii>that sounds like a job for "Super-Fenicular Train-man"! ;-)
17:30-!-andythenorth [~andytheno@cpc87165-aztw31-2-0-cust40.18-1.cable.virginm.net] has quit [Quit: andythenorth]
17:32<Gustavo6046>yawn
17:39-!-Wormnest [~Wormnest@35.136.189.95] has quit [Ping timeout: 480 seconds]
17:42<supermop_work>maybe i will sneak out of the office soon to go home
17:48-!-WormnestAndroid [~WormnestA@35.136.189.95] has quit [Ping timeout: 480 seconds]
17:48-!-WormnestAndroid [~WormnestA@172.56.27.213] has joined #openttd
17:48-!-WormnestAndroid is "WormnestAndroid" on #openttd
18:33-!-sla_ro|master [~sla.ro@93.118.46.75] has quit []
18:49<@DorpsGek>[OpenTTD/OpenTTD] predo2810 opened issue #9796: [Bug]: city name bug https://github.com/OpenTTD/OpenTTD/issues/9796
18:57<wiscii>^ this is not on my continent!
18:57<wiscii>lol
19:09<@DorpsGek>[OpenTTD/OpenTTD] stormcone commented on issue #9796: [Bug]: city name bug https://github.com/OpenTTD/OpenTTD/issues/9796
19:14<@DorpsGek>[OpenTTD/OpenTTD] elcosomalo1 opened issue #9797: [Bug]: Unbearable city ambient sounds https://github.com/OpenTTD/OpenTTD/issues/9797
19:36<wiscii>needs a sound manager ^
19:53-!-Tirili [~Tirili@tmo-102-0.customers.d1-online.com] has quit [Quit: Leaving]
21:06-!-refujesus [~refujesus@bras-base-hmtnon1485w-grc-04-174-95-152-55.dsl.bell.ca] has quit []
21:52-!-Thedarkb-T60 [~Thedarkb-@2001:bb6:b403:e042:219:d2ff:fec5:6726] has joined #openttd
21:52-!-Thedarkb-T60 is "realname" on #oolite #openttd
22:17-!-daspork [~jesus@178.128.99.212] has quit [Server closed connection]
22:19-!-daspork [~jesus@178.128.99.212] has joined #openttd
22:19-!-daspork is "ZNC - https://znc.in" on #openttd
22:29-!-D-HUND [~debdog@2a00:79c0:61f:3d00:7a24:afff:fe8a:d04d] has joined #openttd
22:29-!-D-HUND is "Wowbagger" on #openttd
22:33-!-debdog [~debdog@2a00:79c0:61f:9f00:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
22:37-!-glx [~glx@000128ec.user.oftc.net] has quit []
22:38-!-WormnestAndroid [~WormnestA@172.56.27.213] has quit [Ping timeout: 480 seconds]
22:45-!-Wormnest [~Wormnest@35.136.189.95] has joined #openttd
22:45-!-Wormnest is "Wormnest" on #openttd
22:45-!-WormnestAndroid [~WormnestA@35.136.189.95] has joined #openttd
22:45-!-WormnestAndroid is "WormnestAndroid" on #openttd
22:46-!-Wormnest [~Wormnest@35.136.189.95] has quit []
23:06-!-APTX [~APTX@0002d42f.user.oftc.net] has quit [Server closed connection]
23:06-!-APTX [~APTX@0002d42f.user.oftc.net] has joined #openttd
23:06-!-APTX is "APTX" on #pipewire #openttd #llvm #kernelnewbies
23:26-!-Flygon [~Flygon@2001:44b8:411e:4e00:2877:c943:a75c:c565] has joined #openttd
23:26-!-Flygon is "Flygon" on #openttd
23:55-!-Smedles_ [~quassel@61-245-148-167.3df594.adl.nbn.aussiebb.net] has quit [Server closed connection]
23:55-!-Smedles [~quassel@2403-580d-1--aaa1-59ff-fe53-1a69.ip6.aussiebb.net] has joined #openttd
23:55-!-Smedles is "Paul Smedley" on #openttd
---Logclosed Fri Jan 21 00:00:38 2022