• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!

Refrain from counting downloads of own resources

Status
Not open for further replies.
This is a rather simple suggestion.
From time to time I need to download my own resources. This mostly happens just after I have uploaded a new resource and I need to check if everything works.
I don't really like that the forum counts this as a download.
I know it doesn't mean anything it just feels kinda wrong.

So it is possible to detect if a resource is getting downloaded by the uploader of said resource?
 

Ralle

Owner
Level 77
Joined
Oct 6, 2004
Messages
10,124
It counts one download per IP yes.

The simple solution is to see if the user is logged in and then see if the user is the author. But you can just log out then and download your stuff. Beginning to cross reference IPs by the IPs of the userbase seems a bit intense for me.

If anything, I think we should make it check if you are logged in and the author. I can imagine that maybe you feel that it's wrong to count it and you would feel better if it was not counted when you download yourself?
 
Does this really matter?

No not really. It doesn't mean anything. Like I said in the OP it just feels wrong. And if there is an easy fix, why not change it.

Ralle said:
If anything, I think we should make it check if you are logged in and the author. I can imagine that maybe you feel that it's wrong to count it and you would feel better if it was not counted when you download yourself?

Yeah, just that. I guess most users who upload resources are logged in most of the time anyway. And cross reference IPs is way over the top from what I expected to be done.
 
No not really. It doesn't mean anything. Like I said in the OP it just feels wrong. And if there is an easy fix, why not change it..

Well, I didn't quite explain where I stand, sorry, what I meant is, I know it isn't an easy or simple fix and there's always a way to abuse the system, so I didn't think it would've been worth going far to 'fix' it.
 
On the other side, if you just don't want the download to count, you can open an incognito window and download it that way.

I didn't think about that. I guess case closed.

Dr Super Good said:
If your own downloads are a significant part of your download count then you really need to advertise your resource more, or check if it is even visible.

Yeah... that's not the case.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,233
easiest solution is to just use the IP address of the computer and not their routers location
I am not sure you thought that solution through too well. The IPv4 address which THW servers see is the router's (or proxy's) IP address from which the location can be approximated based on how address ranges have been allocated. The local IP address of the computer (behind proxy or NAT) cannot really be seen by the server and there is also a fair chance it is not very unique due to the natures of NATs and local networks (192.168.1.XXX).

What you are suggesting does not really apply to IPv6 as well since the IP address the server sees is unique for every computer. I guess NATs could still be used but they should not really be needed outside of servers with IPv6.

You might have meant the computer's MAC address which is unique for every IP capable piece of hardware. This generally is not visible to the server as it only makes sense at the link level (Ethernet MAC address only makes sense within a single Ethernet network).
 
Status
Not open for further replies.
Top