|Persisting PlayerBehavior - WheelMUD - A C# MUD Server - Forums - WheelMUD - Bug Reports [message #454]
||Sun, 22 March 2015 11:43
Registered: March 2015
Location: Seattle, WA
This thread originates from prior WheelMUD forum software archives. It has been migrated here to preserve the contents.|
Post by JFed (07 May 2012 09:00 AM):
I've run into an issue while building the new prompt code. Seems that when a player is saved, their prompt info is persisted in the sqlite database.
However, this data is not retrieved on the next login, and is subsequently overwritten with blank values on the next save. I was concentrating on the 'Prompt' value, but notice Race and many other values are null as well.
Is this a known issue?
Post by Fastalanasa (07 May 2012 09:55 AM):
I'll take a look, since persistence to disk is my specialty.
Post by Fastalanasa (08 May 2012 09:50 AM):
JFed, could you please check in PlayerPromptableAttribute.cs? The solution won't compile. ;)
Post by JFed (08 May 2012 01:28 PM):
Ack, my apologies. It's there now.
Post by Fastalanasa (08 May 2012 02:08 PM):
Now we need the new Prompt.cs, even if it is a stub. Just comment out the bits that are not working.
Post by JFed (08 May 2012 02:23 PM):
OK, i hope it's all there now.
Post by Fastalanasa (08 May 2012 02:43 PM):
The best way to check, is to navigate over to <a href="http://ccnet.wheelmud.net/">http://ccnet.wheelmud.net</a> to see if you broke the build. I'll put your email in the list of recipients for broken builds, when I get home from work tonight.
Post by JFed (08 May 2012 02:49 PM):
Post by Fastalanasa (08 May 2012 03:09 PM):
It sure is. I've tried to setup our dev environment and flow to be as close as possible to how a software development shop would work in real life.
Post by Fastalanasa (11 May 2012 09:25 AM):
I should have some time this weekend to tackle the problem with the prompt persistence.