00:26:33 -!- ortoslon has joined ##crawl-dev 01:01:27 omg tilereg <3 01:09:20 Hello 01:11:35 Hey due :D 01:11:39 Hows it going? 01:12:31 just got home from work 01:33:01 -!- eith has joined ##crawl-dev 01:35:23 eiiiith 01:35:25 * due eats eith 01:38:46 -!- eith has quit [Ping timeout: 260 seconds] 01:45:30 03due * r45622b06ef75 10/crawl-ref/git-hooks/crawl-ref-cia: Add Cryptic to the CIA hooks. 01:46:36 due: did you successfully find and update the other copy? 01:49:17 There's another copy? 01:49:20 Bah. 01:49:42 I assume that involves logging in via ssh to SF? 01:50:31 Oh. 01:50:37 Duh, readme. 01:51:26 !tell Enne Could you check out this tiny change? I don't know why this is a struct but it's designed to be a union. It seems to work fine on OS X http://crawl.pastebin.com/vUe6NALC 01:51:27 ixtli: OK, I'll let Enne know. 01:55:57 sorear: Yes, thanks for the reminder. 02:05:32 -!- Textmode has quit [Quit: Over the ages, man has been certain of a great many things. some of these things were even true.] 02:06:05 -!- ortoslon has quit [Quit: Leaving.] 02:13:12 -!- Spads has joined ##crawl-dev 02:18:38 -!- ogaz has joined ##crawl-dev 02:26:23 Make darts deal full damage when thrown (https://crawl.develz.org/mantis/view.php?id=1431) by ledtim 02:26:23 Inescapable area in main dungeon w/ Fedhas altar (https://crawl.develz.org/mantis/view.php?id=1430) by PeterBB 02:47:30 -!- ortoslon has joined ##crawl-dev 03:16:47 -!- ogaz has quit [Remote host closed the connection] 03:27:44 argh, now we have two robs and two davids. 03:29:30 due: I really hope dpeg's son gets into crawldev 03:34:36 why? 03:34:40 oh, also david? 03:35:15 nope, johann 03:35:39 -!- Spads has quit [Ping timeout: 276 seconds] 03:36:08 * due cackles. 03:36:12 03by * r4db473550cff 10/crawl-ref/source/ng-restr.cc: Make religion_restriction cover all cases correctly. 03:36:13 03by * r412dc3e483d1 10/crawl-ref/source/ (enum.h main.cc newgame.cc religion.cc): Clean up newgame.cc:_choose_god. 03:36:48 -!- Spads has joined ##crawl-dev 03:55:30 -!- ais523 has joined ##crawl-dev 03:57:44 Moo. 04:12:59 oom. 04:13:07 The sound cows make when they meditate. 04:13:08 :o 04:13:09 zoom. 04:13:12 Hahah 04:13:13 xD 04:13:14 The sound cars make when they run over meditating cows. 04:13:49 due: Can you explain to me how crawl uses lua? I haven't gotten there yet. 04:13:49 Moo, oom and zoom are al playable scrabble words :0 04:13:52 :D 04:14:03 ixtli: For user stuff and vault maps. 04:14:13 What sort of user stuff, though? 04:14:26 It's basically Lua and C++ held togethwer with a couple of elastic bands. I don't understand how any of it works. :) 04:14:30 I don't know, I've never touched it! 04:14:32 Can I execute arbitrary lua from within the game? 04:15:54 Im asking because I'm talking with a friend of mine who is a lawyer at The Goog. 04:16:22 Because some have brought up questions about whether or not the app store would accept crawl in it's current state into the app store. 04:16:45 I assume, since almost all of their big games are scripted using lua, that it won't be that big of a deal. 04:17:01 The only caveat being if we directly expose an EVAL function, as sorear said before. 04:17:34 Only in Wizard mode. 04:17:45 Ah ok. 04:17:48 I see. 04:18:02 Well 04:18:08 You can stick Lua into your RC or a macro and it will be executed 04:18:12 So yes, you can 04:18:15 But it's a heavily managed machine 04:18:22 Indeed. 04:25:43 It's heavily managed everywhere 04:25:54 Vault and wizard lua can't access files iirc 04:27:04 and why exactly a single-user program running under your control being modifiable to access files would be bad? 04:27:31 a minor security issue, but Crawl already has bigger ones 04:29:07 sorear: Re, our discussion previously about this it appears that applications that were written entirely in lua are still being accepted to the app store. 04:29:07 So. 04:29:15 Obviously this 3.3.1 thing was just to kneecap adobe. 04:29:43 http://groups.google.com/group/iphonewax/msg/f28c86f29075fb78 04:30:22 a program being able to access YOUR files = not an issue unless you have a thoroughly non-standard security model. It's only an issue if the program runs with elevated privileges / another selinux role / etc. 04:30:24 Uses iPhoneWax which is a bridge library. 04:30:36 KiloByte: It does not. 04:30:55 KiloByte: iphone is a nonstandard security model 04:31:01 ? 04:31:02 How so? 04:31:03 KiloByte: if the user can read files, they can pirate apps 04:31:33 However apps get a scratch area now and can sync individual files using itunes. 04:31:42 and that hurts the user how, exactly? :p 04:31:58 but ixtli mentioned Google's app store, not Apple's 04:32:12 huh? 04:33:04 11:15 < ixtli> Im asking because I'm talking with a friend of mine who is a lawyer at The Goog. 04:33:29 Well. I asked him about the apple app store :) 04:33:34 Sorry if that was ambiguous. 04:33:40 ah, right 04:33:54 He donates legal advice to open source projects some times and I've known him for a while. 04:34:07 Apple tries to do be Eviler-Than-Microsoft these days. 04:34:17 I mean, no way to tell for sure yet. 04:34:29 which is a very hard goal to attain, but they're trying 04:34:45 To be fair, microsoft already did this but failed. 04:35:04 They tried to prevent java from entering the windows ecosystem for the same reason. 04:35:16 The same reason apple is trying to keep flash out, that is. 04:37:11 Unfortunately, technology has gotten a lot better since then 04:40:07 -!- ortoslon has quit [Read error: Connection reset by peer] 04:43:14 -!- by has joined ##crawl-dev 04:47:33 -!- Mu_ has joined ##crawl-dev 04:53:08 Is there a way to get a diff of what your branch has changed to a file since the branch was created? 04:53:57 git diff FILE forkrev/FILE or so 04:54:05 doy is more of the git syntax expert 04:54:22 maybe 'git diff forkrev -- FILE' ? 04:54:46 hmm yeah, i think i'll just diff the current commit and the starting commit 04:54:55 can i format patch in the same way? 04:55:04 git diff $(git merge-base master HEAD)..HEAD 04:55:41 doy: Problem is I made a bunch of changes to tilereg.cc 04:55:47 and? 04:56:05 and now it's split up over a bunch of files so the diff is including large sections of the original file 04:56:11 if i compare to the current location of master 04:56:38 ah, yeah, git doesn't track movement of chunks of code 04:59:58 git format-patch -o seems to have worked 05:00:03 now i can just go through the diffs 05:15:45 -!- dpeg has joined ##crawl-dev 06:03:14 03neunon * rdfd5b3cf8c59 10/crawl-ref/source/startup.h: startup.h: fix 'no newline at end of file' warning 06:03:17 03neunon * re2873e27d1ef 10/crawl-ref/source/ (invent.cc invent.h): invent.h: fix incorrect function overload for get_text() 06:03:17 03neunon * r16b2698beead 10/crawl-ref/source/stash.cc: stash.cc: fix incorrect overload of get_text() 06:03:18 03neunon * rae26de6cd021 10/crawl-ref/source/itemname.cc: itemname.cc: fix incorrect function overload for get_text() 06:03:19 03neunon * ree915dbbd4ee 10/crawl-ref/source/contrib/sdl: SDL: fix Xcode project by eliminating X11-related sources from build 06:03:20 03neunon * redfc5faeca11 10/crawl-ref/source/ (Crawl.xcodeproj/project.pbxproj mac/crawl): Xcode: fix ASCII build 06:31:55 -!- syllogism has joined ##crawl-dev 06:49:19 -!- Spads has quit [Ping timeout: 260 seconds] 06:50:38 -!- Spads has joined ##crawl-dev 07:40:06 -!- ortoslon has joined ##crawl-dev 07:43:19 -!- by has quit [Quit: Lost terminal] 08:14:17 -!- by has joined ##crawl-dev 08:21:17 -!- MarvinPA has quit [Ping timeout: 265 seconds] 08:23:15 -!- MarvinPA has joined ##crawl-dev 08:24:23 -!- stabwound has quit [Read error: Connection reset by peer] 08:28:44 -!- stabwound has joined ##crawl-dev 08:33:12 -!- ortoslon has quit [Read error: Connection reset by peer] 08:45:04 -!- by has quit [Disconnected by services] 08:45:05 -!- by_ has joined ##crawl-dev 08:45:41 [Tiles] Could we get icons for the startup menu? (https://crawl.develz.org/mantis/view.php?id=1432) by jpeg 08:47:56 implementationwise, icons should work straight away althought might have to tweak the layout numbers for tiles build 08:55:45 Problems starting spellcasters (https://crawl.develz.org/mantis/view.php?id=1433) by jpeg 09:03:37 -!- Spads has quit [Read error: Operation timed out] 09:03:52 -!- Spads has joined ##crawl-dev 09:12:11 -!- Cryp71c has joined ##crawl-dev 09:18:22 -!- Mu_ has quit [Quit: Defecator, may everything turn out okay so that you can leave this place.] 09:47:28 -!- LordSloth has joined ##crawl-dev 09:53:00 -!- ais523 has quit [Read error: Connection reset by peer] 09:55:15 -!- ais523 has joined ##crawl-dev 10:11:44 doooh.. Powder is nice... but cockatrice? turns you into stone even though she's blinded? bah 10:14:10 Napkin: from a distance ? 10:14:34 no, closed up 10:14:36 'pedia says that traditionally cockatrices can stone you by gaze, touch, or breath 10:15:06 (and nethack cockatrice corpses ('rubber chickens') let you stone things (until they rot)) 10:15:29 feels like nethack 10:16:47 03by * r0a212d52c8cd 10/crawl-ref/source/ (itemprop-enum.h newgame.cc): Clean up newgame.cc:_choose_weapon. 10:16:47 03by * r15a02dbf35ca 10/crawl-ref/source/ (newgame.cc newgame_def.h): Clean up newgame.cc:_choose_wand. 10:16:51 03by * r77f0e7e6c0cf 10/crawl-ref/source/ (initfile.cc newgame.cc): Fix random character choice. 10:16:52 03by * r5d9ed37f7445 10/crawl-ref/source/newgame.cc: Fix two bugs in startup book choice (#1433). 10:27:02 03Enne * rd16648523198 10/crawl-ref/source/ (4 files in 2 dirs): Move tile2.cc's code to tilepick.cc. 10:27:03 03Enne * rbb180e483af2 10/crawl-ref/source/ (tilereg-mem.cc tilereg-mem.h tilereg-spl.cc tilereg-spl.h): Clean up a boolean member into a virtual function. 10:27:05 03Enne * r511ea879e252 10/crawl-ref/source/ (enum.h initfile.cc options.h tilesdl.cc): Remove unused TDSP enum for initial tab choice. 10:27:36 Napkin: Regarding your your howto play online guide... 10:28:15 It's missing a sentence in your windows/putty section on enabling SSH compression. Would you like a screenshot? 10:36:05 sure, would be cool, LordSloth 10:40:16 -!- eith has joined ##crawl-dev 10:41:31 -!- sorear has quit [*.net *.split] 10:42:29 -!- sorear has joined ##crawl-dev 10:42:53 Hi 10:42:54 dpeg: You have 6 messages. Use !messages to read them. 10:43:29 The berserk messages hits the dpeg. 10:43:30 The berserk messages hits the dpeg. 10:43:31 The dpeg dies. 10:44:50 hey dpeg 10:44:56 On no, the dpeg! 10:45:02 powder for iphone - out now, pretty expensive though 10:45:16 You have to pay for POWDER? 10:45:24 !messages 10:45:24 (1/6) LordSloth said (15h 29m 44s ago): Fedhas, done. Ugly thing update still to do. 10:45:27 !messages 10:45:28 (1/5) Cryp71c said (14h 52m 52s ago): thanks, I'll give it a go tomorrow morning with some useless change. 10:45:30 !messages 10:45:31 (1/4) LordSloth said (14h 47m 27s ago): Also, co-operative brainstorm with SquashMonster on a kobold asssassin using the wandering mushrooms stalker AI. 10:45:35 !messages 10:45:35 (1/3) Cryp71c said (11h 42m 22s ago): yes, i have commit rights, thanks 10:45:37 !messages 10:45:37 (1/2) Cryp71c said (11h 23m 58s ago): except I get bounceback emails from the crc mailer telling me my message has to be approved by a moderator, Idk if that's the norm. 10:45:46 !messages 10:45:46 (1/1) LordSloth said (10h 42m 29s ago): dammit dammit dammit. Obvious bug! I kill myself with a rotten butterfly corpse, and all I get is lousy bad targeting. 10:45:52 no, you can play down to level 15 without paying. last 10 levels cost $7.99 10:45:53 :D 10:46:30 that sounds like an evil way to exploit iPhone users 10:46:36 but then, iPhone development's pretty expensive 10:48:15 i think that was the most expensive game I ever paid 10:48:26 and i have over 200 10:49:15 Napkin: http://tinypic.com/r/xdxmrq/5 10:49:20 off home o/ 10:49:26 will check, LordSloth - thank you 10:49:42 Napkin: were you serious about the $7.99? 10:49:49 yes, dpeg 10:49:52 not kidding 10:50:01 bye o/ 10:51:19 are people warned that the last 10 levels are expensive when they download the game? 10:52:18 oh on iphone / app store, you can have for-pay events after the initial download ? 10:53:11 yes 10:53:24 well, you have to ask the user if they want to pay or not 10:53:26 i have this idea that on the android market the only time you can get the user to pay (at laest without bending over backwards) is at download time, so you always see two or even three versions (crippled, ad-supported but fully functional, paid) of apps 10:53:31 03by * r21a099dfd65d 10/crawl-ref/source/ (contrib/sdl newgame.cc): newgame.cc: Pass around defaults explicitly. 10:53:50 whereas it sounds like when the powder user gets to level 6 or 10 or whatever, it pops up a thing asking for money 10:54:25 it sounds horrible, but iphone app users deserve no better 10:54:29 -!- by_ is now known as by 10:55:06 by: exactly 10:56:51 "you just found this cool artifact, for just 9.99£ you can wear it too!" 10:57:21 paid-for inventory slots would work great if you were trying to monetise Crawl 10:57:32 because lack of slots would only really become grating later on 10:57:37 or a better chance on "enchant armour" 10:57:47 If anyone wanted to take a look at this: http://pastie.org/935647 its the majority of my proposed re-write for player_aux_unarmed 10:57:48 "guess I should have paid that $5 for a head after all..." 10:58:39 Cryp71c: perhaps announce on the mailing list? 10:59:01 ais523: pay for save scum! 10:59:04 Hey could someone have a look at this patch? http://crawl.pastebin.com/raw.php?i=SmDGwphJ 10:59:19 Just a small fixup for WindowManager class 10:59:24 LordSloth: /ouch/ 10:59:33 you mean, per-save? 11:00:16 ais523: No, per save-scum. 11:00:22 well, OK 11:00:35 you need to define two different meanings of the word "save" when you're talking about savescumming in roguelikes 11:00:49 Since they do it anyways on local, might as well wring every penny when they cheat the system. 11:00:51 -!- Zaba has quit [Ping timeout: 260 seconds] 11:00:53 what's normally just called a "save" in roguelikes (because there isn't any other kind) is a "quicksave" with respect to most games 11:00:55 By going back to an old save. 11:01:17 ais523: that's why I used 'scum' 11:01:22 yes 11:01:37 If you charged like an arcade machine, to continue.... 11:02:09 Nobody wants to make money from Crawl and it is even forbidden. 11:02:27 dpeg: I was less than serious. 11:02:42 It amused me to suggest it though. 11:03:06 LordSloth: I knew. 11:03:53 dpeg, there, sent :P 11:05:50 Cryp71c: I'm not that familiar with the the melee code; with that in mind: some UNAT_ values missing (punch, bite)? really i <= 1 in the main for loop? if (!uc_data[i].uc_conditions) continue; would save some indentation 11:06:17 by, yeah, that is only a partial implementaiton. 11:06:48 and the <= 1 is for testing purposes, sorry..I missed that in the paste. 11:07:08 dpeg: it isn't forbidden, is it? I just read the Crawl licence, it's a subset of the GPL, which means that charging for it is entirely possible 11:07:24 by, and why if (!uc_data[i].uc_conditions) ? 11:07:26 what you can't do is legally prevent people giving the copy you sold them away for free 11:07:39 but on the iPhone, you needn't worry about that because there's no physical way for them to do it without jailbreaking 11:07:44 ais523: interesting. I thought that Linley prevented making money. 11:07:49 checking against the value of i (TRAN_DRAGON) sounds bad, you should check against the UNAT_ thing 11:08:04 Cryp71c: you missed the "continue" 11:08:22 by, of course, thanks. 11:08:42 dpeg: things like the iPhone were not really issues back when the NHPL (on which Crawl's licence is based) and GPL were created 11:09:09 so the fact that you can effectively get back-door commercial distribution wasn't noticed at the time 11:09:27 -!- Zaba has joined ##crawl-dev 11:09:31 you may charge a copying fee 11:10:10 also, unarmed_attack_type uattack 11:10:18 2c. You may charge a distribution fee for the physical act of transferring a copy, ... 11:10:45 by, I had that, it messed up my indentation...lol 11:10:53 guess I aught to do it though 11:11:47 and, if a fee is charged, full source must be included in what's being transferred 11:11:49 and player::slot_item, player_wearing_slot instead of checking you.equip directly (that may be bad legacy code) 11:11:55 KiloByte: the point is, the work's licensed at no charge; but people have to pay you in order to get the original 11:11:59 that's full source, plus executable 11:12:07 now, normally they could just give that to their friends for free 11:12:20 but on the iPhone, they have no way to do anything with their copy except reading it 11:12:24 or executing it 11:12:38 you can give just the executable (with information how to get the source), but only if no money changed hands 11:12:42 (Crawl's banned from the iPhone for unrelated grounds, btw, because it uses Lua) 11:13:10 (and the iPhone developer agreement has put some really weird restrictions on languages recently) 11:13:38 what's with the "these special cases ... asserts"? 11:15:33 by, it may be fixed when I go to player_wearing_slot / slot_item 11:16:29 Semi-remembered item after teleport (https://crawl.develz.org/mantis/view.php?id=1434) by fabian 11:24:07 I must say that I don't understand the current player_aux_unarmed, so I'm quite unsure whether your variant is equivalent, or what the differences are... it's certainly shorter, which is good :) 11:27:34 by, thus far, I'm fairly confident its equivalent, though ofc I'll make sure. I have a new issue though, I made the changes you recommended: http://pastie.org/935712 11:27:44 (specifically those regarding you.slot_item and whatnot) 11:28:56 by, but I'm getting a segmentation fault out of get_helmet_desc when wearing no helmet and having the horns mutation. I don't see how its possible that the code is even getting in there.... 11:29:24 here's the crash, if you're interested: http://pastie.org/935722 11:31:31 I'd start by cleaning up parentheses and indentation 11:31:51 yeah, its tough to stick to the 80 char limit with this logic. 11:32:49 it's also really hard to read 11:39:09 by, any better? http://pastie.org/935751 11:39:15 That one violates the 80 col rule 11:44:29 yes, more readable; I would recommend to try tracking this down in gdb 11:47:19 gdb? 11:47:34 debugger 11:47:34 nvm 11:47:35 yeah 11:47:44 have you used gdb? 11:48:45 no, but I fixed the segmentation fault issue 11:48:51 so now its just the formatting. 11:49:23 magical numbers alert in the pastebin :) 11:51:17 Cryp71c: how about static int _helmet_bonus_damage() ? 11:52:38 by, perhaps that'd be a nice implementation, itemprop.cc? 11:53:44 I'd just stick it in from of ::player_aux_unarmed until it's needed elsewhere 11:53:44 s/from/front/ 11:55:10 ais523> (Crawl's banned from the iPhone for unrelated grounds, btw, because it uses Lua) 11:55:18 ais523, iPhone != iTunes 11:55:29 Napkin: good point, there 11:55:39 I should have said "Crawl's banned from official iPhone distribution channels" 11:56:03 but even that is not that clear, from reading the backlog 11:56:04 sanctioned distribution channels, yes ;) 11:56:23 * Spads hates the word "sanction", because it's its own antonym 12:03:05 anyways - I've played many of the Jeff's 7DRLs and I start to like Powder too - I consider those $7.99 as some kind of donation 12:03:40 playing it for 5 days and haven't managed to reach level 15 anyways yet 12:05:51 same with wesnoth.. 12:06:38 Heyaah! 12:06:38 Keskitalo: You have 2 messages. Use !messages to read them. 12:06:45 hey Eino :) 12:07:03 Hi Marc! 12:07:27 Didn't Jeff do an RL with really smart kobolds lately or something like that? 12:07:29 How's it going? 12:07:34 yeah 12:07:42 drove me crazy for a while :D 12:08:46 Really well, thanks. :) How have you been, I haven't seen you for a while here? (I haven't seen *me* around much either though!) 12:08:46 Anyone got a sec? http://crawl.pastebin.com/raw.php?i=SmDGwphJ 12:09:13 needed a break from crawl ;D 12:09:25 -!- ortoslon has joined ##crawl-dev 12:09:25 That happens. ) 12:10:05 doing fine though - what do people think about crawl for Android? new phone kept me busy during the weekend ;) 12:11:02 I think Haran was interested in that as well. 12:11:22 Napkin: first born son sold to at&t, android phone not an option unless I want to foot the full cost. 12:11:54 i heard usa is weird about phones anyways.. can you buy phones without contracts at all? 12:11:58 Haven't seen him around since the targeting rewrites, but I think he dropped by this channel at some point and Android port possibilities was discussed. 12:12:35 considering eeepad - might be a nice opportunity ;) 12:14:04 ixtli's work should make porting easier 12:14:34 very cool, yes 12:14:46 how's the usability project going? 12:14:59 Napkin: yes, but ATT was being a dick about droid smartphones, and was months behind everybody else. 12:15:11 So I had to go non-droid smartphone 12:15:44 Napkin: lemme know if you're porting somewhere that doesn't support sdl/ft/opengl 12:15:49 I want feedback on my changes. 12:15:56 I'm thinking of writing a wiki entry on it. 12:15:58 Napkin: It's over! :) 12:16:30 omg no, ixtli - i have absolutely no clue about porting anything - don't do programming at all ;) 12:16:38 Napkin: And looks like it resulted with commit rights to felirx. (: 12:16:40 I see :D 12:16:41 ahh, did I miss the end-results post?? 12:17:08 alright! Saw some of his issues in the tracker - nice :) 12:17:13 Napkin: Well, not really.. I haven't written one. But I plan to do one or a blog post. 12:17:22 both! ;D 12:17:26 Aye. (: 12:17:51 arg - and you've been chatting with doy! Admit! P-: 12:18:40 crawl devteam should start a twitter to link to interesting wiki pages 12:18:43 Errr me? Do you mean with due? 12:18:59 ortoslon: That's an interesting idea! 12:19:09 doy's smiley (: 12:19:16 Ahh, duh! 12:19:22 Viral. 12:19:27 hehe 12:19:38 no seriously can someone make commits post to a twitter acct 12:19:42 it's be easier for me 12:19:45 :P 12:19:48 hihi 12:19:51 and i know everyone wants to make things easier for me 12:19:52 ortoslon: Maybe more of job for a non-dev who follows development though 12:20:07 Cryp71c: can naga get kicks with your code? 12:20:24 "Only if they follow Xom." 12:20:27 *cough* more of job for a non-dev who follows development though who isn't graduating this month 12:20:46 we'll wait until next month, ortoslon ;-P 12:20:55 and good luck :) 12:20:55 !tell Enne Forgot to do this before you committed my changes: http://crawl.pastebin.com/raw.php?i=SmDGwphJ 12:20:56 ixtli: OK, I'll let Enne know. 12:21:06 I'm bachelorating this month! 12:21:13 omg! 12:21:15 Contratulorating! 12:21:27 good luck too :) 12:21:28 (Though that sounds a bit painful.) 12:21:37 Keskitalo: Make sure you know a good doctor. 12:22:14 Made-up words can be hazardous. 12:22:21 by, yes, though the original code looks to allow naga to kick as well, even in water. 12:22:28 ortoslon: Oh yeah, congrats! 12:22:33 * ixtli sleeps 12:22:37 too early 12:22:42 Heh. :) 12:22:42 no, it doesn't; naga don't even have feet 12:22:45 sleep(12h) 12:22:45 i've been slacking for years 12:23:24 ortoslon: I'm from the future. You'll end up sleeping in the future. 12:24:23 ortoslon: I'm well behind the schedule myself. But it's turning out good in the end. 12:24:50 If I had been on schedule, there probably wouldn't have been UP! :) 12:25:19 my department is low-pressure 12:25:28 Or at least I couldn't have done the project course by participating in it. :) 12:25:40 they conditioned us to think that deadlines are not that dead actually 12:26:00 Hehe, sounds dangerous. 12:26:02 by, ohyeah, I did accomodate for that, but I did it improperly. 12:30:45 Cryp71c: could you summarize how the old aux unarmed code works, in a sentence or two? 12:36:22 by, exact logic mine uses except the content inside uc_data is instead contained in a 225 line switch statement, which explicitly "continue"s when conditions aren't right for a particular UC attack. After all conditions have been checked player_apply_aux_unarmed handles the actual combat. 12:37:07 -!- ortoslon has quit [Quit: Leaving.] 12:37:34 I was hoping for something that doesn't reference your version :) 12:40:03 by, essentially it loops through the 5 possible UC attacks, ignoring ones that aren't appropriate (kicking in ice/spider/dragon/bat form, for example) until 1 hits, at which point the function returns. 12:41:14 by, sorry, at a loss as to how to explain it better without a more specific question :P 12:43:13 so at most one aux unarmed attack per round? 12:43:59 by, at most one hitting unarmed attack per round. you could have 2-3 or even 4 miss and have the last one hit. 12:44:20 similarly, you may have unarmed attacks that aren't even tried on a given round. 12:44:56 though presently, I think my code allows for more than one per round, I noticed it earlier while testing. 12:46:08 -!- ortoslon has joined ##crawl-dev 12:46:26 You miss the big fish. You kick the big fish for 7! You tail-slap the big fish for 5. 12:46:37 that's one turn for a merfolk in water 12:47:59 lol, yeah. it should've returned out..I have to figure out why it isnt 12:48:20 no, that's with the master code 12:48:43 by, yeah, I just realized that as well! :P 12:49:07 so yeah, multiple aux attacks and be attempted / land every round, up until the monster dies. 12:49:14 at which point it exits out immediatley. 12:49:21 do the "for N" bits come from wizard mode ? 12:49:26 philsnow, yes 12:50:29 next: what kind of unarmed attacks should a fighter (with weapon, shield) with no unarmed skill get, with hooves 3? 12:50:46 and how often? 12:51:07 by/Cryp71c: any thoughts on making that not quit immediately and try any remaining unarmed attacks on some other adjacent monster / return some amount of energy to the player ? or making hydras not do this i guess 12:51:31 ;( 12:51:34 philsnow: why? 12:51:36 wrong win 12:51:41 by, kicks 50% of the time, headbutts 2/3 of the time 12:51:54 unification.. but, then again hydras have multiple brains 12:51:58 i retract the question 12:52:21 philsnow, nope, that won't happen. hydras can attack multiple targets simultaneously because each head acts independently. player aux attacks have to be directed at a specific monster because its a chain of fluid motions directed at one enemy. 12:52:26 Cryp71c: so gaining hooves gives the player headbutts? 12:52:40 by, sorry, with no UC skill, only kicks 12:52:41 *nod* makes sense 12:52:49 still 50% of the time 12:52:59 and what does your code do? 12:54:14 by, the former... 12:55:27 got it fixed in a local copy though 12:57:01 my impression is that you don't understand the current code well enough to change it 12:58:08 by, understanding the code is exceedingly easy, reorganizing the entire thing is time consuming and requires testing, which hasn't been done yet. 12:58:36 My initial request for some examination of my code was more along the lines of "does this look too hacky, sticking boolean expressions in a struct to be eval'd later at runtime", etc. 12:58:53 though your testing has - of course - been useful. 12:59:19 I'll represent this when I think I'm finished with it, if you or anyone else finds it doesn't behave as the original one, it won't go in and I can appreciate that. 12:59:25 re-present* 13:04:37 but actually it's not exceedingly easy 13:05:13 reading it is, its the compression of the inverse of all of the "continue" statements into a single boolean expression that's difficult 13:05:45 03dolorous * rf5e367644b85 10/crawl-ref/source/mon-data.h: Per evktalo's suggestion, remove amphibiousness from (very) ugly things. 13:05:57 I found it hard to understand the current player_aux_unarmed, but I think since looking at it for the past 30 minutes or so, I understand it 13:06:59 yeah, its very scattered and hodge-podge, but its not terribly elaborate. 13:07:12 certainly not as complex as other areas of fight 13:08:21 I see 13:08:31 There are problems with the old code though, that I've found. 13:08:59 For example, if you have fangs, you cannot do any other UC attacks unless you have a mutation for that slot (under most circumstances) 13:09:36 nevermind, that was a hasty statement, and isn't true. 13:09:39 getting ahead of myself 13:10:13 -!- Abuse has joined ##crawl-dev 13:10:32 I think I know what caused that Pikel "living corpse" bug. 13:10:37 https://crawl.develz.org/mantis/view.php?id=993#bugnotes for details. 13:11:04 if some coder wants to move stuff around it can probably be fixed easily. 13:11:29 just move xp gain to the end of monster death. 13:16:51 just had to tell someone. 13:17:18 thanks for looking into it 13:17:24 mhmm 13:17:46 maybe the whole xp gain doesnt need to be moved 13:17:50 personally, I'm sick of the bugs with new uniques :) due should have a look at it 13:17:53 just the check for levelup 13:18:03 its not to do with it being a unique 13:18:09 it happens with any monster 13:18:22 if you lose connection at the Attribute increase prompt 13:19:10 the orriginal poster just lost connection while killing pikel 13:19:24 and left a % that he kept attacking when he tried to move onto the square 13:20:31 i just replicated it on a bat. 13:24:57 ok 13:30:58 -!- LordSloth has left ##crawl-dev 13:31:50 -!- ortoslon has quit [Quit: Leaving.] 13:42:09 -!- ortoslon has joined ##crawl-dev 13:46:15 dpeg, by, does it sound reasonable that kick, headbutt, and punch are available to (almost) everyone (naga can't kick, for example), and that bite / tail slap are available only to those with the mutation? 13:46:48 yes 13:47:04 k, that will simplify this, but is a change from the old aux combat system. 13:47:17 how so? 13:47:24 spriggans should be limited 13:47:46 they have wings which would probably make kicking more difficult 13:47:52 spriggans have wings? 13:47:55 Abuse, they don't have wings 13:48:00 oh 13:48:03 Abuse: do you mean kenku? 13:48:13 yeah those 13:48:27 how did they end up with wings and arms anyways? 13:48:41 6 limbed birds dont exist. 13:48:42 :D 13:48:54 Their wings are more angelic wings than bird-wings 13:49:02 oh 13:49:04 though they're wings are flightless anyways 13:49:13 s/they're/their 13:49:23 their flight is obtained through magical means, in crawl 13:49:38 i see 13:49:52 by, its not a technical change, per se, but there are special-cases that switch punch to bite and bite to punch 13:50:14 yes 13:50:25 I think whoever did the vampires didn't understand the code either 13:50:33 thinking about that living corpse bug, it can probably happen at any prompt that occurs before the corpse is generated, like a -more- prompt, etc. 13:51:31 dont you love code blender projects? 13:51:47 03by * re6fde6b4add0 10/crawl-ref/source/ (fight.cc fight.h): Make melee_attack::player_aux_unarmed() a little clearer. 14:03:08 back 14:03:21 Paul is back! 14:09:47 Cryp71c: kick + headbutt + punch: yes, sounds reasonable. 14:10:24 Anyone of you remembers Paul? And I don't mean McCartney. 14:12:04 dpeg, remember the UC flavour discussion we had? 14:12:46 Cryp71c: yes 14:13:32 dpeg, was there a difinitive result of that conversation? Kicks ignore AC, headbutts have a mini-stun, talons (or claws?) cause a bleed-like effect? 14:14:29 Cryp71c: not difinititive, but we got something that'd work 14:23:50 dpeg, there are special conditions for claws, since you can't (afaik) claw with your hands full (2h weapon, 1h + shield, etc.) so claws are - in reality - really weak. 14:23:59 for all but pure unarmed fighters. 14:24:26 Cryp71c: that's okay! 14:25:35 dpeg, you think? I feel like people get claws and continue on with their lives, getting shields and whatnot as they see fit 14:25:49 ignoring it unless they happened to be starting out as a Monk, or are troll. 14:25:59 (in which case the claws mut isn't random, so trolls are irrelevant) 14:26:11 Cryp71c: but we should be happy that the various UC tools do not play the same 14:26:16 I suppose 14:27:18 So a DS with claws should be tempted to use a 1-hander, or no weapon. 14:27:49 I guess that claws should perform better than kicks (say) in return, but the bleeding may do exactly that. 14:33:20 03dpeg * r53eb0404aa4d 10/crawl-ref/CREDITS.txt: Update CREDITS. 14:34:11 Cryp71c, felirx: now it's official :) 14:34:22 O_o 14:34:35 http://glue.game-host.org/ it sorta almost works! 14:36:00 felirx: what are you doing there? 14:36:37 programming assignment 4. 3 was to make a java based application that uses mysql database 14:36:50 assignment 4 is to make a JSP+HTML extension to it 14:43:39 dpeg, what's official? 14:44:51 Cryp71c: look at the current CREDITS. 14:47:55 -!- by has quit [Ping timeout: 248 seconds] 14:53:25 -!- by has joined ##crawl-dev 14:54:21 dpeg, ah, woohoo! thanks 14:54:28 Too bad my last name isn't aaronson :P 14:54:38 I'd be first foreverz 14:56:46 pfff :) 15:00:53 03by * re35a11cdc0b1 10/crawl-ref/source/fight.cc: No bonus headbutt damage for melded helmets. 15:09:27 -!- syllogism has quit [] 15:10:43 -!- Abuse has quit [] 15:13:43 dpeg, should naga have tail-slap as an available uc attack? 15:14:13 in the current implementation, they dont, but swimming merfolk do 15:15:58 Naga should use their tails to constrict at a later point. 15:16:28 This does not rule out tailslaps per se, but it might be more interesting to distinguish these tail uses. 15:16:46 hrm, k I'll leave it out for now. 15:17:02 might be cause to implement a UNAT_CONSTRICT later on for tentacles / naga tails 15:17:20 yes 15:17:42 Definitely also for kraken tentacles and monster naga tails. Also DS tentacles? 15:18:30 Cryp71c: I was out of the loop for two weeks or so. Is there anything I can do to help the DS cause right now? 15:20:17 dpeg, not presently, I'm working on rewriting player_aux_unarmed so that I can implement the unarmed flavour changes. I guess if we could get those hammered down to specific things and some general starting numbers that I can plug in, that would help. 15:22:49 Cryp71c: is there some mail I should reply to? Otherwise just send me a new one, please. 15:23:53 dpeg, I'll re-send you the last I had on the subject. 15:24:42 thank you 15:25:10 dpeg, re-sent, I actually had posed more questions you didn't have an opportunity to get back to me about. 15:25:15 so those are in that email as well 15:27:21 cool 15:32:57 -!- by has quit [Ping timeout: 276 seconds] 15:47:48 dpeg, want to run some numbers by you: presently uc aux attacks are (at best) UC_Skill / 20 * attack_modifier_chance where attack_modifier_chance is 1/2 for kicks, 1/2 for punches, and 2/3 for headbutts (this formula is only used if you dont have a corresponding mutation) 15:47:55 Crash when repeating second casting after fiddling with targeting (https://crawl.develz.org/mantis/view.php?id=1435) by MrMisterMonkey 15:48:13 so at UC skill 5 that's 1/8 for kicks, 1/8 for punches, and 1/3 for headbutts 15:48:45 and thats for attacks to even be possible, they still have to check monster AC and ev 15:48:50 seems a bit low, but maybe its just me. 15:49:36 these are *additional* attacks 15:50:06 and you have to realize how many attacks you make over the course of a battle 15:51:57 hmm, I suppose, guess its just me then 15:52:57 Don't report when immobile monsters are engulfed in a cloud they completely resist. (https://crawl.develz.org/mantis/view.php?id=1436) by MrMisterMonkey 15:58:09 dooohh.. cockatrice again?! 15:58:16 g'night! 16:00:38 -!- ortoslon has quit [Quit: Leaving.] 16:02:58 Napkin: night! 16:03:14 Cryp71c: I like the idea of darts for ranged stabs. 16:03:28 It seems to conflict with needles a bit, but is better than status quo. 16:03:35 Cryp71c: also, I replied. 16:05:33 non magic combat and feats, go. 16:09:13 dpeg, sounds good, also on an unrelated note, stinger should be either changed or removed, imo. Presently only naga / draconians can get it, and even then only as a random mutation, and the rarity of it is set to 1 (as common as MUT_FAST, which is almost NEVER, EVER seen as a random mutation). 16:30:59 -!- ortoslon has joined ##crawl-dev 16:46:14 Cryp71c: the fact that Dr and Na can develop a poisonous stinger is okay. If we think the chance is too rare, we can increase it a bit. 16:49:09 yeah I"m find with those races potentially having it, its just way too rare. 16:50:02 -!- ortoslon has quit [Read error: Connection reset by peer] 16:50:22 Cryp71c: I know the code is incredibly convoluted in this place, but can you estimate the chance of horns vs stinger for a a Dr or Na? 17:02:46 -!- eith has quit [Ping timeout: 260 seconds] 17:06:11 -!- ais523 has quit [Remote host closed the connection] 17:08:15 -!- Siber has quit [Ping timeout: 276 seconds] 17:09:14 dpeg, well, mutation selection is really convoluted. It appears that the further a mutation is down the list, the less chance it has to be selected. So a rarity of 1 from the first mutation vs a rarity of 1 from the last mutation (in mutation-data.h) is not the same, in fact..I'd estimate that the rarity of 1 on the bottom is about 100x less likely to be selected. 17:09:57 Cryp71c: yes, this is because Linley opted for those long if-then chains instead of assigning probabilities. 17:10:18 That was easy to code and is hard to evaluate now, but it does provide appropriately non-flat distrubutions, which is awesome. 17:11:52 This taken into account, horns has approximately 7/214 chance of being selected 17:12:30 Stinger has a 1/233 chance of being selected, approximately. 17:13:17 Cryp71c: wow, you're good at that. So multiplying stinger chances by a factor of 3 seems good. 17:14:03 dpeg, well I can increase its rarity from 1 to 3 which will bring it to a 3/233 chance, but that's still not very good considering its still only available to Dr and Naga 17:15:03 On another note, I like non flat distributions, but a factorally-decreasing distribution is really unfair, and inappropriately slopes the chances of obtaining new mutations (which are added to the bottom) to be unnecessarily low. 17:16:00 Cryp71c: I think the distribution is largely okay. No problem if Dr/Na have horns more often than the stinger. 17:16:54 dpeg, in relation to the probability of them getting horns, its pretty good since stinger should be more rare..but in the scheme of rarity across all characters, stinger is HUGELY unrepresented, presently. 17:17:18 dpeg, and your "the distribution is largely okay" is that in regards to the mutation distribution and selection system, or the rarity of stinger vs rarity of horns? 17:17:20 yes, which is why *3 is a good start :) 17:17:30 that is in general 17:17:49 the selection system could be improved, by assigning actual chances rather than the current mess 17:18:13 but the numbers are probably better than what you'd get if you started with assinged numbers :) 17:18:44 hmm, I disagree that the selection system is barely 'decent', let alone 'okay', though I suppose that can be discussed later, if ever. 17:19:14 I don't doubt that it worked well when there were fewer mutations, but now that so many have been added on, its not a very good system. 17:19:37 but that's just me. 17:21:08 I like long tails. 17:21:08 I'm off for the day, I might be on later tonight 17:21:26 See ya 17:21:27 -!- Cryp71c has quit [Quit: Leaving] 17:23:57 me too 17:24:03 -!- dpeg has quit [Quit: sleeep] 17:31:08 -!- Siber has joined ##crawl-dev 19:24:04 Crash upon picking up gold (https://crawl.develz.org/mantis/view.php?id=1437) by MarvintheParanoidAndroid 21:27:53 -!- joosa has quit [Remote host closed the connection] 21:28:00 -!- joosa has joined ##crawl-dev 21:39:18 -!- Abuse has joined ##crawl-dev 21:39:52 bug: some [Y] or [N] only please prompts require upper, some lower, and some are case insensitive. 21:41:33 it would be nice to have a single key input function that could be passed a string of acceptable keypresses and return the key pressed. 22:43:26 -!- MarvinPA has quit [Ping timeout: 245 seconds] 22:45:21 -!- MarvinPA has joined ##crawl-dev