Back to Home / #openttd / 2018 / 02 / Prev Day | Next Day
#openttd IRC Logs for 2018-02-09

---Logopened Fri Feb 09 00:00:59 2018
00:04-!-bwn [~bwn@c-76-114-20-89.hsd1.ca.comcast.net] has joined #openttd
00:04-!-bwn is "bwn" on #zcash #virt #qemu #python #openttd #observium #mm #linux #kernelnewbies #ext4
00:06-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
00:06-!-sla_ro|master is "slamaster" on @#sla #openttd
00:25-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
00:30-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Read error: No route to host]
00:30-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
00:30-!-Gja is "Martin" on #ceph #bcache #openttd
00:32-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
00:53-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
01:09-!-ToffeeYogurtPots [~ToffeeYog@5PUAAAFSR.tor-irc.dnsbl.oftc.net] has joined #openttd
01:09-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #privacytools.io #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #apparmor #debian-offtopic #debian-hurd
01:09-!-cHawk [chawk@24-119-130-32.cpe.cableone.net] has quit [Quit: Leaving]
01:35-!-cHawk [chawk@24-119-130-32.cpe.cableone.net] has joined #openttd
01:35-!-cHawk is "realname" on #openttd #tor-project
02:10-!-roidal [~roland@62-46-112-114.adsl.highway.telekom.at] has joined #openttd
02:10-!-roidal is "roland" on #openttd
02:27-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has joined #openttd
02:27-!-john-aj is "John" on #openttd
02:32-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has quit [Remote host closed the connection]
02:33-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has joined #openttd
02:33-!-john-aj is "John" on #openttd
02:40-!-Supercheese [~Superchee@cpe-76-178-137-142.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
03:15-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
03:15-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
03:28-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
03:33-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has quit [Quit: john-aj]
04:17-!-ToffeeYogurtPots [~ToffeeYog@5PUAAAFSR.tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds]
04:29-!-rakim [~pjsbyp@ool-182e6a19.dyn.optonline.net] has joined #openttd
04:29-!-rakim is "bkrtj" on #openttd
04:30<rakim>██╗██████╗ ██████╗ ███████╗██╗ ██╗██████╗ ███████╗██████╗ ███╗ ██╗███████╗████████╗███████╗ ██████╗ ██████╗ ██████╗
04:30<rakim>██╗██████╗ ██████╗ ███████╗██╗ ██╗██████╗ ███████╗██████╗ ███╗ ██╗███████╗████████╗███████╗ ██████╗ ██████╗ ██████╗
04:30<rakim>██╗██████╗ ██████╗ ███████╗██╗ ██╗██████╗ ███████╗██████╗ ███╗ ██╗███████╗████████╗███████╗ ██████╗ ██████╗ ██████╗
04:30<rakim>██║██╔══██╗██╔════╝ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗████╗ ██║██╔════╝╚══██╔══╝██╔════╝ ██╔═══██╗██╔══██╗██╔════╝
04:30<rakim>██║██╔══██╗██╔════╝ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗████╗ ██║██╔════╝╚══██╔══╝██╔════╝ ██╔═══██╗██╔══██╗██╔════╝
04:30<rakim>██║██╔══██╗██╔════╝ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗████╗ ██║██╔════╝╚══██╔══╝██╔════╝ ██╔═══██╗██╔══██╗██╔════╝
04:30<rakim>██║██████╔╝██║ ███████╗██║ ██║██████╔╝█████╗ ██████╔╝██╔██╗ ██║█████╗ ██║ ███████╗ ██║ ██║██████╔╝██║ ███╗
04:30<rakim>██║██████╔╝██║ ███████╗██║ ██║██████╔╝█████╗ ██████╔╝██╔██╗ ██║█████╗ ██║ ███████╗ ██║ ██║██████╔╝██║ ███╗
04:30<rakim>██║██████╔╝██║ ███████╗██║ ██║██████╔╝█████╗ ██████╔╝██╔██╗ ██║█████╗ ██║ ███████╗ ██║ ██║██████╔╝██║ ███╗
04:30<rakim>██║██╔══██╗██║ ╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗██║╚██╗██║██╔══╝ ██║ ╚════██║ ██║ ██║██╔══██╗██║ ██║
04:30<rakim>██║██╔══██╗██║ ╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗██║╚██╗██║██╔══╝ ██║ ╚════██║ ██║ ██║██╔══██╗██║ ██║
04:30<rakim>██║██╔══██╗██║ ╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗██║╚██╗██║██╔══╝ ██║ ╚════██║ ██║ ██║██╔══██╗██║ ██║
04:30<rakim>██║██║ ██║╚██████╗██╗███████║╚██████╔╝██║ ███████╗██║ ██║██║ ╚████║███████╗ ██║ ███████║██╗╚██████╔╝██║ ██║╚██████╔╝
04:30<rakim>██║██║ ██║╚██████╗██╗███████║╚██████╔╝██║ ███████╗██║ ██║██║ ╚████║███████╗ ██║ ███████║██╗╚██████╔╝██║ ██║╚██████╔╝
04:30<rakim>██║██║ ██║╚██████╗██╗███████║╚██████╔╝██║ ███████╗██║ ██║██║ ╚████║███████╗ ██║ ███████║██╗╚██████╔╝██║ ██║╚██████╔╝
04:30<rakim>╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝
04:30<rakim>╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝
04:30<rakim>╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝
04:30-!-rakim [~pjsbyp@ool-182e6a19.dyn.optonline.net] has quit [Remote host closed the connection]
04:37<Arveen>fantastic
04:52-!-roidal_ [~roland@62-46-115-203.adsl.highway.telekom.at] has joined #openttd
04:52-!-roidal_ is "roland" on #openttd
04:58-!-roidal [~roland@62-46-112-114.adsl.highway.telekom.at] has quit [Ping timeout: 480 seconds]
05:00-!-peter1138 [~petern@00013681.user.oftc.net] has left #openttd []
05:00-!-peter1138 [~petern@00013681.user.oftc.net] has joined #openttd
05:00-!-mode/#openttd [+o peter1138] by ChanServ
05:00-!-peter1138 is "Peter Nelson" on @#openttd #debian
05:08-!-tokai [~tokai@00012860.user.oftc.net] has joined #openttd
05:08-!-tokai is "Christian Rosentreter" on #openttd
05:08-!-mode/#openttd [+v tokai] by ChanServ
05:15-!-tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
05:22<LordAro>what a nice person
05:26<Flygon>...
05:27<Flygon>I don't have a monospace font. Thank fuck.
05:27<Flygon>I can't believe he's persisting.
05:27<Flygon>He's pissed off almost every single IRC network staff ever.
05:28<Flygon>He's already been Dox'd.
05:30<Eddi|zuHause>i have a monospace font, but it's all broken because of linebreaks inbetween
05:33<__ln__>it looks fine when the terminal window is large enough
06:41-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has joined #openttd
06:41-!-FLHerne is "Francis Herne" on #openttd
06:52-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
06:52-!-Samu is "OFTC WebIRC Client" on #openttd
06:52<Samu>hi
07:22<Samu>int
07:22<Samu>what's the maximum value of a int
07:26<Samu>two billion, one hundred and forty-seven million, four hundred and eighty-three thousand, six hundred and forty-seven
07:30<Samu>hmm
07:30<Samu>found a bug in openttd, it doesn't let me enter a custom value higher than 999999999
07:31-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has joined #openttd
07:31-!-john-aj is "John" on #openttd
07:31<Samu>i was trying to enter 2147483647
07:32<__ln__>the maximum value of int is INT_MAX
07:35<Samu>i mean here: https://imgur.com/58FlGry
07:35<Samu>999 999 999
07:35<Samu>it accepts int, 2 147 483 647
07:36<Samu>but im limited to 999 999 999 :(
07:36-!-vasatko [~oftc-webi@94.124.104.154] has joined #openttd
07:36-!-vasatko is "OFTC WebIRC Client" on #openttd
07:36-!-dvim [sid22238@id-22238.ealing.irccloud.com] has quit []
07:36<__ln__>int can be smaller
07:37-!-dvim [sid22238@id-22238.highgate.irccloud.com] has joined #openttd
07:37-!-dvim is "Martynas" on #openttd #openjdk #awesome
07:37<vasatko>Hi, pls I need help with sprites. I need add custom sprites, bud i dont know free sprites numbers (i cant find sprites table etc.).
07:37<__ln__>besides, limiting to 2 147 483 647 would be much more difficult in the UI
07:39<Samu>hmm i need to check company values of those difficult servers, i hear about 15 billions in some, hmm how am i gonna let it accept 15 billion :(
07:39<@planetmaker>vasatko, that's a bit too general a question. Depending on what you want to modify... you then don't even need any sprite number
07:39<@planetmaker>hi also :)
07:40<__ln__>hi pm
07:40<vasatko>planetmarker: we rewriting bridges. But we need other front sprites for road and rails (then i need add new sprites for road front)
07:52-!-nahkiss [sid35066@id-35066.ealing.irccloud.com] has quit []
07:53-!-nahkiss [sid35066@id-35066.highgate.irccloud.com] has joined #openttd
07:53-!-nahkiss is "Oskari Kantoniemi" on #openttd
08:00<Samu>1 000 000 000 000
08:00<Samu>1000 Billion
08:01<Samu>1 thousand billion £
08:01<Samu>actually 999
08:01<Samu>but it rounds up
08:06-!-Arveen [~Arveen@p4FEB9E16.dip0.t-ipconnect.de] has quit [Quit: I like trains]
08:13<@peter1138>1 billion in old-money.
08:13<@peter1138>It was only US who came along and decided that 1 billion should be 1,000,000,000.
08:14<LordAro>peter1138: think it was the french, actually
08:14<LordAro>regardless, next to no one uses "long scale" anymore
08:14<__ln__>i guess we can safely blame canada
08:15<@peter1138>1 milliard is 1,000,000,000.
08:15<Eddi|zuHause>everyone around here uses "long scale"
08:16<Samu>this solved my problemo
08:16<Samu>local goal = GSController.GetSetting("value") * 1000;
08:16<Samu>the magic * 1000
08:16<Samu>now when i set 999 999 999, it's actually 999 999 999 000 pounds
08:17<__ln__>that's heavy
08:18<Samu>2 147 483 647 was only 2 Billion something, and some servers had values of 20 B
08:18<Samu>999 Billion ought to be enough
08:18-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
08:18-!-Gja is "Martin" on #ceph #bcache #openttd
08:29<Sacro>Pssh
08:29<Sacro>Just a boolean, hasMoney
08:30-!-Snail [~jacopocol@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
08:30-!-Snail is "Jacopo Coletto" on #openttd
08:30-!-ToBeFree [~tobefree@00019d36.user.oftc.net] has joined #openttd
08:30-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere @#freiwuppertal #oolite-dev #openttd #tor #debian #linux #oolite #oolite-ger
08:31-!-ToBeFree [~tobefree@00019d36.user.oftc.net] has quit []
08:33-!-vasatko [~oftc-webi@94.124.104.154] has quit [Quit: Page closed]
08:50-!-chomwitt [~chomwitt@2a02:587:dc08:a00:b145:b62c:9364:f277] has joined #openttd
08:50-!-chomwitt is "chomwitt" on #debian-mentors #oolite #openttd #qemu #debian #debian-games
09:00-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
09:03-!-Flygon [~Flygon@210-84-29-180.dyn.iinet.net.au] has quit [Remote host closed the connection]
09:12-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has quit [Quit: john-aj]
09:18<supermop_work_>i think 999 Billion might be enough for me to afford to keep living in NYC
09:21-!-Snail [~jacopocol@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: Snail]
09:31-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
09:31-!-Gja is "Martin" on #ceph #bcache #openttd
09:35<Samu>with inflation, i dunno
09:39<Eddi|zuHause>now try switching the currency to something other than £
09:41<Samu>ok
09:43<Samu>lol, scary
09:43<Samu>https://imgur.com/TtJg3oO
09:46<Samu>@calc 999999999 * 65535 * 1000
09:46<@DorpsGek>Samu: 65534999934465000
09:47<Sacro>Eddi|zuHause: £ is the one true currancy
09:47<Samu>65 534 999 934 465 000 credits
09:50<Samu>@calc 0xFFFFFFFFFFFFFFFF
09:50<@DorpsGek>Samu: 18446744073709551616
09:51<Samu>@calc 65534999934465000 - 0xFFFFFFFFFFFFFFFF
09:51<@DorpsGek>Samu: -18381209073775087616
09:51<Samu>@calc 65534999934465000 - 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
09:51<@DorpsGek>Samu: -340282366920938463463374607431768211456
09:51<Samu>meh...
09:51<Samu>@calc 0xFFFFFFFFFFFFFFFF - 999999999 * 65535 * 1000
09:51<@DorpsGek>Samu: 18381209073775087616
09:52-!-ToBeFree [uid51591@id-51591.tooting.irccloud.com] has joined #openttd
09:52-!-ToBeFree is "ToBeFree" on #openttd @#freiwuppertal #https-everywhere #oolite-dev #oolite-ger #oolite #tor #linux
09:52<Samu>18 381 209 073 775 087 616
10:01-!-nielsm [~nielsm@x1-6-08-3e-5d-47-fe-12.cpe.webspeed.dk] has joined #openttd
10:01-!-nielsm is "Niels Martin Hansen" on #openttd #tycoon
10:25<nielsm>reading https://wiki.openttd.org/Game_mechanics#Vehicle_speeds - am I understanding it right, that another way to formulate it would be that in 256 ticks, a vehicle moves its kmish/h speed number of sub locations?
10:26<nielsm>(circa)
10:30<nielsm>my goal is a formula for, given a vehicle moving at X speed for Y ticks, what distance has it covered
10:30<nielsm>(or maybe call them S and T)
10:48-!-synchris [~synchris@139.138.202.72] has joined #openttd
10:48-!-synchris is "Synesios Christou" on #openttd
10:56-!-Gustavo6046 [~Gustavo60@179.181.151.95] has joined #openttd
10:56-!-Gustavo6046 is "If you look at real names all day, your life sucks" on #openttd
11:09-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
11:09-!-andythenorth is "andythenorth" on #openttd
11:19<supermop_work_>hi andy
11:19<supermop_work_>exotic use case for NO_JUNCTIONS:
11:20<andythenorth>hi
11:20<supermop_work_>monorail: cheap concrete ALWEG beam, no junctions
11:20<supermop_work_>expensive bendy steel bits: junctions
11:20-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has joined #openttd
11:20-!-Stimrol is "Stimrol" on #openttd
11:22-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has joined #openttd
11:22-!-Cubey is "Jaybar" on #openttd
11:29-!-ZexaronS [~zexpc@cpe2-5-137.cable.triera.net] has joined #openttd
11:29-!-ZexaronS is "Aaron Zek" on #openttd
11:31-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
11:31-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
11:37-!-chomwitt [~chomwitt@2a02:587:dc08:a00:b145:b62c:9364:f277] has quit [Quit: WeeChat 1.0.1]
11:38<Samu>i have a question issue
11:38-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
11:38-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd.dev #openttd
11:38<Samu>how do I know if a question is still up in the air?
11:38<Samu>i mean, this https://nogo.openttd.org/api/1.7.2/classGSGoal.html
11:39-!-tokai [~tokai@00012860.user.oftc.net] has quit [Quit: c('~' )o]
11:39<Samu>I made a question to each company GSGoal.Question(etc...)
11:40<Samu>and now after some goal completion, the question no longer makes sense and I wanna close them all
11:40<Samu>how do I check if the question is still up?
11:40<Samu>i don't wanna keep closing it forever
11:41<Samu>it's inside a while loop
11:42-!-HerzogDeXtEr [~farci@dslb-188-103-228-113.188.103.pools.vodafone-ip.de] has joined #openttd
11:42-!-HerzogDeXtEr is "purple" on #openttd
11:42<nielsm>I think you'd have to keep track of it yourself
11:43<nielsm>when a company answers the question you get an event, so when you get that event you set a flag somewhere that it's been answered, and keep track of it that way
11:46-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
11:46<Samu>hmm i was looking for a IsValidQuestionID kind of function
11:46<Samu>:(
11:48-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has quit [Quit: ZNC - http://znc.in]
11:50-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has joined #openttd
11:50-!-Stimrol is "Stimrol" on #openttd
11:52<Samu>ok, i dont have an elegant way to keep track of it atm
11:52<Samu>this will do though
11:54-!-Progman [~progman@p57A2BD26.dip0.t-ipconnect.de] has joined #openttd
11:54-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
11:56-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
11:56-!-andythenorth is "andythenorth" on #openttd
12:01-!-ToBeFree [uid51591@00019d36.user.oftc.net] has quit [Quit: Connection closed for inactivity]
12:02-!-Lejving_ [~Lejving@81-233-148-192-no524.tbcn.telia.com] has joined #openttd
12:02-!-Lejving_ is "realname" on #openttdcoop.pz #openttdcoop.stable #openttdcoop.dev #openttdcoop #mashinky #factoriocoop #/r/openttd #openttd
12:02-!-Lejving_ [~Lejving@81-233-148-192-no524.tbcn.telia.com] has quit [Read error: Connection reset by peer]
12:06-!-Alberth [~alberth@00015f9e.user.oftc.net] has joined #openttd
12:06-!-Alberth is "purple" on #openttd
12:06-!-mode/#openttd [+o Alberth] by ChanServ
12:10-!-TheMask96 [martijn@lust.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
12:14-!-TheMask96 [martijn@gluttony.vhost.ne2000.nl] has joined #openttd
12:14-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
12:28<Samu>hmm, i got a problem with unpausing the game in multiplayer ...
12:29<Samu>how do i detect a client joining the game?
12:29<Samu>need to ask him to unpause the game
12:29<Samu>or else, only the players that were in the game when the question was made can unpause
12:31<Samu>goal is reached, script pauses the game and asks a question to all companies about continuing (unpausing) the game
12:31<Samu>what if the company is empty
12:31<Samu>what if all companies are empty
12:31<Samu>no one will be able to answer :(
12:31<Samu>what can I do?
12:35<nielsm>I _think_ there is supposed to be a list or bitfield of current pause reasons, where "new client joining" is one of them
12:35<nielsm>I don't know if it's readable by gamescripts
12:38<Samu>ST2: HALP
12:40<Samu>so the game is doomed... /foreverpaused
12:48-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
12:51-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
12:51-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
12:53<Samu>GSEventController.GetNextEvent()
12:54<Samu>GSEventAdminPort
12:54<Samu>what is this used for
12:56<nielsm>server administrator sending custom commands to your gs
12:57-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
12:57-!-glx is "Loïc GUILLOUX" on #openttd
12:57-!-mode/#openttd [+v glx] by ChanServ
13:00-!-ZexaronS [~zexpc@cpe2-5-137.cable.triera.net] has quit [Quit: Leaving]
13:00<Samu>https://www.tt-forums.net/viewtopic.php?f=33&t=57431&p=982037&hilit=GSEventAdminPort#p982037
13:00<Samu>TrueBrain: hi
13:01<Samu>can i have clients unpause the game which was paused by a GS?
13:01<Samu>what's a JSON
13:02<nielsm>JSON is a data format
13:03<Samu>i'm not sure how to send an Admin Port command either
13:09<frosch123>it was designed by someone named jason
13:11<Samu>On the AdminPort you send a JSON string
13:11<Samu>what ? explain me how to do this
13:12<Eddi|zuHause>that totally makes sense
13:13<Samu>i wanna trigger the GS to get an Admin Port command that eventually will unpause the game
13:14<Samu> - 'on_server_connect.scr' is executed on the server when a client has joined (MOTD)
13:14<Samu>I wanna send the command there
13:14<Samu>or trigger it from there
13:14<nielsm>the admin port is not something the gamescript (or even game) sends to itself
13:15-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
13:15-!-Wolf01 is "Wolf01" on #openttd
13:15<nielsm>it's a way for external programs to talk to the game script
13:15<Wolf01>o/
13:15<nielsm>as far as I can tell
13:16<Samu>uhm.. so it can't be done in this way? :(
13:17<nielsm>have you tested that this is actually a problem, first of all?
13:17<nielsm>that the game stays paused forever if you pause it from your GS, and then a new client connects, or disconnects, or something like that, while it's paused
13:18<nielsm>because you're expecting answers to a question from everyone, and the definition of "everyone" has changed?
13:19<Samu>the question was sent to a company
13:19<Samu>or actually, to all companies
13:20<Samu>everyone in this case, the first company that clicks the continue button will unpause the game
13:20<Samu>the message with the continue button only popups to the clients of that company, if they happen to be in the game the moment the question is asked
13:21<Samu>if they're not
13:21<Samu>if they join after that, no more popups
13:21<Samu>no continue button to click
13:21<nielsm>you could send the question again when a new client connects?
13:21<Samu>that's what i was trying to do
13:23<Samu>i don't know how to detect a client joining a company
13:25<Samu>if a company is created, i suppose I can send the question to it
13:25<Samu>but if a company already exists and someone joins it, no popup
13:37-!-T4XV8Tquebec [~kvqmo@2600:1f18:64ad:5900:385c:d6b4:c6ac:9219] has joined #openttd
13:37-!-T4XV8Tquebec is "qnezjys" on #openttd
13:37<T4XV8Tquebec>(_) | |
13:37<T4XV8Tquebec>(_) | |
13:37<T4XV8Tquebec>(_) | |
13:37<T4XV8Tquebec>_ _ __ ___ ___ _ _ _ __ ___ _ __ _ __ ___| |_ ___ ___ _ __ __ _
13:37<T4XV8Tquebec>_ _ __ ___ ___ _ _ _ __ ___ _ __ _ __ ___| |_ ___ ___ _ __ __ _
13:37<T4XV8Tquebec>_ _ __ ___ ___ _ _ _ __ ___ _ __ _ __ ___| |_ ___ ___ _ __ __ _
13:37<T4XV8Tquebec>| | '__/ __| / __| | | | '_ \ / _ \ '__| '_ \ / _ \ __/ __| / _ \| '__/ _` |
13:37<T4XV8Tquebec>| | '__/ __| / __| | | | '_ \ / _ \ '__| '_ \ / _ \ __/ __| / _ \| '__/ _` |
13:37<T4XV8Tquebec>| | '__/ __| / __| | | | '_ \ / _ \ '__| '_ \ / _ \ __/ __| / _ \| '__/ _` |
13:37<T4XV8Tquebec>| | | | (__ _\__ \ |_| | |_) | __/ | | | | | __/ |_\__ \| (_) | | | (_| |
13:37<frosch123>@kick T4XV8Tquebec
13:37-!-T4XV8Tquebec was kicked from #openttd by DorpsGek [frosch123]
13:38<LordAro>ha
13:38<nielsm>oh cool, an ipv6 address?
13:39<LordAro>not that uncommon
13:40<LordAro>about 10% these days
13:40-!-Alberth [~alberth@00015f9e.user.oftc.net] has left #openttd []
13:41<nielsm>hah, every isp in denmark is like "ipv6 has no future, we won't bother supporting it"
13:41<frosch123>@mode +R
13:41-!-mode/#openttd [+R] by DorpsGek
13:41<LordAro>nielsm: i'd be very surprised if that was their actual attitude
13:41<LordAro>cost and effort of deployment are the usual reasons
13:45-!-tokai [~tokai@00012860.user.oftc.net] has joined #openttd
13:45-!-tokai is "Christian Rosentreter" on #openttd
13:45-!-mode/#openttd [+v tokai] by ChanServ
13:54<Wolf01>Does andythenorth have something for Wolf01?
13:56<andythenorth>yesterday I mostly had weird fever
13:56<andythenorth>NRT is done, now, right? :)
13:56<andythenorth>apart from bugs
13:56<andythenorth>and NRT 2
13:57<andythenorth>oh we need landscrape grid docs
13:57<Wolf01>Yes
14:03-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
14:05-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has quit [Ping timeout: 480 seconds]
14:07<Samu>part of the problem is semi-solved
14:08<Samu>on creating a new company, the question is re-asked to it
14:08<Samu>on rejoining an existant company, however...
14:08<Samu>it's not re-asked
14:09<Samu>what can I do :(
14:10<Samu>keep on asking until it's answered?
14:10<Samu>spam?
14:10-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd
14:10-!-Wormnest is "Wormnest" on #openttd
14:10<Samu>Wolf01: Wormnest , do you GS?
14:11<Wormnest>Nope, don´t even have enough time for my ai´s
14:14<Samu>gonna spam the question!!!
14:14<LordAro>Samu: don't be an idiot
14:14<LordAro>forums are perfectly valid
14:14<ST2>I would start checking available events: https://nogo.openttd.org/api/1.7.2/classGSEvent.html
14:15<Samu>uh, the question I'm talking about is GSGoal.Question
14:15-!-Ttech [~ttech@00014919.user.oftc.net] has quit [Quit: Este é o fim.]
14:16<LordAro>Samu: maybe you should work out what the actual question is then
14:17<Samu>STR_GOAL_REACHED : {YELLOW}{COMPANY}{ORANGE} (Company {NUM}) was the first company to reach a company value of {YELLOW}{CURRENCY_SHORT}{ORANGE}. {}{}Game is now paused. {}{}Press {YELLOW}Continue{ORANGE} to resume game.
14:17<Samu>this.goal_question = GSGoal.Question(15, GSCompany.COMPANY_INVALID, GSText(GSText.STR_GOAL_REACHED, this.goal_company.cid, this.goal_company.c_num, this.goal_company.goal), GSGoal.QT_INFORMATION, GSGoal.BUTTON_CONTINUE);
14:18<Samu>tried to spam the question to all companies
14:18<ST2>Samu: as LordAro said, forum are, probably, a way to get a valid answer - spamming won't help you
14:19<Samu>i mean in code
14:20<LordAro>Samu: that's not a question
14:20<LordAro>try again
14:20<LordAro>with more forum post
14:21<LordAro>and less dumping code straight into irc
14:21<ST2>and, imo, there's several other GS's from where you can get ideas (or how it works) and apply into yours :)
14:22<LordAro>if you work out what the question is, you might just work out what the asnwer is before you have to ask it
14:22<ST2>read is the key ^^
14:24-!-Ttech is "Thomas Techinus" on @#textual @#transcendence @#swift #observium @#botters #debian-mentors #help #linode #moocows #munin #qemu #oftc
14:24-!-Ttech [~ttech@00014919.user.oftc.net] has joined #openttd
14:47-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
14:47<Samu>https://imgur.com/hLuYe0k
15:04<Samu>https://imgur.com/XcqCzcj - client was spectator, then joined company 1 but didn't receive the question
15:08<Samu>whatever, i'm gonna post it in the forum as you asked
15:09<Wolf01>Finally
15:18<V453000>hello gentlemen
15:18<Wolf01>o/
15:20<frosch123>f booth next to anime booth :p
15:24<Samu>there u go https://www.tt-forums.net/viewtopic.php?f=65&t=82633
15:24<Samu>halp me noe!
15:26<Wolf01>Samu: you are starting to be annoying, just a bit
15:27<Samu>sorry, was trying to be funny
15:27<Samu>my bad
15:50-!-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]
15:55-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
15:55-!-andythenorth is "andythenorth" on #openttd
16:29-!-chomwitt [~chomwitt@2a02:587:dc08:a00:2949:77da:3256:fe4a] has joined #openttd
16:29-!-chomwitt is "chomwitt" on #oolite #openttd #qemu #debian #debian-games
16:39-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has joined #openttd
16:39-!-FLHerne is "Francis Herne" on #openttd
16:41-!-HerzogDeXtEr [~farci@dslb-188-103-228-113.188.103.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
16:46-!-roidal_ [~roland@62-46-115-203.adsl.highway.telekom.at] has quit [Quit: WeeChat 1.9.1]
16:53<Exec>Hey
16:53<Exec>How can be the max tunnel length changed on network games?
16:56<Samu>listsettings tunnel
17:07<ccfreak2k>What's new and exciting in the world of openttd?
17:08<Eddi|zuHause>what's new i don't know, but exciting is whether there will actually be a release in april
17:11<ST2>Eddi|zuHause spreading the hype xD
17:14<Eddi|zuHause>hm, i should have put some progress indicator into my os.walk() loop
17:15-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
17:16<Exec>Samu: the setting name was already found
17:17<Exec>the problem is "This command/variable is not available during network games."
17:17<Eddi|zuHause>Exec: well, stop the server, load the game in SP, change it there, start the server again with the new savegame
17:18<Exec>Oh, that's it?
17:19<Samu>can't be changed during a network game? i thought it could be by the host
17:20<Samu>yeah, can't be, just tried it myself too :(
17:20<Exec>hmm, thanks
17:29-!-nielsm [~nielsm@x1-6-08-3e-5d-47-fe-12.cpe.webspeed.dk] has quit [Ping timeout: 480 seconds]
17:50-!-Biolunar_ [Biolunar@dslb-178-001-038-253.178.001.pools.vodafone-ip.de] has quit [Quit: leaving]
17:50-!-synchris [~synchris@139.138.202.72] has quit [Remote host closed the connection]
18:12<Wolf01>'night
18:12-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
18:42-!-Progman [~progman@p57A2BD26.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:53-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving]
19:04-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
19:35-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has quit [Ping timeout: 480 seconds]
19:55-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has quit [Quit: ZNC - http://znc.in]
19:55-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
22:21-!-Gustavo6046 [~Gustavo60@179.181.151.95] has quit [Quit: food water bed]
23:41-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
---Logclosed Sat Feb 10 00:00:00 2018