Odd problem:
I know the script runs for new characters (my debug message "balls!" triggers 4 times as it cycles through my object array) AND I see this weirdness when looking at new character Xexex...
Code:
>
where rope
O 1. a length of rope - carried by Xexex
>
l xexex
You see nothing special about him.
Xexex is in excellent condition.
You attempt to peek at his inventory:
Nothing.
rope is object vnum 150.
I call do_newbie in do_start in class.c --- I've gotten the same result calling it in interpreter.c as well. Using this simple function...
Code:
void do_newbie(struct char_data *vict)
{
struct obj_data *obj;
int obj_array[] = {150, 105, 108, 109, -1};
int i;
for (i = 0; obj_array[i] != -1; i++) {
obj = read_object(obj_array[i], VIRTUAL);
obj_to_char(obj, vict);
send_to_char(vict, "balls!");
}
}
What can I do to make xexex's inventory visible to him?
in his player object file it's blank. So I'm guessing I'm not saving?
Code:
..../lib/plrobjs/U-Z>cat xexex.objs
2 1745027806 0 134 0 0
$~
EDIT: calling do_newbie in class.c or just after roll_real_abilities in interperter (I now have a re-roll function in a new character so this sits at the end of CON_QROLLSTATS for me)... doesn't matter. I get balls! in the appropriate places (ha) but the same problem - when my imp character where's the object it says it's in the new character's inventory but when looking at the new character or even 'inventory' from the new character nothing is there.
did a comparison and my obj_to_char is up to date as well so that's not it...