Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   PlayerWorlds Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=15)
-   -   Reminder: Naming your server's files (https://forums.graalonline.com/forums/showthread.php?t=57041)

Lance 01-13-2005 12:52 PM

Reminder: Naming your server's files
 
Several times have there been problems wherein servers have uploaded files with the same names as files on other servers. When players visit these other servers, these more-recently-uploaded files will overwrite the normal files from the other servers in your webgifs directory. This is a problem, especially when files from official servers such as Graal Kingdoms are being overwritten.

I would like to take this opportunity to remind you all of the recommendation that when uploading graphics and sounds to your server, you prefix (or suffix) them with the name of the server where it is being uploaded. A recent example: instead of uploading some modified 'bomyload.wav' file to your server, you should rename it to (yourservername)_bomyload.wav or bomyload_(yourservername).wav. However, you should not be using bomys anyway, so you might want to use a name which actually fits what you are using the new file for.

This will prevent the overwriting from happening and also will help when there are issues with one server stealing another's graphics. By following this recommendation, you will also avoid the awkward problem where two different people on one server might see a single NPC as having a different graphic, depending on which other servers they may have already visited. A good example of this would be a file with a simple name like 'speaker.png'. Several months ago, I visited a playerworld with a different (and newer) speaker.png file than Era's, so whenever I was on Era I ended up seeing the other server's speaker.png. It was much bigger than Era's, so you can see how it would be a problem. That problem has been solved, but many other such problems keep appearing. So, please, take care when naming files.

osrs 01-13-2005 03:32 PM

Good advice, it would not be good to play Graal Kingdoms/Zone with replaced files.

Kaimetsu 01-13-2005 05:03 PM

I cannot understand why Graal still uses a single folder for this stuff. Sure, sharing files between playerworlds is good, but I think most users would gladly spend a few extra kilobytes of space if it meant conflicts such as these were eradicated.

One folder per playerworld! It is the future.

GoZelda 01-13-2005 06:24 PM

Wow. It was so long ago I suggested this. I remember it took me 5 sentences to explain it, then Kai posted as 3d or 2nd and said it in 1 sentence.

Evil_Trunks 01-13-2005 09:57 PM

I always wanted seperate folders myself

then I could delete the graphics from the servers I don't play so Graal doesn't take so long to load

Kaimetsu 01-14-2005 04:30 AM

Quote:

Originally Posted by Evil_Trunks
then I could delete the graphics from the servers I don't play so Graal doesn't take so long to load

Or Graal could restrict the indexing process to the server that you're currently entering.

matt8891 01-24-2005 04:46 PM

Is there a specific name to rename your rclogs on a playerworld in order for them to be deleted? I have a bunch of rc logs which i check once a week then rename them to rc_old.txt. It's getting to the point in which it's taking longer to even see the logs once i click 'logs' in the file manager.

And i guess Stefan or Unix removed rights from everyone to delete rclogs for security reasons.

Curt1zzle 01-27-2005 02:28 AM

Quote:

Originally Posted by Kaimetsu
I cannot understand why Graal still uses a single folder for this stuff. Sure, sharing files between playerworlds is good, but I think most users would gladly spend a few extra kilobytes of space if it meant conflicts such as these were eradicated.

One folder per playerworld! It is the future.

I concur. :\

Crono 01-27-2005 11:33 AM

And dont name your files treetop.png you dopes. Too many people do that, and for hells sake STOP IT WITH THE GANI OVERWRITES.

Stupid server managers...

Admins 03-22-2005 01:45 AM

Sharing the files makes sense because most playerworld staff are uploading thousands of heads and bodies to their server, you would need to download all those files again. If you prefix the files then they will be saved into their own folder now (in v3.1 and in v4)

Velox Cruentus 04-26-2005 06:58 AM

Quote:

Originally Posted by Stefan
Sharing the files makes sense because most playerworld staff are uploading thousands of heads and bodies to their server, you would need to download all those files again. If you prefix the files then they will be saved into their own folder now (in v3.1 and in v4)

Do you believe you may put the folders as a subfolder of webgifs? There are awefully a lot of badly named images that just clutter the levels folder (When I go and delete my images instead of reinstalling graal entirely, I have to evade such folders as ganis, heads, scripts, tiledefs, and so on.)

As for the rclogs.txt / npclogs.txt -- Do you think you can make it so that the Admin account of the server has the ability to delete these?

Inverness 05-15-2005 12:20 AM

I Completely agree.
I've been doing this for a long time, because I think its organized
unfortunately, noone else on Aeon ever listened to me when I said to use file prefixes, so things are cluttered.

MegaMasterX90875 04-21-2006 04:05 PM

I think I understand the reasoning behind the "one folder for all" idea, but I do think that servers should check to see if a file exists before downloading, and if it does exist, then it should ask for overwrite confirmation (Just an idea)

Harbost 04-24-2006 08:47 AM

how much dose a playerworld cost

napo_p2p 04-24-2006 09:10 AM

Quote:

Originally Posted by Harbost
how much dose a playerworld cost

http://support.cyberjoueurs.com/supp...=kb&article=59

MegaMasterX90875 06-02-2006 04:33 PM

Eh,or there should be a folder for every server. Maybe that'd work

slambsketbll 05-10-2007 03:07 PM

what is that about?

Sam 05-10-2007 03:15 PM

Check the date when this thread was made before posting, mostly those threads are not applicable anymore.

xXziroXx 05-10-2007 04:24 PM

Quote:

Originally Posted by Sam (Post 1306757)
Check the date when this thread was made before posting, mostly those threads are not applicable anymore.

Then if I may ask, WHY is it stickied?

Darlene159 05-10-2007 05:21 PM

Quote:

Originally Posted by xXziroXx (Post 1306772)
Then if I may ask, WHY is it stickied?

It is stickied because it still applies, and is important. I believe Sam's statement was in general, and for future reference about old threads.

Quote:

Originally Posted by slambsketbll
what is this about?

This thread is for server owners, and it's staff. If you are neither, or if you never have been, then you might not understand.
Basically, it is about a problem with people uploading graphics and such using the same names as other playerworlds, thus over writing those files, and causing problems with people seeing the correct graphics on playerworlds.

Deadly_Killer 05-11-2007 05:06 AM

Graal's files now save in appropriate folders assuming you use serverinitials_FILE-NAME-HERE.EXTENSION

zokemon 05-11-2007 09:21 AM

Quote:

Originally Posted by Deadly_Killer (Post 1306940)
Graal's files now save in appropriate folders assuming you use serverinitials_FILE-NAME-HERE.EXTENSION

Or cool people just use graphic download packs to save the files to the folders they want :)

Deadly_Killer 05-11-2007 10:17 PM

Quote:

Originally Posted by zokemon (Post 1306957)
Or cool people just use graphic download packs to save the files to the folders they want :)

Assuming one would love to type 500+ images. Would be cool if you just can do.
FOLDER levels/images/*.png

and it would force download of all pngs.

Crono 05-11-2007 10:36 PM

Quote:

Originally Posted by xXziroXx (Post 1306772)
Then if I may ask, WHY is it stickied?

For reference. :)

for the record, you may NOT ask >:{

DustyPorViva 05-11-2007 11:32 PM

Yes, but it's not like you're bumping a a thread from nowhere, so I don't see anything detrimental about it.
Anyways, I still say each playerworld should get their own thread, and not have folders created by underscores. Ya, files will get downloaded more than once, but face it, Graal isn't really organized as is, and things are already getting duplicated via the current folder layout. There are so many dumb folder names because of underscores now that it's ridiculous, and there's only like one image or so per folder. It would also make looking for images a bit easier.

Veteranspy 12-21-2009 10:03 AM

So you're trying to say "Go ahead, steal content?" Because that is what I got out of this, "rename files to so and so name." Thats just a hypothetical "Go here, take this, leave that," kind of statement. Might want to define it better.

TSAdmin 12-21-2009 11:10 AM

Quote:

Originally Posted by Veteranspy (Post 1546044)
So you're trying to say "Go ahead, steal content?" Because that is what I got out of this, "rename files to so and so name." Thats just a hypothetical "Go here, take this, leave that," kind of statement. Might want to define it better.

I highly doubt that was being endorsed, so in the interest of common sense, why on earth did you revive this thread from between 2005-2007 to ask that?

DuBsTeRmAn 12-21-2009 02:20 PM

Maybe he didn't realize it was so old?

xXziroXx 12-21-2009 03:31 PM

Quote:

Originally Posted by TSAdmin (Post 1546051)
I highly doubt that was being endorsed, so in the interest of common sense, why on earth did you revive this thread from between 2005-2007 to ask that?

Newsflash: It's sticked. You can't revive sticked threads as they're always at the top.

TSAdmin 12-21-2009 04:58 PM

Quote:

Originally Posted by xXziroXx (Post 1546082)
Newsflash: It's sticked. You can't revive sticked threads as they're always at the top.

Stickies are not immune to time stamps o_O

DustyPorViva 12-21-2009 09:22 PM

Quote:

Originally Posted by xXziroXx (Post 1546082)
Newsflash: It's sticked. You can't revive sticked threads as they're always at the top.

Ya, but it's pointless to direct a question at someone who pretty much hasn't been around for a few years. TSA also has a point, it's good to read time-stamps, as even if it's a sticky and the bump doesn't matter... there's rarely any point in commenting in a topic that's been dead for so many years. This is one of those cases.

However, I've admittedly accidentally posted in old threads people have linked me to.


All times are GMT +2. The time now is 12:22 PM.

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