Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.