SphereServer BugTracker - SphereServer
View Issue Details
0001796SphereServerexecutable - genericpublic12-08-10 20:0424-08-10 00:17
Coruja 
MrSugarCube 
normalminoralways
resolvedfixed 
0.56c Nightly 
0.56c Nightly 
Not Available
None
None
0001796: Null string on vendor buy msg
sphere_msgs.scp:
npc_vendor_s1 "this will cost %d gp%s."

Theres 2 strings (%d and %s), but ingame the %s got nulled like this
"this will cost 10 gp(null)"

On msg npc_vendor_b1 it works fine
No tags attached.
Issue History
12-08-10 20:04CorujaNew Issue
12-08-10 20:04CorujaNightly Version => Not Available
12-08-10 20:04CorujaExperimental Flags => None
12-08-10 20:04CorujaOption Flags => None
13-08-10 00:20MirravinNote Added: 0000556
16-08-10 02:45CorujaNote Added: 0000563
17-08-10 21:46ShiryuXNote Added: 0000567
24-08-10 00:17MrSugarCubeStatusnew => resolved
24-08-10 00:17MrSugarCubeFixed in Version => 0.56c Nightly
24-08-10 00:17MrSugarCubeResolutionopen => fixed
24-08-10 00:17MrSugarCubeAssigned To => MrSugarCube

Notes
(0000556)
Mirravin   
13-08-10 00:20   
With gp you can simple delete this "%s" and all will be correctly.
But in original buy messages is "coin%s", here %s is for plural form of coin, but instead of "coins" we see "coin[null]. It can be fixed with deletion of %s, for example I write "coins" because price 1gp isn't classical...
(0000563)
Coruja   
16-08-10 02:45   
sure, I already fixed here
but I reported it as bug since gp%s works fine on npc_vendor_b1 but not on npc_vendor_s1
(0000567)
ShiryuX   
17-08-10 21:46   
Is kinda disturbing, since b1 and s1 are used in the same line and there's no difference between them.