View Single Post
  #1  
Old 09-29-2006, 09:14 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Padding characters in format()

It seems that format() has stopped reading the padding characters properly. Normally, something like this:
NPC Code:
format("okay, the date is %02d:%02d",this.hours,this.minutes);


would have an output along the lines of:
okay, the date is 12:02

Now, it outputs:
okay, the date is 12: 2

I noticed this in a server npc that outputs the date to RC, I would test for weapon and level npc outputs, but I don't have the Graal client installed here.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote