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

---Logopened Wed Feb 07 00:00:56 2018
00:04-!-rustyshackleford[m] [~rustyshac@2001:470:1af1:101::110d] has joined #openttd
00:04-!-rustyshackleford[m] is "@rustyshackleford:matrix.org" on #openttd
00:19-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
00:19-!-sla_ro|master is "slamaster" on @#sla #openttd
00:35-!-ToffeeYogurtPots [~ToffeeYog@4G4AAAXVX.tor-irc.dnsbl.oftc.net] has joined #openttd
00:35-!-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-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
01:10-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
01:22-!-swimstar[m] [~swimstarm@2001:470:1af1:101::ced] has joined #openttd
01:22-!-swimstar[m] is "@swimstar:matrix.org" on #openttd #llvmlinux #osm-fi #debian-avr32 #bash-completion
01:27-!-johnwhitlow[m] [~johnwhitl@2001:470:1af1:101::1096] has joined #openttd
01:27-!-johnwhitlow[m] is "@johnwhitlow:matrix.org" on #openttd #Qubes_OS
02:02-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has joined #openttd
02:02-!-DDR is "David" on #openttd
02:22-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:22-!-andythenorth is "andythenorth" on #openttd
02:35-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
02:42-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:42-!-andythenorth is "andythenorth" on #openttd
02:44-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has quit [Remote host closed the connection]
02:49-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has joined #openttd
02:49-!-DDR is "David" on #openttd
02:51-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has quit [Read error: Connection reset by peer]
02:52-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
02:57-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has joined #openttd
02:57-!-DDR is "David" on #openttd
03:03-!-cute[m] [~cutematri@2001:470:1af1:101::a59] has joined #openttd
03:03-!-cute[m] is "@cute:matrix.org" on #openttd
03:20-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has joined #openttd
03:20-!-Stimrol is "Stimrol" on #openttd
03:30-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has quit [Quit: ZNC - http://znc.in]
03:35-!-Agiri[m] [~agiriagrs@2001:470:1af1:101::f98] has joined #openttd
03:35-!-Agiri[m] is "@agiri:agr.social" on #openttd
03:36-!-ToffeeYogurtPots [~ToffeeYog@4G4AAAXVX.tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds]
03:43-!-Biolunar [Biolunar@dslb-092-073-182-015.092.073.pools.vodafone-ip.de] has joined #openttd
03:43-!-Biolunar is "Biolunar" on #openttd #suckless
04:18-!-Biolunar [Biolunar@dslb-092-073-182-015.092.073.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
04:26<vasatko>HI, i try again ask, if someone works with m4nfo (bridges)?
04:56-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has joined #openttd
04:56-!-FLHerne is "Francis Herne" on #openttd
05:51-!-mczapkie [~mczapkie@layer.ket.agh.edu.pl] has joined #openttd
05:51-!-mczapkie is "Maciej Czapkiewicz" on #openttd
05:53<mczapkie>Hello, anyone know how to init repository on http://dev.openttdcoop.org ?
05:54<mczapkie>it should appear automatically after project creation, but it does not exists: http://dev.openttdcoop.org/projects/v4-train-set/repository
05:57-!-chomwitt is "chomwitt" on #debian #debian-games
05:57-!-chomwitt [~chomwitt@2a02:587:dc08:a00:a16c:e180:7dd6:b02d] has joined #openttd
05:58-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has quit [Ping timeout: 480 seconds]
06:09-!-Snail [~jacopocol@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
06:09-!-Snail is "Jacopo Coletto" on #openttd
06:16-!-Snail [~jacopocol@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: Snail]
06:35-!-vasatko [~oftc-webi@94.124.104.154] has quit [Remote host closed the connection]
06:43-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
06:43-!-Samu is "OFTC WebIRC Client" on #openttd
06:52<Samu>ST2:
06:52<Samu>I need util.superlib with version 19
06:52<Samu>it's not on bananas
07:06-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has joined #openttd
07:06-!-john-aj is "John" on #openttd
07:23<LordAro>Samu: choose a different version
07:48-!-tttt5 [~tanel@0542-eb45-1a84-4cdb-df80-87e0-07d0-2001.dyn.estpak.ee] has quit [Remote host closed the connection]
07:49<Samu>nevermind, gonna try do something else
08:08<Samu>can't make a goal damn it
08:18<Flygon>https://imgur.com/gallery/gHpyjF4 So who's gonna make the NewGRF?
08:18<Flygon>:B
08:19<Samu>how do i clear all goals?
08:19<Samu>goalids
08:20<Samu>when i load savegame, i get duplicated goals
08:20<Samu>so i wanna start fresh
08:37-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has joined #openttd
08:37-!-supermop is "A CIRC user" on #openttd
08:47<Samu>how do GoalIDs work? any hint?
08:53-!-Yotson [~Yotson@2001:980:6ac8:1:20d:b9ff:fe2f:a0d0] has quit [Quit: .]
08:54-!-Yotson [~Yotson@derp.xs4all.nl] has joined #openttd
08:54-!-Yotson is "." on #openttd
09:05-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
09:18-!-TheMask96 [martijn@envy.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
09:21-!-TheMask96 [martijn@wrath.vhost.ne2000.nl] has joined #openttd
09:21-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
09:32<supermop_work_>yo
09:40<Samu>i fail at strings
09:40<Samu>how do i make this
09:41<Samu>ii got a string with two parameters or values, or whatever
09:41<Samu>STR_GOAL_VALUE : {STRING}{CURRENCY_SHORT}
09:41<Samu>but i can't make the text show up there
09:41<Samu>only the currencty
09:43<Samu>GSGoal.New(cid, string, GSGoal.GT_COMPANY, cid)
09:43<Samu>local string = GSText(GSText.STR_GOAL_VALUE, c_name, cv)
09:43<Samu>local c_name = GSCompany.GetName(cid)
09:43<Samu>local cv = GSCompany.GetQuarterlyCompanyValue(cid, GSCompany.CURRENT_QUARTER)
09:44<Samu>all it prints is £1
09:44<Samu>company name isn't there
09:49<Samu>LordAro:
09:51-!-nielsm [~nielsm@x1-6-08-3e-5d-47-fe-12.cpe.webspeed.dk] has joined #openttd
09:51-!-nielsm is "Niels Martin Hansen" on #openttd #tycoon
09:51<Samu>whos a string master?
09:53-!-mczapkie [~mczapkie@layer.ket.agh.edu.pl] has quit [Quit: mczapkie]
09:55-!-Snail [~jacopocol@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
09:55-!-Snail is "Jacopo Coletto" on #openttd
10:01<Samu>nooo dont leave me alone :(
10:02-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has quit [Quit: john-aj]
10:03<ST2>use {COMPANY}
10:04-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
10:04-!-Gja is "Martin" on #ceph #bcache #openttd
10:05<Samu>ok let me try
10:08<LordAro>Samu: some of us have jobs to do :p
10:09<ST2>I'm actually @ work ^^
10:09<LordAro>i'm afraid i don't have much of an idea about the string system, it's not available for AIs
10:09<Samu>nop, can't make it work
10:10<ST2>you need to send company id to {COMPANY}
10:10<Samu>i have an idea, maybe
10:10<Samu>local c_name = GSText(GSCompany.GetName(cid))
10:10<Samu>let's see
10:11<Samu>bah, first argument must be a valid stringid
10:12<Samu>gonna try your way
10:14<Samu>yeah it works
10:14<Samu>STR_GOAL_VALUE : {COMPANY}{CURRENCY_SHORT}
10:14<ST2>wasy peasy :P
10:14<ST2>easy*
10:14<Samu>local string = GSText(GSText.STR_GOAL_VALUE, cid, cv)
10:15<Samu>STR_GOAL_VALUE : {YELLOW}{COMPANY}{ORANGE} - {YELLOW}{CURRENCY_SHORT}
10:16<ST2>Samu: you type all your steps here, with some copy/paste I think I can fully replicate it xD
10:17<LordAro>Samu likes to echo everything into here
10:17<LordAro>despite our protests
10:17<Samu>ok, i got problem
10:17<Samu>https://imgur.com/oSE8Zau
10:17<Samu>it keeps on repeating because ... yeah i dunno
10:18<LordAro>you should probably investigate that
10:20<Samu>the more i look at divnut the more i get confused
10:20<Samu>divgoal.nut
10:21<ST2>because that's one that covers a bunch of other settings
10:49-!-Alberth [~alberth@00015f9e.user.oftc.net] has joined #openttd
10:49-!-Alberth is "purple" on #openttd
10:49-!-mode/#openttd [+o Alberth] by ChanServ
10:57-!-Flygon [~Flygon@210-84-29-180.dyn.iinet.net.au] has quit [Read error: Connection reset by peer]
10:57<Samu>i can't make thi
10:57-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
10:58<Samu>https://paste.openttdcoop.org/pikaktc2j
10:58<Samu>goalcid0 does not exist
10:58<LordAro>Samu: scope levela
10:58<LordAro>levels*
10:59<LordAro>also, learn arrays
11:01<Samu>if I use SetText, i don't get anything happening
11:01<Samu>or actually, i get goalcid0 not existing
11:01<Samu>if I use New, it keeps repeating the same goal
11:02<Samu>non stop
11:02<LordAro>Samu: stop, and look up how scopes work
11:02<LordAro>this isn't new
11:03<LordAro>and please use arrays instead of duplicating code over and over
11:05<Samu>how do i know if a goal already exists
11:06<Samu>i don't know what's a scope
11:06<LordAro>google
11:06<LordAro>and you definitely do
11:07<LordAro>even if you don't know the name
11:13<Samu>screw the scope
11:13<Samu>wanna try make an array first
11:14<LordAro>scope is a pretty important, and fundamental, bit of programming
11:14<LordAro>learn it.
11:19<Samu>squirrel doesn't have arrays
11:20-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
11:20-!-sla_ro|master is "slamaster" on @#sla #openttd
11:20-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has joined #openttd
11:20-!-Cubey is "Jaybar" on #openttd
11:21<Samu>i give up, this kind of guides don't help at all http://www.squirrel-lang.org/squirreldoc/reference/embedding/tables_and_arrays_manipulation.html
11:22-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has joined #openttd
11:22-!-john-aj is "John" on #openttd
11:27<supermop_work_>i find i don't really have patience to work for an employer who won't pay for software
11:30-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
11:43-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has quit [Quit: john-aj]
11:43-!-chomwitt [~chomwitt@2a02:587:dc08:a00:a16c:e180:7dd6:b02d] has quit [Quit: WeeChat 1.0.1]
11:46-!-synchris [~synchris@139.138.202.72] has joined #openttd
11:46-!-synchris is "Synesios Christou" on #openttd
11:59<Samu>there is no way to follow the code, i don't know what it is doing
11:59<Samu>like in visual studio
12:02-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has joined #openttd
12:02-!-Cubey is "Jaybar" on #openttd
12:04<@Alberth>Samu: unless you want to build a C extension to Squirrel that reference page is not needed
12:07<@Alberth>besides, it's Squirrel 3.1, you need Squirrel 2
12:08<@Alberth>http://squirrel-lang.org/doc/squirrel2.html#d0e528 <-- array
12:13-!-Mahjong1 [~qq@2a00:23c5:6507:1a00:b819:c6b:6eb9:9752] has joined #openttd
12:13-!-Mahjong1 is "realname" on #ohnx #openttd
12:18-!-TheMask96 [martijn@wrath.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
12:20-!-Mahjong [~qq@2a00:23c5:6507:1a00:6dea:272c:a2c0:e0f4] has quit [Ping timeout: 480 seconds]
12:21-!-TheMask96 [martijn@greed.vhost.ne2000.nl] has joined #openttd
12:21-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
12:28<Samu>what am i doing wrong
12:28<Samu>https://paste.openttdcoop.org/ptoawmtv0
12:30<nielsm>in defense of Samu, the squirrel-lang documentation is not that well written and seems to skip over a bunch of important details; the styling of it doesn't help readability either
12:30<nielsm>(I'm comparing to the Lua documentation which I've used a lot myself, and find generally well-written and comprehensive)
12:31<nielsm>Samu I don't think you should actually be using an array there, a table might be a better choice
12:32<nielsm>apart from that, you're making a length 1 array, where the only valid index is 0, but then filling values in all kinds of index values
12:32<nielsm>try making a table instead:
12:32<nielsm>local goalcid = {}
12:32<Samu>ok
12:32<nielsm>and then insert into new slots in the table:
12:32<nielsm>goalcid[cid] <- GSGoal.New(...)
12:33<nielsm>(the <- operator becomes important here, the difference between it and = for assignment is that = will throw an error if the index/slot you're inserting into doesn't already exist, but using <- will create the slot for you if it doesn't exist)
12:35<nielsm>on the other hand, if you know the largest cid value you will be using (I guess GSCompany.COMPANY_LAST is it) you could declare goalcid to be an array of that length
12:35<nielsm>like: local goalcid = array(GSCompany.COMPANY_LAST)
12:36<nielsm>(the array() function creates an array with the length you give it)
12:36<nielsm>bbl, laundry
12:38<@Alberth>still can't read openttdcoop pastes due to expired license
12:46<Samu>Company Goal is still - None - "
12:46<Samu>grr
12:47<Samu>how do i create a goal for all companies on startup?
12:47<Samu>do they have to exist?
12:48<Samu>what if they don't exist yet?
12:49<nielsm>sounds likely
12:49<Samu>do i have to resort on capturing events?
12:49<Samu>that sucks
12:50-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
12:50-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd.dev #openttd
12:54<LordAro>AIs and such like are usually event driven
12:57-!-HerzogDeXtEr [~farci@dslb-178-008-122-126.178.008.pools.vodafone-ip.de] has joined #openttd
12:57-!-HerzogDeXtEr is "purple" on #openttd
13:00-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
13:00-!-andythenorth is "andythenorth" on #openttd
13:02-!-ZexaronS [~zexpc@cpe2-5-137.cable.triera.net] has joined #openttd
13:02-!-ZexaronS is "Aaron Zek" on #openttd
13:04-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
13:04-!-Wolf01 is "Wolf01" on #openttd
13:04<Wolf01>o/
13:06<Wolf01>So, what needs to be fixed?
13:09<andythenorth>me
13:09<andythenorth>I am a bit ill
13:09<Wolf01>:(
13:10-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
13:10-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
13:10<Wolf01>I could give you a virtual cookie
13:11<Samu>are company goals removed automatically when a company bankrupts? or do i have to go there remove its goal?
13:22-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
13:22-!-glx is "Loïc GUILLOUX" on #openttd
13:23-!-mode/#openttd [+v glx] by ChanServ
13:26<Samu>is there a better way to remove all goals on load?
13:31<Samu>how do I know which goalids exist when i load a savegame?
13:32<Samu>i wanted to get a list
13:32<Samu>actually I dunno what I want
13:43-!-synchris [~synchris@139.138.202.72] has quit [Ping timeout: 480 seconds]
13:45<@DorpsGek>Commit by translators :: r27968 trunk/src/lang/korean.txt (2018-02-07 19:45:38 +0100 )
13:45<@DorpsGek>-Update from Eints:
13:45<@DorpsGek>korean: 1 change by telk5093
13:49<supermop_work_>andythenorth: pho
13:50-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has joined #openttd
13:50-!-Stimrol is "Stimrol" on #openttd
13:51<andythenorth>I had katsu lunch
13:51<andythenorth>helped
13:55<peter1138> │··························
13:56<@Alberth>almost!
13:57-!-Biolunar [Biolunar@dslb-092-073-182-015.092.073.pools.vodafone-ip.de] has joined #openttd
13:57-!-Biolunar is "Biolunar" on #openttd #suckless
14:09-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
14:09-!-Gja is "Martin" on #ceph #bcache #openttd
14:12-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
14:13<Wolf01>https://www.youtube.com/watch?v=ImoQqNyRL8Y LordAro
14:16<LordAro>Wolf01: already watched ^^
14:16<Wolf01>I'm going to change my pants
14:16<Wolf01>XD
14:16-!-Progman [~progman@p57A2BFAC.dip0.t-ipconnect.de] has joined #openttd
14:16-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
14:18<nielsm>is there any kind of tool to help remove strings from the translation source files when you've changed something about the english master translation that invalidates everything else?
14:18-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has joined #openttd
14:18-!-john-aj is "John" on #openttd
14:22<@Alberth>sed ?
14:22<nielsm>well sure I could construct my own
14:23<@Alberth>for newgrf and gamescripts, the translation service?
14:23<nielsm>I'm toying around with a core game patch where I've had to change a bunch of strings
14:23<@Alberth>sed is a standard tool for programmatically editing a file :)
14:24<@Alberth>ok, just make new strings instead?
14:24<nielsm>probably the more correct course of action
14:24<@Alberth>definitely
14:25<Samu>almost decent https://imgur.com/FQzrWe9
14:26-!-stefino [~oftc-webi@gw-lipa-silo-1.cust.avonet.cz] has joined #openttd
14:26-!-stefino is "OFTC WebIRC Client" on #openttd
14:28<stefino>Hello all. Do youmeone use MUSA for uploading big files to bananas? I download it but have no idea how does it work. I only saw that I have to make some file, where I write all information about uploaded file, I have to set a path to this file -somewhere- but thats all. Thanks a lot :)
14:30<@Alberth>http://dev.openttdcoop.org/projects/busy-bee-gs/repository/entry/bananas.ini
14:30<@Alberth>version line looks like it is fixed by the makefile
14:30<@Alberth>you may want to add an actual version number there
14:31<stefino>ahh yes, this is the fil what I meant :)
14:31<@Alberth>type is obviously wrong
14:31<stefino>okay
14:32<stefino>and after I write this what I have to do after?
14:33<@Alberth>http://dev.openttdcoop.org/projects/busy-bee-gs/repository/entry/Makefile#L69
14:33<@Alberth>where line 68 seems to do the version magic
14:34<@Alberth>it seems to run the musa.py file
14:34<@Alberth>you could try musa.py --help
14:35<@Alberth>likely it gives some online help and options
14:36<stefino>ok, ill try it :)
14:41-!-gelignite [~gelignite@55d4db32.access.ecotel.net] has joined #openttd
14:41-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
14:43<stefino>seems like mission impossible for me :/
14:49<@Alberth>run != double click file :)
14:50<@Alberth>it's a command-line tool, open a command.com window, and start it with something like "python musa.py --help"
14:50-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has quit [Quit: ZNC - http://znc.in]
14:54<stefino>yes I have open command line and have open python musa help
14:56<@Alberth>Adding -d seems useful until you got everything right
14:57<@Alberth>and -c yourcfg.ini is likely useful too
14:58<stefino>so the first of all I have to write this .ini file and put it into MUSA folder wit grf what I want to upload? and after this I can test with musa -d if all is ok
15:00-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has joined #openttd
15:00-!-Stimrol is "Stimrol" on #openttd
15:01<@Alberth>not sure where it starts searching, best is to "cd" to that grf directory and do everything there
15:02<@Alberth>but basically, yes, you should first make an ini file
15:06-!-Supercheese [~Superchee@50.37.122.154] has joined #openttd
15:06-!-Supercheese is "Supercheese" on #openttd
15:16<stefino>yes, i'll go to write ini :)
15:25<stefino>What I have to change in "makefile"?
15:25<@Alberth>nothing, you don't need it
15:25<@Alberth>it's a tool to automate running programs
15:26<stefino>ok ok , so I need only ini and description.txt
15:26<@Alberth>"make" is a tool to automate running programs, and make uses Makefile to figure out what to do
15:27<@Alberth>I store all stuff that I must run into a makefile or a shell script, so I don't have to remember how to call some $random program like musa
15:27<@Alberth>which I haven't used for several years :)
15:28<@Alberth>if you think you're complete, have a test run by adding the -d
15:33<Samu>who can teach me save/load ?
15:34<Samu>https://wiki.openttd.org/AI:Save/Load
15:34<stefino>Alberth: mm have to pass configuration file
15:35<@Alberth>there was an option for that iirc
15:36<@Alberth>yep -c mybeautifulconfigurationfile.ini
15:36-!-__ln__ [~lauri@dsl-tkubng11-54f8ad-222.dhcp.inet.fi] has quit [Ping timeout: 480 seconds]
15:37<stefino>ahh, ini again ok
15:37<@Alberth>or whatever your extension
15:37<@Alberth>musa doesn't care, it's just that the file format is known as INI file
15:38<@Alberth>but even that is not very fixed, people also use CFG for it :)
15:38-!-__ln__ [~lauri@dsl-tkubng11-54f8ad-222.dhcp.inet.fi] has joined #openttd
15:38-!-__ln__ is "Lauri Nurmi" on #openttd
15:39<@Alberth>Samu: find a an AI that loads and saves?
15:39<@Alberth>busy-bee also loads and saves, but I forgot how it worked
15:41<andythenorth>:)
15:42<stefino>and what I have to write into config file?
15:45<Samu>ok, gonna get busybe
15:46<Samu>i managed to save a tick counter!, not what I wanted though
15:46<Samu>but it's something
15:47-!-ToffeeYogurtPots [~ToffeeYog@5PUAAAEXT.tor-irc.dnsbl.oftc.net] has joined #openttd
15:47-!-ToffeeYogurtPots is "realname" on #oftc #privacytools.io #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #apparmor #debian-offtopic #debian-hurd
15:52<frosch123>stefino: there is only one ini file
15:53<frosch123>the ini file is the config file
15:54<stefino>frosch123: yes but what means error: you have to pass a configuration file
15:55<stefino>and I have to write username, password somwhere or not?
15:56<frosch123>you will be asked those
15:56<frosch123>you do not put them into the ini file
15:56<frosch123>the ini file is supposed to be reused for every upload, so it is usually part of the sources
15:57-!-Alberth [~alberth@00015f9e.user.oftc.net] has left #openttd []
15:57<frosch123>and you do not give others your password :)
15:57<frosch123>but you can put multiple usernames into the ini file to make the grf shared, and allow each of them to update it
15:57<frosch123>but well, that's all written in the ini example
15:58<Samu>foreach
16:01<stefino>ok I maybe understand what I have to do but the next error - cant read configuration file
16:02<stefino>my bad
16:04-!-HockeyD8 [~oftc-webi@2607:fea8:7b20:b7e:7d8f:4ad4:f7da:3ec1] has joined #openttd
16:04-!-HockeyD8 is "OFTC WebIRC Client" on #openttd
16:04<HockeyD8>hello
16:04-!-HockeyD8 [~oftc-webi@2607:fea8:7b20:b7e:7d8f:4ad4:f7da:3ec1] has quit []
16:07<stefino>File contains no section headres. file: bananas:ini line 1. 'type = NewGRF\n'
16:07<frosch123>http://hg.openttd.org/extra/musa.hg/file/5bd2b5073fdd/example.ini <- you need to stick to the syntax
16:08<frosch123>all lines but those with # are important
16:08<frosch123>section headers are those with [ ]
16:08<stefino>oh ok
16:09<frosch123>https://en.wikipedia.org/wiki/INI_file
16:10<stefino>ini file looks ok now
16:11-!-Brainjammed [~oftc-webi@186.16.7.170] has joined #openttd
16:11-!-Brainjammed is "OFTC WebIRC Client" on #openttd
16:11<stefino>no ['.grf'] file :D my god
16:12<stefino>it is world championship in errors
16:12<Brainjammed>good evening ( in my country at least)
16:12<Brainjammed>i have a question regarding gameplay
16:13<stefino>a wrote musa -c bananas.ini and gives me that note
16:13<Brainjammed>i remember in the times of the original ttd it was possible to copy order list between two vehicles of the same kind
16:13<Brainjammed>but i do not remember how I did that
16:14<frosch123>stefino: what did --help tell you?
16:14<frosch123>Brainjammed: https://wiki.openttd.org/Hidden_features
16:15<frosch123>Brainjammed: https://wiki.openttd.org/Orders
16:16<stefino>that I am only graphics developer, not programmer :D
16:18<frosch123>python musy.py -d -c yourconfig.ini -u youruser yourgrf.grf yourreadme.txt yourlicenceifyoudonotuseoneofthedefaults.txt
16:18<frosch123>are there more files to add? i can't remember
16:19<frosch123>ah, changelog.txt is the third option
16:20<stefino>ok ok
16:25<stefino>okay it works, loaded and write error with any kind of socket acces
16:25-!-supermop_work_ [~supermopw@cpe-24-164-140-28.nyc.res.rr.com] has quit [Ping timeout: 480 seconds]
16:26<stefino>socekt.error: Errno 10013
16:28-!-Stimrol [~Stimrol@82-221-246-15.ljoshradi.is] has quit [Quit: ZNC - http://znc.in]
16:29<frosch123>internet says that's your firewall
16:30<stefino>oh
16:31<stefino>I need to switch off firewaal during uploading?
16:32<frosch123>no idea, last time i used windows (10 years ago), it had no such things
16:32<frosch123>https://answers.microsoft.com/en-us/windows/forum/windows_7-networking/socket-10013-error-when-trying-to-connect-some/2cc71cb6-24b2-4b63-8f60-32bb444eb8fd
16:33<__ln__>you must have used windows 95 or something
16:33<frosch123>it probably thinks musa is stealing your banking credentials
16:34<+glx>usually windows firewall pops a window asking you what to do
16:36-!-HerzogDeXtEr [~farci@dslb-178-008-122-126.178.008.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
16:37<stefino>i switched it off and the next error 10054 - connestion will be canceled by distant host
16:38<stefino>connection was....not will
16:38<nielsm>that's the error usually known as "connection reset by peer"
16:38<nielsm>which can mean almost anything
16:43<Samu>cannot iterate null
16:43<Samu>bah... i fail
16:44<Samu>busybee code is easier to follow, and yet quite complex
16:47-!-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]
16:48-!-nielsm [~nielsm@x1-6-08-3e-5d-47-fe-12.cpe.webspeed.dk] has quit [Ping timeout: 480 seconds]
16:49<stefino>still doesnt work but thanks a lot for help :)
16:52-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
16:54-!-supermop_work [~supermopw@cpe-24-164-140-28.nyc.res.rr.com] has joined #openttd
16:54-!-supermop_work is "A CIRC user" on #openttd
16:59-!-stefino [~oftc-webi@gw-lipa-silo-1.cust.avonet.cz] has quit [Quit: Page closed]
16:59-!-john-aj [~john-aj@c83-253-24-36.bredband.comhem.se] has quit [Quit: john-aj]
17:03-!-Brainjammed [~oftc-webi@186.16.7.170] has quit [Remote host closed the connection]
17:04-!-gelignite [~gelignite@55d4db32.access.ecotel.net] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
17:12<Wolf01>'night
17:12-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
17:13-!-ToffeeYogurtPots [~ToffeeYog@5PUAAAEXT.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
17:13-!-ToffeeYogurtPots [~ToffeeYog@0BGAAAYY3.tor-irc.dnsbl.oftc.net] has joined #openttd
17:13-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #oftc
17:19-!-Progman [~progman@p57A2BFAC.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
17:28-!-Thedarkb [~beno@51-171-48-72-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
17:52-!-ToffeeYogurtPots_ [~ToffeeYog@7YZAABCEM.tor-irc.dnsbl.oftc.net] has joined #openttd
17:52-!-ToffeeYogurtPots_ is "realname" on #debian-hurd #apparmor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #oftc
17:58-!-ToffeeYogurtPots [~ToffeeYog@0BGAAAYY3.tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds]
18:07-!-ZexaronS [~zexpc@cpe2-5-137.cable.triera.net] has quit [Remote host closed the connection]
18:08-!-ZexaronS [~zexpc@cpe2-5-137.cable.triera.net] has joined #openttd
18:08-!-ZexaronS is "Aaron Zek" on #openttd
18:38-!-Biolunar [Biolunar@dslb-092-073-182-015.092.073.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
18:58-!-Flygon [~Flygon@210-84-29-180.dyn.iinet.net.au] has joined #openttd
18:58-!-Flygon is "Flygon" on #openttd
19:18-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has quit [Ping timeout: 480 seconds]
19:34-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
19:43-!-Flygon_ [~Flygon@210-84-29-180.dyn.iinet.net.au] has joined #openttd
19:43-!-Flygon_ is "Flygon" on #openttd
19:51-!-Flygon [~Flygon@210-84-29-180.dyn.iinet.net.au] has quit [Ping timeout: 480 seconds]
20:26-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has joined #openttd
20:26-!-supermop is "A CIRC user" on #openttd
20:40-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
20:43-!-efess [~joe@c-73-4-253-159.hsd1.ct.comcast.net] has quit [Read error: Connection reset by peer]
20:44-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
20:46-!-Supercheese [~Superchee@50.37.122.154] has quit [Quit: Valete omnes]
21:26-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has joined #openttd
21:26-!-supermop is "A CIRC user" on #openttd
21:34-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
22:02-!-ToffeeYogurtPots_ [~ToffeeYog@7YZAABCEM.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
22:02-!-ToffeeYogurtPots_ [~ToffeeYog@4G4AAAYV8.tor-irc.dnsbl.oftc.net] has joined #openttd
22:02-!-ToffeeYogurtPots_ is "realname" on #debian-hurd #apparmor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #oftc
22:08-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
22:08-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
22:21-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has joined #openttd
22:21-!-supermop is "A CIRC user" on #openttd
23:08-!-supermop [~supermop@pool-100-37-117-232.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
23:12-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
23:15-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
23:15-!-sla_ro|master is "slamaster" on @#sla #openttd
23:17-!-Snail [~jacopocol@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: Snail]
---Logclosed Thu Feb 08 00:00:58 2018