View Single Post
  #1319  
Old November 15th, 2007, 10:39 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default In-game message corruption with \'%\' character

The '%' character in in-game messages gets used as a print token (with a possible crash if you have %s I think), for example I sent an in-game message:

" - I up my taxes to 120%-140% on turn 1, and patrol"

The message received was:

" - I up my taxes to 120%-14027771505110n turn 1, and patrol"

The "% o" was interpreted as "%o" and printed a stack value as an octal number.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote