Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Problem with Create Symbol
|
Problem with Create Symbol
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Toy
(206 posts) Bio
|
| Date
| Sat 25 May 2002 03:26 AM (UTC) |
| Message
| I just fixed the create spells so they are working right by adding the proper function code in magic.c and tossed them in tables.c and mud.h. I make cleaned it, and then maked it. this is what I got:
Magic.c : In function 'spell_create_symbol' :
magic.c:2399: 'OBJ_VNUM_SYMBOL' undeclared (first use in this function.)
ch_ret spell_create_symbol( int sn, int level, CHAR_DATA *ch, void *vo )
{
OBJ_DATA *symbol;
symbol = create_object( get_obj_index( OBJ_VNUM_SYMBOL ), 0 );
symbol->value[0] = 5 + level;
act( AT_MAGIC, "$p suddenly appears.", ch, symbol, NULL, TO_ROOM );
act( AT_MAGIC, "$p suddenly appears.", ch, symbol, NULL, TO_CHAR );
symbol = obj_to_room( symbol, ch->in_room );
return rNONE;
}
That's my Create Symbol code. Anyone know what I'm doing wrong?
-Alexander the Lost |
It's always good to know how far you are willing to go to be the best...
Karl Mancine
aka
Toy the Dark Puppet | | Top |
|
| Posted by
| AlaricX
(23 posts) Bio
|
| Date
| Reply #1 on Sat 25 May 2002 04:38 AM (UTC) |
| Message
| Ok... OBJ_VNUM_SYMBOL is not existant, if you have limbo.are item 43 is a holy symbol, maybe you could define in mud.h
#define OBJ_VNUM_SYMBOL 43
thats all i can say.. dont know.. i dont know how you're mutilating your codebase.. heh heh heh | | Top |
|
| Posted by
| Toy
(206 posts) Bio
|
| Date
| Reply #2 on Sat 25 May 2002 11:01 AM (UTC) |
| Message
| Cool!!!!
It worked like a charm. Thanks Alot AlaricX.
-Alexander the not so lost but getting there now. |
It's always good to know how far you are willing to go to be the best...
Karl Mancine
aka
Toy the Dark Puppet | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,486 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top