<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4753" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: WEAR locations in smaugfuss based codebases</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4753</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23332#p23332</link>
   <description>Hi, Since I asked here how to add new wear locations in smaugfuss, I&#039;ve managed to expand the list of locations, but I have a problem. There is only a location wich I&#039;m not able to use well. Is te wear_hold location. I tried to use like others, without the argument &amp;quot;hold&amp;quot; when I write wear &amp;lt;object&amp;gt; but It always tells me that I can&#039;t wear, wield or hold it. I&#039;ve tried everything that I thing that not allows to holding items without results. Anybody can help me? Thanks so </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23332#p23332</guid>
   <pubDate>Thu, 10 Oct 2013 06:40:07 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (antram)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23294#p23294</link>
   <description>well looks like in lop i switched most from using an int to EXT_BV only the object values still use IS_SET etc... and area status. I might consider it one of these days though just for the ease of things lol. Well I guess it all uses the bits though since EXT_BV does the same just with more ints haha. Might see just how hard it is to switch all the EXT_BV over to bools now though haha</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23294#p23294</guid>
   <pubDate>Fri, 4 Oct 2013 20:47:56 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23278#p23278</link>
   <description>If you&#039;re willing to do the work, it&#039;s best to make every field its own value (boolean or not).  Not only does that make the code easier to read, it also makes it trivial to export your data to a serializer like JSON, or to an SQL database schema where the schema is actually useful. Consider, if you have a database schema where ROOM_DARK is a boolean, and SECT_TYPE is an integer that&#039;s a foreign key to a table that holds all the sector types (an enum, in code), you can do a query like SELECT </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23278#p23278</guid>
   <pubDate>Wed, 2 Oct 2013 23:09:00 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Quixadhal)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23277#p23277</link>
   <description>Haha I&#039;ve done it before. I even once did them all as their own bool but later decided doing the EXT_BV was the best choice lol. It can be a bit of a pain depending on what you are changing from an int to an EXT_BV or even to a bool list.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23277#p23277</guid>
   <pubDate>Wed, 2 Oct 2013 20:24:30 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23256#p23256</link>
   <description>The problem with bitvectors, is that they were designed to solve a problem that no longer exists.  Back in 1988, the typical MUD would be lucky to have access to a machine with 8M of RAM, and so trying to compress everything as tightly as possible was important. Thus, you&#039;ll find lots of code that does stuff like: if( x-&amp;gt;bitthing &amp;amp; BIT_FOO | BIT_BAR | BIT_ACK ) do_stuff(); Now, you can easily change your structures to use extended bit vectors, or better yet, just stop using those antiqu</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23256#p23256</guid>
   <pubDate>Mon, 30 Sep 2013 13:26:13 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Quixadhal)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23255#p23255</link>
   <description>Hi, Thanks for answering but I made sure good. Has any other suggestions? thanks again. I founded a snippet wich explains how to convert bitvectors in extended bitvectors, but is for channels. I&#039;m not sure if I have to follow the same instructions with ITEM_WEAR_HEAD and the other items in mud.h. I had seen that extended bitvectors are better than bitvectors because it allows you to enlarge the list of an item like I want. also I see that most things uses this system. why nobody has </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23255#p23255</guid>
   <pubDate>Mon, 30 Sep 2013 12:57:51 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (antram)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23253#p23253</link>
   <description>  Make sure everything stays on same order in all files.  </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23253#p23253</guid>
   <pubDate>Mon, 30 Sep 2013 08:39:41 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Guest)</author>
  </item>
  <item>
   <title>WEAR locations in smaugfuss based codebases</title>
   <link>https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23252#p23252</link>
   <description>Hi guys, I would like to ask you something about smaugfuss codebases. If someone knows the answer and can explain me, I appreciate it. I am trying to add new wear locations in a smaugfuss based codebase but I am having some troubles. I founded a snippet wich explains how to do it and I followed all the instructions on it but when I show the items with equip command, it doesn&#039;t show well. for example, when i put a head wear flag, it shows me on finger, and something like that. I</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/wear-locations-in-smaugfuss-based-codebases-4753/&amp;p=23252#p23252</guid>
   <pubDate>Mon, 30 Sep 2013 00:20:24 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (antram)</author>
  </item>
 </channel>
</rss>
