00:33:40 Unstable branch on cbro.berotato.org updated to: 0.34-a0-1975-g332d4de64d (34) 04:32:46 Experimental (bcrawl) branch on underhound.eu updated to: 0.23-a0-5261-gd9800d219b 05:34:47 Unstable branch on crawl.akrasiac.org updated to: 0.34-a0-1975-g332d4de (34) 09:38:46 I'm making a background that offers a choice at the start of a run similar to the weapon choice of a lot of the warrior classes, but it isn't a choice between weapons but instead between a few specific unrand artifact aux armors. There's the funcs _choose_weapon and _resolve_weapon which are certainly involved, but I'm having a hard time figuring 09:38:46 out what I need to change to allow the selection to be between unrand_type items instead of weapon_type. 09:40:40 One thing that is especially unclear to me is what call is responsible for popping up the option box that let's the player choose between items. 10:47:51 New branch created: pull/5017 (1 commit) 13https://github.com/crawl/crawl/pull/5017 10:47:52 03person5060502 {GitHub} 07https://github.com/crawl/crawl/pull/5017 * 0.34-a0-1976-geebecc7bc9: Remove duplicated -Cast description 10(68 seconds ago, 1 file, 0+ 4-) 13https://github.com/crawl/crawl/commit/eebecc7bc921 10:56:19 WasteTime5 (L14 BaFi) ERROR: range check error (-1 / 2000) (Lair:5) 11:48:00 Llorne (L14 DsBr) ASSERT(wpn && (wpn->base_type == OBJ_MISSILES || is_range_weapon(*wpn))) in 'ranged-attack.cc' at line 37 failed. (Gauntlet) 16:41:39 Unstable branch on underhound.eu updated to: 0.34-a0-1975-g332d4de64d (34) 17:32:09 silentrocco (L1 DEFi) ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position -33,8 in region 2, should be 4,8 in region 3) (D:1) 18:44:35 <04d​racoomega> Feels concerning that queries as simple as !lg * current trunk / won still time out repeatedly. (I managed to get the data by doing both halves of the query separately and doing the math myself, but still... >.>) 18:46:44 <08o​____0> alpha instead of trunk can help I think 18:48:14 <04d​racoomega> I guess !experimental is superfluous now (but I'm so used to it... ^^; ) 18:49:14 <04d​racoomega> Wow, that's real fast. How the heck can it make that big a difference? 18:49:29 <04d​racoomega> 'Timeout' versus '~4 seconds' 19:20:54 croobank (L1 FeRe) Crash caused by signal #6: Aborted (D:1) 19:21:36 croobank (L1 FeRe) Crash caused by signal #6: Aborted (D:1) 20:09:38 I asked this question earlier but disconnected and didn't see if anyone answered, so apologies if anyone answered and I missed it. 20:09:38 ----------------- 20:09:39 I'm making a background that offers a choice at the start of a run similar to the weapon choice of a lot of the warrior classes, but it isn't a choice between weapons but instead between a few specific unrand artifact aux armors. There's the funcs _choose_weapon and _resolve_weapon which are certainly involved, but I'm having a hard time figuring 20:09:39 out what I need to change to allow the selection to be between unrand_type items instead of weapon_type. 20:09:40 One thing that is especially unclear to me is what call is responsible for popping up the option box that let's the player choose between items. 20:42:10 -!- The topic of #crawl-dev is: Crawl Development | https://github.com/crawl/crawl | Logs: http://s-z.org/crawl-dev/, temporarily http://crawl.akrasiac.org/logs/cheibriados/ | People with +v have commit access, devs on bridged discord as well | General Crawl-related chat to #crawl | Long stuff to a pastebin service, please 20:59:59 <09g​ammafunk> that, but remember the caching thing as well 21:00:22 <04d​racoomega> I mean, you say that, but I paused and retried the old queries many times to see if that would help. It did not. 21:00:38 <04d​racoomega> This is consistently wildly faster, even for new variations on the query 21:01:52 <09g​ammafunk> well you have to know if the select actually finished, as I said, but yeah you never want to mess with the explbr field if you can 21:02:38 <09g​ammafunk> I have made a significant discovery for the operation of postgres on the new server that will hopefully help things out once I can figure out how to fix it 21:02:55 <09g​ammafunk> !kw trunk 21:02:56 <04C​erebot> Keyword: trunk => alpha !experimental 21:03:04 <09g​ammafunk> !kw experimental 21:03:05 <04C​erebot> Keyword: experimental => explbr!=||file~~(smithgod|jump|combo_god) 21:03:12 <09g​ammafunk> oh yeah that's doubly bad 21:03:17 <09g​ammafunk> I forgot how bad experimental was 21:03:18 <04d​racoomega> Oh, that's... that's not quite what I expected it to be 21:03:23 <04d​racoomega> That's not even helpful 21:03:42 <04d​racoomega> I assumed there was just a simple flag on them somehow. A boolean field or whatever 21:04:27 <09g​ammafunk> it's a string, yeah, and then some experimentals were not properly designated as such 21:04:33 <09g​ammafunk> hence the secondary condition 21:05:19 <09g​ammafunk> but checking whether it's empty should be fast...it actually might be mostly coming from the file condition tbh 21:05:34 <09g​ammafunk> !lg * current explbr= / won 21:05:59 <09g​ammafunk> or at least this is certainly faster than checking file 21:06:10 <09g​ammafunk> but there haven't been sequell-tracked experimental games in many years by now 21:06:22 <09g​ammafunk> come to think of it... 21:07:05 <04C​erebot> 90s limit exceeded: killed !lg * current explbr= / won 21:07:18 <09g​ammafunk> yeah both explbr and file do have indexes 21:07:30 <09g​ammafunk> oh that query wasn't quite right either.. 21:07:59 <09g​ammafunk> !lg * current alpha explbr= / won 21:09:30 <04C​erebot> 90s limit exceeded: killed !lg * current alpha explbr= / won 21:09:32 <09g​ammafunk> !lg * current alpha file!~~(smithgod|jump|combo_god) / won 21:10:20 <04C​erebot> 7382/728057 games for * (current alpha file!~~(smithgod|jump|combo_god)): N=7382/728057 (1.01%) 21:10:44 <09g​ammafunk> interesting that explbr is somehow slightly slower than file 21:11:01 <09g​ammafunk> !lg * current alpha / won 21:11:04 <04C​erebot> 7382/728059 games for * (current alpha): N=7382/728059 (1.01%) 21:11:07 <09g​ammafunk> heh