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, Yandex, Yahoo!, DotBot

Members: 0
Guests: 15
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 » 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,639
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 >>