Idea: Get credit without being logged in, when uploading..

Suggestions for WarcraftRealms.com
Post Reply
User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Idea: Get credit without being logged in, when uploading..

Post by FuxieDK »

I think we've all tried to upload Census-data without being logged in and thus you don't get credit for the upload, you can't see if/when it's processed etc.

However, if you could specify your profile-name (in my case FuxieDK) in the config in the AddOn, this name could then be saved in the censusplus.lua-file.
If you then upload, without being logged in, this profile-name should be creditted with the upload. If you are logged in (maybe even with a different name), your login-name should be creditted, like it is now..

The reasons for not being logged in when uploading can be many, but the most common are probably that you've deleted cookies or have reinstalled windows.

gmmmpresser
Superior Census Taker
Posts: 63
Joined: Sun Sep 04, 2005 6:51 am

Post by gmmmpresser »

What would happen if your profile-name is different from your login-name? This would presume that the profile-name was the same as the login-name.
In my case I have 2 accounts, hence 2 profile-names. But I have only 1 login-name. I think that some of the top contributors are in the same boat.
While I think that this is a good idea, I am not sure that this would work very well with people with multiply accounts.

Kosh
Census Taker
Posts: 84
Joined: Sun Jul 01, 2007 2:59 am
Location: Somewhere on or near Earth

Post by Kosh »

In FuxieDK's post, substitute "WR account name" (or probably what you're calling "login-name") for "profile-name", and this might be workable. Note that this might be what he meant in the first place, and just used potentially confusing names.

As for ease of implementation, it would depend on when the upload script is currently updating the database with user-specific info as it's processing the file. If it inserts / updates as it is parsing the file, then it would either need to pre-parse to find the WR account name, or rewritten to do any account-specific DB work after it's done completely processing the file.

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

Made short:
- Use "WR account name", if you're logged in on Warcraftrealms.com
- Use "name stored in LUA-file", if you're NOT logged in on Warcraftrealms.com

There is no need to store any password in LUA, as you can't abuse this in any way.. The "worst thing" you can do, is to upload in the name of someone else and then he/she gets credits for your work..

gmmmpresser
Superior Census Taker
Posts: 63
Joined: Sun Sep 04, 2005 6:51 am

Post by gmmmpresser »

How do you get info into the 'name stored in LUA-file'?
Perhaps this might need to be setup the first time that Census is installed/run/uploaded.

Kosh
Census Taker
Posts: 84
Joined: Sun Jul 01, 2007 2:59 am
Location: Somewhere on or near Earth

Post by Kosh »

Well, if this were implemented, Rollie would presumably add a configuration option (in-game) where you can set this up. It would be doable, but I would prefer the option screen not pop up the first time you run the add-on, as that would be annoying. Perhaps print a message the first time suggesting the user check the options?

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

gmmmpresser wrote:How do you get info into the 'name stored in LUA-file'?
Read my initial post: In the config in the AddOn...

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

Rollie.... Any word on this?
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post by Hybuir »

if you think about it, someone can just horde up censuses and upload less knowing that they'll trump whoever uploads first.

Upload first, upload often.

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

You can't mess up anyone's upload with or this feature..
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

Kosh
Census Taker
Posts: 84
Joined: Sun Jul 01, 2007 2:59 am
Location: Somewhere on or near Earth

Post by Kosh »

Hybuir wrote:if you think about it, someone can just horde up censuses and upload less knowing that they'll trump whoever uploads first.

Upload first, upload often.
"Vote early, vote often." ;)

Anyway, I don't see any downside from an end-user point of view, so please explain what you mean by "trump whoever uploads first".

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post by Hybuir »

if you uploaded the data and saw a player ding 80 first and uploaded it, a next logical step would be to have whoever viewed him first, get credit.

it's not that hard to remain logged into WCR and upload on a regular basis :)

Kosh
Census Taker
Posts: 84
Joined: Sun Jul 01, 2007 2:59 am
Location: Somewhere on or near Earth

Post by Kosh »

I am still not following you. As it currently works, whichever file gets uploaded / processed first that "sees" a particular player update, gets the credit, even if the first submission was anonymous.

I am making an assumption that the first submission "wins" the new / updated chars; if this if incorrect, then please let me know. :)

For example, let's say you have Player A and B who both scan the same server / faction at the same time (so they both see the same new / updated characters). Player A submits first. As it is now, if Player A doesn't log in before uploading, then the new / updated characters aren't credited to anyone (or if you like, to "anonymous"). Player B doesn't get credit for them since they didn't "see them" (i.e., submit them) first. If this change were enacted, and Player A takes the time to set up the "user name to get credit if not logged in", then Player A would get the credit for those new / updated chars, and Player B still doesn't get credit for them.

In both cases, Player B won't get credit since they didn't submit those updates first. If you see some way that a later submission can somehow "trump" an earlier one, then please enlighten me. Remember that Rollie's processing scripts work sequentially (in chronological order), updating the database with any new and updated characters as it works through each uploaded file. It would likely require major changes in order to retroactively grant credit to a later submission, since at that point in time, the chars aren't new or updated any more.

Yes, it isn't hard to be logged in, but people might browse on a different computer from the one they are playing / uploading on, or the cookie might expire or otherwise get nuked unexpectedly, leaving you not logged in, unless you happen to notice. Besides, if this change were to be implemented, it would then be more likely that Rollie would implement my requested change to not require the password when programmatically uploading. :D

Again, if you see something I am missing, then please let me know. :)

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

/agree Kosh
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

I understand exactly what you are referring to, and it wouldn't be too hard to implement. It will be filed under the 'IT would be nice' category, which honestly, with my current load equates to no time soon =/
phpbb:phpinfo()

Post Reply