Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2011, 11:22 PM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is a jewel in the roughTricxta is a jewel in the rough
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
Reply With Quote
  #2  
Old 12-07-2011, 11:26 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
This has been requested many times :/
Reply With Quote
  #3  
Old 12-07-2011, 11:41 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
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.
__________________
Reply With Quote
  #4  
Old 12-07-2011, 11:49 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I feel like you could protect them yourself by setting them as read-only or by using other file system security settings.
__________________
Quote:
Reply With Quote
  #5  
Old 12-08-2011, 12:02 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
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 View Post
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.
Reply With Quote
  #6  
Old 12-08-2011, 12:26 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
Stefan said he doesn't want to do this because it'd cause unnecessary duplicates
Graal itself is an unnecessary duplicate.
__________________
Reply With Quote
  #7  
Old 12-08-2011, 12:28 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
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.
__________________
Reply With Quote
  #8  
Old 12-08-2011, 12:50 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is a jewel in the roughTricxta is a jewel in the rough
Quote:
Originally Posted by DustyPorViva View Post
This has been requested many times :/
Oh... Sorry. I ran a quick seach, guess I didn't use the right words
Reply With Quote
  #9  
Old 12-08-2011, 01:04 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Tricxta View Post
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 View Post
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.
Reply With Quote
  #10  
Old 05-25-2012, 10:00 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
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.
Reply With Quote
  #11  
Old 05-25-2012, 10:04 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by ffcmike View Post
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.
Reply With Quote
  #12  
Old 05-25-2012, 10:06 PM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by Crow View Post
Graal itself is an unnecessary duplicate.
Heyyooooo!
__________________

Careful, thoughts and opinions here scare people.
Reply With Quote
  #13  
Old 05-25-2012, 10:24 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Emera View Post
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.
__________________
Reply With Quote
  #14  
Old 05-25-2012, 10:26 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cbk1994 View Post
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...

Last edited by Emera; 05-25-2012 at 10:47 PM..
Reply With Quote
  #15  
Old 05-26-2012, 12:40 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
[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).
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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