IRC logs for #openttd on OFTC at 2016-07-07
            
00:00:00 *** shirish has joined #openttd
00:05:40 *** supermop_ has joined #openttd
00:07:10 *** Biolunar has quit IRC
00:12:05 *** supermop has quit IRC
00:18:33 *** gelignite has quit IRC
00:18:46 *** NoShlomo has quit IRC
00:23:00 *** supermop has joined #openttd
00:25:43 <Wolf01> <supermop> V453000: sell it to be shipped on a custom slug shaped usb drive <- 10/10 would buy
00:28:51 *** supermop_ has quit IRC
00:33:33 *** FLHerne has quit IRC
00:34:20 *** FLHerne has joined #openttd
00:37:45 *** Gja has quit IRC
00:44:50 *** Wormnest has quit IRC
00:54:23 *** shirish has quit IRC
01:02:43 <Samu> 2013, 2040, 2028
01:06:14 *** FLHerne has quit IRC
01:11:35 <Wolf01> 'night
01:11:37 *** Wolf01 has quit IRC
01:29:08 *** HerzogDeXtEr has quit IRC
02:05:19 *** Hiddenfunstuff has quit IRC
02:20:12 *** Samu has quit IRC
03:02:01 *** JezK_ has joined #openttd
03:17:31 *** Rejf has quit IRC
03:17:38 *** Rejf has joined #openttd
03:34:35 *** pereba has quit IRC
03:35:02 *** pereba has joined #openttd
03:50:02 *** Supercheese has joined #openttd
04:38:08 *** supermop_ has joined #openttd
04:39:37 *** glx has quit IRC
04:44:11 *** supermop has quit IRC
04:50:39 *** pereba has quit IRC
07:24:44 *** zeknurn has quit IRC
07:53:03 *** milda has quit IRC
07:54:19 *** milda has joined #openttd
08:00:43 *** Biolunar has joined #openttd
09:11:48 *** sla_ro|master has joined #openttd
09:36:27 *** Quatroking has joined #openttd
09:46:55 *** Myhorta has joined #openttd
09:55:53 *** Biolunar has quit IRC
10:00:03 *** JezK_ has quit IRC
10:02:55 *** zeknurn has joined #openttd
10:34:58 *** Myhorta has quit IRC
10:48:14 *** Wolf01 has joined #openttd
10:48:58 <Wolf01> o/
10:51:26 <V453000> dear customer, your shipment has been shipped, please send us 100000$ for the slug USBs you requested
10:55:18 <Wolf01> shipped to which address? :D
10:55:28 <V453000> all of htem
10:56:15 <V453000> https://forums.factorio.com/download/file.php?id=13762 :)
10:56:36 <Wolf01> \o/ purchased the baseset in the usb-slug for the entire world
10:56:44 <Wolf01> hell yesh
10:56:48 <Wolf01> *yeah
10:57:22 <Wolf01> now, bigger containers
10:57:57 <Wolf01> a 3x3 crate would be really useful
10:58:10 <V453000> why though
10:58:17 <V453000> it's not like the wagon is already a gigantic hack
10:58:36 <Wolf01> mmmh, good point, I could use wagons
10:59:04 <Wolf01> or the car... cars everywhere
10:59:12 <V453000> yep or even that
11:00:29 *** Hiddenfunstuff has joined #openttd
11:01:42 <V453000> it's not like using bots is already trivial
11:01:57 <V453000> simplifying crafing by putting large chests everywhere is even worse
11:03:52 <Wolf01> I use a lot of storage for iron/copper plates
11:04:28 <V453000> well normal chests already have absurd capacity
11:04:41 <V453000> or you can of course have bigger chest arrays if you need to go even moar absurd :)
11:04:53 <peter1138> why do those bases have mouths?
11:05:09 <V453000> haha
11:05:27 <V453000> they crush/pulverize some ores
11:05:39 <Wolf01> I do with chests array, a row of chests, a row of inserters, another row of chests and so on
11:05:55 <Wolf01> but I think it's better with wagons
11:06:12 <V453000> wagons have way less capacity
11:06:20 <V453000> even individually, not mentioning per tile
11:06:43 <Wolf01> but I can move wagons
11:07:04 <Wolf01> and place 65535 of them
11:07:09 <Wolf01> connected
11:07:19 <V453000> you can yes
11:07:22 <V453000> xD
11:07:24 <Wolf01> with 200 engines
11:09:15 <Wolf01> electric engines! steam engines! and real diesel engines running on [crude|heavy|light]oil
11:09:30 <V453000> meh
11:12:43 <Wolf01> why not? more thing to produce, isn't the base idea of the game to produce things?
11:13:17 <Wolf01> also you add more researches
11:13:30 <Wolf01> because you start with a boiler on wheels
11:14:27 <Wolf01> and you need more time to get a fast and powerful engine
11:15:09 <V453000> well, also think about video memory
11:15:25 <V453000> locomotive is like 10% of the game's requirements
11:15:40 <V453000> 256 rotations and basically 8x2 entity
11:16:03 <V453000> but even if that wasn't the case, I don't consider it a priority
11:16:30 <Wolf01> aren't 640Kb enough for everybody?
11:17:23 <V453000> lol
11:18:15 <Wolf01> we have 8GB video cards now, also the boiler engine could be 3x2 and just allow to carry one wagon
11:18:37 <V453000> "we" do, but many people don't
11:18:52 <V453000> and limits to amount of wagons carried is bad restriction
11:19:01 <V453000> yes the engine can be weak to reasonably haul only 1
11:19:14 <Wolf01> put 2 engines and haul 2
11:19:38 <Wolf01> or 1.5 per engine, so 2 engines allow 3
11:20:08 <V453000> make a mod :)
11:20:25 <Wolf01> I was already thinking about it
11:21:01 <Wolf01> but I really don't know if is possible to power an engine from the electric poles
11:38:23 *** innocenat has quit IRC
11:38:47 *** innocenat has joined #openttd
12:01:22 *** Supercheese has quit IRC
12:26:28 *** zeknurn has quit IRC
12:33:51 *** Samu has joined #openttd
12:33:54 <Samu> hi
12:35:14 <Samu> 2013, 2041, 2029
12:37:47 *** zeknurn has joined #openttd
12:38:07 <Samu> 10 years till 2051, aka 2 days
12:50:02 <argoneus> good morning
12:50:04 <argoneus> my train friends
12:50:17 <argoneus> how's everyone doing?
12:53:08 *** NoShlomo has joined #openttd
12:58:45 <Wolf01> meh, trying to build one last thing before the exposition of this weekend, I'm running out of ideas
12:58:45 *** zeknurn has quit IRC
13:18:12 *** zeknurn has joined #openttd
13:28:50 *** Myhorta has joined #openttd
14:07:09 *** M-E has quit IRC
14:07:34 *** M-E has joined #openttd
14:23:24 *** sla_ro|master has quit IRC
14:52:28 *** supermop has joined #openttd
14:58:51 *** supermop_ has quit IRC
15:10:49 <Samu> 2014, 2042, 2031
15:22:21 *** Gja has joined #openttd
15:31:47 *** supermop_ has joined #openttd
15:35:03 *** supermop__ has joined #openttd
15:38:34 *** supermop has quit IRC
15:41:51 *** supermop_ has quit IRC
15:56:28 *** supermop has joined #openttd
16:02:06 *** supermop__ has quit IRC
16:20:54 <Eddi|zuHause> build a space elevator
16:21:29 <Wolf01> I built a 4D simulator
16:22:09 <Wolf01> https://saraqaseem.files.wordpress.com/2013/04/04-simulation-ride.jpg <-
16:25:47 *** supermop_ has joined #openttd
16:32:16 *** supermop has quit IRC
16:34:14 *** Wormnest has joined #openttd
16:56:14 *** srhnsn has joined #openttd
17:01:28 *** Alberth has joined #openttd
17:01:28 *** ChanServ sets mode: +o Alberth
17:08:31 <Wolf01> o/
17:11:46 *** supermop has joined #openttd
17:12:36 <Alberth> hi hi
17:12:53 <supermop> hi Alberth
17:18:36 *** supermop_ has quit IRC
17:24:42 *** sla_ro|master has joined #openttd
17:53:26 *** Myhorta[1] has joined #openttd
17:56:20 *** Myhorta has quit IRC
18:03:18 <Samu> 2015, 2044, 2033
18:04:36 <Alberth> hmm, your sums get more complicated
18:04:56 <Alberth> 6092
18:06:46 *** milda is now known as NGC3982
18:14:34 *** Bluelight has joined #openttd
18:14:38 *** aard has joined #openttd
18:40:19 *** milda has joined #openttd
18:40:19 *** NGC3982 has quit IRC
18:40:39 *** frosch123 has joined #openttd
18:40:56 <Wolf01> o/
18:43:46 <frosch123> hoin
18:45:24 *** milda has quit IRC
18:45:28 *** NGC3982 has joined #openttd
18:51:12 <NGC3982> Is there a way for me to start the dedicated server with a specific autosave?
18:51:40 <NGC3982> I want to protect the server from accidental reboots
18:52:10 <NGC3982> It's not hard to reload the server, but i do not know how to reload the <last saved state> of a specific server.
18:52:30 <NGC3982> With that said, i usually start my servers with individual screens running -c option and <ttdX.cfg>
18:59:56 <frosch123> you can pass a savegame via -g
19:00:06 <frosch123> but you need some shellscript to discover which one is the latest
19:02:11 <NGC3982> I see.
19:02:31 <NGC3982> Can i choose the save-file name with openttd itself?
19:03:14 <NGC3982> If each instance of openttd autosaved to game1.autosave that would make my day. :-p
19:03:26 <Alberth> 'test' command can compare file time stamps
19:03:55 <Alberth> ls -1t *.sav | head -1 ?
19:08:39 <Taede> NGC3982, have a look at ofs-scripts
19:08:51 <Taede> they are meant to be used by soap, but will also function standalone
19:09:05 <Taede> ofs-start is set to start openttd using the latest autosave
19:09:46 *** Bluelight has quit IRC
19:11:44 *** gelignite has joined #openttd
19:14:48 <NGC3982> I see.
19:15:01 <NGC3982> I was just about to try out Soap (Suds) again.
19:24:27 *** glx has joined #openttd
19:24:27 *** ChanServ sets mode: +v glx
19:40:20 *** FLHerne has joined #openttd
19:56:11 <NGC3982> Taede: I managed to get suds working with four different clients (four supybots doing four servers with each using a different admin port). Text from the servers end up on IRC, but text on IRC does not end up on the servers.
19:56:19 <NGC3982> Something tells me this is an issue i have experienced earlier.
20:00:14 *** HerzogDeXtEr has joined #openttd
20:02:17 *** supermop_ has joined #openttd
20:07:24 *** supermop has quit IRC
20:13:10 *** supermop has joined #openttd
20:15:08 <NGC3982> That one solved itself.
20:15:15 <NGC3982> Next issue is to autostart the servers..
20:19:31 *** supermop_ has quit IRC
20:22:22 <Samu> 2016, 2045, 2034
20:22:59 *** andythenorth has joined #openttd
20:23:11 <Wolf01> o/
20:23:16 <andythenorth> o/
20:26:02 <frosch123> earlier i was looking at heqs source while looking for an example
20:26:09 <frosch123> then i discovered that it is written in nfo
20:27:43 <Eddi|zuHause> i suppose it never was ported like FIRS
20:28:06 <frosch123> oh right, first was also nfo once
20:28:09 <frosch123> now it is python
20:28:48 <frosch123> i barely remember the pre-nml times :)
20:30:32 <andythenorth> FIRS was auto converted :)
20:30:37 <andythenorth> yexo wrote some magic
20:30:47 <andythenorth> then some other people split the result into templates
20:32:13 * andythenorth wonders how many loading states are needed
20:32:22 <andythenorth> for piece goods
20:38:04 <Eddi|zuHause> i'd say 3, but split the "not quite full" one over several, so the "full" one only shows when it's actually full
20:39:12 <Eddi|zuHause> so like: 1, 2, 2, 2, 3
20:41:03 <Eddi|zuHause> so 1 shows 0-16% loaded, 2 shows 17-83% loaded and 3 shows 84-100% loaded
20:42:37 <andythenorth> I wondered
20:42:45 <andythenorth> I had one
20:42:48 <andythenorth> for loading
20:43:05 <andythenorth> but because I’m automating it now, I could add more :P
20:43:38 <Eddi|zuHause> more not really necessary
20:43:52 <andythenorth> there s a weird case with coils
20:43:56 <andythenorth> or crates
20:44:09 <andythenorth> I can draw 50% of a stack of logs, but not 50% of a crate :P
20:44:51 <Eddi|zuHause> well, have two crates for "full"
20:45:59 <frosch123> maybe we need to split the "capacity" property into two:: max_capacity_station, max_capacity_low_bridge
20:46:03 <andythenorth> ha ha
20:46:08 <andythenorth> also, either my switch is wrong
20:46:25 <andythenorth> or vehicles in articulated RV consist load all cargo at once
20:47:57 <andythenorth> var[0x61, 0, 0x0000FFFF, 0xBC]*100/var[0x61, 0, 0x0000FFFF, 0xBA]
20:48:03 *** Progman has joined #openttd
20:48:06 <andythenorth> I suspect that’s reading the lead vehicle’s cargo
20:52:30 * andythenorth tries to figure out from the spec what it’s doing :P
20:53:43 <frosch123> it reads the vehicle cargo yes,
20:54:02 <frosch123> however "which vehicle" is set earlier into register 10F or something
20:57:37 <andythenorth> hmm
20:57:45 <andythenorth> does nml magic that for me?
20:57:49 <andythenorth> I can’t see a register being set
20:58:31 <frosch123> no, your code must have some STORE_TEMP
20:58:56 <andythenorth> or it’s broken :P
20:59:54 <frosch123> well, there days the registers are reset to zero before each callback
21:00:33 <frosch123> earlier they were left unchanged between callback, which broke random grfs when other grfs were present
21:01:03 <frosch123> s/earlier/in the past/
21:03:21 *** FLHerne has quit IRC
21:03:40 *** FLHerne has joined #openttd
21:07:51 <andythenorth> only one STORE_TEMP in road hog codebase
21:07:55 <andythenorth> and not the right one :P
21:08:03 <andythenorth> so that switch is looking at bad data?
21:08:27 <frosch123> in theory :)
21:08:38 <andythenorth> it’s copied from Iron Horse which has the crazy 3-part pseudo vehicle thing
21:08:46 <frosch123> but it actually defaults to "same vehicle"
21:09:00 <andythenorth> I’m not sure I even need it
21:09:12 <andythenorth> all I want is ‘cargo loaded’ and ‘cargo capacity’
21:10:42 <frosch123> you can get that easier with "cargo_count * 100 / cargo_capacity"
21:11:21 <Eddi|zuHause> that's probably a line i gave you from CETS
21:11:43 <frosch123> Eddi|zuHause: from oberhümer? :p
21:11:48 <Eddi|zuHause> lmao :p
21:12:03 *** Arveen has joined #openttd
21:12:10 <andythenorth> afaik, it works in IH
21:12:17 <andythenorth> but I might stuff the register appropriately there
21:15:29 <Eddi|zuHause> the line in CETS reads: slice_var = "[STORE_TEMP(%d, 0x10F), var[0x61, 0, 0x0000FFFF, %s]*100/var[0x61, 0, 0x0000FFFF, %s]]"%(veh_slice, "0xBC", "0xBA")
21:15:46 <Eddi|zuHause> so it includes the STORE_TEMP
21:17:31 <andythenorth> yes, Iron Horse has that too
21:17:45 <andythenorth> ok thanks
21:18:23 <andythenorth> ah, but still, all units of an articulated RV load cargo simultaneously
21:18:33 <Eddi|zuHause> if you don't need the 3-part vehicles, you can leave all that stuff out, and use the action2 loading stages
21:19:16 <frosch123> andythenorth: you only need the 10F/61 thing, if some parts have zero capacity
21:19:42 <frosch123> or maybe if you need to sync the graphics of multiple parts
21:19:49 <andythenorth> it’s both in IH
21:19:52 <andythenorth> neither apply to RH
21:23:49 <andythenorth> ho, I could probably make vehicles load sequentially in newgrf :P
21:23:54 <andythenorth> TMWFTLB?
21:28:24 *** tokai has joined #openttd
21:28:24 *** ChanServ sets mode: +v tokai
21:28:45 <frosch123> less work than drawing more loading stage sprites?
21:30:40 <andythenorth> I could patch openttd? o_O
21:31:11 *** pereba has joined #openttd
21:31:17 <frosch123> ottd already loads from front to back
21:31:28 <frosch123> unless there is enough cargo to load vehicles in parallel
21:32:28 <frosch123> andythenorth: you can also move the threshold for the loading stage
21:32:35 <andythenorth> hmm
21:32:47 <frosch123> first vehicle: 20% = full. second vehicle: 40% = full, ...
21:32:52 <andythenorth> oic
21:32:55 <andythenorth> yes I could
21:33:04 <andythenorth> I moved the thresholds already, 1%-99% = loading
21:33:14 <andythenorth> I _could_ adjust that
21:33:33 <frosch123> randomise it :)
21:34:28 <andythenorth> :P
21:35:11 *** tokai|noir has quit IRC
21:37:48 <andythenorth> so first vehicle 0-50% loading
21:37:58 <andythenorth> second vehicle 50%-99%
21:37:59 <andythenorth> or so
21:39:59 * andythenorth does evil
21:40:45 <Eddi|zuHause> you could just put all the capacity in the front vehicle, then use var 61
21:43:02 <andythenorth> yes
21:43:16 <andythenorth> ach, that reminds me, articulated trucks already move capacity around :P
21:43:36 * andythenorth does not fix sequential loading, will have odd results for articulated trucks
21:46:14 *** Leanden has joined #openttd
21:46:46 <Leanden> Is there a callback in NML where you can change capacity based on which cargo is chosen for refit?
21:47:02 <andythenorth> Leanden: I just pasted the answer in forums thread
21:47:14 <andythenorth> it shows classes, but you could change to labels, bit more work
21:47:32 *** Quatroking has quit IRC
21:48:22 <Leanden> thanks
21:49:01 <Leanden> what do i replace the bitmask with to call by a particular label?
21:50:26 *** Quatroking has joined #openttd
21:51:19 <andythenorth> which label?
21:51:53 <Leanden> "it shows classes, but you could change to labels,"
21:52:12 <andythenorth> yeah, I’m looking if I have an example of that
21:52:16 <andythenorth> I don’t :)
21:52:26 <andythenorth> classes are probably safer actually
21:52:53 <Leanden> naaaa :P
21:53:17 <Leanden> im going to do it by labels because im a cool guys :D
21:53:27 <andythenorth> you might have to split into multiple switches
21:53:37 * andythenorth thinking
21:54:21 <andythenorth> ok you shouldn’t need a bitmask for labels
21:54:48 <andythenorth> https://paste.openttdcoop.org/pfdqsnlkx
21:55:14 <Leanden> cargo_type_in_veh?
21:55:20 <andythenorth> yup
21:55:27 <andythenorth> then just check the label directly
21:55:28 <Leanden> oh haha :D
21:55:30 <andythenorth> and return the amount
21:55:41 <andythenorth> ‘watch out for tourists'
21:56:44 <Leanden> tourists?
21:57:20 <Leanden> that worked a treat
21:57:22 <Leanden> thanks andy :)
21:59:10 <Eddi|zuHause> Leanden: thing about cargo labels is you will never catch every label, since people make new ones all the time
22:00:48 <Leanden> Thats ok
22:01:12 <Leanden> this is for a very particular train that has only ever carried Wood
22:01:39 <Leanden> but i wanted to be able to refit it to either carry wood or carry no cargo at all.
22:02:38 *** Leanden has quit IRC
22:02:44 *** Leanden has joined #openttd
22:03:42 <Leanden> Thanks guys
22:05:25 <andythenorth> Leanden: let it carry engineering supplies ;)
22:05:26 <Eddi|zuHause> you're better off having two refit subtypes for wood there: Wood (20t) and Wood (0t), instead of the other cargos
22:05:42 <Eddi|zuHause> you're only going to confuse AIs with 0 capacity vehicles
22:10:34 <Leanden> they are disabled for AIs anyway. eye candy trains.
22:10:49 *** frosch123 has quit IRC
22:11:14 *** Leanden has quit IRC
22:16:30 *** Alberth has left #openttd
22:17:54 *** kais58 has joined #openttd
22:20:41 *** kais58_ has quit IRC
22:21:53 <andythenorth> hmm
22:22:00 <andythenorth> silly single-piece cargos :P
22:23:03 *** Arveen has quit IRC
22:24:25 *** gelignite has quit IRC
22:43:05 *** andythenorth has left #openttd
23:05:55 *** Wormnest has quit IRC
23:09:16 *** Progman has quit IRC
23:31:28 *** berndj has quit IRC
23:33:14 *** berndj has joined #openttd
23:34:14 *** srhnsn has quit IRC
23:39:00 *** aard has quit IRC
23:45:58 *** Quatroking has quit IRC
23:51:47 *** sla_ro|master has quit IRC
23:54:05 *** HerzogDeXtEr has quit IRC
23:54:15 *** NoShlomo has quit IRC