00:28:00 -!- eith has joined ##crawl-dev 00:52:27 m1nced (L20 KeFE) ASSERT(probe != attack_constraints.connection_constraints->end()) in 'mon-abil.cc' at line 1569 failed. (Shoals:2) 00:52:36 m1nced (L20 KeFE) ASSERT(probe != attack_constraints.connection_constraints->end()) in 'mon-abil.cc' at line 1569 failed. (Shoals:2) 00:53:22 -!- valrus has quit [Remote host closed the connection] 01:02:33 03dolorous * r29bea4724e9b 10/crawl-ref/source/spl-summoning.cc: Move elemental restrictions and terrain changes to their own function. 01:05:29 m1nced (L21 KeFE) ASSERT(probe != attack_constraints.connection_constraints->end()) in 'mon-abil.cc' at line 1569 failed. (Shoals:2) 01:07:18 03dolorous * r317645e0b460 10/crawl-ref/source/spl-summoning.cc: Simplify. 01:21:36 -!- eith has quit [Ping timeout: 265 seconds] 01:26:53 -!- Zaba has quit [Ping timeout: 276 seconds] 01:31:58 -!- Zaba has joined ##crawl-dev 01:16:43 -!- Kurper has joined ##crawl-dev 02:03:29 -!- OG17 has quit [Read error: Connection reset by peer] 02:11:21 Cursed weapons fall off because of transformation (https://crawl.develz.org/mantis/view.php?id=2817) by S2im 02:13:48 -!- Kurper has quit [Remote host closed the connection] 02:16:48 -!- hashc has quit [Ping timeout: 245 seconds] 02:24:41 -!- Niccus has joined ##crawl-dev 02:30:57 -!- Soadreqm has joined ##crawl-dev 02:35:18 -!- syllogism has joined ##crawl-dev 02:47:36 weird spider form behavior: cling over deep water, dig out wall or get a boring beetle or iood to do it, somehow be on the water and not dead while not clinging 02:56:36 Connector placement failure on eldritch tentacle (https://crawl.develz.org/mantis/view.php?id=2818) by nubinia 03:34:41 -!- stabwound has quit [Ping timeout: 240 seconds] 03:51:09 -!- Twilight-1 has quit [Read error: Connection reset by peer] 03:51:10 -!- Twilight13 has joined ##crawl-dev 03:53:03 -!- Zaba has quit [Ping timeout: 245 seconds] 03:57:38 -!- Zaba has joined ##crawl-dev 04:09:00 -!- Pseudonut has quit [Remote host closed the connection] 04:12:59 -!- Niccus has quit [Quit: out] 04:21:53 -!- casmith789 has joined ##crawl-dev 04:42:13 Crawl hangs up if I Transfer Knowledge (https://crawl.develz.org/mantis/view.php?id=2819) by Voker57 04:49:01 -!- monky has quit [Quit: hello] 04:52:31 -!- Mu_ has joined ##crawl-dev 05:26:56 -!- bmh has joined ##crawl-dev 05:27:00 -!- bmh has left ##crawl-dev 05:27:09 -!- bmh has joined ##crawl-dev 05:27:28 hi 05:49:01 -!- bmh has quit [Quit: bmh] 06:43:33 -!- galehar has joined ##crawl-dev 06:46:03 03gafrie * r2fede061e184 10/crawl-ref/source/ (fight.cc melee_attack.h): More information when missing 06:46:04 03galehar * r0f29ab9ae059 10/crawl-ref/source/fight.cc: Remove the damage punctuation when missing 07:21:30 -!- TGWi has joined ##crawl-dev 07:43:30 -!- cw_ has quit [Remote host closed the connection] 08:00:18 -!- cw_ has joined ##crawl-dev 08:50:16 -!- valrus has joined ##crawl-dev 08:54:33 -!- upsy has joined ##crawl-dev 09:11:06 -!- cw_ has quit [Remote host closed the connection] 09:24:03 -!- cw_ has joined ##crawl-dev 09:47:21 -!- stabwound has joined ##crawl-dev 10:24:43 -!- Kurper has joined ##crawl-dev 11:04:01 alright, CDO is running gitolite now for access control to the git repositories 11:04:18 kilobyte, are you in? 11:04:21 03gafrie * re5f2eb70b10a 10/crawl-ref/source/ (beam.cc mon-cast.cc mon-util.cc): More information when MR is effective 11:04:26 03galehar * r50f0dbb27ff0 10/crawl-ref/source/mon-util.cc: Add an assertion 11:04:28 03galehar * r6632c35f1ddc 10/crawl-ref/source/ (10 files): Simplify phrasing 11:04:54 sorear, are you here? 11:05:23 -!- OG17 has joined ##crawl-dev 11:18:24 03dolorous * r794a38a1c8eb 10/crawl-ref/source/mon-act.cc: Add Cause Fear to monster rod spells (from the rod of warding). 11:18:35 03dolorous * rf77942a38149 10/crawl-ref/source/mon-act.cc: Remove now-inaccurate debug message. 11:24:28 03dolorous * raaacdcc1739e 10/crawl-ref/source/mon-act.cc: Add minor cosmetic fix. 11:27:06 -!- monky has joined ##crawl-dev 11:40:51 03dolorous * r2a81be08b5c5 10/crawl-ref/source/mon-act.cc: Revert "Add Cause Fear to monster rod spells (from the rod of warding)." 11:41:02 03dolorous * r57aaa2277eaf 10/crawl-ref/source/mon-act.cc: Simplify. 11:42:18 -!- eith has joined ##crawl-dev 11:58:50 ebarrett (L12 FeBe) ASSERT(probe != attack_constraints.connection_constraints->end()) in 'mon-abil.cc' at line 1569 failed. (Sprint) 12:13:51 Napkin: meow? I haven't seen gitolite ever, though, so I have no clue. 12:14:11 hey kilobyte :) 12:14:21 could you try ssh git@git.develz.org 12:14:37 it should present you with a list of repositories to which you have access to 12:16:02 gitolite is like gitosis, but written in perl (instead of python) and a bit more configurable 12:18:01 by a quick googling, it smells nice 12:18:51 i had to add the ability to allow from= in pubkeys (for the generic accounts like crawl), but that was quickly done 12:29:13 does it work, kilobyte? 12:29:22 do you see the table with your permissions? 12:29:33 I do 12:29:45 great :) 12:31:13 oooh per-branch write access restriction 12:31:19 now this looks seriously cool 12:32:51 yeah 12:33:09 even per file, but i'm not using that 12:33:34 but used the per-branch for those repositories, where some remove branch is just mirrored to a local branch 12:33:43 like henzell or tremulous 12:33:47 *remote branch 12:40:33 -!- casmith789 has quit [Ping timeout: 245 seconds] 12:41:58 -!- casmith789 has joined ##crawl-dev 12:54:25 -!- MarvinPA|2 has joined ##crawl-dev 12:55:04 search with Control F does not locate any of the items in a stash on one particular square in the dungeon (https://crawl.develz.org/mantis/view.php?id=2820) by Gorice 12:56:36 -!- MarvinPA has quit [Ping timeout: 240 seconds] 12:56:43 -!- MarvinPA|2 is now known as MarvinPA 13:00:06 -!- Pseudonut has joined ##crawl-dev 13:00:12 -!- casmith789 has quit [Remote host closed the connection] 13:14:17 -!- Pseudonut has quit [Remote host closed the connection] 13:24:31 03dolorous * r579b1df481e1 10/crawl-ref/source/spl-summoning.cc: In Twisted Resurrection, count unrotted instead of rotted corpses. 13:24:32 03dolorous * r83f623943218 10/crawl-ref/source/spl-summoning.cc: Refactor message display logic in Twisted Resurrection. 13:24:34 03dolorous * r08934c2ce74b 10/crawl-ref/source/spl-summoning.cc: Tweak success message in Twisted Resurrection. 13:24:37 03dolorous * r89f3dfc28573 10/crawl-ref/source/spl-summoning.cc: Constify. 13:29:53 -!- MarvinPA|2 has joined ##crawl-dev 13:31:24 03dolorous * rf1bb8035d2c9 10/crawl-ref/source/spl-summoning.cc: Reverse logic to randomly determine if an undead abomination is red. 13:31:58 -!- MarvinPA has quit [Ping timeout: 252 seconds] 13:36:11 -!- MarvinPA|2 is now known as MarvinPA 13:39:02 -!- MarvinPA|2 has joined ##crawl-dev 13:41:43 -!- MarvinPA has quit [Ping timeout: 252 seconds] 13:42:33 -!- MarvinPA|2 is now known as MarvinPA 13:44:43 -!- cw_ has quit [Ping timeout: 245 seconds] 13:53:41 -!- MarvinPA|2 has joined ##crawl-dev 13:56:15 -!- MarvinPA has quit [Ping timeout: 250 seconds] 13:59:00 -!- valrus_ has joined ##crawl-dev 14:02:10 -!- valrus has quit [Ping timeout: 245 seconds] 14:08:49 -!- MarvinPA|2 has quit [Ping timeout: 252 seconds] 14:10:31 -!- MarvinPA has joined ##crawl-dev 14:14:51 -!- dpeg has joined ##crawl-dev 14:14:53 evenings 14:15:29 evening, dpeg 14:18:43 'ello 14:19:15 03dolorous * re7ee702475d6 10/crawl-ref/source/spl-summoning.cc: Fix off-by-one discrepancy in undead large abominations' minimum mass. 14:36:41 -!- Pseudonut has joined ##crawl-dev 14:55:17 -!- MarvinPA|2 has joined ##crawl-dev 14:57:03 -!- MarvinPA has quit [Ping timeout: 240 seconds] 14:59:18 -!- enne has quit [Ping timeout: 245 seconds] 15:06:32 -!- MarvinPA has joined ##crawl-dev 15:09:50 -!- MarvinPA|2 has quit [Ping timeout: 260 seconds] 15:14:06 -!- MarvinPA|2 has joined ##crawl-dev 15:15:05 -!- MarvinPA has quit [Ping timeout: 255 seconds] 15:17:24 03galehar * r3adce129cd7d 10/crawl-ref/source/skills.cc: Fix adding unsigned int and int giving wrong result 15:20:46 -!- valrus_ has quit [Read error: Connection reset by peer] 15:20:56 -!- valrus has joined ##crawl-dev 15:21:00 hi Napkin 15:21:48 -!- MarvinPA|2 has quit [Ping timeout: 245 seconds] 15:22:20 what's .plus2 in the source code do? 15:22:24 for items 15:22:36 weapon's damage bonus? 15:22:48 well, it looks to hold the description 15:22:57 i'm not sure if that's all it's used for though 15:23:06 item.plus2 = TGLOV_DESC_BRACERS; 15:23:31 plus, plus2, and special are just used to hold three numbers 15:23:43 every item can interpret them differently 15:23:49 ah, i see 15:24:01 it looks like gloves are using plus for enchantment, plus2 for subtype, and special for ego 15:24:33 yeah, i'm looking at making a patch that alters the way subtypes work 15:42:26 03dolorous * r1a62f6dd4efc 10/crawl-ref/source/spl-summoning.cc: Properly set an upper limit for fresh undead abominations' AC bonuses. 15:44:31 -!- syllogism has quit [] 15:52:14 -!- enne has joined ##crawl-dev 15:52:22 -!- MarvinPA has joined ##crawl-dev 16:04:07 -!- Soadreqm has quit [Quit: Lähdössä] 16:06:17 -!- casmith789 has joined ##crawl-dev 16:08:03 -!- MarvinPA has quit [Ping timeout: 245 seconds] 16:11:58 random2(n) = equal chances of 0 to n? 16:12:19 n-1 16:12:32 (there are n possible outcomes) 16:13:33 oh, okay 16:13:38 ps, you should see this list i have, it's awesome 16:16:16 hey sorear - could you please check your git-access to CDO still works? "ssh git@git.develz.org" should show you an access table. 16:17:40 hm, interesting 16:17:46 // If we get here the item is not an artefact. 16:17:46 if (is_helmet(item) && one_chance_in(3)) 16:17:46 set_helmet_random_desc(item); 16:18:01 so i guess you can't have randart helmets with random descs? is that an oversight or a limitation elsewhere in the code? 16:19:15 there are two issues 16:19:27 1. no one bothered to code this befre 16:19:58 2. it would make the already long name of the item even longer 16:20:45 yeah, i understand 1, i'm just curious whether e.g. the item desc is stored somewhere the randart property would be 16:20:49 as in, "the +4 helmet of Killer Klown's Demise {Spirit +Rage *Rage Int+3 Dex-2 rC++} 16:21:19 i don't think 2 is as much of a problem since we already have spiked flails, triple swords, etc. and that's not really much longer than 'winged helmet' 16:21:23 there is no overlap, randart props are a separate field so plus2 is unused 16:21:37 er, rather, winged helmet wouldn't be much longer 16:23:14 I dislike this since it conveys no useful information while concealing stuff that actually matters 16:23:49 but it's just a dislike not "I hate this so much I'll send you an anthrax letter if this passes" 16:23:51 if adding the helmet adjective could cut off the inscription I wouldn't like it 16:24:01 not sure how long those can be 16:24:47 What's the matter? 16:24:56 well, i think in inventory it wouldn't be an issue, just on the % screen 16:24:58 (or if you wield it) 16:25:00 Splitting *Rage into +Rage and *Rage? 16:26:21 wow, this code *is* messy :) 16:26:35 ero, what are you patching? 16:26:44 TGWi: hats. 16:26:47 and sandals 16:26:48 and so on 16:26:53 ew 16:27:10 tiaras! 16:27:41 I don't like soft equipment, it's not fun to find like cloaks/helmets/boots/gloves are 16:27:57 TGWi: some of them are new hard ones 16:28:51 mostly it's just making 'rare' description types that show up (some percent of the time) instead of the normal descriptions (i was thinking 10% of the time or less) 16:29:02 that would be good 16:29:11 don't add any soft equipment though :S 16:29:20 I kind of feel bad about my addition of gauntlets for gloves for one, it just confused people for no gain 16:29:29 it won't make soft equipment any more common, it will just make it named differently 16:29:45 you said sandals, I'm just making sure 16:29:59 TGWi: new hard boots: clogs 16:30:17 however, code crocs and you _will_ get an anthrax letter :p 16:30:23 :P 16:30:26 kilobyte: what about keffiyehs? :) 16:30:39 (i went with a somewhat multicultural list) 16:36:52 I didn't recognize the word, and I think my English vocabulary is quite decent 16:37:13 so I suspect a good deal of players won't understand it as well 16:37:48 while I dislike the idea in general, if you would go with it, I'd suggest a common word like "turban" 16:39:14 Eronarn: orcish caps should be replaced with yarmulkes 16:39:24 kilobyte: turban is on the list, yes 16:39:42 i dug up a lot more options than i think we actually need so that if people hate some they can be removed 16:39:47 or at least 'skullcap' 16:40:15 TGWi: yarmulke, miter, kolpik, zucchetto, yarmulke, capirote B) 16:40:38 you said 'yarmulke' twice and I don't recognize any of the others 16:40:47 miter = bishop hat 16:40:55 kolpik = furry orthodox jewish hat 16:41:14 zucchetto = catholic skullcap 16:42:04 Napkin: What are @R_ W ? 16:42:06 capirote = conical white hood worn by flagellants, similar to KKK hoods but still used today 16:42:42 I agree that crawl needs KKK hoods 16:43:09 TGWi: would fit well with that list, yeah :p 16:43:14 it's getting ridiculous 16:43:26 i went for the most distinctive headgear i could find that fits in with the 300 year rule 16:43:39 imo just add orcish skullcaps 16:44:19 wait, weren't orcs invented by Tolkien 16:44:36 sorear: a lot of crawl is D&D-invented 16:50:35 ??volcano 16:50:36 volcanoes[1/2]: A timed portal vault ("a dark tunnel") that shows up in early mid-game (Lair, Orc and Hive). Contains fire-themed monsters, fire-themed loot, and a great big whopping Volcano that explodes in flame clouds every now and then. Enjoy your stay, don't forget your cremation urn! 16:52:34 http://crawl-ref.git.sourceforge.net/git/gitweb.cgi?p=crawl-ref/crawl-ref;a=blob;f=crawl-ref/source/rltiles/item/armour/artefact/urand_bear.png 16:53:23 it looks kind of like a rock taco 16:58:10 dpeg: about the Tornado spell: I devised the mechanics -- I'm not sure how it should work in closed areas, in my version it is crippled there; but the biggest questions is about how to show the affected area 16:59:07 -!- eith has quit [Ping timeout: 250 seconds] 16:59:36 kilobyte: crippled in closed areas is good! 16:59:37 Fire/Ice storm show an "explosion" animation for around a second (or until --more--), but they have an instant effect while this one is supposed to last several turns 17:00:03 kilobyte: we can do it... IOOD is also multiturn. 17:00:05 whoa wait, there's going to be a tornado spell? 17:01:46 my formula is: for every radius, calculate the number of open squares vs closed ones -- if 6 of 8 are open, the power becomes 6/8 of what it was before; every subsequent radius gets a fraction of the previous one (100% in open) 17:02:43 ??slay orc 17:02:44 orc slaying[1/1]: Increases damage by 75% against orcs. It can only be found on artifacts. If a Beoghite, orcs will have a lowered chance of converting to friendly if you are wielding a weapon with this brand. 17:03:34 kilobyte: sounds good 17:03:47 we may rule that the tornado won't take off without sufficient space anyway 17:03:47 items and monsters get shoved around -- several squares around the center and up to one radially; but that does no extra damage. Giants are almost unaffected, flyers/levitators get almost no save 17:03:58 sounds great 17:03:59 kilobyte: would that work with circles? 17:04:02 but this is just a gimmick rather than a key part 17:04:20 since radius n is the same as radius n-1 in several places 17:04:28 TGWi: yeah... they just fly around 17:04:37 I mean calculating damage per radius 17:05:12 ah, you mean that... radius is defined as in spiral_iterator or in spell ranges 17:05:13 you can't look at the circle and say "these squares are radius 1, these are 2," etc, they overlap 17:06:21 that's well-defined: every square but the origin has a radius of the smallest integer r for which x^2+y^2 <= r^2+1 (the +1 part is consistently used in about any place) 17:08:27 dpeg: how would you display the effect? 17:09:58 dpeg: variant 1: do it like bolt animations (could be a bit bad wrt wands), variant 2: instantly shove all clouds outside the effect radius and present fake clouds in the place 17:12:01 -!- hashc has joined ##crawl-dev 17:20:00 huh. visored helmets prevent fang use. 17:22:02 and horned give better headbutts 17:22:04 And beak. 17:22:24 i thought even beak 1 prevented wearing a helmet 17:22:27 kilobyte: sorry for delay. There are a number of options: The whole area of the tornado could be recoloured (at least floor, perhaps also features). Add short lived clouds of the same colour. Or surround the tornado's area by a circle of clouds. 17:24:31 so i'm looking at the item gen now, and it does random2(THELM_NUM_DESCS), which i get will correspond to the amount of helmet types in that enum - i am missing something with how it figures out to use that specific enum, though? not sure if random2 will pick something from that enum, or if helmets/etc. are told elsewhere to use it 17:25:27 03gafrie * r90b668c251d7 10/crawl-ref/source/fight.cc: Partially remove 'hepless' messages 17:25:31 03galehar * r2687dae69561 10/crawl-ref/source/fight.cc: Always add helpless when monster is incapacitated regardless of to_hit roll. 17:25:32 03galehar * rb05091fa741b 10/crawl-ref/source/ (fight.cc melee_attack.h): Simplify 17:26:36 Eronarn: enums are just names for numbers. 17:26:56 THELM_NUM_DESC = the total number of helmet descriptors. Say there are five. VISORED=1, GOLDEN=2, etc. 17:27:12 random2(THELM_NUM_DESC) will give you a random *number* which can then be cast into the helmet descriptor enum. 17:27:14 yes, but what's confusing me is i can't find where gloves figure out to use the glove enum, helmets the helmet enum, etc. 17:27:15 TADA! 17:27:34 or where they make use of it in generating descriptions 17:27:49 Feh. 17:28:18 THELM_NUM_DESC is manually set in itemprop-enum.h 17:29:41 okay, i see how it works now, thanks 17:33:47 nitpick: enums start at 0 by default 17:47:47 03dolorous * rd21b595d177d 10/crawl-ref/source/spl-summoning.cc: Move the routine to create undead abominations into its own function. 17:48:04 -!- dpeg has quit [Quit: night] 18:00:22 sorear: shut up, I know. 18:02:51 -!- galehar has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.12/20101026210630]] 18:06:55 03dolorous * r0716da25ca9a 10/crawl-ref/source/spl-summoning.cc: Set undead abominations' colors after creating them instead of during. 18:08:30 what do dbname and basename actually represent in itemname.cc? 18:10:26 trying to figure out why the helmet variants are if (!basename && !dbname && is_hard_helmet(*this)) 18:10:34 whereas the glove ones are if (!basename && item_typ == ARM_GLOVES) 18:10:40 confusing things. 18:12:34 :P 18:13:02 well, i understand what the code there is supposed to be doing, but i'm mainly just wondering why they're looking for different things in the if statement 18:13:42 since the code in the if block is basically identical, and afaik gloves/helmets work the same way in-game for identifying, descriptions, etc. 18:34:18 -!- elliptic has joined ##crawl-dev 18:48:49 -!- OG17 has quit [Read error: Connection reset by peer] 18:53:33 -!- OG17 has joined ##crawl-dev 19:02:37 -!- MarvinPA has joined ##crawl-dev 19:07:20 -!- elliptic has quit [Ping timeout: 276 seconds] 19:07:42 idea: let's take away Kirke's summon uglies and boost porkalator's chance of overcoming MR. There are 643803406 uglies in the game and she never gets to turn anyone pink. 19:08:32 -!- Moriasc has joined ##crawl-dev 19:13:15 -!- elliptic has joined ##crawl-dev 19:13:22 why does kirke summon uglies, anyway? 19:13:33 kirke changes loads of people into hogs 19:13:46 what would she do afterwards? Hit you with a dagger? 19:13:53 TGWi: so she's dangerous? 19:13:56 there'd be nothing blocking your retreat either 19:13:57 and yeah she does pork plenty of people 19:14:03 the ugly things are always what strikes me as scary about her 19:14:09 she even porkalates many people 19:14:12 @??kirke 19:14:12 Kirke (09@) | Speed: 10 | HD: 16 | Health: 110 | AC/EV: 0/10 | Damage: 18 | Flags: spellcaster, see invisible | Res: 06magic(106) | Chunks: 07contaminated | XP: 3233 | Sp: porkalator, slow, ugly thing, corona, invisibility. 19:14:20 it's just that porkalator isn't very dangerous 19:14:24 it's easy enough to run away 19:14:25 very ugly things at her depth are dangerous 19:14:34 porkalator seems to me one of the most irresistable charms atm 19:14:36 porkalator giving you extra speed is kind of obnoxious 19:14:43 yes 19:14:43 @??hog 19:14:44 hog (05h) | Speed: 13 | HD: 6 | Health: 20-45 | AC/EV: 2/9 | Damage: 14 | Res: 06magic(24) | XP: 196. 19:14:47 doesn't it give an unarmed bonus too 19:14:49 since you can just go away and wait for it to run out 19:14:55 ??form damage 19:14:56 unarmed combat[2/3]: base for forms: Normal 3, Spider 5 (venom), Bat 1, Vampire bat 2, Ice beast 12 (ice), Blade hands 12 + str/4 + dex/4, Statue 12+str, Dragon 20+str, Lich 5 (drain) Form base damage scales with skill, just like normal punches. This means forms (except bats) always deal more than regular attacks. 19:14:56 but yeah the issue is running away is fine 19:15:00 03dolorous * re99e26fe4b14 10/crawl-ref/source/spl-summoning.cc: Split the routine to create undead abominations into subfunctions. 19:15:08 pigs should be slow 19:15:09 ??porkalator 19:15:10 porkalator[1/1]: A unique spell of Kirke that transforms you (or anything else she sees) into a hog. You get faster movement (unless you're already moving quickly), but no equipment. Just run away and wait it out. 19:15:10 (if there is an issue) 19:15:31 what does kirke do? I only remember the "turning people into animals" thing 19:15:35 a hog-themed mermaid... 19:15:49 need some paralysis 19:16:15 need more go away monky D: 19:16:29 on several games I tried to get porked intentionally, but she never did 19:16:31 irl kirke, that is 19:16:45 kilobyte: kirke might have too many spells 19:16:48 corona/invis 19:17:01 except for spawning uglies, including on the side of the corridor behind me 19:17:12 maybe remove corona and give another instance of pork 19:17:12 kilobyte: hm? what races? 19:17:14 corona lets summons see you, in theory 19:17:43 or remove invis 19:18:04 Sp, DD, Fe at least 19:18:13 so the ones with high MR 19:18:21 what's felid mr? 19:18:25 DD level 19:18:29 6 I think 19:18:32 yeah, the Sp was a Be though so no ench boost 19:18:34 that makes like no sense but okay 19:18:40 you don't get ench boost anyway 19:18:43 ench doesn't give bonus mr anymore 19:18:45 (pre the change) 19:18:53 -!- MakMorn has quit [Ping timeout: 245 seconds] 19:19:02 okay, well, modern spriggans wouldn't get it either 19:19:06 sp natural mr is plenty for most purposes, yeah 19:19:09 play normal races 19:19:09 can't expect everyone to play 0.6 19:19:16 like Hu / HO / MD 19:19:22 it'll show you what bad MR is 19:19:34 MD have high MR again 19:19:43 high? 19:19:46 normal mr isn't high at all 19:19:52 normal MR is terrible 19:19:56 that's the whole point 19:20:01 nagas are average 19:20:11 just like -1 apts are average 19:20:14 nagas are 4, right? 19:20:17 5 I think 19:20:21 ??mr 19:20:22 magic resistance[1/5]: Magic resistance is your or a monster's ability to ignore hostile enchantments. Player MR comes from experience level and items. The most important hostile monster enchantments are Sigmund|orc wizard confuse, Jessica|orc wizard slow, deep elf sorcerer|ogre mage|Erolcha|Louise banishment, ancient lich|orc sorcerer paralysis. 19:20:25 ??magic resistance[2] 19:20:25 magic resistance[2/5]: Chances of anything resisting a spell are calculated like this: (magic resistance + 100 - the spells power) is compared to ( random2(100) + random2(101) ) and if the random numbers are less the spell is negated. 19:20:30 -!- MakMorn has joined ##crawl-dev 19:21:50 what is random2(x), incidentally? 19:21:58 0..x-1 19:21:59 ??magic resistance[4] 19:21:59 magic resistance[4/5]: Racial factor is 7 for spriggans, 6 for purple dracs and deep dwarves, 5 for nagas, 4 for elves, dwarves, demigods, vampires and ogres, and 3 for everyone else. MD and HO are only 2 in 0.6, though (3 in 0.8+). 19:22:04 random integer between 0 and n-1 19:22:41 !learn edit magic_resistance[4] s/dwarves, d/d/ 19:22:41 magic resistance[4/5]: Racial factor is 7 for spriggans, 6 for purple dracs and deep dwarves, 5 for nagas, 4 for elves, demigods, vampires and ogres, and 3 for everyone else. MD and HO are only 2 in 0.6, though (3 in 0.8+). 19:22:44 is that a standard convention? 19:22:55 what do you mean 19:23:02 does other stuff use it 19:23:30 non-crawl 19:24:16 Crawl is the only place I've seen to name this function random2(), but that's how it works nearly everywhere 19:24:28 what's random() do? 19:26:02 -!- MarvinPA|2 has joined ##crawl-dev 19:26:20 -!- MarvinPA has quit [Ping timeout: 276 seconds] 19:26:34 TGWi: a function from glibc that provides an obsolete RNG 19:27:10 heh, its man page says: The period of this random number generator is very large, approximately 16 * ((2^31) - 1). 19:28:06 2^35 as "very large"?? Should be "ridiculously small, useless for many tasks". 19:31:02 -!- Mu_ has quit [Quit: Defecator, may everything turn out okay so that you can leave this place.] 19:31:54 -!- MarvinPA|2 is now known as MarvinPA 19:47:51 -!- Pseudonut has quit [Remote host closed the connection] 20:03:45 -!- monky_ has joined ##crawl-dev 20:04:11 -!- monky has quit [Ping timeout: 245 seconds] 20:05:40 -!- monky_ is now known as monky 20:06:14 03dolorous * rdd30aa46328c 10/crawl-ref/source/misc.cc: Remove redundant return. 20:06:18 03dolorous * r03057ebe2b20 10/crawl-ref/source/ (mon-util.cc mon-util.h spl-summoning.cc): Move the routines to make demonic abominations undead to mon-util.cc. 20:17:03 -!- Maha has joined ##crawl-dev 20:18:21 hey guys, my trunk save's insta-crashing when I load it. Is this the channel for it? 20:33:52 -!- Pseudonut has joined ##crawl-dev 20:36:37 -!- Maha has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.12/20101026210630]] 20:44:23 03dolorous * r4d6a9891c19e 10/crawl-ref/source/ (mon-util.cc mon-util.h spl-summoning.cc): Revert "Move the routines to make demonic abominations undead to mon-util.cc." 20:44:28 03dolorous * r2aa8cf0e4a13 10/crawl-ref/source/spl-summoning.cc: Readd comment fixes. 21:03:11 03dolorous * rb789bc249f11 10/crawl-ref/source/spl-summoning.cc: Fix erroneous return values in _make_undead_abomination(). 21:35:56 03dolorous * r619e06a1ed76 10/crawl-ref/source/spl-summoning.cc: Simplify. 21:52:03 yay, running make on crawl for the first time 21:57:40 03dolorous * ra2e8e47f6452 10/crawl-ref/source/spl-summoning.cc: Attempt to make freshness mean something for small undead abominations. 22:20:34 oh, it tries to resume from where you were in the compile? that's slightly less soulcrushing than the alternative 22:21:04 it resumes from the start of the failing file 22:21:21 and if you change one file, it doesn't need to compile the rest 22:21:52 list of things i've learned today: *that *C++ likes parentheses *also semicolons *also you can't use NULL the same way i'm used to or something, how weird, gosh 22:27:24 oh, how do i compile with wizmode? 22:32:35 make wizard 22:33:53 How are you used to using NULL? AFAIK NULL is exclusively a C/C++ thing 22:34:32 php has a NULL that works kinda like zero but also kinda like NULL in SQL 22:38:05 -!- upsy has quit [Quit: Leaving] 22:43:38 oh right SQL 22:44:26 -!- Zaba has quit [Ping timeout: 276 seconds] 22:44:45 hrm, will this work as i expect it to: item.plus2 = coinflip() ? 0 : (one_chance_in(5) ? random2(max_desc) : random2(rare_desc)); 22:44:56 i think it might be always evaluating to 0 right now 22:45:39 How do you expect it to work? 22:45:49 50% of the time, that will be 0 22:46:05 40% of the time, that will be 0 to (rare_desc - 1) 22:46:18 10% of the time, that will be 0 to (max_desc - 1) 22:46:20 yes, that's the intent 22:46:35 just trying to narrow down where the code is failing to generate items as i expect 22:47:59 How is your enum layed out? 22:49:49 starts with the default item (boots, cloaks, etc.); goes up to foo_num_descs (used as max_desc); at some point there's foo_max_rare (used as rare_desc); anything beyond max_rare is rare and only can be hit on 1/5 of rolls) 22:51:10 http://pastebin.com/3RD0yu7R like so 22:52:05 line 6 should be ... = TCLOAK_DESC_MANTLE 22:52:29 ah, how's that work? 22:52:41 i saw that with the helmets, but wasn't sure exactly what it was doing 22:53:55 m1nced (L24 KeFE) (Elf:6) 22:53:58 or, oh, i see the problem 22:54:01 thanks 22:54:39 An enum statement sets up a list of names for numbers 22:54:45 The = sign restarts numbering 22:54:54 -!- Zaba has joined ##crawl-dev 22:55:16 The version you pasted causes number 0 to be used twice 22:55:22 and 1, etc because it restarts 22:55:53 by saying TCLOAK_DESC_RARE = TCLOAK_DESC_MANTLE, you're making RARE not consume a number 22:55:57 it shares one with MANTLE 22:57:41 -!- Moriasc has quit [Ping timeout: 255 seconds] 23:01:11 -!- TGWi has left ##crawl-dev 23:12:21 yaaay 23:12:28 e - an embroidered cape 23:12:33 t - an embroidered turban 23:12:38 m - a pair of glowing handwraps 23:31:10 Windows development builds on CDO updated to: 0.8.0-a0-2408-ga2e8e47 23:49:08 Unstable branch on CDO updated to: 0.8.0-a0-2408-ga2e8e47 (31.10) 23:55:30 * sorear hands Eronarn his developer's badge. 23:58:59 i can't wear it, i don't have a badge slot