SphereServer BugTracker - SphereServer
View Issue Details
0001544SphereServerexecutable - genericpublic26-10-08 02:2324-02-13 22:48
Coruja 
Ben 
normalminoralways
resolvedfixed 
 
0.56c Nightly 
09-09-2008
None
None
0001544: QVAL returning empty string
SYSMESSAGE You have <HITS> hitpoint<QVAL (<HITS>!=1)? s:>.

The correct sentence is:
You have 1 hitpoint.
You have 50 hitpoints.

But it's returning a empty value if first case not match:
You have 1 hitpoint . //PS: Here's the problem, qval returning " " instead of ""
You have 50 hitpoints.
No tags attached.
Issue History
26-10-08 02:23CorujaNew Issue
26-10-08 02:23CorujaNightly Version => 09-09-2008
26-10-08 02:23CorujaExperimental Flags => None
26-10-08 02:23CorujaOption Flags => None
27-10-08 12:02nazghulNote Added: 0000125
27-10-08 23:22CorujaNote Added: 0000126
27-10-08 23:23CorujaNote Edited: 0000126
29-10-08 03:12Admin BladeCraftNote Added: 0000129
24-02-13 22:48BenNote Added: 0001490
24-02-13 22:48BenStatusnew => resolved
24-02-13 22:48BenFixed in Version => 0.56c Nightly
24-02-13 22:48BenResolutionopen => fixed
24-02-13 22:48BenAssigned To => Ben

Notes
(0000125)
nazghul   
27-10-08 12:02   
Ever tried to use quotation marks?
(0000126)
Coruja   
27-10-08 23:22   
(edited on: 27-10-08 23:23)
Yes, and quotation marks goes to result too, like this:

SYSMESSAGE You have <HITS> hitpoint<QVAL (<HITS>!=1)? "s":"">.
You have 1 hitpoint"".
You have 50 hitpoint"s".

(0000129)
Admin BladeCraft   
29-10-08 03:12   
I always noticed this too but never thought about asking it to be 'fixed'.. it would be nice :)
(0001490)
Ben   
24-02-13 22:48   
Will now return true blank string ""