User talk:Bcode

From NetHackWiki
Jump to navigation Jump to search



Hi, Bcode! Welcome, and thanks for joining NetHackWiki!

  • The How to help and Style guide pages are excellent starting points.
  • Special:Recentchanges is a great first stop, because you can see what other people are editing right this minute, and where you can help.
  • Questions? Need help? You can ask at the Community Portal, the forum, or on the discussion page associated with each article! Just remember to sign those posts with four tildes: ~~~~. That will expand to create a signature.

You can put {{NAOplayer|NAO player account}} on your user page to link to your NAO player account. Capitalization matters.

We are really happy to have you here, and look forward to working with you!

This is an automated greeting. -- The Welcome Bot 23:51, 2 Jun 2020 (UTC)

Sorry about that

Sorry about accidentally reverting your first article edit; I didn't mean to, I was trying to hit the diff button and hit rollback instead. Happy editing! -Ion frigate 22:52, 20 December 2011 (UTC)

Monsters with non-unique appearance

Is it auto-generated? If yes - can you provide code used to do this? Bulwersator (talk) 17:07, 23 January 2013 (UTC)

I queried an SQL database of monsters. Here's the query, IIRC:
SELECT DISTINCT FROM monsters m1 INNER JOIN monsters m2
WHERE m1.glyph = m2.glyph AND m1.color = m2.color AND m1.monid != m2.monid
ORDER BY m1.glyph ASC, m1.color ASC, m1.baselev ASC, ASC;
I then pasted the output into the edit field and did some s/// in vim.
As for the database, I think I wrote some quite dirty scripts to read monst.c and write the database (I used an SQLite database, but it should work with anything supported by DBIx::Class, IIRC). If you want me to, I can pastebin these somewhere. (Be warned: it involves 40-line regexes…) —bcode talk | mail 17:28, 23 January 2013 (UTC)
I would be grateful, I prefer to use 40-line regexes than write new ones. Bulwersator (talk) 10:40, 24 January 2013 (UTC)
Here it is. Don't say I didn't warn you. —bcode talk | mail 18:53, 25 January 2013 (UTC)

Source code reference format

I hope that I will remember it next time. I wonder is it feasible to use bot to convert ref references to template ones? Bulwersator (talk) 05:25, 7 February 2013 (UTC)

Tjr already did part of the work (those references using <ref>{{sourcecode|...|...}}</ref>) using mw:Extension:Replace Text, but that's not everything. I've been thinking of bots for that purpose a bit, but I don't have any code that would do everything correctly at hand. —bcode talk | mail 05:37, 7 February 2013 (UTC)
Template_talk:Refsrc has a laundry list of articles that could have their references reformatted. --Tjr (talk) 19:11, 7 February 2013 (UTC)
What about refs in format like ? Is it replace ref tags in situation like this? Bulwersator (talk) 22:43, 14 February 2013 (UTC)
Template:Reffunc. —bcode talk | mail 22:48, 14 February 2013 (UTC)


I Posted That on Monk After That Happened To Me While Playing Nethack.--Rancalred (talk) 01:36, 15 February 2013 (UTC)

(Context, for anyone else who happens to read this: [1], [2].)
The player is always placed in the room with the upstairs. There are no "closed rooms": all rooms are connected (excluding vaults, but these will not have the stairs, anyway). This means the information added in your edit was incorrect, so I undid it.
(Also, please stop capitalizing [almost] every word.) —bcode talk | mail 01:54, 15 February 2013 (UTC)

That Can't work, Because You Cant Go Upstairs on Level 1 Without The Amulet Of Yendor And No Character Is Generated With The Amulet Of Yendor In Their Starting Inventory. --Rancalred (talk) 17:35, 15 February 2013 (UTC)

I'm not sure what you think "can't work". The game places starting characters in the room with the upstairs. (See allmain.c, line 516 and u_on_upstairs in dungeon.c if you want proof.) In fact, they're placed on the upstairs. Obviously, this does work. —bcode talk | mail 17:54, 15 February 2013 (UTC)

You Cant Go Up The Upstair Without Leaving The Dungeon, Therefore You Cannot Continue the Game so It Doesn't Work --Rancalred (talk) 15:11, 16 February 2013 (UTC)

Of course it does work. You go to the downstairs and go down. The room with the downstairs is always reachable as all rooms (excepting vaults) are connected. —bcode talk | mail 15:14, 16 February 2013 (UTC)

Except In A case Like This..--Rancalred (talk) 21:33, 16 February 2013 (UTC)

No. All rooms are conected. (again, except for vaults, which doesn't matter.) Please don't force me to prove that by finding the relevant bit of source code. In your case, there might have been a secret door somewhere; in this case, search. —bcode talk | mail 21:38, 16 February 2013 (UTC)
Indeed, all rooms on a dungeon level are guaranteed to be connected. The thing that ensures this is the smeq array (decl.h, line 174), in which all non-vault rooms get an entry when they're created (sp_lev.c, line 517). The idea is that if two rooms have the same smeq entry, they're connected in some way. If they're not (mklev.c, line 331, mklev.c, line 336), they're joined by corridor (mklev.c, line 314). --Tungtn (talk) 00:53, 17 February 2013 (UTC)


I Checked The Source Code The Sunsword Script Was Removed And It Doesn't Directly Reference The Astral Plane File:Astral Plane.gif But The Guardian Does Have The Same Appearance As Ashikaga Takauji --Rancalred (talk) 00:18, 17 February 2013 (UTC)

That doesn't change that it isn't a NetHack variant, though. Right now it just seems to be a game that might be NetHack themed; but it doesn't even seem to run correctly, actually. You should probably get it to a point where it's more comparable to NetHack before creating a page for it.
(Also, having the same appearance doesn't matter; the Ashikaga Takauji article is about that monster, not characters in your game that might look like Ashikaga Takauji.) —bcode talk | mail 00:33, 17 February 2013 (UTC)

New Release: Nexthack 0.8 Based Your Reaction To Version 0.6, Iv'e Decided To Run It By You Before I Recreate The Article ok? --Rancalred (talk) 20:24, 17 February 2013 (UTC)

It's still not a NetHack variant. As far as I can tell, it just has a changed background.
I can't actually keep you from recreating the page, but I think it's very likely someone will just delete it again. —bcode talk | mail 21:21, 17 February 2013 (UTC)

I Added Excalibur To The Game.. That Background , Along With Other Ones Were In The Code But Had No Reference To Them in the code. What's The Minimum Criteria For This Game To Get It's Own Page --Rancalred (talk) 00:52, 18 February 2013 (UTC)

The problem is that this wiki is about NetHack, and making a game that's only vaguely like NetHack probably doesn't qualify it for here. (Actually making a game sufficiently similar to NetHack, without starting from its codebase, would take years or decades.) Ais523 (talk) 01:07, 18 February 2013 (UTC)
It might at some point be considered fan labor and be noted on that page if it turns out similar to NetHack, I guess. However, it's unlikely it would get its own page; also, it doesn't even seem to be working yet. —bcode talk | mail 01:24, 18 February 2013 (UTC)
Regarding minimum criteria: Our goal is to be useful or appealing to NetHack players. In my opinion, something deserves an article if (1) it's related/similar to NetHack in terms of actual game-play, or (2) if it has traction with the NetHack fan base. Some examples: (1) Angband, @Play, moria, variant, Kingdom_of_Loathing (2) Screen, Facebook, Bot, Fan_labor, Talk:NetHack_quaffing_game.
Personally, I'm open to articles about offshot creations. I tried out NextHack, but sadly, all I could do was scroll the inventory list and restart the game. Until you can show us a complete game, maybe Roguebasin ( would welcome your article. --Tjr (talk) 10:49, 18 February 2013 (UTC)

New Release Nexthack 0.9 I Added a new starting class (Metalworker) That Can Craft Item's Out Of mithril . See What Kind Of Gameplay that gets you. --Rancalred (talk) 15:49, 18 February 2013 (UTC)

I Need Feedback To Know if can recreate the article i will assume This is okay if You Do not Reply Within 3 Days. --Rancalred (talk) 22:47, 24 February 2013 (UTC)

It's unlikely to be a good idea unless/until the game is finished, or at least in a releasable state. It takes a lot of work to get a game up to that state. Ais523 (talk) 23:34, 24 February 2013 (UTC)

From Your tone seems to suggest that it is Not in a Releasable State Please List The Features Or Source Code Bits That would be Required to make it so. --Rancalred (talk) 23:47, 24 February 2013 (UTC)

Putting alternate tilesets in articles

Conversation moved to Template_talk:Alternate_tilesets

Djinn clairvoyance issue

Sorry bcode! I hope we already resolved this on freenode irc, but just in case we didn't, let me just say that, no I wasn't trying to vandalize, that, I thought I remembered that happening to me before in a previous game of nethack, I must have gotten clairvoyance from some other method....very sorry. I will be much more cautious in making any other edits in the future. Again, my apologies. Also, it was my very first wiki edit of anything, in my life, and I truly thought I was helping -- it was exciting to think that I might be able to contribute to this great website. I was rather disappointed to find out that I made quite the mistake. Thanks for not flaming me horribly or anything. Thanks, rphoffm-- 12:57, 9 August 2013 (UTC) —— 13:01, 9 August 2013 (UTC)

Resolving this via IRC was fine, but it's probably good to also have that here for future reference.
Don't worry, everyone makes mistakes sometimes :) Don't let that scare you away from wiki editing. —bcode talk | mail 03:36, 10 August 2013 (UTC)

The right wiki

That is a very good argument, and I don't have a very good response to that. However, I do not wish to revive the old wiki. I wish to use the old wiki because wikia just. wont. delete. it.

My idea was to turn the old wiki into a wiki for NetHack FanFictions. That way, the 'right' wiki would be this one, and the one for Reading stories would be the other. also, content that is known for Fact in NetHack would be effectively separated from content that is fanfiction, and might be wrong.

Also, WikiHack is a great name.

--WaveDivisionMultiplexer (talk) 06:50, 12 January 2014 (UTC)


Hey, I've been playing Falcon's Eye on and off for about five years now. I love certain aspects of the game, it is a challenge(more on that in a minute) and the graphics are great. The variety the game encompasses is truly amazing as well... So I play for a while, get TOTALLY disgusted over dying so much, put it away for 6-8 months then get back into it, only to get frustrated again...

Long story short, why does this game make dying from lack of food so damned important?? I like a challenge like the next gamer, but really...

Points to consider... I realize that this is a GAME, but shouldn't there be some general logic to it.

For instance, why does the game only leave a corpse some of the time-same monster slain? I kill something, say a lichen, shouldn't it always leave a corpse? Did that killed lichen corpse magically disappear?? Shouldn't everything (yeah yeah, not ghosts etc...) leave a corpse? If the game is going to be so hell bent on starvation issues, it should at least be consistent on leaving food when you kill something. Leaving a corpse only some of the time isn't logical. And why are there some basic animals, that when freshly killed, are still poisonous? I'm not as clear on this one, but shouldn't fox, iguana or jackal meat always be edible? Dumb coding, in my opinion.

Another point, do you really die from hunger in like ten minutes?? In real life, one generally dies from hunger after five, six, whatever number OF DAYS!! This dopey game kills you off in five minutes. Again, not too bright when you apply some level of logic to it.

Just my thoughts... I won't even get into why the game always seems to send some wildly crazy group of monsters after you whenever your character starts showing any level of progress.. You go along, meet maybe two, three monsters tops simultaneously on any given altercation,throughout the entire game to this point, then you get to level 4 or 5 and suddenly a pack of nine giant ants seemingly appears out of nowhere, surrounding you, and oops, you're DEAD... Jeeez. Anyhow, my thoughts.

Oh yeah, how do I get into my own Talk page? Wikis always confuse me, very rule laden and not always that intuitive, unless I'm really missing something, which may be the case. Look forward to your response.Glorb888 (talk) 13:17, 28 October 2017 (UTC)

Hi Glorb888, and welcome to the wiki! Not sure why you're posting this on bcode's talk page; it would probably get more attention if moved to the forum.
You make a fair point about corpse odds. If food is your main obstacle in getting further in the game, some strategies could be to eat corpses immediately after you kill a monster, not letting your pet get to it first, and heading down to Sokoban where a lot of permafood is generated. For general early-game advice, see Why do I keep dying?
About userpages/talk pages: you already have one at User:Glorb888 and User talk:Glorb888. You can also create subpages of these as you please. (Just don't post lots of external links - that'll flag you as a spammer.) --Phol ende wodan (talk) 13:30, 28 October 2017 (UTC)

Forgotten password

Hi bcode, the Forgot Password feature on this site is doing strange things.

1. I forgot my password 2. I had it reset and a new password sent to me. 3. New password didn't work 4. Tried it on multiple browsers on multiple devices to no avail. 5. Repeated steps 2-4.

Weeks later... 6. I found I was still logged in on one device. 7. Went to profile used my old password (which I found) to reset password (which should not have worked because it had already been reset, right?!). I set the new pwd to that same old password. 8. I was able to log in on all devices using the old password.

So, just seems buggy. Thought I'd let you know.

Thank you, Thidwick

PS could've sworn I watch some of your games and/or chatted with you on IRC years ago (my handle on NAO: burpie). Hope all is well.

Hi! I'm not sure why the password reset didn't work for you; I'll poke User:paxed / User:dtype about it as they admin the server this wiki runs on.
I'm still around in #nethack, although not as active as I used to be back in the day – you'll find me there as ilbelkyr, though, so feel free to ping me :) —bcode talk | mail 20:03, 25 October 2018 (UTC)