![]() |
If you add the code Xenon pointed out, wouldn't it run the same speed as it does now?
Quote:
|
No. It is only one additional comparison that should run fast.
|
So, as the hack writer, do you recommend to add it? ;)
|
can i answer?
it's not recommended, but it prevents a bug which can occur (normally one on every million board, but a bug, so in vb3 i think this would be in..) |
Ok, then, just for curiosities sake, what would happen if the bug ever did occur? Would it only happen once in a long while and what would it do or cause?
|
If the hashes of two different attachments are the same the new attachment wouldn't make it into the database because it is assumed that it is the same file like the one that is already in the database.
So the bug would be that the wrong attachment is shown in the post. I don't think that you will encounter this bug. |
Thanks for explaining that. I will go ahead and add the original version then. Thanks! ;) And great hack, by the way. :)
|
This is bugging the heck out of me for some reason. What does this come out to?
1 to 3.4 * 10^38 I tried to do it on the windows Scientific Calculator and I only come up with something like 149.5. |
it is 0.000000000000000000000000000000000000002941 :)
|
The chances that you want to upload a file that has the same hash like a file that is already in the database are 1:340.000.000.000.000.000.000.000.000.000.000.000. 000
That means you have to upload this many files before the "bug" will occur. Theoretically. |
All times are GMT. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|