Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot, Yahoo!

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Overland Compile Problem
Forum Rules | Mark all | Recent Posts

Overland Compile Problem
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Sep 29, 2009, 12:14 am
Go to the top of the page
Go to the bottom of the page

Lares
Fledgling
GroupMembers
Posts13
JoinedSep 29, 2009

I'm sorry to bother you all with this, but I'm not the best programmer and I'm just looking for help finish my overland install...

I'm getting an error when I compile smaugFUSS1.9 after installing overland...

------------ compile problems -------------
act_wiz.c: In function âvoid do_at(CHAR_DATA*, char*)â:
act_wiz.c:1473: error: no match for âoperator&â in âoriginal->room_index_data::room_flags & ROOM_MAPâ
act_wiz.c:1475: error: no match for âoperator&â in âoriginal->room_index_data::room_flags & ROOM_MAPâ
act_wiz.c: In function âvoid do_scatter(CHAR_DATA*, const char*)â:
act_wiz.c:4031: error: âoriginalâ was not declared in this scope
act_wiz.c:4033: error: âlocationâ was not declared in this scope

------------ Code with problems -----------
1473 - 1475

if( IS_PLR_FLAG( ch, PLR_ONMAP ) && IS_ROOM_FLAG( original, ROOM_MAP ) )
REMOVE_PLR_FLAG( ch, PLR_ONMAP );
else if( !IS_PLR_FLAG( ch, PLR_ONMAP ) && IS_ROOM_FLAG( original, ROOM_MAP ) )
SET_PLR_FLAG( ch, PLR_ONMAP );

4031 - 4033

original = victim->in_room;

leave_map( victim, ch, location );


Maybe I missed a { or } somewhere...but can anyone help me?

-Lares
       
Post is unread #2 Sep 29, 2009, 10:45 am
Go to the top of the page
Go to the bottom of the page

Lares
Fledgling
GroupMembers
Posts13
JoinedSep 29, 2009

Figured this out, guess sometimes you just need to take a step back and reassess.

In case anyone else has this problem, I just changed IS_ROOM_FLAG( original, ROOM_MAP )

to

xIS_SET(original->room_flags, ROOM_MAP)

Compiled fine, hope it works alright in the end.

       
Pages:<< prev 1 next >>