00:14:39 03mumra02 07* 0.33-a0-247-g0bf80241f6: Properly remove Animate Skeleton 10(25 minutes ago, 13 files, 6+ 56-) 13https://github.com/crawl/crawl/commit/0bf80241f617 03:33:28 Experimental (bcrawl) branch on underhound.eu updated to: 0.23-a0-5208-geafff8c3b6 06:10:37 03heinrich02 07https://github.com/crawl/crawl/pull/4085 * 0.33-a0-221-g23e1714479: During attack store the attacker description 10(2 days ago, 2 files, 6+ 3-) 13https://github.com/crawl/crawl/commit/23e17144799a 06:10:37 03heinrich02 07https://github.com/crawl/crawl/pull/4085 * 0.33-a0-222-ge0903054dc: Incorporated feedback from #4085 10(52 minutes ago, 5 files, 20+ 23-) 13https://github.com/crawl/crawl/commit/e0903054dc3b 06:10:37 03heinrich02 07https://github.com/crawl/crawl/pull/4085 * 0.33-a0-223-g04d84bf5bc: Unified return value of apply_damage_brand() 10(23 minutes ago, 1 file, 1+ 3-) 13https://github.com/crawl/crawl/commit/04d84bf5bc68 06:28:56 03heinrich02 07https://github.com/crawl/crawl/pull/4085 * 0.33-a0-224-g53a3c830b8: linting: added braces 10(55 seconds ago, 1 file, 2+ 0-) 13https://github.com/crawl/crawl/commit/53a3c830b8bb 10:23:03 Greetings! 10:23:28 For some reason, when I am trying to register, the password is empty in passwd SQLite DB file. 10:23:57 Though, the message "Registered user" gets appended to the webtiles web-server logs. 10:24:06 And I see the new user in the DB file. 10:24:55 The username and Email gets inserted successfuly but the password: https://github.com/crawl/crawl/blob/0bf80241f61738d45f53e6ec1f28369529ea693e/crawl-ref/source/webserver/webtiles/userdb.py#L355 10:26:46 In the result, the SQL query `SELECT * FROM dglusers;` returns `1|username|user@example.com||*0|0` 10:26:55 What might it be? 10:28:40 awd 12:05:49 <06m​umra> Maybe something wrong with the encryption library? (You shouldn't see the password in plain text. It should be an encrypted version) 14:21:53 mumra, well, there's no plain text either. 14:21:59 There's nothing at all. 14:22:10 There's no error in the logs. 14:22:45 <06m​umra> yeah so maybe something goes wrong when the password is being encrypted 14:23:07 <06m​umra> have you tried logging crypted_pw before it gets inserted? 14:24:39 It may be something with the library but all the dependencies mentioned on the following page are installed: https://crawl.develz.org/wiki/doku.php?id=dcss:server:setting_up_dgamelaunch_and_webtiles 14:24:59 mumra, I did not. How would I? Rebuild a custom source? 14:26:43 I'll try debugging then indeed via modifying the source. 14:26:52 Will report the results ^^ 14:27:04 Thank you for the response, mumra! 14:29:01 <06m​umra> you don't have to build .py files. they are interpreted as needed. 14:40:48 If your character don't have shield, it's objectively bad. It's simple as that. You can't remove shield meta by lowering XP for 2h or nerfing shield. Shield will stil be numero uno. Because in today's meta monsters deal 50%-100% of your hp in one swing as early as D2. Rude awakening in revised S branches the latest where everything has mörder 14:40:49 damage + nasty on-hits. You need to block that shit. Surviving is kinda important in a roguelike. What does it matter if you have a million damage with 2h, it will still miss sometimes or roll bad dmg. Outside of some super niche circumstances, glass cannon is a joke build. Use shield. If you want shield gone, you need to lower necessity for shield 14:40:49 and not nerf shield. The master of shields has spoken. Use shield if you want to win 14:41:47 I'm impressed to have a choice between a shield and 2h on D:2 14:43:49 Also, IDK, would you like to pick a consistent name rather than Plastic_Element / OFF / Guest671 etc? I for one would appreciate not having to check who you are each time. 14:45:14 you could choose as early as char select screen 14:45:18 also, no 14:45:30 To have a 2 hander _and_ a shield? How? 14:47:13 ? nobody said anything about having both ? you said you'd be impressed to have a choice on D:2 between either one or the other. I'm just saying that is possible 14:47:23 To have a choice I must have both. 14:47:34 Otherwise, I don't care how good a shield is relative to a 2-hander. 14:47:48 that's why I said char select 14:48:14 Right, and that is not a choice I am offered at character selection, and even if I do start Fi I am unlikely to have the choice on D:2. 14:50:04 Well ye you are because you could choose a class with quarterstaff or one with 1h + shield 14:51:24 Fair point, I don't really think of quarterstaves as a two-hander (but that doesn't make sense) - but it still won't be a choice on D:2 14:51:50 ok 14:54:39 <09g​ammafunk> How interesting that "today's meta" for D:2 has shifted (recently???) such that two-handed weapons are "objectively bad" 14:54:55 <09g​ammafunk> Not that this drive-by shitposter is actually trying to convince anyone of anything 15:13:53 <09g​ammafunk> And just for the record for anyone following along at home: 15:14:06 <09g​ammafunk> !lg * warrior !gn fifsk!=spellcasting recent won urune=3 / fifsk!=shields 15:14:08 <04C​erebot> 763/2106 games for * (warrior !gn fifsk!=spellcasting recent won urune=3): N=763/2106 (36.23%) 15:14:36 <09g​ammafunk> two-handers hardly dead when over 1/3 of all warrior classes don't train high shields 15:16:09 03Aliscans02 07https://github.com/crawl/crawl/pull/4051 * 0.33-a0-142-g5b1a8aef43: Move is_floor_item into item_def. 10(86 seconds ago, 4 files, 6+ 7-) 13https://github.com/crawl/crawl/commit/5b1a8aef434f 15:16:39 <09g​ammafunk> although if you look by sh<10 it's somewhat less, but still over 28% 15:26:58 I see that the server reads "debug" value from "develpment_mode" configuration value and defaults to False at https://github.com/crawl/crawl/blob/0bf80241f61738d45f53e6ec1f28369529ea693e/crawl-ref/source/webserver/webtiles/server.py#L271 15:27:32 Yet, t's been quite of time I am trying to find out how does it actualyl load the config 15:29:06 Frankly, I am mainly a PHP, JavaScript, Go, and C#/C++ developer... than Python... and would appreciate a point where to look exactly or where to write the overloading configuration file, since it seems there's no such mentioned on the aforementioned docs, too, and README files. 15:30:39 I'll figure it out eventually of course, but perhaps there's a more clear documentation reference? 15:33:41 I have an idea! 15:38:11 Very weird... 15:38:30 So, it's all in a Docker container. 15:38:59 Unstable branch on underhound.eu updated to: 0.33-a0-247-g0bf80241f6 (34) 15:39:01 When I launch it normally, the password gets set empty. 15:40:28 When I change entrypoint to a loop just to exec manually, rebuild the whole container, exec, and launch the webserver manually, the password gets set normally... 15:41:48 does something need to be started up first? 15:42:24 Nothing at all. 15:42:34 It's literally a single container. 15:42:44 -!- misha is now known as werekitten 15:43:00 A single command I either execute manually via exec, or via ENTRYPOINT in the Dockerfile. 15:43:15 yes, but that failure mode looks vaguely like weirdness I get on my desktop if I don't wrap my startup in `dbus-launch` or something 15:43:19 (faking the entrypoint) 15:43:45 which makes me wonder if some service is running when you `exec` that hasn't started yet with `ENTRYPOINT` 15:44:11 There's no service else. A single service - single container. 15:44:23 no other service* 15:51:25 Wait wait wait wait... 15:54:27 I guess it's a bug then. 15:55:46 When I write a password startng with character `!` like `!2345678` it gets empty (i.e `*0` in the database field). 15:56:22 That's why the container thing above does not make sense. 15:56:45 Do you have the same issue? 16:01:18 mumra, am sorry for the Discord ping, but just in case of missing. 16:01:46 ...and interested. 17:07:40 <06m​umra> i don't really understand what you are doing or trying to do 17:08:39 <06m​umra> but clearly this is something cryotography related 17:09:00 <06m​umra> why deos only the password field produce an unexpected result? 17:09:12 the question is, why is the password in the userdb empty if the cleartext starts with ! 17:10:26 <06m​umra> which is why i'm thinking it's to do with the cryptography libraries installed on the system 17:11:01 <06m​umra> especially as you say you get a different result depending on how you run the container 17:11:10 but they found that of they start dgl differently in the docker container they're using, it works as expected 17:11:21 that does not seem like libraries 17:14:20 <06m​umra> is the sql database running in the container, or a separate container? (i don't see how that could produce this either, but something is different clearly) 17:16:44 <06m​umra> as i said, you need to see what is coming out of the cryptography function 17:16:47 <06m​umra> are you trying to store a correct 17:17:05 <06m​umra> or are you storing a correct value and then later the value coming back out of the db is wrong? 17:17:37 <06m​umra> it seems like a small number of places where this can be failing 17:20:11 <06m​umra> and to take a stpe back, what are you trying to do here? are you trying to run a full production setup? are you trying to run a local server for fun? what is the background context? 17:38:57 geekosaur: thanks for restating the queston. Indeed, but there's no difference with or with the manual exec. I thought there's but I was just typing a different password. 17:39:27 mumra, I am using the default repo and the libraries stated on the page I mentioned. 17:40:21 The base image is debian:bookworm or the bitname/minideb:bookworm (the same). 17:41:17 I can send you the Docker image reference if you don't have the same issue in your setup. 17:43:18 I am trying to run a Webtiles server for myself and local collegues. Not sure if it must be very enterprise/production level, but if there's are guides of how to compile and run such, it would great to know. 17:43:35 would be* 17:53:58 https://github.com/refracta/dcss-server might help if you're a container sort of person (it is aimed at running all the variants, but it runs vanilla too) 17:54:48 Added some verbosity, mumra: https://dpaste.org/hWMBJ/raw 17:55:32 Via some in-code `logging.warning(...)` inside `webserver/webtiles/userdb.py` 18:41:21 Pinkbeast: thank you very much! 18:41:52 I see they use a different algorithm and therefore the result with "borken" algorith sure differs. 18:42:12 I hope it helps; I know little about it besides that CNC uses it and as such it seems to work. 18:42:33 It seems like the bug is that the "salt" with "broken" is the first 2 characters of the password. 18:43:33 They use "SHA_512" instead of "broken" 18:44:17 i.e. dgamelaunch-config/config.py:crypt_algorithm = "6" 18:44:18 <03i​mplojin> if you're posting crypto things here please be aware that this channel is publicly logged 18:44:54 "the "salt" with "broken" is the first 2 characters of the password." — sounds like the old Unix `crypt()` function 18:45:04 Thank you for the reminder, but I would not post anything confidential in public if not stated otherwise ^^ 18:45:16 (probably why it's called "broken") 18:46:06 geekosaur: https://github.com/crawl/crawl/blob/0bf80241f61738d45f53e6ec1f28369529ea693e/crawl-ref/source/webserver/webtiles/userdb.py#L325 18:47:16 oh dear. the next line says they are using `crypt()` 18:48:16 Err. the line is 321 actually, since the algo is indeed set and is equal to string "broken" 18:48:30 I.e. https://dpaste.org/hWMBJ/raw 18:49:11 They hardcore it, I'm currently trying to figure out where to put this "config.yaml" file though to set the "6" in there, too. 18:49:36 might as well use cleartext… 18:50:24 Well, this is the official repo. If I am not mitaken, it's for backward compatibilities? 18:54:01 Thank you very much, dear everyone! I'll try checking out the sources more even if I am not very into Python but the aforementioned languages... 18:54:09 Please be and stay safe! ^^ 18:54:24 Dungeon Crawl Stone Soup is freaking ineffably marvelous project... 19:37:32 03regret-index02 07* 0.33-a0-248-g921eff9f32: Replace the V / Trove rock tiles 10(2 hours ago, 4 files, 0+ 0-) 13https://github.com/crawl/crawl/commit/921eff9f32ff 19:38:58 -!- 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 19:38:58 -!- The topic of #crawl is: Play Dungeon Crawl Stone Soup online now! Type ??online for instructions, ??lg / !lg for play stats | PM Sequell for long queries | http://crawl.develz.org | FooTV game replays: ??footv for instructions | #crawl-dev for dev discussion, #crawl-offtopic for offtopic 19:48:41 <06p​leasingfungus> noooo 19:49:24 <06p​leasingfungus> my bizarre gaudy bricks that only existed for magic mapping!! 20:15:15 03Implojin02 07* 0.33-a0-249-g0e9ad9ad44: Remove an outdated slime shaft veto (gammafunk) 10(17 minutes ago, 1 file, 1+ 2-) 13https://github.com/crawl/crawl/commit/0e9ad9ad4453 22:35:34 Unstable branch on crawl.develz.org updated to: 0.33-a0-249-g0e9ad9ad44 (34) 22:58:58 Windows builds of master branch on crawl.develz.org updated to: 0.33-a0-249-g0e9ad9ad44 23:32:05 Unstable branch on cbro.berotato.org updated to: 0.33-a0-249-g0e9ad9ad44 (34) 23:55:37 Monster database of master branch on crawl.develz.org updated to: 0.33-a0-249-g0e9ad9ad44