The Cathedral of Attnam

Iter Vehemens ad Necem (IVAN)
Login
Username
Password


 Valid CSS  Valid HTML 4.01 Strict

Bugfix for LIVAN: GC5 to GC4 stairs

The Cathedral of Attnam  >  Trouble Shooting and Bugs
Print

View profile
Send message
Find posts Find topics
 
Oct 16, 2010 at 4:30 am #1  !
Warheck's Avatar
Warheck
kobold lord


Joined: Sep 9, 2010
Occupation: Petty Functionary
Location: Eating pea soup in the world map
Interests: Mangoes
Posts: 118
Groups:
Bugfix for LIVAN: GC5 to GC4 stairs
Ok I don't know if anyone has fixed this yet, but I have a solution to this known non-crashing bug for LIVAN:

Quote


Going from 5th to 4th floor will send you to the stairs that lead to Kharaz-Arad. I don't know how to fix that.



Although it is quite easy to fix, it is not obvious at first. Fixing it requires only an edit of the script files. The two changes I have made are in bold green-flesh colour in the code below.

In dungeon.dat

Code


Dungeon ELPURI_CAVE;
{
...
Level 3;
{
...
Square, Pos 3,2;
{
OTerrain = stairs(STAIRS_DOWN) { AttachedArea = KHARAZ_ARAD; }
EntryIndex = STAIRS_DOWN + 1;
}
...
}
...
}



and scrolling down a little way, again in dungeon.dat:


Code


Dungeon ELPURI_CAVE;
{
...
Level KHARAZ_ARAD;
{
...
Room
{
Size = 7,6;
...
Square, Pos 3,2;
{
OTerrain = stairs(STAIRS_UP) { AttachedArea = 3; AttachedEntry = STAIRS_DOWN + 1; }
EntryIndex = STAIRS_UP;
}
...
}
...
}
...
}



It ensures that if the player takes the staircase-up on GC5, he arrives at the staircase-down on GC4, instead of the staircase-down leading to Karaz Arad.
 
 
 Print


The Cathedral of Attnam  >  Trouble Shooting and Bugs  >  Bugfix for LIVAN: GC5 to GC4 stairs

Jump to