![]() |
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 |
This has been requested many times :/
|
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.
|
I feel like you could protect them yourself by setting them as read-only or by using other file system security settings.
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
|
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.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
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... |
[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.