Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2004, 03:33 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #2  
Old 11-23-2004, 12:24 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Is downloadsize even a variable?
__________________
Skyld
Reply With Quote
  #3  
Old 11-23-2004, 12:29 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Yes. At least, it's supposed to be.
Reply With Quote
  #4  
Old 11-24-2004, 07:56 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #5  
Old 11-25-2004, 08:43 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
GK uses it somehow. I havn't gotten the var to work either though.
__________________
-Kjetil Valen
Reply With Quote
  #6  
Old 11-27-2004, 04:05 AM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #7  
Old 11-27-2004, 05:12 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Didn't Stefan say this is fixed in the new version?
__________________
Reply With Quote
  #8  
Old 11-27-2004, 04:01 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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?
__________________

Reply With Quote
  #9  
Old 11-29-2004, 07:57 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by ZeroTrack
i thought so , but doesnt kingdoms run on the new version?
No.
__________________
Reply With Quote
Reply


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 08:07 AM.


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