Page 1 of 1

Bug? String issue (vtank expression)

Posted: January 7th, 2015, 4:00 pm
by yaroz
Ok.. so I'm trying to build a string using expressions..

\/vt echo You have +cstr[getcharintprop[333]]+\ \\ +cstr[5]+\ Aura of Valor Augmentations
outputs:
You have 3 \ 5Aura of Valor Augmentations <-- notice there is no space between the 5 and A.

However, if I do
\/vt echo You have +cstr[getcharintprop[333]]+\ \\ +cstr[5]+\ Aura of Valor Augmentations +cstr[0]
it outputs this:
You have 3 \ 5 Aura of Valor Augmentations 0 <-- there is a space in there

I don't know why that's not working right, so maybe it's a bug? If I'm not doing it right, please let me know.

-yaroz

Re: Bug? String issue (vtank expression)

Posted: January 7th, 2015, 7:40 pm
by Virindi
This is indeed a bug. The last token of every expression is trimmed. This will be fixed in the next version.