Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Images Uploading (https://forums.graalonline.com/forums/showthread.php?t=53098)

matt8891 06-11-2004 08:04 PM

Images Uploading
 
Does anyone know the script so images are automatically uploaded for ALL players and not just you...I uploaded a hat but only i can see it.

Xecutor 06-11-2004 09:37 PM

What are you talking about? You have to upload the image into the FTP where the folder options have correctly been set to allow players to download them to their computers automatically.

matt8891 06-11-2004 09:48 PM

Quote:

Originally Posted by Xecutor
What are you talking about? You have to upload the image into the FTP where the folder options have correctly been set to allow players to download them to their computers automatically.

I talked with LordZen (Global GFX Admin) and he said i need to make a script because a hat i made was only being seen by myself and him.

darkreign3 06-12-2004 04:10 AM

No there not uploaded to all players... i learned this when i was the GFx Admin on Endora

Spark910 06-12-2004 12:04 PM

You need a gani, I assume, as everyone can see the gani so that will trigger the download for them to see the image...

matt8891 06-12-2004 04:18 PM

Quote:

Originally Posted by Spark910
You need a gani, I assume, as everyone can see the gani so that will trigger the download for them to see the image...

Alright..I understand it now.Thanks.

matt8891 06-12-2004 04:19 PM

Quote:

Originally Posted by darkreign3
No there not uploaded to all players... i learned this when i was the GFx Admin on Endora

nobody cares that you were GFX Admin on endora...

Lance 06-12-2004 06:05 PM

Quote:

Originally Posted by matt8891
Does anyone know the script so images are automatically uploaded for ALL players and not just you...I uploaded a hat but only i can see it.

So long as the image:

-is shown on your character or on some NPC that a player 'sees'
-exists on the server somewhere within levels/
-'s parent directory is listed in the folder configuration with a file entry

It will be downloaded from the server by the player that 'sees' it.

Quote:

Originally Posted by Spark910
You need a gani, I assume, as everyone can see the gani so that will trigger the download for them to see the image...

You have absolutely no idea what you're talking about?

matt8891 06-12-2004 07:23 PM

Quote:

Originally Posted by Lance
So long as the image:

-is shown on your character or on some NPC that a player 'sees'
-exists on the server somewhere within levels/
-'s parent directory is listed in the folder configuration with a file entry

It will be downloaded from the server by the player that 'sees' it.



You have absolutely no idea what you're talking about?

Alright...Thanks man.

matt8891 06-14-2004 06:06 PM

Anyone know the problem?

Xecutor 06-14-2004 09:05 PM

Um, to which directory did you upload the graphic?

GoZelda 06-14-2004 10:12 PM

Quote:

Originally Posted by Lance
You have absolutely no idea what you're talking about?

He has, it's in harmony with one of your three points; the other player 'sees' it and gets it downloaded x-x'

Lance 06-14-2004 10:23 PM

Quote:

Originally Posted by GoZelda
He has, it's in harmony with one of your three points; the other player 'sees' it and gets it downloaded x-x'

what an awesome reply, but really you should read the thread, that was to spark

matt8891 06-14-2004 10:25 PM

Quote:

Originally Posted by Xecutor
Um, to which directory did you upload the graphic?

levels/hats/*

VeX_RaT_Boy 06-14-2004 11:46 PM

Is that folder in the folder config?

DIABLO2099 06-15-2004 03:13 AM

Better yet, what is in your folder config?

LordZen 06-16-2004 07:20 AM

I bet that is what the problem was. I have never known a server to not have the correct folder config information for basic folders, so that didnt even cross my mind.

Even after I left, I was still not seeing the image, and I think you only started to see it after you manually added it to your hard drive's graal hats folder. I suggested maybe trying to add a script that will force the download of new gfx like how g2k2 did for the new trees, thats all.

Also, spark, the basic classic ganis already have hats in them. All he would have to do is set the image for that player attribute through script. Other hats were working at the time this was going on.

Python523 06-16-2004 07:34 AM

Quote:

Originally Posted by LordZen
I suggested maybe trying to add a script that will force the download of new gfx like how g2k2 did for the new trees, thats all.
.

...? there isn't a 'force download for new trees' thing.. you just walk into a level with the trees and it happens

matt8891 06-17-2004 07:16 AM

Quote:

Originally Posted by LordZen
I bet that is what the problem was. I have never known a server to not have the correct folder config information for basic folders, so that didnt even cross my mind.

Even after I left, I was still not seeing the image, and I think you only started to see it after you manually added it to your hard drive's graal hats folder. I suggested maybe trying to add a script that will force the download of new gfx like how g2k2 did for the new trees, thats all.

Heh...I found out it was my folder configuration...I had it as levels level/hats/*........I fixed to level levels/hats/*

VeX_RaT_Boy 06-17-2004 10:28 AM

It's not even supposed to be levels/hats/*, only hats/*

And shouldn't it be file, not levels?

like: file hats/* ?

Lance 06-17-2004 11:37 AM

Condition 3 of my initial post apparently failed.

The proper folder configuration entry for the right

rw levels/hats/*

would be:

file hats/*

VeX_RaT_Boy 06-17-2004 01:34 PM

Was not that what I said? O.o

matt8891 06-17-2004 04:07 PM

Quote:

Originally Posted by Lance
Condition 3 of my initial post apparently failed.

The proper folder configuration entry for the right

rw levels/hats/*

would be:

file hats/*

Im pretty sure i remember someone telling me images wont upload unless there within levels configuration.

So if thats right,how could it be hats/*?

GoZelda 06-17-2004 07:07 PM

Quote:

Originally Posted by Lance
that was to spark

It was. Or ment to be

Xecutor 06-17-2004 08:44 PM

Quote:

Originally Posted by matt8891
Im pretty sure i remember someone telling me images wont upload unless there within levels configuration.

So if thats right,how could it be hats/*?

Anything that goes into the folder configuration is a subfolder of the levels folder.

Add the right: rw levels/hats/* to yourself.

Lance 06-18-2004 09:12 AM

Quote:

Originally Posted by VeX_RaT_Boy
Was not that what I said? O.o

We are not playing Jeopardy here in the scripting forum - solutions should not come in the form of questions. Yours was. Additionally, I needed to explain which condition failed and caused the problem.

dlang 06-18-2004 01:36 PM

Lance is right, just list what he did wrong and the ways to fix it, no questions.

And btw, don't bother adding a line for the guilds folder.

And I have a question of my own, does the root levels folder have to be in folder cfg for ipbanned.txt to work?


All times are GMT +2. The time now is 08:59 PM.

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