10.07.2010, 12:30
Did you try this? The reason '%%' is there is so '%' appears in a formatted string. '%' is merely an escape character like '\' is an escape character for Pawn strings which you escape with '\\'.
I would like to see '%' allowed back in chat again. It's easy to make counter measures against format attacks by filtering the string before parsing it into format, any half-decent scripter would know how to do this. I'm sure someone would post a generic function to do this for newbies anyhow.
http://en.wikipedia.org/wiki/Format_string_attack
I would like to see '%' allowed back in chat again. It's easy to make counter measures against format attacks by filtering the string before parsing it into format, any half-decent scripter would know how to do this. I'm sure someone would post a generic function to do this for newbies anyhow.
http://en.wikipedia.org/wiki/Format_string_attack