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, Majestic-12, Yandex

Members: 0
Guests: 7
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 » Finger snippet help, please
Forum Rules | Mark all | Recent Posts

Finger snippet help, please
< Newer Topic :: Older Topic > crash crash crash

Pages:<< prev 1 next >>
Post is unread #1 Nov 18, 2004, 7:38 am
Go to the top of the page
Go to the bottom of the page

frobozz

GroupMembers
Posts8
JoinedNov 16, 2004

Hi!

Running SmaugFUSS:

I recently installed the finger snippet, cleanly, no bugs on compile for the most part except for:

finger.c: In function `do_finger':
finger.c:277: too few arguments to function `load_char_obj'
make[1]: *** [o/finger.o] Error 1
make: *** [all] Error 2

so I go to line 277 and remove it (it says to take out the FALSE in a comment by Samson, so I figure hey! He's the man right?)

make clean, make all... no more errors

So I go over to the mud side and make the commands, finger frobozz (me) and it looks nice..but then I finger someone not on... and it crashes, completely. I load them up, finger them... works great.. force them to quit.. finger.. crashes

Anyone know the solution to this?
       
Post is unread #2 Nov 18, 2004, 10:08 am
Go to the top of the page
Go to the bottom of the page

Gwareth

GroupMembers
Posts9
JoinedNov 17, 2004

What does your definition of load_char_obj() look like? Mine, for example, running AFKMud 1.63, appears as this:

bool load_char_obj( DESCRIPTOR_DATA *d, char *name, bool preload, bool copyover )


Might try putting that line back in and adding a 2nd FALSE to it.

- Gwareth
       
Post is unread #3 Nov 18, 2004, 6:16 pm
Go to the top of the page
Go to the bottom of the page

frobozz

GroupMembers
Posts8
JoinedNov 16, 2004

the second false was lacking in the snippet, maybe a comment in there for smaugFUSS?

It's a really great snippet, and smaugfuss is equally cool.

Thanks!
       
Post is unread #4 Nov 18, 2004, 8:34 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Or I could just add the second FALSE so the comment in the file now makes more sense
       
Pages:<< prev 1 next >>