Register forum user name Search FAQ

Gammon Forum

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 ➜ Bout them invasions....

Bout them invasions....

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #15 on Tue 19 Jul 2005 08:25 PM (UTC)
Message
Did you remember to define those gsns in mud.h? Or you may have forgot an include.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #16 on Tue 19 Jul 2005 08:34 PM (UTC)
Message
It's not a declaration error, it's that the symbols were indeed declared somewhere (as externs) but no memory is allocated for them anywhere.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #17 on Tue 19 Jul 2005 08:36 PM (UTC)
Message
Yeah just realized it after I posted but didn't get a chance to edit it since I'm at work.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Longbow   (102 posts)  Bio
Date Reply #18 on Wed 20 Jul 2005 02:51 PM (UTC)
Message
So what should I do? I still haven't got it to work?


Godbless,
Longbow
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #19 on Wed 20 Jul 2005 04:42 PM (UTC)
Message
Make sure all .c files you want are on the makefile list.

Make sure that you've actually defined the symbols, e.g. you need to add the GSNs to the list in db.c.

What it's telling you is that you've told it a symbol exists (in a .h file) but you've not told it where the memory for that symbol exists (in a .c file.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Longbow   (102 posts)  Bio
Date Reply #20 on Wed 20 Jul 2005 10:13 PM (UTC)

Amended on Wed 20 Jul 2005 10:24 PM (UTC) by Longbow

Message
Hrrrmmm, I removed the do_dye skill and function because I couldn't get it fixed, but I made a seperate .c file for the do_tailor function and it works now. I still don't know how that happened but oh well, I'll keep looking into it. Perhaps if I do the same to the do_dye function it'll work.

In the meantime, I put in do_tailor and the skill works fine, but for some reason it refuses to accept the objtype ITEM_SEWKIT, which is required for the skill, as a valid skill. I put in entries in db.c, act_obj.c, and mud.h, and it still don't show as a working itemtype. Did I miss an entry somewhere? I've never put in a new type before.

Thanks and Godbless,
Longbow

I went and added a .c file for the do_dye. it fixed the problem. Now does anyone know what I need to do to make the item types work?
Top

Posted by Longbow   (102 posts)  Bio
Date Reply #21 on Fri 05 Aug 2005 10:10 PM (UTC)
Message
Howdy folks, I'm back after a long break. Would somebody please tell me how to put in a new object type? I've grepped and grepped on other types and I thought I had all the places required put in, but I guess not. Would somebody give me a list of where I need to put in the new type?


Thanks and Godbless,
Longbow



You know, I could have made this a whole new subject, but why not use this old one? :D
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.


67,717 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.