Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Protected Files (https://forums.graalonline.com/forums/showthread.php?t=134265188)

Tricxta 12-07-2011 11:22 PM

Protected Files
 
I would find it really nifty if we could place a lock on certain graal files, meaning people no matter what can't upload over them. Such files such as the:
ganis :sit,walk,idle,swim and bla bla bla
sounds:hit,step,etc
images:basic heads and shields

Or.... a better idea would be so everything needs a prefix to be accepted for downloading.

I'm suggesting this because I tired of having to repeatedly replace files, and I'm sure others are as well.

Got a reason why this shouldn't be implemented? I'd like to hear it

DustyPorViva 12-07-2011 11:26 PM

This has been requested many times :/

cbk1994 12-07-2011 11:41 PM

Would be nicer if each server got its own folder for storing downloaded stuff, then we wouldn't have any of these issues and we wouldn't have the issue of people (especially level makers) using graphics they had in their Graal folder but that weren't actually on the server.

fowlplay4 12-07-2011 11:49 PM

I feel like you could protect them yourself by setting them as read-only or by using other file system security settings.

DustyPorViva 12-08-2011 12:02 AM

Quote:

Originally Posted by cbk1994 (Post 1676770)
Would be nicer if each server got its own folder for storing downloaded stuff, then we wouldn't have any of these issues and we wouldn't have the issue of people (especially level makers) using graphics they had in their Graal folder but that weren't actually on the server.

Stefan said he doesn't want to do this because it'd cause unnecessary duplicates :(

Quote:

Originally Posted by fowlplay4 (Post 1676771)
I feel like you could protect them yourself by setting them as read-only or by using other file system security settings.

The main problem is default files, not server files. People can screw up head0.png just by uploading their own as the same name(Atrius >: (), and the only way to fix it would be to go into your folder and manually delete it so it forces an update on a server that doesn't mess it up.

Crow 12-08-2011 12:26 AM

Quote:

Originally Posted by DustyPorViva (Post 1676778)
Stefan said he doesn't want to do this because it'd cause unnecessary duplicates :(

Graal itself is an unnecessary duplicate.

cbk1994 12-08-2011 12:28 AM

Quote:

Originally Posted by DustyPorViva (Post 1676778)
Stefan said he doesn't want to do this because it'd cause unnecessary duplicates :(

It hardly would. Few servers share graphics. Maybe player graphics (heads and stuff) would be exempted from this.

Tricxta 12-08-2011 12:50 AM

Quote:

Originally Posted by DustyPorViva (Post 1676766)
This has been requested many times :/

Oh... Sorry. I ran a quick seach, guess I didn't use the right words :(

DustyPorViva 12-08-2011 01:04 AM

Quote:

Originally Posted by Tricxta (Post 1676790)
Oh... Sorry. I ran a quick seach, guess I didn't use the right words :(

Was more along the lines of "this has been requested many times but Stefan never does anything about it."

Quote:

Originally Posted by cbk1994 (Post 1676787)
It hardly would. Few servers share graphics. Maybe player graphics (heads and stuff) would be exempted from this.

I think his response was mainly aimed at Classic servers which use a lot of the default graphics(like door.png). I agree I don't think it'd be as problematic as he makes it out to be. To be honest, insane folder structures are way more problematic, which is what the currently prefix system creates.

ffcmike 05-25-2012 10:00 PM

Some server has overwrote body2.png, the different version causes the cape to not appear while sitting. This has been confirmed by multiple different players.

Emera 05-25-2012 10:04 PM

Quote:

Originally Posted by ffcmike (Post 1695621)
Some server has overwrote body2.png, the different version causes the cape to not appear while sitting. This has been confirmed by multiple different players.

Doesn't Era have a detection system that checks if an image doesn't match the image on their server? I could have sworn I've seen it throw up a few messages on RC when I worked there. If somebody could come up with something like that and release it to the forums then playerworld staff will be able to notify everybody much faster. Just an idea.

Fulg0reSama 05-25-2012 10:06 PM

Quote:

Originally Posted by Crow (Post 1676786)
Graal itself is an unnecessary duplicate.

Heyyooooo!

cbk1994 05-25-2012 10:24 PM

Quote:

Originally Posted by Emera (Post 1695622)
Doesn't Era have a detection system that checks if an image doesn't match the image on their server? I could have sworn I've seen it throw up a few messages on RC when I worked there. If somebody could come up with something like that and release it to the forums then playerworld staff will be able to notify everybody much faster. Just an idea.

We protect a few images (doors, bullets, etc.) from being tampered with, yes.

Emera 05-25-2012 10:26 PM

Quote:

Originally Posted by cbk1994 (Post 1695625)
We protect a few images (doors, bullets, etc.) from being tampered with, yes.

If you stored all of the default images on your server and added the protection to all of the images, would there be a way to overwrite the tampered images? If not, an alert would work too. At least the staff are getting notified if players have an edited image, or an image that doesn't match the uploaded one.

How do you do it? Do you calculate how many bytes the image has and compare it with the uploaded one? That shouldn't be too tasking to write.

Edit: There is a filesize() function, so I guess it could be done. If you stored all of the default images in a file on your server, and then used loadfolder() to grab a list of the image files and check their file size against the player's image...

cbk1994 05-26-2012 12:40 AM

[QUOTE=Emera;1695626]If you stored all of the default images on your server and added the protection to all of the images, would there be a way to overwrite the tampered images?/QUOTE]

Yes, it is possible to force images to be re-downloaded (fileupdate function).


All times are GMT +2. The time now is 04:35 PM.

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