User Name:


Forgot your password?
Vote for Us!
Nov 28, 2018, 10:10 am
By Keirath
First Immortal
Oct 12, 2018, 12:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018, 5:31 pm
By joeyfogas
question on overland code
May 31, 2018, 10:03 am
By joeyfogas
KaVir's Protocol Snip
May 15, 2018, 7:57 pm
By joeyfogas
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, DotBot, Bing

Members: 0
Guests: 18
Newest Member
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Overland error with bv32
Forum Rules | Mark all | Recent Posts

Overland error with bv32
< Newer Topic :: Older Topic > Error with the room flags bv32 room

Pages:<< prev 1 next >>
Post is unread #1 Jan 27, 2003, 9:06 pm
Go to the top of the page
Go to the bottom of the page


JoinedJan 27, 2003

Hi, I have been "coding" my own mud for a little while, and when I say "coding" I just mean adding in snippets, and I can usually fix something if it goes wrong.

With the Overland snippet all is going well, I am changing the calls i need to, but in act_wiz.c, but I run into a problem with the room flag ROOM_MAP. The compiling error says that BV32 is undeclared and is the first use in function.

I looked at your mud.h file in the AFK distribution and its totally edited and I can't make sense of it. I was wondering if perhaps anyone else has had this problem and if so if they could please please help me .

Post is unread #2 Jan 28, 2003, 5:01 pm
Go to the top of the page
Go to the bottom of the page

Black Hand
JoinedJan 1, 2002

BV32 isn't a valid bitvector value for one thing.

Sounds like you've run out of room flags. Stock Smaug code only has 2 open ones at BV28 and BV29, if you've already used those up and can't get rid of one of the others, you have little choice but to convert your room flags into the EXT_BV variety. This will involve going through your code and changing ALL of the references to room flags to use the xIS_SET, xSET_BIT, xREMOVE_BIT etc macros. The overland code will be the easy part since it uses the IS_ROOM_FLAG macro ( which you can convert to your own use for this btw ).
Pages:<< prev 1 next >>