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
➜ Extended Bitvectors
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Colton
(44 posts) Bio
|
| Date
| Wed 03 May 2006 09:34 PM (UTC) |
| Message
| The codebase I was using didn't come with the extended bitvector stuff included so I went and added it all and it seemed to work well. I decided to use languages to test it and these were the errors I recieved:
Quote:
act_comm.c: In function `knows_language':
act_comm.c:2457: error: request for member `bits' in something not a structure o
r union
act_comm.c:2461: error: request for member `bits' in something not a structure o
r union
act_comm.c:2462: error: request for member `bits' in something not a structure o
r union
act_comm.c: In function `do_languages':
act_comm.c:2663: error: request for member `bits' in something not a structure o
r union
make[1]: *** [o/act_comm.o] Error 1
make: *** [all] Error 2
I went through mud.h to double check everything was in the correct spot, I had the struct with the other structs, the struct was defined. And I had all the xIS_SET and other functions along those lines as well as the ext_is_empty et cetera. I added all of these functions to misc.c as shown in stock smaug but the I couldn't get the errors to go away. Also, bits is in the structure... (was the first thing I thought of when I saw the error)... and yes I did change all of the IS_SET to xIS_SET et cetera for languages. Thanks, Colton. | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Wed 03 May 2006 09:43 PM (UTC) |
| Message
| Why languages as a test?
Here's a tutorial:
http://www.auricmud.com/snippets/roomflags.html |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Colton
(44 posts) Bio
|
| Date
| Reply #2 on Wed 03 May 2006 09:49 PM (UTC) |
| Message
| | I wasn't thinking so much that I redid languages incorrectly but that I may have not compleatly added the extended bitvector code properly, I'll try tutorial and see if I still recive errors on that one. | | Top |
|
| Posted by
| Colton
(44 posts) Bio
|
| Date
| Reply #3 on Thu 04 May 2006 12:50 AM (UTC) |
| Message
| | It seems to work fine this way so I soupose I am overlooking something... -however- in reset.c there is the line (int) plc = &pRoomIndex->room_flags; and I'm not quite sure what this should be in order to make it work properly. | | Top |
|
| Posted by
| Colton
(44 posts) Bio
|
| Date
| Reply #4 on Thu 04 May 2006 01:06 AM (UTC) |
| Message
| | Nevermind, solved this problem. | | 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.
15,954 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top