Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   downloading heads/bodies (etc) to computer (https://forums.graalonline.com/forums/showthread.php?t=82413)

Frankie 10-20-2008 12:47 AM

downloading heads/bodies (etc) to computer
 
I remember Andy making something that by a command, downloads all the heads that's uploaded to the server onto the player's computer. How would I go about doing this?

Also, is it possible that I can store all these heads/body names into a text file on the player's computer, this way with a tailor script I can make something that they can scroll through all the bodies that aren't limited to body1, body2, body3, etc.

xAzerothx 10-20-2008 12:55 AM

This would be pretty awesome to have. I lost all my heads, bodies, etc after I deleted my Graal. Now I could get them back easily! If there's an actual script for it..

oo_jazz_oo 10-20-2008 01:07 AM

http://wiki.graal.net/index.php/Crea...pdate_Packages
That maybe? You could just direct it to download the levels/head folder on your server, I think.

xAzerothx 10-20-2008 01:10 AM

Yea, I have no idea how that works. How can I randomly log onto UN and download all the heads/bodies?

cbk1994 10-20-2008 02:27 AM

I guess something like:

PHP Code:

function onActionServerSidecmd )
{
  if ( 
cmd == "getImages" )
  {
    
temp.images.loadFolder"levels/bodies/*"false );
    
triggerclient"gui"name"returnImages"images );
  }
}
function 
onCreated()
{
  
triggerserver"gui"name"getImages" );
}
function 
onActionClientSidecmd, list )
{
  if ( 
cmd == "returnImages" )
  {
    
// list has all the images, now loop through them
  
}


But I think an update package would be much better.

Frankie 10-20-2008 02:42 AM

would the download package require manual download? or can you do it automatic.

cbk1994 10-20-2008 02:49 AM

Quote:

Originally Posted by Frankie (Post 1434756)
would the download package require manual download? or can you do it automatic.

Either will work.

Frankie 10-20-2008 02:53 AM

silly me. should of read the wiki before I posted, lol. thanks

xXziroXx 10-20-2008 04:25 PM

I feel like the majority of people overlooked this thread when I posted it. :whatever:

http://forums.graalonline.com/forums...ad.php?t=79350

oo_jazz_oo 10-21-2008 12:24 AM

Quote:

Originally Posted by xXziroXx (Post 1434828)
I feel like the majority of people overlooked this thread when I posted it. :whatever:

http://forums.graalonline.com/forums...ad.php?t=79350

I didnt. ^-^ Thats where I first heard of the update packages. lol

cbk1994 10-21-2008 03:52 AM

Quote:

Originally Posted by xXziroXx (Post 1434828)
I feel like the majority of people overlooked this thread when I posted it. :whatever:

http://forums.graalonline.com/forums...ad.php?t=79350

I'm using something similar on Vesporia. Inspiration from you <3


All times are GMT +2. The time now is 04:19 AM.

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