Back to Home / #openttd / 2016 / 03 / Prev Day | Next Day
#openttd IRC Logs for 2016-03-26

---Logopened Sat Mar 26 00:00:59 2016
01:12-!-ConductCat [~Conductor@pool-173-67-246-148.rcmdva.fios.verizon.net] has quit [Ping timeout: 480 seconds]
01:30<sim-al2>Hokkiado Shinkansen now open
01:32<sim-al2>https://www.youtube.com/watch?v=N9mXy4fvPsg
01:34-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has quit [Quit: Snail]
01:38-!-gnu_jj [~quassel@ipbcc36ea9.dynamic.kabel-deutschland.de] has quit [Ping timeout: 480 seconds]
01:43-!-sim-al2 is now known as Guest9205
01:43-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
01:47-!-Guest9205 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
01:56-!-gnu_jj [~quassel@ipbcc36ea9.dynamic.kabel-deutschland.de] has joined #openttd
02:05-!-gnu_jj [~quassel@ipbcc36ea9.dynamic.kabel-deutschland.de] has quit [Ping timeout: 480 seconds]
02:13<@Rubidium>sim-al2: but only the first bit ;)
02:14<sim-al2>True, only part of the route
02:14<sim-al2>However, regularly scheduled (non-excursion) locomotive hauled passenger train services in Japan are now gone
02:15<sim-al2>Also, the express service that used to run through the tunnel is now also gone
02:17<sim-al2>Until a few days ago, there was a sleeper service from Toyko to Sapporo: https://www.youtube.com/watch?v=jyfeVbkPyS8
02:25-!-Clockworker_ [~Clockwork@189-30-4-99.paemt701.dsl.brasiltelecom.net.br] has joined #openttd
02:26<@Rubidium>it's kinda the thing with progress
02:28<@Rubidium>and night trains are being removed from services all over the world
02:28<sim-al2>Some local passenger services were transferred to a public-private partnership, although the loss of service hasn't been nearly as bad as the other Shinkansen projects in recent years
02:29<sim-al2>Freight services continue through the tunnel, but new electric locomotives are in use since they tunnel is now electrified at 25 kV, 50 Hz, while the old system was 20 kV (also 50 Hz)
02:31<sim-al2>Here in the US, Amtrak's long-distance trains are the only transit avaliable in many small towns, so I think sleeper services are safe here
02:31<@Rubidium>in Europe most sleeper services have gone, mostly due to the dirt cheap flights that are available now
02:32<@Rubidium>example: https://www.youtube.com/watch?v=VHM94Wg92T0
02:33-!-Clockworker [Clockworke@189-30-4-99.paemt701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 480 seconds]
02:34<sim-al2>High speed services also take the cake when you have relatively short distances. Also, that's RyanAir.....
02:35<sim-al2>I think that's a reflection of the UK ticket market having gone completely insane, rather than any inate advantage
02:36-!-gnu_jj [~quassel@ipbcc36ea9.dynamic.kabel-deutschland.de] has joined #openttd
02:43<@Rubidium>so roughly Austin - Houston is cheaper when flying via Kansas City
02:43<sim-al2>Demand pricing leads to some really stupid things
02:44<sim-al2>Of course, it seems that the UK operators are unique in getting away with it
03:09-!-efess [~Efess@c-24-61-64-170.hsd1.ct.comcast.net] has quit [Ping timeout: 480 seconds]
03:30-!-ConductorCat [~Conductor@pool-108-56-8-121.washdc.east.verizon.net] has joined #openttd
03:37-!-roidal [~roland@194-152-171-77.adsl.highway.telekom.at] has joined #openttd
03:56-!-_johannes [~johannes@port-92-203-170-176.dynamic.qsc.de] has joined #openttd
04:04-!-sla_ro|master [~sla.ro@89.136.141.100] has joined #openttd
04:05-!-andythenorth [~Andy@host-78-150-150-221.as13285.net] has joined #openttd
04:05<_johannes>ok now I know why YAPF is aborting, but it does not make much sense
04:05<andythenorth>is there a quick way to printf a timestamp?
04:05<andythenorth>without importing time and crap
04:06<_johannes>the train is driving into direction south-west, and calculates some cost estimate to a node north-east of it
04:07<_johannes>as it gets more to the south-east-direction, the train calulates higher estimate for this note
04:07<_johannes>*node
04:08<_johannes>then, the train turns around (to the north-east again) and gets lower cost estimate to that north east node
04:08<_johannes>however, the node is already in the closed set, and thus, there should be no lower estimate
04:10<_johannes>andythenorth: date --date @<timestamp-value>
04:10<_johannes>e.g. date --date @1329055200
04:18<_johannes>anyways, to the node problem: the train is at B seeing A (behind itself), giving it some cost estimate and puts it into the closed list. then it moves away from B to C, then comes back to B, sees A *before itself*, giving it a lower estimate
04:18<_johannes>but since A is already in the closed list, a lower estimate is not possible
04:18<_johannes>so this is a bug in YAPF?
04:23<@Rubidium>might also be an issue in you configuration w.r.t. the values of the estimates
04:23-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
04:23-!-mode/#openttd [+o Alberth] by ChanServ
04:23<@Rubidium>or at least the values that are (eventually) fed into the A* calculations
04:26<_johannes>from how I read the code, the VehicleType parameter to FindPath is not used for position/direction determining, right?
04:27<_johannes>because the only thing that I changed to all existing algorithms was using a different trackdir/tile than the train has
04:27<_johannes>but from looking at the code, I think the position/direction of the vehicle is never queried
04:38-!-Progman [~progman@p57A19C0A.dip0.t-ipconnect.de] has joined #openttd
04:54*andythenorth got drivethrough stations working with / without catenary
04:54<andythenorth>and if catenary is present when building, it isn’t removed
04:54<andythenorth>removing of roadstops….not so good yet :P
05:00<andythenorth>also I think the implementation sucks and is janky
05:00<andythenorth>I have to set or clear a specific catenary bit in all the relevant tile types
05:00<andythenorth>and read it when adding / removing / drawing road features
05:01<andythenorth>seems “catenary or not” would just be a property of the type of road
05:02<andythenorth>can I use two bits to store the roadtype, and have four types?
05:03-!-efess [~Efess@c-24-61-64-170.hsd1.ct.comcast.net] has joined #openttd
05:09*andythenorth wonders what an ENUM is :P
05:12<@Alberth>a collection of numbers, where each number has a name? :)
05:12<@Alberth>hi hi btw
05:13-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd
05:13<andythenorth>hmm
05:13<andythenorth>railtypes look like they can produce some proper object, to be used when building / drawing
05:14<andythenorth>whereas ROADTYPE_TRAM and ROADTYPE_ROAD are just a bit which is read every time
05:14<andythenorth>quite often :P
05:14-!-Myhorta[1] [~Myhorta@2001:8a0:ed44:5b01:1a67:b0ff:fe91:1823] has joined #openttd
05:15*andythenorth has to do some out-loud thinking in irc, sorry
05:15<@Alberth>you don't want to make an object too often
05:16<@Alberth>stuff that hooks into path finding is on the critical path
05:17<andythenorth>currently the choice looks like: read two different bits quite often
05:17<@Alberth>you don't build very often, so making an object there is ok
05:17<andythenorth>or read two bits, get an object, use that
05:17<andythenorth>but…it’s not that simple
05:17<andythenorth>because the tile potentially has both road and tram on it
05:17<@Alberth>object is static?
05:17-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has joined #openttd
05:18<@Alberth>if it is, that could work
05:18<@Alberth>s/static/constant/ rather
05:18<andythenorth>not sure :)
05:19<andythenorth>out of my depth here :)
05:19<andythenorth>so I think I know the answer
05:19<@Alberth>:)
05:19<andythenorth>I _could_ refactor all the existing code to use an object, before I attempt any more of my patch
05:19<andythenorth>or I could do the patch, and have a slightly more spaghetti laden refactoring job later
05:20<andythenorth>given that the patch might suck, and the refactoring isn’t essential
05:20<andythenorth>refactor later :P
05:22<@Alberth> I usually first make something that works, and then consider how to do it properly in a second attempt :)
05:32-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
05:38<frosch123>V453000: "Redo of the train graphics and fixing the train distances, so they are whole tiles and vertical and horizontal distances are the same." <- haha
05:43-!-Arveen [~Arveen@ip-95-223-75-47.hsi16.unitymediagroup.de] has joined #openttd
05:45-!-liq3 [liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has quit []
05:48-!-liq3 [~liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has joined #openttd
06:25-!-Myhorta[1] [~Myhorta@2001:8a0:ed44:5b01:1a67:b0ff:fe91:1823] has quit [Remote host closed the connection]
06:46-!-andythenorth [~Andy@host-78-150-150-221.as13285.net] has quit [Quit: andythenorth]
07:12-!-Wolf01 [~wolf01@95.237.235.9] has joined #openttd
07:12<Wolf01>o/
07:52-!-Samu [~oftc-webi@po-217-129-255-23.netvisao.pt] has joined #openttd
07:53<Samu>on a dedicated server, what is the command to see if any AI crashed?
07:57-!-FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd
08:09<Wolf01>meh, facebook really wants to make me to sign in... worse than pinterest, at least there I can easily remove the overlay
08:17-!-Ketsuban [~ketsuban@2a02:c7d:a33e:4100:19af:d98b:adba:2d57] has joined #openttd
08:22<_johannes>how do you close all windows at once in openttd?
08:22<Samu>Delete key
08:22<_johannes>thanks!
08:23<Samu>on a dedicated server, what is the command to see if any AI crashed?
08:23<sim-al2>Shift+Delete will close stickied windows too
08:31-!-DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has quit [Ping timeout: 480 seconds]
08:32-!-Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
08:33-!-Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has joined #openttd
08:56<argoneus>good morning train friends
09:01<Samu>how do i know if an AI crashed?
09:22-!-Flygon__ [~Flygon@ppp118-209-132-93.lns20.mel8.internode.on.net] has joined #openttd
09:26<frosch123>it's printed to the server console
09:26<frosch123>don't think you can see that from a client
09:28<Samu>frosch123: there is no command to check AIs that crashed then?
09:28<frosch123>no
09:28<Samu>t.t
09:29<frosch123>you can save the game and reload
09:29<frosch123>that will also restart the ais afaik
09:29-!-Flygon_ [~Flygon@ppp118-209-53-172.lns20.mel4.internode.on.net] has quit [Ping timeout: 480 seconds]
09:30-!-FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds]
09:33<Wolf01>and now power outage!
09:33-!-andythenorth [~Andy@host-78-144-168-231.as13285.net] has joined #openttd
09:35-!-andythenorth [~Andy@host-78-144-168-231.as13285.net] has quit []
09:35-!-Progman [~progman@p57A19C0A.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
09:41<Wolf01>must turn off pc
09:41-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
09:43<Samu>I'm trying to start a server with a GUI but it doesn't work, what can I do? "C:\Program Files\OpenTTD\openttd.exe" -v win32 -s win32 -m win32 -b 32bpp-sse4-anim -G -D -I OpenGFX -S OpenSFX -M OpenMSX -c openttdcfgCore1.cfg
09:43<frosch123>remove the -D
09:44<frosch123>likely remove everything except the -c
09:45-!-Ben_00 [~oftc-webi@79.138.133.125.mobile.tre.se] has joined #openttd
09:46-!-Ben_00 [~oftc-webi@79.138.133.125.mobile.tre.se] has left #openttd []
09:47-!-Ben____ [~oftc-webi@79.138.133.125.mobile.tre.se] has joined #openttd
09:48-!-Ben____ [~oftc-webi@79.138.133.125.mobile.tre.se] has left #openttd []
09:49<Samu>"C:\Program Files\OpenTTD\openttd.exe" -c openttdCore1.cfg it launches TTD to main menu but doesn't start a server
09:50<frosch123>yes, then multiplayer -> start server
09:50<Samu>oh, there's no command line to make it host a server with gui :(
09:50<frosch123>what's the pointß
09:50<frosch123>?
09:50<Samu>i wanna monitorize
09:50<frosch123>if you have a gui, then you have a gui
09:51<frosch123>if you want to monitor, then send the server console output to a file
09:51<frosch123>the console output contains stuff like ai crashed
09:51<frosch123>at least on decent os
09:53-!-sla_ro|master [~sla.ro@89.136.141.100] has quit []
10:11<Samu>do i put that inside autoexec.scr file?
10:13<frosch123>when you start a game with the command above
10:13<Samu>script C:\Users\Ricardo\Documents\OpenTTD\Core1.txt
10:13<frosch123>then start a crappy ai that crashes all the time, like medievalai
10:13<frosch123>does it print something to your start console?
10:13<frosch123>i.e. the one where yuo typed the openttd.exe command?
10:14<Samu>i have them servers start a randomly chosen ai at the moment, not a specific one
10:15<Samu>it printed dictatorai crashed, but as new messages filled in, i could not scroll back, to find which of the servers had the ai that crashed
10:16<frosch123>ok, now start your server with "openttd.exe -D > myserver.txt"
10:16<frosch123>that will create a file "myserver.txt" and write all output to that file
10:16<frosch123>(well, i guess also add the -c in front of the >
10:19<Samu>start /b /affinity 1 start /wait /D "C:\Program Files\OpenTTD" openttd.exe -D -c openttdCore1.cfg > C:\Users\Ricardo\Documents\OpenTTD\Core1.txt
10:20<Samu>will try
10:22<Samu>meh, not the kind of output I was looking for
10:24-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
10:30<Samu>script C:\Users\Ricardo\Documents\OpenTTD\Core1.txt - typing this in the console works, but i have to type script again to make it update the text file, otherwise it's empty
10:39<Samu>how do I type \ in the gui console version? It closes and open console instead.
10:39<Samu>like C:\
10:39<frosch123>try / instead
10:40<Samu>i see, that worked
10:56<Samu>a bit of help here "C:\Program Files\OpenTTD\openttd.exe" -d script=9 -D -c openttdCore1.cfg
10:56<Samu>how do i write it to a file
10:57<Samu>the print
10:57<frosch123>"> file.txt" at the end
10:57<frosch123>it's a standard console feature, not ottd specific
10:57<frosch123>thus it must be at the end
10:57<Samu>that only prints C:\Users\Ricardo
10:58<frosch123>i got the impression that you use some other tool to start the stuff
10:59<frosch123>so, maybe put the whole ottd command into a .bat file and then use you weird tool to start the bat file
11:01<Samu>the tool is start
11:02<Samu>Starts a separate window to run a specified program or command.
11:03<frosch123>yeah, but then the ">" applies to "start"
11:03<frosch123>instead of to "openttd"
11:03<frosch123>thus "start" a batch file, and put the ">" inside the bat
11:04<argoneus>eh
11:05<argoneus>I just watched the "new" star wars
11:05<argoneus>I didn't know it was this shit
11:05<argoneus>considering how everyone praised it
11:05<frosch123>it is the same as episode 4 :)
11:05<argoneus>frosch123: except worse
11:05<argoneus>in every way
11:05<argoneus>>oh yeah there's this villain who trained with the big shots for years
11:06<argoneus>>oh yeah he's also weaker than this random girl who we forced into the plot
11:06<argoneus>darth vader at least felt relevant
11:06<argoneus>this is anakin all over again
11:06-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
11:06<frosch123>well, it's not darth vader
11:06<frosch123>darth moul was not particulary good either
11:06<Wolf01>corrupted the mirc.ini :E
11:06<frosch123>i think episode 7 is completely equivalent to episode 4
11:07<argoneus>I just dislike how they spit on the lore
11:07<argoneus>where you are supposed to train for years and years to be able to use the force and then craft your own lightsaber and shit
11:07<frosch123>poor boy :)
11:07<Flygon__>The first half went well
11:07<argoneus>and then a random girl does it immediately
11:07<Flygon__>Then they cloned the ending...
11:07<frosch123>argoneus: same in episode 4
11:07-!-Flygon__ is now known as Flygon
11:07<argoneus>frosch123: except Luke was incompetent in episode 4
11:07<argoneus>he had to train with yoda
11:07<frosch123>that is in episode 5 or 6
11:08<argoneus>this girl is stronger than the villain out of nowhere
11:08<argoneus>for no reason
11:08<frosch123>luke hat no training at all
11:08<argoneus>also
11:08<frosch123>just obivan was around sometimes
11:08-!-sla_ro|master [~sla.ro@89.136.141.100] has joined #openttd
11:08<argoneus>>the main villain gets beaten in a lightsaber duel with the black guy who was a regular stormtrooper
11:08<argoneus>are you serious
11:08<frosch123>he didn't?
11:08<Samu>the > file.txt trick doesn't work, i must automate openttd console to execute this line when it starts: script C:\Users\Ricardo\Documents\OpenTTD\Core1.txt
11:08<argoneus>well
11:08<argoneus>he gave him a fight
11:08<argoneus>ren should've toyed with them both
11:08<argoneus>and lost due to his arrogance or something
11:08<frosch123>yes? and once he stopped playing and used the force, the trooper lost
11:08<argoneus>except he actually got fucked
11:09<argoneus>also the plot all felt like a huge coincidence
11:09<frosch123>same in episode 4 :p
11:09<frosch123>i think you overrate the other movies :)
11:09<argoneus>the robot getting to a random girl, the black guy finding the random girl, then the two of them randomly finding the millenium falcon (unattended for whatever reason), then they manage to run into han for no reason
11:10<argoneus>also the vast galaxy feels like a small village where you can go house to house within minutes
11:10<argoneus>is the original trilogy really like this?
11:10<argoneus>I remember it as being better
11:11<frosch123>episode 4 is incredible simple
11:11<argoneus>still
11:11<argoneus>I would've preferred if Rey barely escaped with her life
11:11<argoneus>instead she dominated the guy who supposedly threw over the entire new jedi order
11:11<argoneus>like, what
11:12<frosch123>he didn't?
11:12<frosch123>it's not darth vader
11:12<argoneus>he is the reason Luke left
11:12<argoneus>because he did something
11:12<argoneus>I already forget what, if they even said it
11:12<frosch123>luke trained him, and he turned bad, so luke thought he cannot do any good
11:12<frosch123>that's all
11:12<frosch123>he did not "beat" luke
11:13<argoneus>so he was presumably still untrained and incompetent?
11:13<frosch123>yes
11:13<frosch123>he will only be darth vader in the next episode
11:13<argoneus>shrug
11:13<frosch123>1) he now is very injured and really needs a helmet
11:13<frosch123>2) the imperator said he wants to finish his training
11:14<argoneus>I suppose you're right
11:14<frosch123>the whole movie just is about creating a new generation of heroes, which is equivalent to episode 4, plus creating a new darth vader, which is equivalent to episode 2 or 3 (can't remember)
11:14<argoneus>it's been years since I saw ep4
11:15<argoneus>I assume it had the same issues I was talking about, then?
11:15<frosch123>well, episode is 4 is: random people meet up, two of them are siblings without noone knowing
11:16<frosch123>they meet one of the 2 jedi remaining, and they blow up the death start with pure luck
11:16<frosch123>oh, and one of the random guys, has a huge spaceship that outperforms all imperial ships
11:16<frosch123>so, how is that any better? :p
11:17<Wolf01>and somebody dies
11:23-!-sla_ro|master [~sla.ro@89.136.141.100] has quit []
11:23<argoneus>well
11:23<argoneus>I guess you're right frosch123
11:23<argoneus>this movie is basically a nod to episode 4
11:26<Flygon>I did like Episode 7, btw
11:26<Flygon>But I'm the sort of guy that's both easily entertained and likes more niche films
11:26<Flygon>SO basically
11:26<frosch123>i also think it was quite ok, the characters were good
11:27<Flygon>I will eat Tacos, Pizza, AND... whatever fancy food is xP
11:31<argoneus>the whole "using the force without training" is still silly
11:31<frosch123>they did not really use the force
11:32<Flygon>Don't worry
11:32<frosch123>and, luke also only got training in episode 3
11:32<frosch123>err, 6
11:32<Flygon>It'll all be explored in Episode 7: The Quest for More Money
11:32<argoneus>frosch123: pulling items is force
11:32<argoneus>mind control as well
11:33<frosch123>luke also did all that stuff in episode 4 and 5
11:33<frosch123>still darth vader crushed him at the end of episode 5
11:34<frosch123>in episode 7, all are noobs
11:35<frosch123>the villain is the standard looser that you will find in many stories
11:35<frosch123>*loser
11:35<Flygon>Episode 7: Just promoted from Novice to Swordsman
11:35<Flygon>Episode 8: Between Job 40-50
11:35<Flygon>Episode 9: We all complain about Gravity printing money off their Rebirth Mechanic
11:36<Flygon>RO used GRFs before they were cool
11:36<Flygon><_<
11:36<Flygon>>_>
11:36<Flygon>Srsly tho, I gotta sleep
11:36<Flygon>Night y'all, have gone. You two ave fun. :3
11:36<frosch123>RO ?
11:38<Ketsuban>Ragnarok Online.
11:53<Samu>i can't get the script command to work
11:53<Samu>it prints only this "file output complete"
11:55-!-Mazur [~mazur@5ED07F22.cm-7-1b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
11:56<rah>I've just constructed my first monorail loop and put some trains on it but unfortunately they all breakdown very frequently and are making massive losses
11:57<Samu>what does it log to the file? only the crash notice?
11:57<Samu>i got to wait for the ai to crash for it to print something?
11:59<rah>the bhp is not as described in the wiki
11:59<rah>I'm using Pineapple Trains and JRD Standard European Sets newGRFs; would they alter the monorail engines?
11:59<rah>(and if so, why?)
12:01-!-_johannes [~johannes@port-92-203-170-176.dynamic.qsc.de] has quit [Quit: leaving]
12:06-!-Ben____ [~oftc-webi@79.138.131.18.mobile.tre.se] has joined #openttd
12:06-!-Ben____ [~oftc-webi@79.138.131.18.mobile.tre.se] has quit []
12:07<Eddi|zuHause>probably
12:08<Eddi|zuHause>if you mix two train sets, the prices may be off
12:09<Eddi|zuHause>because there is a global price multiplier. so if one expect the multiplier to be low and sets prices high, but the other one expects the multiplier high and sets the prices low, one set's prices will be too low, or the other set's prices too high
12:10<Eddi|zuHause>depending on which one was loaded first
12:11<frosch123>that has not been the case for 4 years
12:15<frosch123>6 actually
12:18<Samu>frosch123: it's not logging the things I wanted -> http://pastebin.com/0nKtBe7Y
12:19<Samu>i typed in the console: "script", then "listais"
12:19<Samu>it prints that, and not the crash or the other messages
12:19<Samu>what am I doing wrong
12:20<Samu>listai*
12:20<Samu>wait... it printed it now
12:21<Samu>yay!
12:21<Samu>"One of the running scripts crashed. Please report this to the script author with a screenshot of the AI/Game Script Debug Window"
12:22<Samu>too generic, i wanted to know which ai
12:22<Samu>but it printed something
12:27-!-HerzogDeXtEr [~farci@i59F6DD7B.versanet.de] has joined #openttd
12:30-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
12:30-!-mode/#openttd [+v tokai|noir] by ChanServ
12:37-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
12:41-!-andythenorth [~Andy@host-78-144-168-231.as13285.net] has joined #openttd
12:41<andythenorth>oh nekomaster
12:41<andythenorth>you have failed me :(
12:46<Eddi|zuHause>news are weird... "hundreds of people agreed to leave Idiomeni"... and in the small print "600 leave, 12000 stay"... that seems to be a huge success
12:46<Eddi|zuHause>*idomeni
12:54<Samu>why isn't this working... D:\OpenTTD\Core1\openttd.exe -d script=9 -D -c openttdCore1.cfg > D:\OpenTTD\Core1\DebugCore1.txt
12:55<Samu>is it intended that it opens a new console window?
12:55<Samu>shouldn't it use the console I'm currently in
12:56<Samu>then, of course, it doesn't print anything to the .txt file
13:00<andythenorth>roadstops now preserve the catenary when I remove them :P
13:00<andythenorth>openttd code is starting to make sense
13:00*andythenorth pride before a fall eh?
13:03<Wolf01>nah, you fall when you'll start to think about daylength
13:04<Wolf01>if I didn't, maybe I could have added the catenary support for road, avoiding your current work
13:04-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
13:04-!-mode/#openttd [+o Alberth] by ChanServ
13:08-!-Mazur [~mazur@5ED07F22.cm-7-1b.dynamic.ziggo.nl] has joined #openttd
13:09-!-gelignite [~gelignite@x4db5300c.dyn.telefonica.de] has joined #openttd
13:10-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has joined #openttd
13:11-!-Clockworker [Clockworke@189-30-213-32.paemt702.dsl.brasiltelecom.net.br] has joined #openttd
13:12<andythenorth>daylength :)
13:12<andythenorth>ha
13:13<andythenorth>I’ve done road and roadstop, and started tunnelbridge
13:13<andythenorth>drive-in roadstop I think I’ll avoid :P
13:13<andythenorth>what else is there?
13:13<andythenorth>crossing, depot
13:14<Wolf01>isn't crossing automagically handled?
13:16<andythenorth>not for the new catenary behaviour I’m adding
13:16<andythenorth>all the ‘remove x’ functions have to restore the catenary bit if it was set
13:18-!-Clockworker_ [~Clockwork@189-30-4-99.paemt701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 480 seconds]
13:19<frosch123>Samu: i guess messages like dbg: [script] [5] [S] *FUNCTION [BuildPassStation()] medievalai._/Buses.nut line [257]
13:20<frosch123>which specifies medievalai
13:21<andythenorth>so how much openttd coding is just yak-shaving?
13:22<Samu>yes, i'm trying to log those messages
13:22<Samu>can't figure it out
13:24<andythenorth>most web app coding is yak-shaving
13:24<andythenorth>most newgrf is not
13:24-!-sla_ro|master [~sla.ro@89.136.141.100] has joined #openttd
13:24<andythenorth>newgrf has very little state to worry about :D
13:35-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has quit [Quit: Snail]
13:59-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
13:59-!-mode/#openttd [+v glx] by ChanServ
14:00-!-Progman [~progman@p57A19C0A.dip0.t-ipconnect.de] has joined #openttd
14:05<Eddi|zuHause>depends on what you think yak-shaving is
14:06<andythenorth>matching up functions and parameters
14:06<andythenorth>getting and setting data
14:06<andythenorth>putting vars in scope
14:06<Samu>who's a windows 10 expert?
14:06<andythenorth>boilerplate :)
14:09<monsted>Samu: i'm not sure anyone would admit that
14:10<Samu>dpi settings are getting in the way when launching OpenTTD as a Dedicated Server, there is some upscaling being done in the console text
14:13<Sylf>that doesn't sound like a windows 10 issue
14:14*andythenorth shaved some more yak
14:14<andythenorth>rail crossings restore road catenary when removed
14:14<Samu>what is conhost.exe? when i launch openttd.exe -D, a conhost.exe is also executed alongside
14:15<frosch123>ask google
14:15<frosch123>it's not part of openttd
14:17<Samu>google says, Console Window Host
14:18<Samu>signed by microsoft
14:18<Samu>legitimate, bla bla
14:18<Wolf01>the windows' console is bad under too many aspects
14:19<Wolf01>I tried to make it support colouring of strings but she always laughed back
14:20<+glx>conhost is not new in windows 10
14:21-!-alluke [~54fa666b@188.cimarosa.openttdcoop.org] has joined #openttd
14:24<Wolf01>btw, adding 2 events to handle the progress ring to the feed reader killed me... as always I needed to add an entire framework to the application (service container, services, helpers)
14:24<+glx>Wolf01: it should support colouring
14:25<+glx>at least console app can output coloured text
14:27<Samu>they changed conhost in windows 10 https://blogs.windows.com/buildingapps/2014/10/07/console-improvements-in-the-windows-10-technical-preview/
14:27<Wolf01>the powershell works well
14:27<Sylf>I still fail to see how that would change anything regard to OTTD dedicated server mode
14:28<Wolf01>and finally is possible to resize the console window without fiddling with the settings
14:28<+glx>powershell still uses conhost :)
14:29<Wolf01>also the window transparency
14:30<Wolf01>btw, Samu, are you launching ottd -D from a shortcut? I think you should give a look at the compatibility tab and try to change the DPI related option
14:31<Samu>i am launching it in several manners, trying to find one that works
14:31<Samu>yes, that one too
14:31<+glx>and check if the same happen with just cmd
14:32<Samu>launch the shortcut or the exe itself?
14:34<Wolf01>but yes, the ottd output seem to have a different font, but it happened with a lot of softwares, I don't think it's related to the console
14:34<+glx>for me openttd console looks the same as cmd
14:34<Samu>they all work, but none lets me do the > file.txt
14:35<+glx>redirection should work
14:35<+glx>hmm no you need to convert to console app first :)
14:36<Samu>it always outputs an empty text
14:36<+glx>https://devs.openttd.org/~glx/convert.zip
14:36<Samu>or C:\Users\Ricardo
14:36<+glx>yes, it's because a new window is created
14:37<Wolf01>https://onedrive.live.com/redir?resid=D5D7348BE1780505!19736&authkey=!AFkkZYazrtTL_co&v=3&ithint=photo%2cpng
14:37<Samu>yes, exactly that
14:37<Samu>that's what happens
14:38<Wolf01>usually I don't care :P
14:38<Wolf01>I thought it was changing the desktop's DPI
14:39<Samu>how do i run this convert?
14:39<Samu>convert.exe openttd.exe?
14:40<+glx>just run it from openttd.exe location
14:40<+glx>without args
14:41<andythenorth>aiiieee
14:41<andythenorth>bridge construction :(
14:41-!-andythenorth [~Andy@host-78-144-168-231.as13285.net] has quit [Quit: andythenorth]
14:42<+glx>it's a toggle, switching from gui to console, or console to gui, depending on the current state of openttd.exe
14:44<Samu>yes, amazing, it is working
14:44<Samu>i beleive
14:44<Samu>let me exit
14:45<Samu>waiting for the AI to crash
14:45<@DorpsGek>Commit by translators :: r27526 trunk/src/lang/malay.txt (2016-03-26 19:45:36 +0100 )
14:45<@DorpsGek>-Update from Eints:
14:45<@DorpsGek>malay: 2 changes by rionix88
14:47<Samu>bah, sorry, doesn't output the right things
14:47<Samu>it outputs 3 lines
14:47<+glx>try 2>&1 >file.txt
14:47<Samu>Setting dedicated network server settings...
14:48<Samu>file output started to: D:\OpenTTD\Core1\openttdcfgCore1.log
14:48<Samu>file output complete
14:48<Samu>ok trying
14:49<Samu>openttd -D -c D:\OpenTTD\Core1\openttdcfgCore1.log 2>&1 >file.txt
14:50<+glx>ok just tried, it works with >file.txt 2>&1
14:50<Samu>ah, ok ok
14:50<+glx>you'll see nothing in the console when it works
14:51<Samu>openttd -D -c D:\OpenTTD\Core1\openttdCore1.cfg >file.txt 2>&1
14:51<+glx>if the console stays empty then everything goes in file.txt
14:52<Samu>it's running i see
14:52<Samu>isn't >>file.txt 2>&1 better?
14:57<alluke>is there any chance to make proper 1024x1024 heightmap from this? http://www.sa-mp.com/stuff/MapAndreas/SAfull.jpg
14:58-!-andythenorth [~Andy@host-78-144-168-231.as13285.net] has joined #openttd
15:00-!-liq3 [~liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has quit []
15:08*andythenorth can’t see a neat way to pass a road catenary flag to bridge construction
15:10<Wolf01>look at the rail implementation?
15:12<andythenorth>rail catenary comes from railtype
15:13<andythenorth>road catenary is just a flag I’m passing around
15:17<andythenorth>this hack shows some of the tricky things about any theoretical implementation of roadtypes
15:17<andythenorth>if I overbuild road with catenary tramtrack
15:17<andythenorth>then remove the tramtrack
15:18<andythenorth>would that remove the catenary too?
15:18<andythenorth>and what if I’m using it?
15:18<andythenorth>do I have to overbuild again with a road that has catenary?
15:18<andythenorth>or is there some dreadful compatibility table?
15:18<andythenorth>NoRoadTypes :D
15:19<frosch123>don't add a fourth owner :p
15:19<frosch123>company 1 builds road, company 2 build rail crossing, company 3 builds tramway, company 4 adds road catenary
15:19-!-Bluelight [~chatzilla@255.90-149-206.nextgentel.com] has joined #openttd
15:20<frosch123>i guess when upgrading the tram to catenary, you also have to upgrade the road to catenary
15:21<frosch123>otherwise you end up with catenary-only tiles :)
15:21<frosch123>remove road and tram, keep catenary
15:21<andythenorth>ha ha ha
15:21<andythenorth>:)
15:21*andythenorth might have to code that
15:21<frosch123>i guess you could allow electric loan mowers then
15:21<frosch123>*lawn
15:22<andythenorth>https://www.youtube.com/watch?v=WLdfpBNjdDc
15:22<@Alberth>trees like to have electric light too :)
15:23<andythenorth>and for the next trick, resurrect the hovercraft patch :)
15:23<Samu>start /b /affinity 1 /D "D:\OpenTTD\Core1" D:\OpenTTD\Core1\openttd.exe -D -c D:\OpenTTD\Core1\openttdCore1.cfg >> D:\OpenTTD\Core1\openttdCore1.log 2>&1
15:24<Samu>it works!
15:24<Wolf01><frosch123> otherwise you end up with catenary-only tiles :) <- trolleybuses
15:25<andythenorth>hover-trolleybuses
15:25<andythenorth>off-road trolleybuses :P
15:25<Wolf01>zellepins
15:25<andythenorth>hmm
15:25<frosch123>howercraft with catenary?
15:26<@Alberth>sea catenary?
15:26<andythenorth>electric snow-coach? http://www.brewster.ca/brewster_travel/media/Images/Rocky-Mountains/Destinations/Columbia-Icefield/Activities/Columbia-Icefield-Discovery-Glacier-Adventure/FCD-Brewster-Tour-Columbia-Icefield-Glacier-Adventure-Athabasca.jpg?width=555&height=330&ext=.jpg&requiredtype=image&defaultfilepath=/App_Themes/Default/Images/No-Card-Image.png&maxsidesize=220
15:26*andythenorth has some evil idea
15:26<andythenorth>for catenary-only tiles, patch the drawing routine, and draw trails :P
15:27<andythenorth>and use the absence of road to split the vehicle types
15:28<andythenorth>maybe not evil enough :x
15:30<andythenorth>new flag on newgrf vehicles - catenary only :P
15:42<Samu>hey again, this is how I have my bat file configured http://pastebin.com/raw/ifAtyPTv
15:42<Samu>it starts all servers
15:42<Samu>affinitizes each openttd to one core
15:42<Samu>and it works! all in 1 window, though
15:43<Samu>question is... how should i stop the servers?
15:43<Samu>it won't de-list them from the master server
15:44<Samu>oh, it's a .cmd file, not .bat, sorry
15:45<+glx>ctrl-c :)
15:45<Samu>does that send something to master server?
15:45<Samu>tell them i am no longer hosting?
15:46<+glx>I don't think there's a packet for that
15:46<Samu>there is a console command: exit
15:46<Samu>but, i have all consoles in 1 window now
15:48<Samu>hmm i got to type exit 8 times for each openttd
15:48<Samu>in which order does it exit?
15:48<Samu>damn it ill check it myself
15:53<Samu>ok, it exits in the opposite order they were launched
15:53<Samu>first exit, closes server 8, the next closes server 7, etc...
15:54<Samu>the last exit closes command prompt
15:55<Samu>i guess start /b might be a bad idea
15:55<Samu>if i want to close a particular server, i won't be able to
15:56<@Alberth>can't just kill the process?
15:57<Samu>they're all in 1 window
15:57<Samu>because of start /b
15:57<+glx>anyway the only important thing done when exiting cleanly is autosave at exit if enabled
15:57<@Alberth>I mean though task manager, or process manager or whatever its name is
16:00<frosch123>or via rcon
16:02-!-andythenorth [~Andy@host-78-144-168-231.as13285.net] has quit [Quit: andythenorth]
16:02<Samu>dbg: [net] [udp] removing advertise from master server
16:03<Samu>this shows when i type exit
16:03<Samu>not when i kill task
16:03<Samu>or ctrl-c
16:03-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has joined #openttd
16:06-!-alluke [~54fa666b@188.cimarosa.openttdcoop.org] has quit [Quit: Page closed]
16:16-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has quit [Quit: Snail]
16:20-!-Wolf03 [~wolf01@host98-234-dynamic.54-79-r.retail.telecomitalia.it] has joined #openttd
16:20-!-Wolf01 is now known as Guest9269
16:20-!-Wolf03 is now known as Wolf01
16:20-!-Bluelight [~chatzilla@255.90-149-206.nextgentel.com] has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
16:21-!-Guest9269 [~wolf01@0001288e.user.oftc.net] has quit [Read error: Connection reset by peer]
16:25<argoneus>how are my train friends doing
16:25<Wolf01>tired
16:25<Wolf01>and tomorrow I would like to stay all day on my own... but no, it seem to be EASTER again :(
16:31-!-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:34<@Alberth>just ignore it? :)
16:34<@Alberth>at least the day is one hour shorter :)
16:35<Wolf01>it would be really cool if I'll be able to ignore some days ;)
16:45-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
17:15-!-DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has joined #openttd
17:30<Samu>aha, i finally managed this
17:32<Samu>i need a master batch that starts other batches
17:32<Samu>i'll show you, let me just finish edit them all
17:39-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
17:42-!-Arveen [~Arveen@ip-95-223-75-47.hsi16.unitymediagroup.de] has quit [Read error: Connection reset by peer]
17:43<Samu>OpenTTDServers.cmd -> http://pastebin.com/649LwxrH
17:43<Samu>then, 8 more batches
17:43<Samu>startCore1.cmd -> http://pastebin.com/kijn3be5
17:44<Samu>when i launch OpenTTDServers.cmd, i get all 8 windows running, one for each server, and each one is logging the correct stuff to their own log file
17:45<Samu>i couldn't do it with 1 batch only because it was getting stuck on the first server, until i exited it, to start the 2nd server, etc
17:46<Samu>only with start /b i could run all servers using only 1 batch file, but then i couldn't differentiate between them, they were all in 1 window
17:49<Wolf01>Samu, next time: http://ss64.com/nt/for.html
17:51-!-Biolunar [~Biolunar@x4d08e64d.dyn.telefonica.de] has joined #openttd
17:54<Samu>oh, for loops
17:55<Samu>i remember using that for some other crap i was messing with
17:55<Samu>not openttd related at all
17:56<Samu>found it, it was for 7-zip
17:56<Samu>for %%x IN (9) DO for %%t IN (2 1) DO for %%d IN (512m) DO for %%w IN (273 256 192 128 96 64 48 32 24 16 12 8) DO for %%s IN (on) DO 7z.exe a teste.resultado\%%xx.lzma.%%tt.%%dd.%%ww.%%s.7z .\teste.original\* -mx=%%x -ms=%%s -m0=LZMA:d=%%d:fb=%%w -mmt=%%t
17:57<Samu>it gave me a headache and never finished the project
17:59<Samu>i wanted 7-zip to run for as long as the last parameters used and the next parameters wouldn't go over 8 GB RAM usage or 8 core usage
18:03<Samu>i had variables inside variables, it was a huge mess
18:18<Samu>how do i put a different window title for each server?
18:19<Samu>instead of "OpenTTD Dedicated Server" in the title, can i put "Core1"?
18:30-!-gelignite [~gelignite@x4db5300c.dyn.telefonica.de] has quit [Quit: http://bit.ly/1kso8Ta]
18:44<+glx>start /?
18:44<+glx>START ["titre"] [/D chemin] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
18:47<Samu>the title doesn't stay
18:47<Samu>i tried it
18:51-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving]
18:55<+glx>that's because openttd set the title
18:58<Samu>seems i can't start 15 AIs
18:58<Samu>only 14, with the 15th one being forced via console
18:58<Samu>why's that? it's a dedicated server
19:03-!-roidal [~roland@194-152-171-77.adsl.highway.telekom.at] has quit [Quit: WeeChat 1.4]
19:10<Samu>http://www.openttd.org/en/server/99177 - Clients: 0 / 25 (14 / 15 companies; 0 / 15 spectators)
19:17<Samu>max_no_competitors = 14 but I've set it to 15 :(
19:19<_dp_>omg, 15 AIs, r you making a zoo? xD
19:24<Samu>yes :)
19:24<Samu>i think i found another way
19:30<Wolf01>'night
19:30-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
19:32-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
19:38-!-sla_ro|master [~sla.ro@89.136.141.100] has quit []
20:06<Samu>question: when an AI bankrupts, i'd like to start another immediately, i wanted to automate this process, any idea?
20:09<Samu>the way i have it working now, it force starts 15 AIs via a script file
20:09<Samu>if one bankrupts, it isn't replaced because of the competitor cap of 14
20:10<Samu>it takes 2 to bankrupt to re-fill the max of 14.
20:11<Samu>i want to use all 15
20:46-!-Progman [~progman@p57A19C0A.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
21:11-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has joined #openttd
21:15-!-Defaultti [defaultti@lakka.kapsi.fi] has quit [Ping timeout: 480 seconds]
21:23-!-Samu [~oftc-webi@po-217-129-255-23.netvisao.pt] has quit [Quit: Page closed]
21:25-!-Defaultti [defaultti@lakka.kapsi.fi] has joined #openttd
21:41-!-liq3 [liq3@CPE-120-147-195-191.gdiv2.lon.bigpond.net.au] has joined #openttd
21:53-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has quit [Quit: Snail]
21:59-!-Quatroking [~Quatrokin@ip226-139-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer]
22:19-!-Biolunar_ [~Biolunar@x5d821e40.dyn.telefonica.de] has joined #openttd
22:26-!-Biolunar [~Biolunar@x4d08e64d.dyn.telefonica.de] has quit [Ping timeout: 480 seconds]
22:30-!-Snail [~jacopocol@cpe-98-14-130-227.nyc.res.rr.com] has joined #openttd
22:37-!-HerzogDeXtEr [~farci@i59F6DD7B.versanet.de] has quit [Read error: Connection reset by peer]
22:56-!-zeknurn [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has joined #openttd
23:01-!-zeknurn` [~sup@hd9483bd7.seveveb.dyn.perspektivbredband.net] has quit [Ping timeout: 480 seconds]
23:01-!-zeknurn is now known as zeknurn`
---Logclosed Sun Mar 27 00:00:00 2016