00:31:32 alexjurkiewicz: I'm going to move the webserver client changes back into the game code 00:31:58 so you shouldn't have any trouble come merge time 00:32:56 (and we'll not be stuck with any new back-compat requirements) 01:27:06 Unstable branch on crawl.develz.org updated to: 0.22-a0-601-gb0ed703 (34) 01:50:16 j 01:57:00 Windows builds of master branch on crawl.develz.org updated to: 0.22-a0-601-gb0ed703 02:08:32 work in progress ldoc output 02:08:33 http://csclub.uwaterloo.ca/~ebering/crawl/lua/ 02:08:42 only clua really at this point 02:09:08 todo: l-you, things in dat/clua/ and dat/dlua/ (some of which get loaded into clua!) 02:09:25 looks nice, you're adding those doxygen-like comments as comments in...where exactly? 02:11:08 l-*.cc 02:11:20 where the functions are defined 02:11:31 (which is sometimes obscured by a macro) 02:11:52 the documenting for the utility functions provided in pure lua will be put in the relevant lua files 02:12:12 oh, and it can parse comments fine directly from cc files? 02:12:19 yeah 02:12:22 nice 02:14:44 it would be cool if we could get doxygen output from the source hosted somewhere as well 02:17:58 the coverage on that seems embarassing, but I guess it could be useful 02:18:52 well there's a lot more functions documented than you'd think 02:18:58 there are just so many 02:19:12 maybe I just hang out in the wrong part of the codebase :P 02:19:14 doxygen is good for the class hierarchy tree alone 02:19:20 yeah that's true 02:19:33 but it is obviously many areas missing documentation; I don't think we have documentation of the classes themselves 02:21:46 I'm not entirely sure that improving that is a worthwhile undertaking; I'd prefer to see more higher-level architectural overviews 02:22:44 that might be true, yeah; I'm not sure if the UI stuff has a different set of needs than gameplay objects 02:23:49 but certainly there are all sorts of aspects of how the gameplay works in term of monster AI, dungeon-related structures, how the actor classes/subclasses work 02:24:13 it would be good to get some higher level documentation of those 02:24:39 an exciting tour of struct bolt 02:27:02 If there's anyone who understands it, sure 02:27:14 I'd have an easier time tackling linear a 02:27:20 haha 02:28:28 a nice spl-miscast flowchart to hang above the mantle 02:28:54 it's fine, we have a proof that things like monster AI and struct bolt work, crawl starts up and you can play it! 02:29:09 honestly monster AI is the real horrifying thing, beam.cc is fairly easy to read, there's just so much of it 02:29:27 but monster AI has all these different interactions between functions, it's horrible 02:30:08 I touched monster AI once and came out alive! 02:30:23 yeah, I had to read a bunch of it and work on it at various times 02:30:34 but it's just very hard to comprehend 02:31:00 yeah, I was changing their decision to enter a cloud, which was nicely encapsulated in a single spot 02:31:54 I was not so luck; I had to make monster "avatars", things like spectral weapons, battlespheres, these things that no longer exist called grand avatars, seek and behave properly relative to their summoners 02:32:09 the logic was tying them to the player when they were summoned by a friendly 02:32:22 it was a nightmare given how small the payoff was of fixing that 02:33:01 I added spectral weapon to asterion 02:33:05 later removed that 02:33:10 grand avatar was later removed entirely 02:33:23 rip 02:33:40 but now when friendly tengu reavers summon a battlesphere, it doesn't try to follow and operate relative to you instead of the reaver! 02:39:40 -!- amalloy is now known as amalloy_ 02:57:18 Monster database of master branch on crawl.develz.org updated to: 0.22-a0-601-gb0ed703 03:11:48 Unstable branch on crawl.beRotato.org updated to: 0.22-a0-601-gb0ed703 (34) 12:09:53 advil: when you wrote you.set_training_target it seems like you meant for it to have a return value 12:10:05 but it doesn't push anything to the lua stack 12:10:22 so whether setting the target was successful or not it has no return 12:12:20 oh it does push to the stack 12:12:34 my bad 12:13:05 oh no 12:13:05 it's leaving it's second argument on the top of the stack 12:13:27 so return 1; means it returns its second argument, which is the target set if successufl 12:13:30 ok 12:18:22 -!- _krator44 is now known as krator44 13:05:28 Unstable branch on crawl.akrasiac.org updated to: 0.22-a0-601-gb0ed703 (34) 13:08:05 -!- amalloy_ is now known as amalloy 13:54:20 !tell gammafunk the dith changes look worth a try to me, hp as part of the cost sounds reasonable. i guess dith does already use drain for shadow form but it might be better to use something else here rather than double down on draining 13:54:21 MarvinPA: OK, I'll let gammafunk know. 15:52:58 elliptic: Not sure if you have an opinion on this, but as a fellow sequell guru, do you think making today be end>${day(now())} instead of the current alias to the day kw would be reasonable? 15:53:02 !kw day 15:53:03 Keyword: day => end>${now()-interval('1d')} 15:53:36 A lot of people ask me how to do something like end>${day(now())} and I noticed that thismonth already works this way 15:53:53 but today/day and thisweek/week are just aliases 16:49:14 man this code archeaology is fascinating 16:49:38 crawl's lua system is way richer than the extant docs and even stealing other peoples lua suggests 16:51:16 stealing other people's lua? 16:51:58 your rc in particular 16:52:17 also looking at qw.rc to figure out how to do things 16:52:28 oh, you just mean what it's capable of? 16:52:41 it's certainly capable of a lot, yeah 16:53:10 yeah 16:53:22 qw has to be by far the biggest tour de force of what you can do with clua 16:53:25 and I've been ignoring dlua for the most part 16:53:39 yeah just take a look at the dlua layout code 16:54:03 for vaults or just any of the layout stuff in dat/dlua (and corresponding files in dat/des/builder) 16:54:24 I did. It seems immense 16:55:14 If you want other good clua examples, hdarc is really extensive 16:55:16 ??hdarc 16:55:16 hdarc[1/1]: A set of options and functions. It can automatically chop up corpses, exclude uniques, and more. For questions or comments, contact HDA. . To use on CSZO or CAO: include += HilariousDeathArtist.rc then macro ===HDAtravel to the 'o' key. 16:55:36 I think that's got a lot more code than mine 16:56:12 and grunt did some cool stuff with gw 16:56:31 his bot was never as successful as qw, but it was a different approach from what I understand 16:56:34 ??gw 16:56:34 gw[1/10]: http://crawl.berotato.org/crawl/rcfiles/crawl-0.17/gw.rc 17:56:34 hm. is there a way to make fedhas' aa work like old autosacrifice? or would it require a lot of lua voodoo? 17:57:39 ProzacElf: macro p to aa 17:58:36 -!- meowface is now known as munkie2 17:59:12 yeah, i did that 17:59:24 it's extra fun when i fat-finger p with trog =p 18:00:11 i just find myself having to dial back my autobutcher settings with fed because otherwise i never gain piety 18:01:04 obviously the simplest answer just involves "remember to hit 'p' you idiot" 18:05:37 ProzacElf: oh you want a fancier p 18:06:01 something that does nothing if you're not fed 18:06:39 yeah, honestly i feel like it's going to be a complicated enough undertaking that i'm better served by just remembering to do it manually 18:08:01 ProzacElf: not at all 18:08:17 although i guess i could do like if you.god() == fedhas then macro aa=>p 18:08:22 something like that anyway 18:08:29 yes 18:09:37 lol 18:09:49 might work better if i put you.god() instead of you.dog() 18:10:06 https://pastebin.com/ZbwGNNs7 18:10:20 macro p to ===saccorpses_only_fed 18:10:55 ah cool 18:11:15 you could edit the error message or just replace it alltogether with end 18:11:20 thanks 18:37:31 03gammafunk02 07* 0.22-a0-602-g6d45252: Rework Dithmenos' Shadow Step restrictions and costs (mikee) 10(5 days ago, 4 files, 8+ 17-) 13https://github.com/crawl/crawl/commit/6d45252c932d 18:37:31 03gammafunk02 07* 0.22-a0-603-gfc1114d: Make Dithmenos an evil god (mikee) 10(5 days ago, 2 files, 6+ 2-) 13https://github.com/crawl/crawl/commit/fc1114df047e 18:45:16 such flavor 19:10:04 Unstable branch on crawl.jorgrun.rocks updated to: 0.22-a0-603-gfc1114df04 (34) 19:10:30 !banish ebering food.cc 19:10:31 gammafunk casts a spell. ebering is cast into food.cc! 19:28:33 can someone please update hellcrawl on cbro 19:28:37 hm, there's an old lua hook ch_item_Wieldable tha'ts only used in describe.cc 19:28:43 erm, that should be all lowercase 19:28:46 alexjurkiewicz: please update cpo 19:29:51 anyway. it means that when you view the item it calls that lua function on the item userdata type to ask if you think it should be wieldable 19:30:32 this would be more useful for wielding non-usually-wielded things if it weren't limited to the describe page 20:20:48 !tell gammafunk new moV in action !lg kuniqs 1269 -tv:T20300 20:20:49 ebering: OK, I'll let gammafunk know. 20:31:18 -!- amalloy is now known as amalloy_ 21:07:12 -!- amalloy_ is now known as amalloy 22:45:38 can someone please rebuild hellcrawl on cbro? dunno if anyone was in here earlier 22:48:20 was there a reason why it couldn't auto-rebuild on cbro? 22:48:33 I recall cpo is not set up to rebuild non-trunk 22:48:50 but I think cbro can do that 22:48:53 I started the rebuild 22:49:36 if someone wants to set it up to auto rebuild that would be fine 22:49:57 I forget if there was a technical reason or just laziness on my part 22:56:46 something that johnstein has to do, but you could ask him about it 23:01:11 Experimental (hellcrawl-cbro) branch on crawl.beRotato.org updated to: 5.1-515-g44b401c 23:02:08 thanks