/
rogue24b3/
rogue24b3/data/
Rogue FAQ Release 2.4

=== Objects

Rogue objects after version 2.2 have an extra string called
note_descr which is used for type ITEM_NOTE. It is saved right
under the long description and just above the material.

#1
coin silver gcash~
a silver coin~
One miserable silver coin.~
(no note description)~		<- this is the field
silver~
#$

When an item is a note and you look at it you will see the note_descr.
This replaces annoying note EDs that do NOT have multiple keywords.
To port ROM objects to Rogue you must add the extra field manually or
if you are comfortable with coding you can do it the easy way ;P

Go into db.c and search for "note_descr", find the lines that have
fread_string(fp) and /* comment */ them out. Look in db2.c as well
and make sure it's not trying to read a non-existant string ;)
Save, compile, and boot up the mud. Now you can do one of two things.
If you have a bunch of areas to convert do an asave world. But be careful
not to overwrite existing Rogue objects. If you have no notes created then
don't worry with it. Otherwise just asave <area vnum> and shutdown.
Go back into db and db2.c uncomment those lines, then make and startup.
See also: Mobiles because they are changed too.


=== Mobiles

Sometime some time ago I added secondary affects. AFF2_FLAGS.
If you do not put these flag(s) in then you cannot read the mobile.

#1
immortal secretary~
the immortal secretary~
The immortal's secretary is here, wearing a very short skirt.~
You see a cute elven secretary.~
elf~
ABJKPabc J 0 0 0		<- the first zero there is AFF2
101 0 10d10+100 0d0+0 0d0+0 claw
1 1 1 1

Either add another zero to the end of the string of every mobile you
want to convert, or see the object FAQ above on how to use the DB in your
favor. In this case you will be looking for affected2_by in db and db2.c
You want to remove all the calls that have "fread_flag".