Wikia

Wikihack

Watchlist Recent changes

Jayt

1,868 Edits since joining this wiki
October 14, 2005

Hi fellow hackers! I'm jmst on nethack.alt.org, and an admin here.

Contents

What I'm up to Edit

I'm happy with the way the wiki is going - lots of good people are adding good stuff. My vision is for Wikihack to be a Total Spoiler - a one-stop repository of all of humanity's knowledge of NetHack - as well as a venue for an emerging field of scholarly NetHack analysis :-) My secret desire is that it one day becomes bigger than Wikipedia.

2006/09/15: Travelling until next Tuesday. Tata for now!

2006/08/05: On a redirection binge. Trying to pre-empt duplicate articles.

Previously...Edit

The weather has been too nice for ASCII this week, but the subsequent thunderstorms finally drove me back inside and I'm planning to ascend a rather bedraggled Monk.

Result: he died on the thrice-accursed Plane of Air! Moral: Defence is only half the equation: you've got to be able to kill 'em. --Jayt 19:08, 4 August 2006 (UTC)

Scorecard Edit

DateCharScoreTurnsConducts
2004/02/29Val Hum Mal Law516736285417aw
2004/06/08Wiz Elf Fem Cha501482862397aw,ps
2004/11/30Pri Elf Mal Cha356662473989aw,ps,s
2004/12/08Tou Hum Mal Neu924550174318aw,s
2004/12/17Kni Hum Mal Law439408856715aw,p,ps,s
2004/12/18Bar Hum Fem Neu8916782118767aw,s
2004/12/27Sam Hum Mal Law414271450476aw,s
2005/01/19Arc Hum Mal Law256456435709aw,p,ps,s
2005/01/22Ran Elf Mal Cha363811451113aw,ps,s
2005/01/28Cav Dwa Fem Law387966442900aw,ps,s
2005/02/15Rog Hum Mal Cha251805440832aw,ps,s
2005/02/20Mon Hum Fem Neu272566431920aw,ps
2005/02/23Hea Gno Mal Neu323981246553aw,p,ps,s
2005/03/17Val Dwa Fem Law331506243018aw,g,p,ps,vg,w,s
2005/10/21Wiz Elf Mal Cha334807052493aw,g,p,ps,w,s
2006/02/26Bar Hum Mal Cha290239442906ps,s
2006/06/28Wiz Hum Mal Neu160775222910p,ps,s
2006/07/04Rog Orc Fem Cha255072640404aw,g,p,ps,w
2006/07/20Pri Hum Mal Law433929068745a,i,g,p
2006/10/24Ran Hum Mal Neu323020044564g,p,w
  • a = atheist
  • aw = artifact wishless
  • g = genocideless
  • i = illiterate
  • p = polyless
  • ps = polyselfless
  • vg = vegan
  • w = wishless
  • s = survivor (I know, not a real conduct)

Old stuffEdit

CompletenessEdit

Here are my thoughts on completeness

Source wikification scriptEdit

#!/usr/bin/python
#version 20061002
# usage: ./wikify.py sourcefile.c
# the first line of output will be the article title, for use with
# an uploadbot
#config:
outputdir="/home/user/somewhere/" # where to put the wikified file
gamename = "NetHack"              # NetHack or Hack or SLASH'EM
uploadversion = "3.4.3"           # 1.3d/2.3e/3.1.0/3.4.3/etc.
latestversion = "3.4.3"           # 3.4.3 or 0.0.7E7F2
license = "NGPL"                  # NGPL or CWI
##

import sys, re

srcfile = sys.argv[1]

f = open(srcfile)
g = open(outputdir + srcfile, "w")
i=1

if uploadversion != latestversion or gamename=="SLASH'EM":
	wikilink = gamename + ' ' + uploadversion + '/' + srcfile
	srccodelink = '[[' + gamename + ' ' + uploadversion + \
' source code|source code]]'
	catlink = "[[Category:" + gamename + ' ' + uploadversion\
+ ' ' + "source code|" + srcfile + "]]"
	oldwarning = "'''Warning!''' This is the source code from an old \
release. For the latest release, see [[Source code]].\n\n"
else:
	wikilink = srcfile
	srccodelink = '[[source code]]'
	catlink = "[[Category:Source code]]"
	oldwarning = ''

if gamename == "SLASH'EM":
	oldwarning = ''
	if uploadversion != latestversion:
		oldwarning = "'''Warning!''' This is the source code\
 from an old release. For the latest release, see [[SLASH'EM "\
+latestversion+" source code]].\n\n"
	slashwarning = "The latest source code for vanilla NetHack is \
at [[Source code]].\n\n"
else:
	slashwarning = ''

print >> g, wikilink
print >> g, "Below is the full text to '''" + srcfile + "''' from the "\
+ srccodelink + " of [[" \
+ gamename + ' ' + uploadversion + ']]. To link to a particular line, \
write [[' + wikilink + '#line123|[[' + wikilink + \
'#line123]]]], for example.\n'

print >> g, oldwarning + slashwarning

print >> g, "{{" + license + "}}"

for line in f.readlines():
	wikiline = (str(i) + '.').ljust(6)+line.rstrip("\n")
	if re.search("{{",line):
		wikiline = ''+wikiline+''
	print >> g, ' <span id="line' + str(i) + '">'+wikiline\
+'</span>'
       	i += 1

print >> g, catlink

--Jayt 18:39, 12 June 2006 (UTC)

Updated to output better wikicode. --Jayt 21:56, 13 June 2006 (UTC)

Updated to handle old source code files. --Jayt 11:51, 31 August 2006 (UTC)

Updated to handle SLASH'EM and files containing {{ --Jayt 19:03, 2 October 2006 (UTC)

Pages I'm following

Around Wikia's network

Random Wiki