Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
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, Bing, DotBot, Google

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
621
KellieBusb
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

Ian

GroupMembers
Posts3
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 .

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

Samson
Black Hand
GroupAdministrators
Posts3,643
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 >>