Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Era Bugs and improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=163)
-   -   Suggestions thread (Formerly: We're listening...) (https://forums.graalonline.com/forums/showthread.php?t=134256528)

DarkReaper0 01-15-2010 06:01 AM

A Fight Club.

swift 01-16-2010 07:08 AM

Lets see the /sethat command usable by the public after the reset.
Add an upload option where you can upload your own hats, and make them personal.
example: era_personal_swift-hat2.gif

Better yet, make it public on current Era.

Dnegel 01-16-2010 03:08 PM

Quote:

Originally Posted by swift (Post 1550628)
Lets see the /sethat command usable by the public after the reset.
Add an upload option where you can upload your own hats, and make them personal.
example: era_personal_swift-hat2.gif

Better yet, make it public on current Era.

Like it was before!

I second this!

Frankie 01-16-2010 03:11 PM

Quote:

Originally Posted by swift (Post 1550628)
Lets see the /sethat command usable by the public after the reset.
Add an upload option where you can upload your own hats, and make them personal.
example: era_personal_swift-hat2.gif

Better yet, make it public on current Era.

I don't know. I agree with this, but disagree at the same time. I think it's a little ridiculous that hats are such sacred items. but then again, they are one of the few things that can give a player a unique look. I wouldn't want a bunch of idiots running around with the same purple aviators that I have.

swift 01-16-2010 07:10 PM

Quote:

Originally Posted by Frankie (Post 1550655)
I don't know. I agree with this, but disagree at the same time. I think it's a little ridiculous that hats are such sacred items. but then again, they are one of the few things that can give a player a unique look. I wouldn't want a bunch of idiots running around with the same purple aviators that I have.


That's why there would be personal hats, and they are basically just like bodies, heads, or shields. People make their own unique styles.

Frankie 01-18-2010 03:40 AM

Quote:

Originally Posted by swift (Post 1550696)
That's why there would be personal hats, and they are basically just like bodies, heads, or shields. People make their own unique styles.

what good are personal hats if you can just take the image, re-name it, and have PRs upload it?

cbk1994 01-18-2010 03:57 AM

Quote:

Originally Posted by Frankie (Post 1551009)
what good are personal hats if you can just take the image, re-name it, and have PRs upload it?

We can do the same thing we do for heads (we have a system that automatically checks for duplicate personal head uploads) but it's no good if they change the format, re-export it, make a small modification like a pixel, ...

Liberated 01-18-2010 09:00 AM

Quote:

Originally Posted by cbk1994 (Post 1551011)
We can do the same thing we do for heads (we have a system that automatically checks for duplicate personal head uploads) but it's no good if they change the format, re-export it, make a small modification like a pixel, ...

maybe it can check for like a % match? I mean if even 50% matches that's already quite alot.

cbk1994 01-18-2010 09:39 AM

Quote:

Originally Posted by Liberated (Post 1551039)
maybe it can check for like a % match? I mean if even 50% matches that's already quite alot.

It's not quite that simple. The way it works is that it looks for heads with the exact same file size (down to the byte) from a list of corresponding head paths and file sizes. If it matches, it's most likely a duplicate. However, there are rare cases where there are two heads with the same file size, so it also compares the contents with a string check.

Changing this to actually load every file, parse it as a PNG/GIF/MNG, then compare each pixel would be nearly impossible and definitely not worth the effort (except maybe for experience in programming, I guess).

12171217 01-18-2010 05:58 PM

There's no need to do all that, simply parse the file's contents out, byte for byte, and generate a hash, then compare hashes. Of course merely changing a pixel or adding some header information would **** you over, but whatever.

Alternatively, you could sample a certain coordinates for the head, like where it faces down, and store the RGBA values with a threshold to permit. Then compare a few pixels aganist each other, only 32x32x3 bytes to parse if you do them all anyway, wouldn't take that long.

Old_Days 01-18-2010 07:41 PM

Quote:

Originally Posted by 12171217 (Post 1551076)
There's no need to do all that, simply parse the file's contents out, byte for byte, and generate a hash, then compare hashes. Of course merely changing a pixel or adding some header information would **** you over, but whatever.

Alternatively, you could sample a certain coordinates for the head, like where it faces down, and store the RGBA values with a threshold to permit. Then compare a few pixels aganist each other, only 32x32x3 bytes to parse if you do them all anyway, wouldn't take that long.

How about english? Not all of us are brainiacs.

12171217 01-18-2010 08:29 PM

Quote:

Originally Posted by Old_Days (Post 1551093)
How about english? Not all of us are brainiacs.

Well I typed it for the sake of people who do understand, so maybe they can implement it :p

CharlieM 01-18-2010 11:02 PM

problem with auto checking is there could be something that someone took from there head and put on a friends head that took up maybe 50% of the head, so if it checked by pixel it would come up as stolen wouldnt it?

12171217 01-18-2010 11:35 PM

Quote:

Originally Posted by CharlieM (Post 1551132)
problem with auto checking is there could be something that someone took from there head and put on a friends head that took up maybe 50% of the head, so if it checked by pixel it would come up as stolen wouldnt it?

Hmm.. If I'm not mistaken, that's called stealing.

What you could do, though, is if you want somebody to make a remake of your head or whatever, you can password your head and give them the password, perhaps, or something along the lines of that.

cbk1994 01-19-2010 12:09 AM

Quote:

Originally Posted by 12171217 (Post 1551076)
There's no need to do all that, simply parse the file's contents out, byte for byte, and generate a hash, then compare hashes. Of course merely changing a pixel or adding some header information would **** you over, but whatever.

Alternatively, you could sample a certain coordinates for the head, like where it faces down, and store the RGBA values with a threshold to permit. Then compare a few pixels aganist each other, only 32x32x3 bytes to parse if you do them all anyway, wouldn't take that long.

Not worth it for our cause :p. The head checker was just added as a precaution because with the new uploader it's a hell of a lot easier to re-upload heads (click "Upload", click "heads" folder, then double click one).

Quote:

Originally Posted by CharlieM (Post 1551132)
problem with auto checking is there could be something that someone took from there head and put on a friends head that took up maybe 50% of the head, so if it checked by pixel it would come up as stolen wouldnt it?

see below

Quote:

Originally Posted by cbk1994 (Post 1551042)
It's not quite that simple. The way it works is that it looks for heads with the exact same file size (down to the byte) from a list of corresponding head paths and file sizes. If it matches, it's most likely a duplicate. However, there are rare cases where there are two heads with the same file size, so it also compares the contents with a string check.

Changing this to actually load every file, parse it as a PNG/GIF/MNG, then compare each pixel would be nearly impossible and definitely not worth the effort (except maybe for experience in programming, I guess).



All times are GMT +2. The time now is 11:36 AM.

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