[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Extended Bit Vectors, room_flags
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Extended Bit Vectors, room_flags

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

Posted by Atami   (2 posts)  [Biography] bio
Date Sat 23 Jul 2005 10:57 PM (UTC)
Ok, im converting the room_flags to extended bit vectors but i have come across some issues.

In do_rset() in the if check which deals with adding flags to the room, the line:

location->room_flags = value;

I do not know how to make 'value' compatible with the new EXT_BV room_flags. I've tried:

meb(&location->room_flags) = value;

But this gives an integer from pointer without a cast...

Any ideas..?
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #1 on Sat 23 Jul 2005 11:14 PM (UTC)

Amended on Sun 24 Jul 2005 01:28 AM (UTC) by Nick Cash

Umm, why are you using rset? You should be using redit. You could probably just delete rset.

~Nick Cash
[Go to top] top

Posted by Atami   (2 posts)  [Biography] bio
Date Reply #2 on Sun 24 Jul 2005 06:18 PM (UTC)
Good question why am i using this!!?? Thanks i totally didnt notice. It now compiles and works completely. Now for the rest of them...

Thanks, lol
[Go to top] 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.


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]