01:18 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 0 points, T:98, poisoned by a rotted human corpse, while praying 01:31 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 257 points, T:2002, killed by a steel crossbow bolt 01:39 [hdf-us] [evil] Nightsorrow (Sam Hum Mal Law), 4521 points, T:2920, killed by the wrath of Amaterasu Omikami 02:03 [hdf-us] [evil] Nightsorrow (Sam Hum Mal Law), 1659 points, T:2699, zombified by a dwarf zombie, while fainted from lack of food 02:54 -!- mobileuser has joined #evilhack 03:02 NetSysFire I suspect coplate put Magicbane in the bag of holding 03:46 [hdf-eu] [evil] NetSysFire (Pri Ith Fem Cha), 3606 points, T:5336, zombified by a gnome zombie, while helpless 03:47 i got some good stuff and death was inevitable so these bones are for the team, i even named the non obvious stuff and died next to the items pile so nothing gets cursed 03:58 Good on ya. 04:13 >return to playing 04:14 >pick random 04:14 >get a neutral humie priestess 04:14 >trap with cursed BoH in starting room 04:31 Yay, armor store. 04:31 Can probably sell this (admittedly useful) plate mail. 04:33 -!- amateurhour has joined #evilhack 04:47 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 8 points, T:246, killed by a fox 04:48 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 0 points, T:61, killed by a system shock 04:49 Not gonna lie, I like where I am right now. 04:49 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 0 points, T:101, killed by a jackal 04:54 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 86 points, T:562, killed by trying to drink molten lava 04:56 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu) murdered her faithful pseudodragon, on T:402 04:57 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 68 points, T:472, killed by a water elemental of Thoth, while praying 04:58 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu), 50 points, T:156, killed by Ms. Yildizeli; the shopkeeper 04:59 Hoorah, my own bones. 05:00 Let's hope these don't suck too much. 05:01 [hdf-eu] [evil] Umbire (Pri Hum Fem Neu) destroyed Umbire's ghost, the former Sightseer, on T:2788 05:02 Ah, that tourist I splatted 05:02 You know, the one with all the good ass weapons. 05:02 That I currently literally cannot use 05:09 I'll go flogging my old stuff to the shop upstairs and then buy rings with the money 05:09 NetSysFire: What floor was your bones? 05:17 i think three or four 05:17 Hm, seems they didn't gen for me 05:17 My hobbit tourist bones're just as nice, though 05:17 !lastgame Umbire 05:17 Umbire: [hdf-us] https://www.hardfought.org/userdata/U/Umbire/evilhack/dumplog/1631195819.evil.html :: [hdf-eu] https://eu.hardfought.org/userdata/U/Umbire/evilhack/dumplog/1643761196.evil.html 05:45 -!- mobileuser has quit [Quit: Connection closed] 06:08 -!- mobileuser has joined #evilhack 07:27 Hell yes, remove curse ID'd 07:27 the spellbook even 07:36 -!- rebatela has quit [Read error: No route to host] 07:45 Oh boy, more of my bone 07:46 of 07:46 course it's the zootown bones. 07:47 Blinded the anaconda, outran the mumak, fuck the Mines I'm out of here 07:52 FUCK, if I'd just dodged one more attack... 07:52 [hdf-eu] [evil] Umbire (Pri Hum Fem Neu), 5181 points, T:5361, killed by a warg 07:53 Shouldn't have taken that chance, but idk if digging was the play either 07:55 [hdf-us] [evil] karibou (Bar Gia Mal Cha) destroyed Nightsorrow the human zombie, and former Ronin, on T:2405 08:05 [hdf-us] [evil] karibou (Bar Gia Mal Cha), 1959 points, T:3290, killed by a bugbear 08:16 [hdf-eu] [evil] NetSysFire (Pri Ith Fem Cha) performed her first genocide (energy vortices), on T:1341 08:18 v - an uncursed +4 ring of protection (on right claw). 08:18 thanks rng 08:28 i used a bag of tricks and it said "Nothing seems to happen." while still having charges 08:29 oh, monster hiding 08:29 try searching 08:30 Means bag is still charged also 08:41 mobileuser: yeah it was garter snakes 08:41 but why do i see something has happened? 08:43 you see nothing happening but still know you have used the bag (one less charge)? 08:46 brb 08:46 -!- Umbire has quit [Quit: Umbire zaps a wand of digging!] 08:57 come back umbire 08:58 i am doing dlvl 1 shenanigans again as an ith pri and i found a scroll of scare monster, blessed it and i am putting everything i find on the level on that square with the scroll and my important stuff in a sack a hobbit pickpocket dropped so monsters dont use the dropped loot of other monsters 08:58 rate my strategy 08:59 can i put a scroll of scare monster on the stairs to prevent monsters from escaping the dungeon? 08:59 some monsters yeah 08:59 that could work 09:02 [hdf-us] [evil] karibou (Mon Hum Fem Cha) hit with a wielded weapon for the first time, on T:3142 09:04 [hdf-us] [evil] karibou (Mon Hum Fem Cha) destroyed Nightsorrow's ghost, the former Ninja, on T:3198 09:04 [hdf-us] [evil] post163 (Wiz Gia Fem Neu), 201 points, T:749, killed by a large kobold 09:04 nooooooo 09:05 i accidentally read a cursed scroll of tele and i left dlvl 1 09:05 conduct broken 09:25 [hdf-eu] [evil] NetSysFire (Pri Ith Fem Cha) changed form for the first time, becoming an elder minotaur, on T:19545 09:25 fuck 09:25 another one broken 09:26 cool form though 09:26 it was random 09:26 accidentally quaffed a potion of poly 09:26 lost my robe :( 09:26 oof 09:29 woooo boh from a random Z 09:30 [hdf-us] [evil] karibou (Mon Hum Fem Cha) tasted meat for the first time, by eating an ape corpse, on T:4402 09:31 elder minotaur... omg 09:31 NetSysFire as an elder minotaur: *boop* dead. *boop* dead. *boop* dead 09:33 basically 09:33 @e?elder minotaur 09:33 elder minotaur (H) | Lvl: 26 | Diff: 29 | Spd: 14 | Res: none | Confers: nothing | MR: 25 | Generates: gehennom | AC: -8 | Attacks: 6d6 claw physical, 6d6 claw physical, 6d4 hug physical, 8d4 butt knockback | Alignment: -4 | Flags: genocidable, carnivore, thick hide, stalker, infravisible 09:34 [hdf-eu] [evil] NetSysFire (Pri Ith Fem Cha) rejected atheism with a prayer, on T:21553 09:35 another conduct broken 09:35 damn zombies 09:35 K2: have you heard of the dumb stuff i do? 09:35 i stay on dlvl 1 and dont go down 09:35 when i start with create monster 09:36 and an altar? 09:36 i've done that 09:36 no 09:36 i tried to be atheist but i would have died right now 09:36 i dont have poly control and didnt feel like wasting my wands charges 09:36 so why are you hanging out on dlvl 1 09:37 just this lil known thing called FUN 09:37 its well known in evilhack 09:37 exactly 09:38 maybe lil known elsewhere :P 09:38 -!- rebatela has joined #evilhack 09:39 NetSysFire, one strat I like to do: if I find an early altar, i'll sac as much as I can before hitting exp level 3 - guaranteed regular gear before getting the guarantted artifact 09:39 that regular gear is awesome as a level 1 or 2 player 09:39 * rebatela takes notes 09:39 * NetSysFire also takes notes 09:40 guaranteed 09:40 on similar note, I really like the new wishing rules... I used to be afraid to sacrifice out of the chance that i WOULD get an artifact 09:40 jeez 09:41 which new wishing rules? 09:41 well if you are trying for an artifact, any you found on the ground or bones or sacrificing etc. don't count against you anymore 09:42 just ones you have WISHED for 09:42 nice 09:43 and as a tradeoff the second one is no longer guaranteed 09:43 it's 50/50 chance 09:43 which i also think is fair 09:43 at least you know the odds.. it's easy to keep track of how many you've wished for 09:44 vs. there might be Sting in a shop (or BONESW) you didn't even notice or forgot about etc. and it makes wishing annoying 09:46 and you still have to fight the owner. THat's often the biggest detterrent for me 09:46 % of fighting owner i mean 09:47 sting is great if you need some more sleep res :p 09:47 haha oh i forgot you even get elves with sting 09:47 I love that lol 09:50 so K2 when are we getting goblin zombies? :p 09:50 also i have an awesome idea for qol 09:51 do you know that when you eat a corpse or something and it gets interrupted because a bat which you didnt even see crossed your fov? 09:52 if this is the case it should detect that the monster is no longer in sight and say "a by" 09:54 since evilhack is a pioneer in qol changes.. 10:10 -!- rebatela has quit [Read error: Connection reset by peer] 10:11 [hdf-us] [evil] rebatela (Mon Gia Mal Neu), 2764 points, T:4583, killed by a dwarf queen 10:21 -!- rebatela has joined #evilhack 10:41 -!- qt has joined #evilhack 11:34 k2 it would be nice if charon would stop talking about cerberus after you knock him off 11:34 bump him off? is knock him off something I just made up or does it mean the same thing 11:36 I misread that as 'knock him up' meaning charon is now pregante 11:39 you could put the cerberus-related messages into if (!u.uevent.cerberus) {} blocks 11:42 @e?charon 11:42 Charon (@) | Lvl: 76 | Diff: 38 | Spd: 0 | Res: fire cold poison petrification drain | Confers: nothing | MR: 120 | Generates: unique | AC: -5 | Attacks: 1d8 weapon physical, 1d8 touch paralyze, 1d8 cast clerical | Alignment: 0 | Flags: breathless, seeinvis, nopoly, infravisible 11:42 wait how does he spawn? 11:43 he's in the valley of the dead 11:43 ouch 11:43 amateurhour: charon lays eggs instead 11:45 this is another option, since I found it annoying one of the messages was so long it was impossible to get the line within 80 characters: https://termbin.com/rfnb0 11:46 but it's also not really necessary, you can just slap some if (!u.uevent.cerberus) lines in there and call it a day 11:46 The leprechaun seems disoriented! The leprechaun escapes the dungeon! 11:56 nice qt 11:56 i've been stuck in HR for the last 2+ hours 11:57 they handle making employee badges, had to transfer the software license and dbase from an aging 12 year old laptop to their new system 11:58 glad its done, i hate the software they're stuck with 12:03 gratz 12:03 got this sweet new clock https://0x0.st/oHF7.mp4 12:03 that's epic 12:04 hah 12:04 https://0x0.st/oHFh.log another buffer overflow 12:06 (it's too long) (giggity) 12:11 hmm 12:11 32 characters is the limit 12:11 so I guess some name + " the " + title exceeds 32 characters 12:11 would be nice to know what role the monster was 12:11 "Maechenebeth the " is nam 12:12 "Student of Metals" 12:12 oh yeah 12:12 that's 34 (well, 35 with the \0 I guess) 12:14 is student of metals the longest title I wonder 12:14 I doubt it 12:15 i will find out! :) 12:20 student of stones is longest 12:21 so, that means max mplayer name length is 9 characters 12:21 i guess 12:22 " the Student of Stones\0" is 23 chars 12:29 so increase PLNAMSIZ or whatever it is, or yeet Maechenebeth? 12:31 or rename student of stones to stud of stones 12:31 or stone stud 12:32 wind stud, metal stud 12:34 or just 'stud muffin' 12:36 k2 i just generated a list of names longer than 9 chars: https://termbin.com/nkyi 12:36 not sure how many of those are from races that could actually be a monk 12:37 so the easy fix is to just kill or shorten those names 12:37 i just iterated through the list and looked for anything longer than 9 chars, so not that sophisticated 12:37 yeah 12:37 dammit... I dont want to lose 'Smoofamurt' 12:37 Smoofamurt? But that's MY name 12:37 lol 12:37 lol 12:38 that's the pet name I have for amateurhour 12:38 or you could increase PLNAMSIZ or whatever it is 12:38 when we chat on the phone nightly 12:38 you could change it to Smoofmurt or Smufamurt 12:38 like a couple of teenagers 12:38 because surely we want an amateurhour the epic of pwnage to be a valid name?? 12:38 heh 12:38 we have to save these names 12:38 that might break saves though right? 12:39 that's ok, it'll go into 0.8.0 12:39 save-breaking is open for business currently 12:39 thankfully this overflow can't break anything (unless lack of trailing null can break stuff) 12:39 it'd overwrite the race of the monster but it's not referred to again by that point 12:40 could possibly crash if more zealous compile time options or OS 12:40 actually it segfaulted for me 12:40 epic 12:40 i generated a bunch of elven monks and eventually it crashed when generating one, presumably one with a 9+char name 12:40 oooh 12:41 was it Smoofamurt? 12:41 well how about this then, delete long names in 0.7.x, re-add long names in 0.8.x and inrease size 12:41 that seems like a reasonable fix 12:42 i'm not updating 0.7.1 anymore unless its a critical bug 12:42 it can crash 12:42 dammit 12:42 stop making sense 12:42 yeah if it segfaults when generating a monster that seems critical 12:43 or crashes, idk if it's really a segfault. whatever 12:43 idk what a segfault is 12:43 its a fault that segs 12:43 i just sprinkle it at random into conversations to sound smart 12:44 'hmm, it looks like a flux capacitor critical segfault event' 12:44 "oh, what a sweet puppy! better watch out though, i hear that breed is known to segfault" 12:44 'wow, I segfaulted 3 times last night!' 12:44 :') 12:47 aaaaand submitted to the nhqdb 12:47 it shouldn't be approved since it's not nethack-related 12:47 i will downvote it, i'm warning you 12:47 do it 12:48 i'll use my VPN service and upvote the shit out of it 12:48 the stealth admin in the shadows that isn't stenno will remove it and stenno will get all the blame 12:48 [hdf-eu] [evil] mightyquinn (Hea Hum Mal Neu), 2766 points, T:7558, killed by a warg, while praying 12:48 muich worse/irrelevant quotes have made it onto the nhqdb 12:48 *much 12:49 mulch worse 12:49 mitch worse 12:49 why did you bring Mitch into it? he's innocent 12:49 [hdf-eu] [evil] mightyquinn (Hea Hum Mal Neu), 18 points, T:192, killed by a fox 12:53 mitch mcconnell? i don't know about that 12:53 eww 12:53 now i feel dirty 12:53 #define PL_NSIZ 32 /* name of player, ghost, shopkeeper */ 12:53 what's a good number then 12:54 make it 64 and never worry about it again? 12:54 well, looking at that name list the longest one is 12 12:54 so you only really need 3 more characters to avoid this specific problem I guess 12:54 that way we can have player monster names like 'Slartibartfast' 12:55 'helpmeimtrappedinadungeon' 12:55 heh 12:55 player name 'whattheactualfuckishappening' 12:55 so 35 makes us safe, but a lil extra padding wouldnt hurt 12:55 48 12:56 hah 42 12:56 hmm 12:56 ... 42! 12:56 why doesn't it use PL_PSIZ 12:56 for the mplayer names 12:56 it could i suppose 12:57 it looks like that's what is used already to store the actual name 12:57 the bottleneck might just be the nam[PL_NSIZ] in mk_mplayer 12:57 what's the difference between PL_PSIZ and PL_NSIZ 12:57 63 vs 32 12:57 -!- Umbire has joined #evilhack 12:57 like what are they used for 12:58 PL_PSIZ is used for monsters' given names 12:58 #define PL_NSIZ 32 /* name of player, ghost, shopkeeper */ 12:58 #define PL_CSIZ 32 /* sizeof pl_character */ 12:58 #define PL_FSIZ 32 /* fruit name */ 12:58 #define PL_PSIZ 63 /* player-given names for pets, other monsters, objects */ 12:58 like when you Call a monster something 12:58 O_O 12:58 'lo. 12:58 it's the size that is used to store the actual monster's given name, when you do christen_monst 12:58 32 vs 6_3_, monsters 12:58 and mk_mplayer uses christen_monst to name the monster 12:59 easy enough to change an N to a P in two spots 12:59 so i think changing nam[PL_NSIZ] to nam[PL_PSIZ] in mk_mplayer might solve the problem 12:59 there's already room in the place where the monster name is actually stored 12:59 what's the other spot K2? 12:59 Whatchu talkin' bout. 12:59 👀 12:59 there's init_mplayer_erac() 13:00 MAGIC LAMP 13:00 but no holy water :( 13:00 and then mk_mplayer() 13:00 i dont have anything to blank 13:00 oh yeah you're right K2 13:00 I am?? 13:00 \o/ 13:00 good call 13:00 lol 13:00 omg i'm right! 13:00 I'M RIGHT 13:01 Umbire: some mplayer names + titles are too long and it can crash the game 13:01 hahah 13:01 if you want to know the full story you can always read the logs 13:01 qt: Ah 13:01 Umbire, yes backscroll is your friend 13:01 Nah that's a quick enough summary 13:01 * NetSysFire zaps a wand of cancellation at K2 and watches him being left 13:01 ow NetSysFire 13:01 NetSysFire: How far are you? 13:01 i thought we were friends 13:01 Umbire: dlvl 1 13:01 :) 13:01 brb 13:02 boring use after free https://0x0.st/oHCL.log 13:02 Oh so you JUST just started 13:03 no 13:03 i am 30k turns in 13:03 Then how far did you get >:c 13:03 dlvl 1 13:03 i told you 13:03 * Umbire wields a hammer! 13:03 🔨 13:03 amateurhour that one is dumb 13:03 hate it 13:03 Umbire: i started with create monster as a priest 13:03 srs answer: look for a fountain to fish out a nymph from 13:03 me too qt it is both boring and dumb 13:03 also how are you out of water 13:04 i have 10k potions of object detection 13:04 because of nymphs which spawned normally 13:04 then dip those! 13:04 some of them anyway 13:04 god knows you'll still be drowning in them 13:04 dip into what? 13:04 no fountains 13:05 could change use_stone to get &obj instead of obj and set it to 0 if it destroys the item? 13:05 what happens if i fill an entire floor with scrolls of scare monster? 13:05 i'm guessing apply_flint has the same problem 13:06 [hdf-eu] [evil] mightyquinn (Hea Hum Mal Neu), 596 points, T:2491, killed by a hobbit zombie, while fainted from lack of food 13:07 DL2, find one 13:07 Also I think if you just alchemize potions enough they clear 13:07 i dont leave dlvl 1 13:08 yeah that approach is what dnh and slashem does for some things qt 13:08 vanilla does it too for use_candle 13:08 i think 13:09 sounds familiar 13:13 is amateurhour one of the next nethack devs? 13:13 i mean the current dev team is getting old 13:14 no i only bring problems and not solutions 13:15 amateurhour: you think this would work, then? https://termbin.com/wacj 13:16 yeah 13:16 such an exciting bug fix 13:16 NOT 13:16 :') 13:16 boring AND dumb 13:17 I rate this experience 4/10 and the 4 is only cuz we hung out and that was quite nice rly 13:17 apply_flint prob has the same issue 13:17 aw that's sweet 13:18 apply_flint is even worse because it doesn't know whether it's using up all the flint or not 13:19 actually i guess it will only work if you have more flint than you need? 13:20 so it will never use up all the flint 13:20 that's odd 13:20 oh wait maybe not 13:21 hmmmmm 13:21 there's a way for it to use up all the flint, i take it back 13:22 maybe an alternate thing, instead of changing those methods 13:22 check if it's an artifact before the switch statement 13:22 if (res && obj && obj->oartifact) 13:23 whack a boolean is_artifact = obj->oartifact; right at the top 13:23 yeah I guess so, the only way i can imagine that changing the behavior is if you have some artifact that can be destroyed by applying it 13:23 and in that case it should stfu once it's destroyed 13:24 and doing it that way would make it talk since you're no longer checking whether it still exists 13:24 but that seems pretty out there and I doubt it can happen 13:24 or wait, does the magic 8 ball disappear when it grants a wish? 13:24 yeah stfu ur just a ball and ur now destroyed so shush 13:25 ughhhhhh 13:25 that function also has the same problem 13:27 kind of annoying to pass through a **obj but maybe necessary I guess 13:28 annoyingly useup for stackables might not even destroy the obj 13:28 damn, i thought that was useupall in use_stone 13:29 argghgh 13:29 the thick plotens 13:33 [hdf-us] [evil] karibou (Mon Hum Fem Cha) destroyed the invisible dgoddard's ghost, the former Initiate, on T:11108 13:34 [hdf-eu] [evil] NetSysFire (Pri Ith Fem Cha), 51782 points, T:36159, choked on a yeti corpse 13:34 whoops 13:34 Umbire: see? i was on dlvl 1 13:34 !lastgame NetSysFire 13:34 amateurhour: [hdf-eu] https://eu.hardfought.org/userdata/N/NetSysFire/evilhack/dumplog/1643980393.evil.html 13:35 it is true, no word of a lie 13:35 well i was on dlvl 2 once when i accidentally read a cursed scroll of tele 13:35 failed run 13:35 :( 13:36 yeah, shame on me 13:36 i even had a frickin magic lamp but no holy water 13:36 well one potion of holy water but no altar, so i needed more water 13:36 If you alchemize with diluted potions they tend to clear and become water 13:37 never did any alchemy in any nethack run 13:38 K2: amateurhour: https://termbin.com/nfb7 13:38 this should knock out a few of those use-after-free I think? amateurhour I'd appreciate if you could glance over it 13:40 LGTM 13:40 let's go team mummy? 13:40 agreed 13:41 got another one if you're in the mood for more, at a glance this one is whack 13:41 kept this one alive in lldb https://0x0.st/oHCx.log 13:42 uh oh 13:42 that does look whack 13:43 kept it alive in lldb in case there's some info we can get that would help 13:43 i wonder if that's a vanilla issue, it's something to do with gas clouds?? surely k2 hasn't futzed with that 13:44 you know what would be really nice? if you can keep track of how many monsters you killed or made extinct 13:44 or genocided 13:44 you can see that easily, just die 13:44 :) 13:44 facts 13:45 bbl, doc appt 13:45 disrobe for the nurse 13:45 yes make sure to unwield your weapons Umbire 13:45 qt: how many zorkmids to get monster kill stats viewing while alive? 13:45 -!- Umbire has quit [Quit: Umbire zaps a wand of digging!] 13:45 disrobe or datrobe? 13:45 NetSysFire: ask K2, I have no power here 13:46 i mean in vanilla so he will port this over to evil! 13:46 qt is devteam now :)) 13:46 NetSysFire: ask the vanilla devteam, I have no power there either 13:46 yeah sure 13:46 * NetSysFire bling bling zorkmids 13:46 are you sure you dont have any power? 13:47 * NetSysFire puppy eyes 13:47 the only power I have is to write emails to pat rankin 13:47 a power which you have as well 13:48 yeah but he only ends his replies with kisses to you qt 13:48 lol 13:48 [hdf-us] [evil] karibou (Mon Hum Fem Cha) changed form for the first time, becoming a flaming sphere, on T:11696 13:49 amateurhour: what does this report mean exactly? it's trying to write past the end of the allocated memory? 13:50 in this case it's because k is -1 I think 13:51 hi 13:51 Hello K2, Welcome to #evilhack 13:51 oh huh 13:51 hi K2 13:51 i'm back (again) 13:52 catching up on backscroll 13:53 qt if you git log src/region.c you can see some evilhack changes there, might be something to do with the hezrou thing 13:54 i did port over 3.7's hezrou stinky cloud bit 13:54 I guess vanilla might also have that now? not sure, not been keeping track 13:54 yeah i think that's from vanilla 13:54 you said k is -1? 13:55 yeah 13:57 -!- elenmirie has joined #evilhack 13:57 i,j,k are 1,0,-1 if that helps with anything, feel free to ask about any of the regions entries if that helps 13:59 [hdf-us] [evil] post163 (Wiz Gno Mal Neu) performed his first genocide (gnomes), on T:1 14:05 what's regions[i]->n_monst? 14:05 i guess -1? 14:05 or is it different from k somehow? 14:06 yeah -1 14:06 what's f_indx 14:06 [EvilHack] k21971 pushed 3 commits to master [+0/-0/±8] https://github.com/k21971/EvilHack/compare/570720b5b676...0d5a7d12054e 14:06 [EvilHack] k21971 8c8ae92 - Fix: improved Charon interactions. 14:06 [EvilHack] k21971 3ff7ece - Fix: buffer overflow with player monster names. 14:06 [EvilHack] k21971 0d5a7d1 - Fix: heap-use-after-free errors in apply.c 14:07 0 14:07 -!- Umbire has joined #evilhack 14:08 does mtmp have a value? 14:08 or is it just 0 14:08 it does have a value 14:08 the monster is dead though (has 0 hp) 14:09 give me a sec I'll send the values in mtmp 14:10 https://0x0.st/oHCG.txt 14:11 [hdf-eu] [evil] mightyquinn (Hea Hum Mal Neu), 834 points, T:3435, killed by a piranha 14:17 -!- Umbire has quit [Quit: Umbire zaps a wand of digging!] 14:18 was looking at this commit again - https://github.com/k21971/EvilHack/commit/570720b5b6761a3c5031078242185a2817ae66ec 14:19 would goodpos() be better to use here instead of isok() ? 14:19 correct me if i'm wrong, but isok() just checks to see if you're on the map or not. goodpos makes sure to not place the monster on top of another, or in lava if they cant fly, that kind of thing 14:20 good point 14:20 goodposnt 14:20 heh 14:21 and goodpos() checks isok() 14:27 ok amateurhour i can't make any sense of this... 14:27 me neither haha 14:27 j is 0, n_monst was 0 before it was decremented, why did the loop run?? 14:28 [hdf-us] [evil] dgoddard (Mon Hum Mal Cha) performed his first genocide (disenchanters), on T:2636 14:28 gawd 14:29 do you still have it open? 14:29 that's a really good question :S 14:29 yeah 14:29 [hdf-us] [evil] post163 (Wiz Gno Mal Neu), 0 points, T:1, killed by a scroll of genocide 14:29 what's the value of regions[i]->monsters[j]? 14:30 93825 14:31 what's in regions[i]->bounding_box ? 14:32 https://0x0.st/oXrH.txt 14:33 i wonder if there's some way to get lldb to print the int equivalent of a char, so it would say lx = '#' (35) or something 14:33 it's annoying to have to convert all the chars one by one 14:33 yeah :/ 14:33 doesn't gdb do that? 14:33 show the value as an int next to the char? 14:34 yeah, googling it now 14:34 looks like `type format` would do it 14:35 interesting that the monster is not actually inside this region (any more?) 14:36 the gas cloud is at (35,18) but the monster is at (36,17) 14:36 I guess the dragon(?) breathed a line of poison then left? 14:37 it looks like this monster is a gold dragon though, so he's not the one that created the gas cloud 14:37 is that bounding box really small? like 1x1 14:38 it seems like it is for dragon breath, i guess so each individual square can dissipate separately? 14:39 i've been getting green dragons to breathe on things and the bounding boxes all seem to be 1x1 14:39 and there are multiple regions created from each breath i guess 14:39 i haven't looked at the code though, just been looking at it in a debugger 14:39 [hdf-us] [evil] karibou (Mon Hum Fem Cha) destroyed the invisible karibou's ghost, the former Thaumaturge, on T:13078 14:40 i don't understand what's happening here, it's quite a mystery 14:42 I don't understand how the loop was even entered, like you pointed out 14:42 oh, it would have been more than one 14:43 more than one what? 14:43 wait no that still doesn't make sense 14:43 you're talking about j being decremented? 14:43 but it gets reincremented again before the check 14:43 argh 14:43 i was thinking that too 14:43 but yeah it doesn't seem to make sense 14:43 so weird 14:44 was trying to think if there could be more than one monster in that region 14:44 because it's so small the only way that could be is with rider and steed or something? 14:46 [hdf-eu] [evil] mightyquinn (Arc Hum Mal Law) had a spear entrusted to him by Quetzalcoatl, on T:3066 14:47 even if there were more than one monster in the region though, how could it lead to the scenario where the loop runs while j = 0 and n_monst = 0 14:48 because regions[i]->n_monst wasn't 0 14:48 but it is decremented by 1 at most each time the loop runs, so for it to be -1 it must have been 0 that time through the loop? 14:49 not 0 at the beginning but 0 at the start of that time through the loop? 14:50 idk the proper terminology, what's the technical term for 'a time through the loop'? 'a loop-de-loop' maybe? 14:50 decremented to -1, incremented to 0 again, re-entered loop? 14:51 argh I don't get it 14:51 it's very weird, we must be missing something 14:52 i was hoping (*callbacks[f_indx])(regions[i], mtmp) could modify n_monst but it doesn't seem to do that 14:53 since that might explain it, if n_monst was 1, then the callback function decremented it, then it got decremented again in the loop 14:53 but no joy as far as I can see 14:54 might be give up o'clock 14:54 if we had rr at our fingertips... maybe a different story 15:10 [hdf-eu] [evil] mightyquinn (Arc Hum Mal Law) became literate by reading a scroll, on T:4961 15:11 [hdf-us] [evil] dgoddard (Mon Hum Mal Cha), 11312 points, T:6365, quit 15:19 [hdf-us] [evil] post163 (Wiz Dwa Fem Neu), 281 points, T:2737, killed by a hobbit pickpocket, while fainted from lack of food 15:43 i dont feel so bad 15:44 two experienced coders get stumped, there's hope for me maybe 15:44 so this impossible I see in the paniclog semi often: 15:44 impossible placing soldier <14,11> over soldier <15,11> at <15,11>, mstates:0 0 on Dlvl:28 ? 15:44 ^ just one example 15:45 and I see it in vanilla too 15:45 I added this to gulpmu() 15:45 https://termbin.com/7ziy 15:45 and fuzzing, seeing if it happens again 15:46 if that termbin is wrong, please say so :P 15:48 [hdf-us] [evil] bouquet (Wiz Hum Fem Cha) killed the Oracle, on T:67039 15:49 here's an (unrelated) interesting backtrace - https://termbin.com/c13n 16:21 [hdf-us] [evil] karibou (Mon Hum Fem Cha) acquired the luckstone from Mines' End, on T:13946 16:25 [hdf-eu] [evil] McPanther (Pri Gia Mal Neu) changed form for the first time, becoming a wererat, on T:4347 16:56 [hdf-us] [evil] dgoddard (Mon Hum Mal Cha) had a pair of low boots entrusted to him by Huan Ti, on T:2681 17:11 -!- amateurhour has quit [Quit: leaving] 17:11 [hdf-us] [evil] dgoddard (Mon Hum Mal Cha) tasted meat for the first time, by eating a rothe corpse, on T:3878 17:13 at the risk of jinxing it - i just passed the 30 mil mark fuzzing evilhack 17:14 that's a first 17:18 K2: kaboom! 17:18 heh 17:18 [hdf-us] [evil] karibou (Mon Hum Fem Cha) completed Sokoban, acquiring a bag of holding, on T:16640 17:29 -!- elenmirie has quit [Quit: Going offline, see ya! (www.adiirc.com)] 17:32 -!- Graznop has quit [Ping timeout: 250 seconds] 17:33 -!- elenmirie has joined #evilhack 17:36 [hdf-us] [evil] dgoddard (Mon Hum Mal Cha), 5776 points, T:5091, killed by an elder minotaur 17:45 -!- Graznop has joined #evilhack 18:03 finally crashed, same one as before (last termbin) 18:03 (gdb) print moves 18:03 $1 = 36504402 18:03 new evilhack fuzz record 18:04 weeeee hah 18:04 food time 18:10 nice! 18:10 -!- mobileuser has quit [Quit: Connection closed] 18:11 -!- Umbire has joined #evilhack 18:18 -!- elenmirie has quit [Quit: Going offline, see ya! (www.adiirc.com)] 18:20 -!- Umbire has quit [Ping timeout: 240 seconds] 18:26 -!- Umbire has joined #evilhack 18:54 [hdf-us] [evil] DeathDealer (Wiz Elf Fem Neu) hit with a wielded weapon for the first time, on T:7154 19:07 K2: that backtrace with the light source 19:12 in evilhack, if you die while polymorphing from creature form to something else ('your new form isn't healthy enough to survive'), but get lifesaved, you return to human/default form 19:12 returning to human form deletes a light source that exists on your monster form 19:16 so basically what happens is: you are in gold dragon form (pretty lights :), decide to polymorph back to a human: polyself(polyself.c) -> newman(polyself.c), 'your new form isn't healthy enough to survive' -> lifesaved, rehumanize (end.c:1023), del_light_source (polyself.c:1168) -> control returns to newman, then back to polyself, which tries to delete the light source a second time 19:16 (polyself.c:631) 19:18 i'm a little tuckered out and don't really want to think much more about this right now, but vanilla doesn't rehumanize you in savelife(). so this doesn't happen, since you stay in creature form after ``your new form isn't healthy enough'' 19:19 but there's presumably some reason you made that change. anyway, it's a very rare circumstance and the bug is just an impossible(), not a crash or anything.... maybe it's just not that important 19:48 -!- qt has quit [Ping timeout: 256 seconds] 19:50 -!- Umbire has quit [Ping timeout: 240 seconds] 20:02 -!- Umbire has joined #evilhack 20:30 -!- Umbire has quit [Ping timeout: 240 seconds] 20:51 I need lots more full healing and gain energy potions so I'm going to potion farm for the next 40k turns :( 20:52 any suggestions for how to maybe make this go faster? 20:52 create monster in the very bottom of gehennom? 20:52 or is the monster gen slanted towards drunk dwarves in the mines so I can get some booze? 21:23 [hdf-us] [evil] Nightsorrow (Sam Hum Mal Law), 146 points, T:846, killed by a small mimic 21:31 [hdf-us] [evil] Nightsorrow (Sam Hum Mal Law), 154 points, T:1250, killed by a giant mimic 21:33 !tell qt thanks for the feedback (light source backtrace). looks like rehumanize was tossed in there when I added a feature from xnh back in aug 2019 (commit f7c3955). xnh reverted it back at some point, I did not 21:33 qt shall be duly informed at the first opportunity, K2. 21:36 [hdf-eu] [evil] mightyquinn (Arc Hum Mal Law) had a spear entrusted to him by Quetzalcoatl, on T:9538 21:56 [hdf-us] [evil] terrapin (Tou Gno Mal Neu), 481 points, T:1819, killed by a baby owlbear 22:02 [EvilHack] k21971 pushed 1 commit to master [+0/-0/±2] https://github.com/k21971/EvilHack/compare/0d5a7d12054e...3e62a2475865 22:02 [EvilHack] k21971 3e62a24 - Fix: impossible if killed while poly'd into a monster that emits light. 22:43 [hdf-us] [evil] terrapin (Sam Dwa Fem Law), 1014 points, T:2011, killed by a killer bee 23:21 [EvilHack] k21971 pushed 1 commit to master [+0/-0/±4] https://github.com/k21971/EvilHack/compare/3e62a2475865...c0d402a53833 23:21 [EvilHack] k21971 c0d402a - Fix: invalid material 7 (otyp 427). 23:22 ^ aosdict, might be interested in that one