Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Bing

Members: 0
Guests: 4
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Compass problems
Forum Rules | Mark all | Recent Posts

Compass problems
< Newer Topic :: Older Topic > having a little problem...

Pages:<< prev 1 next >>
Post is unread #1 Jul 10, 2004, 3:01 pm
Go to the top of the page
Go to the bottom of the page

Samryn

GroupMembers
Posts11
JoinedJul 10, 2004

Hi, I tried to install the compass but getting some problems with it. Im not a great coder at all, just a beginner really. so im just wondering if anyone can help me, i use Smaug 1.4a (not smaugFUSS). If someone can help me i would be forever greatful

Here is the errors im getting.

act_info.o(.text+0x2128): In function `print_compass':
/home/cursed/smaug/1.4a/dist/src/act_info.c:923: undefined reference to `IS_PLR_FLAG'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2


Thanks if you can help me.

Samryn
       
Post is unread #2 Jul 10, 2004, 3:53 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

In print_compass,

if( IS_IMMORTAL( ch ) && IS_PLR_FLAG( ch, PLR_ROOMVNUM ) )

should be:

if( IS_IMMORTAL( ch ) && xIS_SET( ch->act, PLR_ROOMVNUM ) )

That was a mistake on our part. IS_PLR_FLAG is a macro which doesn't exist outside of AFKMud usually. I've ammended the snippet to correct this.
       
Post is unread #3 Jul 10, 2004, 4:08 pm
Go to the top of the page
Go to the bottom of the page

Samryn

GroupMembers
Posts11
JoinedJul 10, 2004

Thanks Samson, worked after that. Thought it was going to be something like that after i read some of the others.

Thanks Again!!!
       
Post is unread #4 Jul 10, 2004, 5:00 pm
Go to the top of the page
Go to the bottom of the page

Samryn

GroupMembers
Posts11
JoinedJul 10, 2004

Hi, sorry to bother you's again. I checked it and realised that the immortal one isn't working for some reason.

if( IS_IMMORTAL( ch ) && xIS_SET( ch->act, PLR_ROOMVNUM ) )
ch_printf_color( ch, "&w-- ", ch->in_room->vnum );

Does anyone know why?

Sorry to bother you guys

       
Post is unread #5 Jul 10, 2004, 5:14 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Not working in what way?
       
Post is unread #6 Jul 11, 2004, 3:42 am
Go to the top of the page
Go to the bottom of the page

Samryn

GroupMembers
Posts11
JoinedJul 10, 2004

The vnum's are not showing, As i guess its supose to.

&w-- ",
^^^^^^^^^

any idea why?
Sorry to bother you again.

       
Post is unread #7 Jul 11, 2004, 6:25 am
Go to the top of the page
Go to the bottom of the page

Samryn

GroupMembers
Posts11
JoinedJul 10, 2004

hehe. Sorry, I looked at the code more closely this morning (as it was getting to 1am last night, and was abit tired ) and noticed that you had to be congif +vnum. Sorry Samson. thanks for the help tho forever greatful!

       
Pages:<< prev 1 next >>