Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-31-2006, 11:29 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Downloading

I could swear I saw some servers with this.
When you first log on, all the images the player will need (or at least the large ones) are downloaded so they don't lag later.
How is this done without showing the image then hiding it, and how would I make use of a gui that would come up when the player is downloading it?
edit:
also, how could I display something that tells the player they are downloading something?

Last edited by excaliber7388; 08-01-2006 at 12:32 AM..
Reply With Quote
  #2  
Old 08-01-2006, 12:42 AM
Malinko Malinko is offline
Unholy Nation
Join Date: Mar 2004
Location: Massachusetts, U.S.A.
Posts: 1,782
Malinko is on a distinguished road
Send a message via AIM to Malinko
Quote:
Originally Posted by excaliber7388
I could swear I saw some servers with this.
When you first log on, all the images the player will need (or at least the large ones) are downloaded so they don't lag later.
How is this done without showing the image then hiding it, and how would I make use of a gui that would come up when the player is downloading it?
edit:
also, how could I display something that tells the player they are downloading something?
Good question! I think all worlds should on this route, it would be much better.

Though, to answer this good question, I will direct you to a forum thread created by petro1212 (Angelus).

http://forums.graalonline.com/forums...ad.php?t=63734
Reply With Quote
  #3  
Old 08-01-2006, 02:49 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
ugh, that's not a ton of help. Unless all you have to do is create the file and every thing else just happens
I wanted to be able to trigger it at certain times, or when an images is downloading, it would show a progress bar, etc
Reply With Quote
  #4  
Old 08-01-2006, 02:52 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by excaliber7388
Unless all you have to do is create the file and every thing else just happens
Yup, pretty much.

Quote:
I wanted to be able to trigger it at certain times, or when an images is downloading, it would show a progress bar, etc
That's a little bit different from what (I thought) you were originally asking for. The update package is the best and easiest way to go though.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #5  
Old 08-01-2006, 03:00 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by napo_p2p
Yup, pretty much.

That's a little bit different from what (I thought) you were originally asking for. The update package is the best and easiest way to go though.
Okay, and for the update packages, how do you tell it what to update?
I don't quite get how it knows to go from the base to another text file
Reply With Quote
  #6  
Old 08-01-2006, 04:09 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by excaliber7388
I wanted to be able to trigger it at certain times, or when an images is downloading, it would show a progress bar, etc
You're looking for these three variables then:

Quote:
downloadfile - string (read only)
downloadpos - integer (read only)
downloadsize - integer (read only)
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
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 09:03 PM.


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