Original_READ_ME revision 1.1
11.1ScgdThis is export hack, my first semester programming project. 21.1Scgd 31.1ScgdTo set it up for your system, you will have to do the following: 41.1Scgd 1: create a hack uid, to own the top ten list, etc. 51.1Scgd 2: create a hack directory "/usr/lib/game/hack" is the default. 61.1Scgd 2.5: make the directory 700 mode. /* sav files go in there...*/ 71.1Scgd 3: modify hack.main.c to use the new directory. 81.1Scgd 4: modify hack.main.c so it uses the new hack gid. Gid accounts can 91.1Scgdgo into magic mode without the password, can get cores with ^G, etc. 101.1Scgd(make sure gid isn't checked anywhere else...) 111.1Scgd 5: recompile hack. 121.1Scgd 6: put it in games after making it set-uid hack. 131.1Scgd 8: fix the bugs I undobtedly left in it. 141.1Scgd 9: tell me what you think of it. 151.1Scgd 161.1Scgd Hack uses the UCB file /etc/termcap to get your terminal escape codes. 171.1ScgdIf you don't use it, you will have to make extensive changes to hack.pri.c 181.1Scgd 191.1ScgdIf you find any bugs (That you think I don't know about), or have any 201.1Scgdawesome new changes (Like a better save (One that works!)), or have ANY 211.1Scgdquestions, write me 221.1Scgd Jay Fenlason 231.1Scgd 29 East St. 241.1Scgd Sudbury Mass. 251.1Scgd 01776 261.1Scgd 271.1Scgdor call me at (617) 443-5036. Since I have both a modem and a teen-age 281.1Scgdsister, Good Luck. 291.1Scgd 301.1Scgd 311.1ScgdHack is split (roughly) into several source files that do different things. 321.1ScgdI have tried to fit all the procedures having to do with a certain segment 331.1Scgdof the game into a single file, but the job is not the best in the world. 341.1ScgdThe rough splits are: 351.1Scgd 361.1Scgdhack.c General random stuff and things I never got around to moving. 371.1Scgdhack.main.c main() and other random procedures, also the lock file stuff. 381.1Scgdhack.mon.c Monsters, moving, attacking, etc. 391.1Scgdhack.do.c drink, eat, read, wield, save, etc. 401.1Scgdhack.do1.c zap, wear, remove, etc... 411.1Scgdhack.pri.c stuff having to do with the screen, most of the terminal 421.1Scgd independant stuff is in here. 431.1Scgdhack.lev.c temp files and calling of mklev. 441.1Scgd 451.1ScgdBecause of the peculiar restraints on our system, I make mklev (create 461.1Scgda level) a separate procedure execd by hack when needed. The source for 471.1Scgdmklev is (Naturaly) mklev.c. You may want to put mklev back into hack. 481.1ScgdGood luck. 491.1Scgd 501.1ScgdMost of hack was written by me, with help from 511.1Scgd Kenny Woodland (KW) (general random things including 521.1Scgd the original BUZZ()) 531.1Scgd Mike Thome (MT) (The original chamelian) 541.1Scgd and Jon Payne (JP) (The original lock file kludge and 551.1Scgd the massive CURS()) 561.1Scgd 571.1ScgdThis entire program would not have been possible without the SFSU Logo 581.1ScgdWorkshop. I am eternally grateful to all of our students (Especially K.L.), 591.1Scgdwithout whom I would never have seen Rogue. I am especially grateful to 601.1ScgdMike Clancy, without whose generous help I would never have gotten to play 611.1ScgdROGUE. 62