|
alluran Adept
Joined: 14 Sep 2005 Posts: 223 Location: Sydney, Australia
|
Posted: Tue Mar 04, 2008 10:08 am
[Bug 2.18] Key Values Not Saving Properly |
Code: |
%ansi(15)"[ "%ansi(12)@promptData.Room%ansi(15)" ] [ "%ansi(10)@promptData.Exits%ansi(15)" ] [ "%ansi(10)"XP: "@promptData.XP%ansi(3)" T: "@promptData.Tells%ansi(14)" G: "@promptData.Gold%if(@promptData.Align<0,%ansi(12),%ansi(15))" A: "@promptData.Align%ansi(14)" QT: "@promptData.QuestTime%if(@promptData.Double,%ansi(3)" Dbl: "@promptData.Double)%ansi(15)" ]"%cr"[ "%ansi(12)@promptData.HP"/"@promptData.HPPercent"% "%ansi(11)@promptData.MP"/"@promptData.MPPercent"% "%ansi(13)@promptData.MV"/"@promptData.MVPercent"%"%ansi(15)" ] [ "%ansi(12)@promptData.Target": "@promptData.EnemyHP"%"%if(@promptData.LeaderHP,%ansi(3)" "@promptData.Leader": "@promptData.LeaderHP"%")%ansi(15)" ]" |
Is the value of @promptdata.bprompt, and
Code: |
%ansi(15)"[ "%ansi(12)@promptData.Room%ansi(15)" ] [ "%ansi(10)@promptData.Exits%ansi(15)" ] [ "%ansi(10)"XP: "@promptData.XP%ansi(3)" T: "@promptData.Tells%ansi(14)" G: "@promptData.Gold%if(@promptData.Align<0,%ansi(12),%ansi(15))" A: "@promptData.Align%ansi(14)" QT: "@promptData.QuestTime%if(@promptData.Double,%ansi(3)" Dbl: "@promptData.Double)%ansi(15)" ]"%cr"[ "%ansi(12)@promptData.HP"/"@promptData.HPPercent"% "%ansi(11)@promptData.MP"/"@promptData.MPPercent"% "%ansi(13)@promptData.MV"/"@promptData.MVPercent"%"%ansi(15)" ]"%if(@promptData.LeaderHP," [ "%ansi(3)" "@promptData.Leader": "@promptData.LeaderHP"%"%ansi(15)" ]") |
Is the value of @promptdata.prompt.
I think I reported a problem a few months back with the actual ansi values not exporting properly, perhaps this is related? |
|
_________________ The Drake Forestseer |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Mar 04, 2008 1:11 pm |
Try concating explicitly:
%concat("%",%ansi(15)," ]")
rather than
"%"%ansi(15)" ]" |
|
|
|
alluran Adept
Joined: 14 Sep 2005 Posts: 223 Location: Sydney, Australia
|
Posted: Tue Mar 04, 2008 1:48 pm |
Hmm, I failed to mention, all other keys in the variable are fine, but those 2 vanish when i reload cmud
|
|
_________________ The Drake Forestseer |
|
|
|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Wed Mar 05, 2008 4:57 am |
I've been having the same problems, it seemed to stop when I unchecked the 'share' setting on the package properties, but I'm still waiting for it to pop back up
|
|
|
|
|
|