Teleport Objects Log: [*****] BUG: teleport: bad room vnum -12957

Posted by Robert Powell on Mon 13 Jun 2005 07:53 AM — 2 posts, 12,186 views.

Australia #0
I get this bug message on lever objects that are trying to teleport to vnums over the 32000 range. I have looked and looked and cannot for the life of me find any hard coded value as my max_vnum is set to 65000. Anyone have any idea where i can look, or a solution to this.

Thanks in advance.
Australia #1
Well seems i found it already,
void teleport args( ( CHAR_DATA *ch, sh_int room, int flags ) );

Some things have the simplest fixes, change sh_int to int so that the room doesnt break the bounds of the short. Im getting better LOL