Friday, March 30, 2001
Thursday, March 29, 2001
$8 = (struct PathItem *) 0x804a9a8
(gdb) print list_node->next
$9 = (struct PathItem *) 0x804a9f0
(gdb) print list_node->next->next
$10 = (struct PathItem *) 0x804a9c0
(gdb) print list_node->next->next->next
$11 = (struct PathItem *) 0x804a9c0
(gdb) print list_node->prev->prev->prev
$12 = (struct PathItem *) 0x804a9a8
(gdb) print list_node->prev->prev->prev->next
$13 = (struct PathItem *) 0x804a9d8
(gdb) print list_node->prev->prev->prev->next->next
$14 = (struct PathItem *) 0x804a9f0
(gdb) print list_node->prev->prev->prev->next->next->next
$15 = (struct PathItem *) 0x804a9c0
(gdb) print list_node->prev->prev->prev->next->next->next->next
$16 = (struct PathItem *) 0x804a9c0
(gdb) print list_node->prev->prev->prev->prev
$17 = (struct PathItem *) 0x804a9a8
(gdb) print list_node->prev->prev->prev->prev->prev
$18 = (struct PathItem *) 0x804a9a8
(gdb) print list_node->prev->prev->prev->prev->prev->next
$19 = (struct PathItem *) 0x804a9d8
(gdb) print list_node->prev->prev->prev->prev->prev->next->next
$20 = (struct PathItem *) 0x804a9f0
(gdb) print list_node->prev->prev->prev->prev->prev->next->next->next
$21 = (struct PathItem *) 0x804a9c0
(gdb) print list_node->prev->prev->prev->prev->indx
$22 = -1
(gdb) print list_node->prev->prev->prev->prev->next->indx
$23 = 2
(gdb) print list_node->prev->prev->prev->prev->next->next->indx
$24 = 7
(gdb) print list_node->prev->prev->prev->prev->next->next->next->indx
$25 = -1
Tuesday, March 27, 2001
Friday, March 23, 2001
Thursday, March 22, 2001
// Iterate through this list until all clones are in paths
in_paths = contigs[ctgnum]->num_show;
while ((i < tot) && (in_paths > 0)) {
// Look at both clones
inlist1 = check_inlist(bl[i]->indx1,&c);
inlist2 = check_inlist(bl[i]->indx2,&c);
if (inlist1)
endlist1 = check_endlist(bl[i]->indx1,&c);
if (inlist2)
endlist2 = check_endlist(bl[i]->indx2,&c);
// If both clones are already in the middle of lists
// - yay! do next one
if ((inlist1 && inlist2) && ((!endlist1) && (!endlist2)))
continue;
// If neither clone is in a list
// - make a new list out of these two
if ((!inlist1) && (!inlist2)) {
}
// If one of the clones is the end of a list
// - Add other clone to the end of this list
// Do for indx1
if ((!inlist1) && (endlist2)) {
}
// Do for indx2
if ((!inlist2) && (endlist1)) {
}
// If one of the clones isn't in a list, and other is internal in a list
// - add these clones to appropriate PathItem->link
// Do for indx1
if ((!inlist1) && ((inlist2) && (!endlist2))) {
}
// Do for indx2
if ((!inlist2) && ((inlist1) && (!endlist1))) {
}
}
Wednesday, March 21, 2001
Tuesday, March 20, 2001
Saturday, March 17, 2001
Thursday, March 15, 2001
Shiva level in Nethack
A portal is generated at around level 10-15 that takes you to the Shiva level. There are 4 levels,
3 are big rooms, but completely filled with really nasty monsters that don't leave any items. First level is elementals, second is golems, third is demons. Here's the trick, if you have been a pacifist, all these monsters will instead be figurines of these monsters. The fourth level is empty, except for a throne in the middle of the room. Around the throne are an amulet of life saving, a bag of holding,and two blessed figurines of a Archons, Ida and Pingala.
If you have been a pacifist, Shiva is seated in the middle of the room in meditation, and will give you the "Mantle of Shiva", which you can wear for huge AC, protection from fire, cold, level
drain and shocking. You can apply it in a direction and all monsters in that direction will be
turned into figurines. You can invoke it, when invoked it summons another high level pet.




