<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=4604" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Account management for pfiles: Suggestions?</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4604</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22146#p22146</link>
   <description>Hmmmm, Ok how about something like this: [code] for ( d = first_descriptor; d; d = d-&amp;gt;next ) if (!str_cmp( ch-&amp;gt;desc-&amp;gt;account-&amp;gt;name, d-&amp;gt;account-&amp;gt;name)) d-&amp;gt;account-&amp;gt;points += value; [/code] And looping though every connected descriptor and setting them all at once. This way every descriptor connected has the same value. Granted this would need to be put in for everything that would read/write the points line, but it *should* work.. . </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22146#p22146</guid>
   <pubDate>Thu, 27 Oct 2011 02:01:14 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22142#p22142</link>
   <description>Ok, well now I&#039;m fully stumped. I&#039;m trying to allow multi-playing though the account system so that each player tied to the account shares RPP. Here&#039;s my current situation: Two players connect using the same account &#039;test&#039;, players are called player1 and player2 to help me explain. I reward player1 10 rpp. Player1 types &#039;account&#039; to display account info and they see 10 rpp listed. Player2 types &#039;account&#039; and they show 0 rpp. I look at the physical account file, the account file saved to disk sho</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22142#p22142</guid>
   <pubDate>Wed, 26 Oct 2011 17:40:58 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22133#p22133</link>
   <description>Naa, I know why the descriptor is invalid because its set to NULL in the code from do_loadup. Nothing is actually open and pointing to &#039;d&#039;. I was originally thinking that I wanted to see if I could fake the descriptor to something just so I could write to the account file directly. However, I&#039;ve come up with a better(?) solution. Since I didn&#039;t remove the rppoints from CHAR_DATA, why not use it? It seems so obvious, I don&#039;t know why I didn&#039;t think of it at first. Basically tossed in a check </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22133#p22133</guid>
   <pubDate>Mon, 24 Oct 2011 01:42:09 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22132#p22132</link>
   <description>You are going to need to run gdb. </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22132#p22132</guid>
   <pubDate>Mon, 24 Oct 2011 01:12:09 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (dbna2)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22131#p22131</link>
   <description>Hmm, seems I&#039;ve not thought about rewarding RPP all the way though. Right now, since its stored as account data, and account data is accessed via ch-&amp;gt;desc-&amp;gt;account, when one uses &#039;loadup &amp;lt;character&amp;gt;&#039; to reward them the game crashes as its looking for a descriptor which naturally isn&#039;t there, or any command that&#039;s trying to pull account data. I am drawing a blank on how to add the account junk to loadup so that its valid?  Welcome to ideas, and not afraid to break something, ayuri</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22131#p22131</guid>
   <pubDate>Sat, 22 Oct 2011 17:19:31 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22127#p22127</link>
   <description>Hmm...See now why didn&#039;t I think to look at extract_char. Bah! I&#039;m such a noob, I even missed it in that snippet code.  :headbang: Well, with that I&#039;m happy to say that it seems like almost all of the support code for accounts is up and running. Now just need to modify rpconvert to take advantage of it (simple I hope). Thank you, ayuri</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22127#p22127</guid>
   <pubDate>Thu, 20 Oct 2011 13:26:31 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22126#p22126</link>
   <description>I haven&#039;t looked at said account snippet, but maybe you need to modify the extract_char function? As far as I recall there&#039;s some code at the bottom that closes the socket. You could do some magic there to ensure you get back to the account menu rather than closing the socket.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22126#p22126</guid>
   <pubDate>Thu, 20 Oct 2011 03:08:56 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (Caius)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22123#p22123</link>
   <description>So I&#039;ve hacked together bits and parts taking the idea&#039;s from the account file snippet I found over on mudbytes.Accounts seem to be loading, even have it where I can reward them with RP Points (YAY!). However, I&#039;m having issues with do_quit function of act_comm.c . . . GRRR What I&#039;m trying to do is once your ready to quit, have you return back to the account screen. I thought it would be as simple as changing your descriptor once your character has quit to point back to CON_ACCOUNT_PENDING. L</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22123#p22123</guid>
   <pubDate>Wed, 19 Oct 2011 20:02:40 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22114#p22114</link>
   <description>I dunno if anyone has plugin code for you, but the idea is simple enough. Just add a new state to the login sequence, so instead of being a characer name, it gets a login/user name and checks a new file directory where you&#039;ll keep user accounts.  After successfully logging in or creating a new user, you&#039;d have the old character name state where it gets which character you want to log into. The difference is, character names not stored in the user file would be rejected.  If you want to be </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22114#p22114</guid>
   <pubDate>Tue, 18 Oct 2011 16:34:02 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (Quixadhal)</author>
  </item>
  <item>
   <title>Account management for pfiles: Suggestions?</title>
   <link>https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22112#p22112</link>
   <description>I was wondering if anyone had decent luck with a connection account for swfotefuss? That was one of the major things I&#039;d like to get accomplished in my conversion rather than having each player log into their character directly. They&#039;d connect to an account and from there log into one of their characters. I know quite a few current games offer such account systems... I&#039;ll admit I am looking for a pretty easy drop in and run solution with a few tweaks here and there.While I&#039;d love to try and </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/account-management-for-pfiles-suggestions-4604/&amp;p=22112#p22112</guid>
   <pubDate>Tue, 18 Oct 2011 09:13:10 CDT</pubDate>
   <category>SWFOTE FUSS</category>
   <author>nobody@example.com (ayuri)</author>
  </item>
 </channel>
</rss>
