Thread: Downloadsize
View Single Post
  #1  
Old 12-24-2004, 01:08 AM
middo middo is offline
VHE Monkey
middo's Avatar
Join Date: Aug 2002
Location: California
Posts: 327
middo is on a distinguished road
Send a message via AIM to middo
Downloadsize

Here is a snippet from a test I am conducting for a script.

this.var=downloadsize;
say2
DL SIZE: #v(downloadsize)#b
DL SIZE #s(downloadsize)#b
DL SIZE #v(this.var)#b
DL NAME: #D#b
DL PROGRESS: #v(downloadpos);

I have gotten everything to work except the variable; downloadsize.
The say2 is set to only come up when a download is in progress, but downloadsize is always blank (I just delete the tileset from the server im working with and relog, and it gives me the say2)
I tried different methods but nothing works.

I found this inside the newfeatures txt

new scripting variable 'downloadsize': when the
graal client is currently downloading a big file
(>32k) then this variable contains the size of the
file; using downloadpos, downloadsize and #D you can
check if a file is currently downloaded can
display a process bar or similar

No luck yet.
Reply With Quote