After adding a new set of rooms flags I've been having some loading problems when I use hotboot/reboot.
In 'load_rooms'
More below...
At first "pRoomIndex->room_flags2 = x4;" was x7, it would save, but it wouldn't load so I switched it with tunnel, so now room_flags2 load/save but tunnel load doesn't. I've looked at the area files and it does save pRoomIndex->tunnel
Here's what I've been doing:
Build: Anavel: redit tunnel 5
Done.
rstat
Vnum: 10300 Sector: 0 (Inside) Light: 0 Tunnel: 5
Room flags: nomob indoors teleshowdesc
Room flags2:
Area file:
incase you get below
20% of your health. To the north is a low level mob for you to kill and gain some XP.
~
0 1048588 0 0 1 5 0
D0
Exit description
I found Zeno's thread about his similiar problem, but it didn't help me. Any other help?
In 'load_rooms'
int x1, x2, x3, x4, x5, x6, x7;More below...
ln = fread_line( fp );
x1=x2=x3=x4=x5=x6=x7=0;
sscanf( ln, "%d %d %d %d %d %d %d",
&x1, &x2, &x3, &x4, &x5, &x6, &x7 );
pRoomIndex->room_flags = x2;
pRoomIndex->sector_type = x3;
pRoomIndex->room_flags2 = x4;
pRoomIndex->tele_delay = x5;
pRoomIndex->tele_vnum = x6;
pRoomIndex->tunnel = x7;
At first "pRoomIndex->room_flags2 = x4;" was x7, it would save, but it wouldn't load so I switched it with tunnel, so now room_flags2 load/save but tunnel load doesn't. I've looked at the area files and it does save pRoomIndex->tunnel
Here's what I've been doing:
Build: Anavel: redit tunnel 5
Done.
rstat
Vnum: 10300 Sector: 0 (Inside) Light: 0 Tunnel: 5
Room flags: nomob indoors teleshowdesc
Room flags2:
Area file:
incase you get below
20% of your health. To the north is a low level mob for you to kill and gain some XP.
~
0 1048588 0 0 1 5 0
D0
Exit description
I found Zeno's thread about his similiar problem, but it didn't help me. Any other help?