I’ve noticed the same issue. Errors are reported when using bit 32 and higher. To test this I used the 2020 release and added object affect flags and then created a new object using bits 4 (DET-ALIGN) and 32 (NEW31). The SYSERR for bit 35 doesn’t appear until bit 32 is added. Removing bit 4 will cause the bit 35 error to go away. Using more bits above 32 will result in additional errors.
Jun 10 11:27:36 2020 :: Loading objs and generating index.
Jun 10 11:27:36 2020 :: 4767 objs, 152544 bytes in index, 1144080 bytes in prototypes.
Jun 10 11:27:36 2020 :: SYSERR: Object #1250 (an unfinished object) has unknown object affect flag, bit 35 (0 through 34 known).
Jun 10 11:27:36 2020 :: SYSERR: Object #1250 (an unfinished object) has unknown object affect flag, bit 63 (0 through 34 known).
From the .obj file – Flags are correct.
#1250
unfinished object~
an unfinished object~
An unfinished object is lying here.~
~
0 0 0 0 0 a 0 0 0
dF 0 0 0
0 0 0 0
0 0 0 0 0
oedit 1250
-- Item number : [1250]
1) Keywords : unfinished object
2) S-Desc : an unfinished object
3) L-Desc :-
An unfinished object is lying here.
4) A-Desc :-
Not Set.
5) Type : UNDEFINED
6) Extra flags : NOBITS
7) Wear flags : TAKE
Weight : 0
9) Cost : 0
A) Cost/Day : 0
Timer : 0
C) Values : 0 0 0 0
D) Applies menu
E) Extra descriptions menu: Not Set.
M) Min Level : 0
P) Perm Affects:
DET-ALIGN NEW31
S) Script : Not Set.
W) Copy object
X) Delete object
Q) Quit
Enter choice :
Enter choice : p
1) BLIND 2) INVIS
3) DET-ALIGN 4) DET-INVIS
5) DET-MAGIC 6) SENSE-LIFE
7) WATWALK
SANCT
9) GROUP 10) CURSE
11) INFRA 12) POISON
13) PROT-EVIL 14) PROT-GOOD
15) SLEEP 16) NO_TRACK
17) FLY 18) SCUBA
19) SNEAK 20) HIDE
21) UNUSED 22) CHARM
23) NEW23 24) NEW24
25) NEW25 26) NEW26
27) NEW27 28) NEW28
29) NEW29 30) NEW30
31) NEW31 32) NEW32
33) NEW33 34) NEW34
Object permanent flags: DET-ALIGN
NEW31
Enter object perm flag (0 to quit) :
To test this the following changes were made.
From structs.h
#define AFF_HIDE 20 /**< Char is hidden */
#define AFF_FREE 21 /**< Room for future expansion */
#define AFF_CHARM 22 /**< Char is charmed */
#define AFF_NEW23 23
#define AFF_NEW24 24
#define AFF_NEW25 25
#define AFF_NEW26 26
#define AFF_NEW27 27
#define AFF_NEW28 28
#define AFF_NEW29 29
#define AFF_NEW30 30
#define AFF_NEW31 31
#define AFF_NEW32 32
#define AFF_NEW33 33
#define AFF_NEW34 34
/** Total number of affect flags not including the don't use flag. */
#define NUM_AFF_FLAGS
35
From contants.c - affected_bits
"HIDE",
"UNUSED",
"CHARM",
"NEW23",
"NEW24",
"NEW25",
"NEW26",
"NEW27",
"NEW28",
"NEW29",
"NEW30",
"NEW31",
"NEW32",
"NEW33",
"NEW34",
"\n"
};