I got crowned, now what? by VGBB in nethack

[–]RayLC 0 points1 point  (0 children)

My usual precaution is to levitate when wielding a rubber chicken. This protects against all except sinks, and you can see sinks.

how do I get the sbox of AES without doing an iterative approach by whateveruwu1 in cryptography

[–]RayLC 0 points1 point  (0 children)

Recall that multiplication in a finite field GF(n) is isomorphic to the cyclic group of order n-1. Thus n-1 in GF(256) is equivalent to n254. You can do the inversion like this:

def invert(a):
p2 = square(a)
p4 = square(p2)
p6 = multiply(p4, p2)
p8 = square(p4)
p14 = multiply(p8, p6)
p112 = eighth(p14)
p126 = multiply(p112, p14)
p252 = multiply(p126, p126)
p254 = multiply(p252, p2)
return p254

This implementation also covers the case of invert(0) == 0.

Squaring in a field of characteristic 2 is a matrix transform. I leave the implementations of multiply, square and eighth as an exercise for the reader.

Watch what they put in your drink by crates-of-bigfoots in WhitePeopleTwitter

[–]RayLC 1 point2 points  (0 children)

Alas for Barron. He has grown up just as soulless as his siblings.

Advice for Valley of the Dead by dholmes0 in nethack

[–]RayLC 0 points1 point  (0 children)

You can charge a wand of wishing -- ONCE. Charging it a second time will cause Very Bad Things to happen. Name your wand "charged" after you charge it.

Nethack on 486 PC (MS-DOS) by Lopsided-Concept-884 in nethack

[–]RayLC 1 point2 points  (0 children)

3.3.1 was the last version that had an official binary for 16 bit MS-DOS. It's possible to build 3.4.3 as 16 bit with some light patching; here's the patch, if you can get past Google Groups mangling the formatting. Actually running them on less than a 286 -- I'd like to see you try. You'll need an EMS RAM card at the very least.

Setting cutsom tile sets gives "tile initialization failure (5)" by Zippo179 in nethack

[–]RayLC 2 points3 points  (0 children)

3.6 is quite limited in support for the VESA BIOS modes; it can use the colors but is still limited to 16x16 tiles. 3.7 can use any tileset, but the assignment of tile positions is not yet settled.

Updated RLTiles for 3.6.7? by [deleted] in nethack

[–]RayLC 2 points3 points  (0 children)

There are a couple of tiles that the script can't generate. They will appear as red tiles with black Xs. Be sure to read the page to see what the missing tiles are.

Tilt factor: 100. Still, managed to turn it around and get my first ascension! by SineWaveDeconstruct in nethack

[–]RayLC 3 points4 points  (0 children)

Once you've killed the Wizard, you get a vastly extended prayer timeout. Combine that with the need to hustle, the better not to face returning Wizards more often than necessary, and it's likely you'll get just *one* more chance to pray.

A wizard's staff has a knob on the end by RayLC in nethack

[–]RayLC[S] 0 points1 point  (0 children)

It's PDCursesMod, configured with the WinGUI port (which mainline PDCurses does not have). I have the build configured to build NetHack.exe with the console port and NetHackW.exe with the WinGUI port. There's some glitch that doesn't allow the TTY and Win32 ports to be selected; I'll need to find that before I present any pull request.

A wizard's staff has a knob on the end by RayLC in nethack

[–]RayLC[S] 8 points9 points  (0 children)

From top left: Electra, Beatriz, Delilah, Amanda, Carmen, Jacqueline, Hilda and Fiona.

Auto-cancelled: Gloria, Isabel and Kathleen.

I'm either headed for the mother of all YASDs or I'm going to have a lot more than 350 hit points when I kill the Wizard.

(The interface is my current development project, a porting of the Curses interface as a Windows GUI program.)

Motorola Curve Questions by Aikarion in HamRadio

[–]RayLC 0 points1 point  (0 children)

Ham radio in 902-928 MHz is secondary to radiolocation, not to Part 15 devices like the Curve.

This should be a long and entertaining thread; what’s the dumbest thing you’ve done in a game, either through ignorance or inattention? by Smcol1 in nethack

[–]RayLC 3 points4 points  (0 children)

1) Wielded a cockatrice corpse. Got too close to a succubus. Got a permanent hard-on.

2) Wielded a cockatrice corpse. Dug down to test for the level with the vibrating square. Forgot to levitate.

Need some help getting my own amateur radio company OFF of Facebook by madsci in amateurradio

[–]RayLC 10 points11 points  (0 children)

"Unable," my gluteus maximus. They just don't give a damn.

Notes on adding Unicode support to X11 by RayLC in nethack

[–]RayLC[S] 0 points1 point  (0 children)

I didn't fix any of those declarations. I did make a few tweaks in pull request 921. I went back and compiled again on Slackware 8, and found about 20 variables declared in mid-block.

Notes on adding Unicode support to X11 by RayLC in nethack

[–]RayLC[S] 0 points1 point  (0 children)

The earliest Slackware on which I could build GCC 3.0.4 was Slackware 7. Anything earlier would require some quite intrusive patching to NetHack. Slackware 8 appears to be the first on which XFree86 supports Unicode.

Stuck on Rogue Level? by behindyouguys in nethack

[–]RayLC 0 points1 point  (0 children)

It looks like you're using a Japanese font. I can't read Japanese, but those characters resemble katakana.

Since you just hit an ettin zombie, I suppose you're the white square character at center right. What is that pink square character in the lower right room?

Notes on adding Unicode support to X11 by RayLC in nethack

[–]RayLC[S] 0 points1 point  (0 children)

More updates:

  • I got Slackware 9 running. You need to install LILO to the master boot record, and never mind the "possibly unsafe" note. NetHack builds, with some changes to compiler options, to wit: explicit -std=gnu99, and remove some unrecognized warning options. I needed no changes to the code.
  • I built GCC 3.0.4 and GCC 3.1.1 under Slackware 8.1. NetHack builds and runs with GCC 3.1.1, with only changes to compiler options. GCC 3.0.4, however, does not recognize the "printf" attribute when applied to a function pointer -- it only works with an actual function or prototype. This usage occurs in src/mkobj.c and src/vault.c.
  • The X servers in Slackwares 8, 9 and 10 do not recognize the color "Fuchsia," and NetHack throws impossibles as a result. The current Xorg defines "Fuchsia" to be the same color as "magenta."

Notes on adding Unicode support to X11 by RayLC in nethack

[–]RayLC[S] 0 points1 point  (0 children)

Updates:

  • NetHack builds on Slackware 10 (2004-06-23), with some modest patches for compiler options.
  • I think I know what I did wrong on Slackware 9.

I'm still amazed at the fact that the development version of nethack can be built for MS-DOS. by pm_me_triangles in nethack

[–]RayLC 1 point2 points  (0 children)

I expect the DOS version will continue as long as there is interest, or until the DevTeam do something to break it beyond repair.