<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;f=30" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Forum: SmaugFUSS</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;f=30</link>
  <description>The largest Smaug community resource site. - General support for issues specific to SmaugFUSS. Covers coding, building, development, administration, and bug reports.</description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Object Reader for SmaugFUSS Created for 1.9.9</title>
   <link>https://smaugmuds.afkmods.com/topic/object-reader-for-smaugfuss-created-for-199-5016/&amp;p=24406#p24406</link>
   <description>After finding an issue, I have updated the code to resolved it. [code]import os import csv import glob import re # --- EXACT AFFECT FLAGS FROM YOUR BUILD.C --- AFFECT_FLAGS = [ &amp;quot;blind&amp;quot;, &amp;quot;invisible&amp;quot;, &amp;quot;detect_evil&amp;quot;, &amp;quot;detect_invis&amp;quot;, &amp;quot;detect_magic&amp;quot;, &amp;quot;detect_hidden&amp;quot;, &amp;quot;hold&amp;quot;, &amp;quot;sanctuary&amp;quot;, &amp;quot;faerie_fire&amp;quot;, &amp;quot;infrared&amp;quot;, &amp;quot;curse&amp;quot;, &amp;quot;_flaming&amp;quot;, &amp;quot;poison&amp;quot;, &amp;quot;protect&amp;quot;, &amp;quot;_paralysis&amp;quot;, &amp;quot;sneak&amp;quot;, &amp;quot;hide&amp;quot;, &amp;quot;sleep&amp;quot;, &amp;quot;charm&amp;quot;, &amp;quot;flying&amp;quot;, &amp;quot;pass_door&amp;quot;, &amp;quot;floating&amp;quot;, &amp;quot;truesight&amp;quot;, &amp;quot;detect_traps&amp;quot;, </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/object-reader-for-smaugfuss-created-for-199-5016/&amp;p=24406#p24406</guid>
   <pubDate>Thu, 6 Aug 2026 06:33:56 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Angst)</author>
  </item>
  <item>
   <title>Object Reader for SmaugFUSS Created for 1.9.9</title>
   <link>https://smaugmuds.afkmods.com/topic/object-reader-for-smaugfuss-created-for-199-5016/&amp;p=24405#p24405</link>
   <description>I created a python area directory parser that when run from the area directory, scans every .are file, pulls the objects and exports them to a .csv file. It translates bitvectors into human readable names as well. save the into a .py file, run it, and open the .csv that&#039;s created., that&#039;s it. Find the stats on all the stuff! I ran it against the default of 1.9.9 and it worked fine. Usage may very. [code] import os import csv import glob import re # --- EXACT AFFECT FLAGS FROM YOUR BUIL</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/object-reader-for-smaugfuss-created-for-199-5016/&amp;p=24405#p24405</guid>
   <pubDate>Fri, 31 Jul 2026 18:40:16 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Angst)</author>
  </item>
  <item>
   <title>A Bash Startup Script</title>
   <link>https://smaugmuds.afkmods.com/topic/a-bash-startup-script-5012/&amp;p=24397#p24397</link>
   <description>I dont like tch, so here is a bash script, it also does some log management, keeping the last 3 logs only.  [code] #!/bin/bash # Set the port number (default 4000 or from first argument) port=4000 if [ -n &amp;quot;$1&amp;quot; ]; then port=&amp;quot;$1&amp;quot; fi # Change to area directory cd ../area || { echo &amp;quot;Failed to change directory to ../area&amp;quot;; exit 1; } # Set limits, needed in ubuntu to get core files, also need to give users permissions to /var/lib/systemd/coredump/ to write dumps to ulimit -c u</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/a-bash-startup-script-5012/&amp;p=24397#p24397</guid>
   <pubDate>Sat, 7 Feb 2026 15:49:50 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (eldhamud)</author>
  </item>
  <item>
   <title>mudstrlcpy and mudstrlcat</title>
   <link>https://smaugmuds.afkmods.com/topic/mudstrlcpy-and-mudstrlcat-5007/&amp;p=24357#p24357</link>
   <description>BTW, looking at some things a bit more closely, I think that str_dup should get the same treatment since it&#039;s literally duplicating the purpose of the standard C strdup function. strdup was apparently added to GlibC in the very early 2000&#039;s so it&#039;s definitely much more widespread as a result.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mudstrlcpy-and-mudstrlcat-5007/&amp;p=24357#p24357</guid>
   <pubDate>Sat, 18 Jan 2025 17:23:34 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>mudstrlcpy and mudstrlcat</title>
   <link>https://smaugmuds.afkmods.com/topic/mudstrlcpy-and-mudstrlcat-5007/&amp;p=24356#p24356</link>
   <description>Heh, the payoff was immediate upon compiling AFKMud. It located 2 improper uses where our homebrew functions failed to identify buffer overruns during the compile. I imagine it&#039;s likely to find similar in the rest of the bases.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mudstrlcpy-and-mudstrlcat-5007/&amp;p=24356#p24356</guid>
   <pubDate>Sat, 18 Jan 2025 16:53:59 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>mudstrlcpy and mudstrlcat</title>
   <link>https://smaugmuds.afkmods.com/topic/mudstrlcpy-and-mudstrlcat-5007/&amp;p=24355#p24355</link>
   <description>At some point in the past, a huge effort was expended to incorporate support for strlcpy and strlcat into all of the FUSS codebases (and AFKMud). Since these functions, at the time, were only available on OpenBSD systems, everyone else essentially had to hand roll their own versions. Which we did in the form of mudstrlcpy and mudstrlcat. Fast forward to the modern age and apparently the strlcpy and strlcat functions were formally accepted into GlibC 2.38 in 2023. This means anyone compiling o</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mudstrlcpy-and-mudstrlcat-5007/&amp;p=24355#p24355</guid>
   <pubDate>Sat, 18 Jan 2025 16:33:18 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>Array out of bounds  ?</title>
   <link>https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24350#p24350</link>
   <description>I agree but never know sometimes that might make one not complain lol depends on what its looking for :) It would have been cool if it liked &amp;lt;= 7 but is complaining about &amp;lt; 8.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24350#p24350</guid>
   <pubDate>Thu, 16 Jan 2025 04:48:58 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Array out of bounds  ?</title>
   <link>https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24349#p24349</link>
   <description>&amp;lt;=7 would be functionally equal to &amp;lt; 8 in this case.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24349#p24349</guid>
   <pubDate>Thu, 16 Jan 2025 00:44:42 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>Array out of bounds  ?</title>
   <link>https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24348#p24348</link>
   <description>it doesn&#039;t look bad but would it be happier if you did &amp;lt;= 7?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24348#p24348</guid>
   <pubDate>Wed, 15 Jan 2025 19:01:45 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Array out of bounds  ?</title>
   <link>https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24346#p24346</link>
   <description>I ran a static analysis recently with cppcheck and it picked this up as an out of bound array access in the first set of for loops here. Specifically with board-&amp;gt;board[x][y] = 0; I can&#039;t figure out why that would be the case. The compiler doesn&#039;t flag it, and it doesn&#039;t set off the sanitization code either. [code]static void init_board( GAME_BOARD_DATA * board ) { int x, y; for( x = 0; x &amp;lt; 8; x++ ) for( y = 0; y &amp;lt; 8; y++ ) board-&amp;gt;board[x][y] = 0; board-&amp;gt;bo</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/array-out-of-bounds---5005/&amp;p=24346#p24346</guid>
   <pubDate>Tue, 14 Jan 2025 22:00:44 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
