Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Development
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, Sogou

Members: 0
Guests: 19
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,397
632
ClarenceKe
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » run snippet
Forum Rules | Mark all | Recent Posts

run snippet
< Newer Topic :: Older Topic > help

Pages:<< prev 1 next >>
Post is unread #1 Jan 10, 2004, 6:20 am
Go to the top of the page
Go to the bottom of the page

Dasickone

GroupMembers
Posts29
JoinedDec 23, 2003

act_move.c: In function `do_climb':
act_move.c:2221: `running' undeclared (first use in this function)
act_move.c:2221: (Each undeclared identifier is reported only once
act_move.c:2221: for each function it appears in.)
act_move.c: In function `do_enter':
act_move.c:2252: `running' undeclared (first use in this function)
act_move.c: In function `do_leave':
act_move.c:2291: `running' undeclared (first use in this function)
act_move.c: In function `pullcheck':
act_move.c:2461: too few arguments to function `move_char'
act_move.c:2619: too few arguments to function `move_char'
act_move.c:2915:2: warning: no newline at end of file

what can i do to fix this?
       
Post is unread #2 Jan 10, 2004, 9:35 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,644
JoinedJan 1, 2002

You have to make sure the arguments are all in order.

move-char needs the "running" variable in the parameter list, declared as a bool.

The rest of the functions that are complaining need either a TRUE or FALSE added to them to tell move_char whether or not the person is actually running, which of course should not be the case if they didn't use the run command. Hence, it should be fairly obvious what needs to go where.
       
Post is unread #3 Jan 11, 2004, 6:34 pm
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

what can i do to fix this?


After seeing your numerous posts... I suggest paying for a full course in C/C++ Programming in a Linux/Unix environment..

Or...

buy a book... and read it too...

-- X
       
Post is unread #4 Jan 20, 2004, 11:23 am
Go to the top of the page
Go to the bottom of the page

Dasickone

GroupMembers
Posts29
JoinedDec 23, 2003

or... not
       
Pages:<< prev 1 next >>