View Single Post
  #5  
Unread 05-13-2005, 05:53 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

The XML layer recieves time as preformated text. It is NOT a number when it reaches the XML layer, though I'm sure its a number on the way into the client.

As Jaxel pointed out, this isn't a typical scripting environment, its a markup environment with some scripting capabilities added. Data first passes through the client layer where its often converted to text strings with various hardcoded input masks. Then the XML layer gets passed the formated strings.

Since the string includes non-numerical characters, we can't just convert it back to a number. We also don't have any way to remove the non-numerical characters.
Reply With Quote