Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   varibles (https://forums.graalonline.com/forums/showthread.php?t=56117)

ZeroTrack 11-22-2004 03:33 PM

varibles
 
the var "downloadsize" does not capture the max size of the file your tirng
to download from the ftp
example:

//#CLIENTSIDE
if(strlen(#D)>0) setplayerprop #c,#D #v(downloadpos) / #v(downloadsize);

the var download size returns a 0.

this should be fixed :whatever:

Skyld 11-23-2004 12:24 AM

Is downloadsize even a variable?

Tolnaftate2004 11-23-2004 12:29 AM

Yes. At least, it's supposed to be.

ZeroTrack 11-24-2004 07:56 PM

Read your new features txt more =p

- 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

VeX_RaT_Boy 11-25-2004 08:43 PM

GK uses it somehow. I havn't gotten the var to work either though.

ZeroTrack 11-27-2004 04:05 AM

Quote:

Originally Posted by VeX_RaT_Boy
GK uses it somehow. I havn't gotten the var to work either though.

if you pay attention the bar doesnt move while its downloading, i made the same excat one on bravo its just using strlen to determine when its downloading or not

Kaimetsu 11-27-2004 05:12 AM

Didn't Stefan say this is fixed in the new version?

ZeroTrack 11-27-2004 04:01 PM

Quote:

Originally Posted by Kaimetsu
Didn't Stefan say this is fixed in the new version?

i thought so , but doesnt kingdoms run on the new version?

Kaimetsu 11-29-2004 07:57 PM

Quote:

Originally Posted by ZeroTrack
i thought so , but doesnt kingdoms run on the new version?

No.


All times are GMT +2. The time now is 10:17 AM.

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