Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: 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
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Mar 04, 2008 1:11 pm   
 
Try concating explicitly:

%concat("%",%ansi(15)," ]")

rather than

"%"%ansi(15)" ]"
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: 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
Reply with quote
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net