DragonPrime - LoGD Resource Community

Modules, Themes and other customizations for your game => Completed Modules for version 1.x.x => Topic started by: Brendan on August 17, 2018, 09:16:20 PM



Title: Account Switcher : File Submission/Discussion
Post by: Brendan on August 17, 2018, 09:16:20 PM
Based on an idea from Megan, here is an Alt Account Switcher module.

Brief Summary
This module allows users to connect there alts together. Once an alt has been added, users can switch between accounts with a single click and without the need to keep logging in/logging out.

Anti Spam Protection
If a user enters an alt's username/password combination incorrectly 3 times in a row, they are suspended from the "Add Alt" page for 30 minutes. This will prevent users spamming the form or trying to spam guess passwords.

Adding an Alt
Users are not allowed to add alts that are currently banned, awaiting account activation or an account that is currently locked.
When adding an alt, you are automatically added as an alt to that user also. This allows you to go back and fourth between accounts.

Tested on 1.1.2
Feedback, suggestions welcome

Enjoy  :)


Title: Re: Account Switcher : File Submission/Discussion
Post by: Aeolus on August 18, 2018, 01:58:43 AM
Database table? Why not use prefs? Not sure why there's separate files for logging in/out when the core already has one available for use.


Title: Re: Account Switcher : File Submission/Discussion
Post by: Brendan on August 18, 2018, 12:44:32 PM
Database table? Why not use prefs? Not sure why there's separate files for logging in/out when the core already has one available for use.

Database table is much easier to store the alts, a player could potentially have hundreds of alts so a table makes sense.

The separate login/logout scripts are because they needed slightly edited to work with the module, you would of seen that if you looked properly.


Title: Re: Account Switcher : File Submission/Discussion
Post by: Sunday on August 20, 2018, 10:58:11 AM
It looks great. Thank you. Nice touch on the antispam feature.


Title: Re: Account Switcher : File Submission/Discussion
Post by: Brendan on August 20, 2018, 02:57:04 PM
It looks great. Thank you. Nice touch on the antispam feature.

Thanks, glad you like it.


Title: Re: Account Switcher : File Submission/Discussion
Post by: TGTarheel on August 23, 2018, 05:34:03 AM
I do see ONE stellar advantage to having this installed.  Admins wold thus know FOR SURE...who is whose alt...allowing misbehaving players to be appropriately sanctioned if they use alts to cheat or create drama, or stalk and harass other players....as some people DO use alts for this sort of thing.  Anyone using this module for their alts...it would become totally clear whose alt is whose.


Title: Re: Account Switcher : File Submission/Discussion
Post by: Sunday on August 26, 2018, 11:18:50 AM
I do see ONE stellar advantage to having this installed.  Admins wold thus know FOR SURE...who is whose alt...allowing misbehaving players to be appropriately sanctioned if they use alts to cheat or create drama, or stalk and harass other players....as some people DO use alts for this sort of thing.  Anyone using this module for their alts...it would become totally clear whose alt is whose.

Anyone that would cause trouble at a place is not going to register an alt like that lol. Checking ip and id are the only measures you will have - if they want to change those to stay hidden, they surely won't add a link between accounts.


Title: Re: Account Switcher : File Submission/Discussion
Post by: TGTarheel on August 28, 2018, 11:43:15 AM
I do see ONE stellar advantage to having this installed.  Admins wold thus know FOR SURE...who is whose alt...allowing misbehaving players to be appropriately sanctioned if they use alts to cheat or create drama, or stalk and harass other players....as some people DO use alts for this sort of thing.  Anyone using this module for their alts...it would become totally clear whose alt is whose.

Anyone that would cause trouble at a place is not going to register an alt like that lol. Checking ip and id are the only measures you will have - if they want to change those to stay hidden, they surely won't add a link between accounts.

I know.  But, if I were to have something like this on my site, I'd also have a rule that said all alts must be registered in this way...and if caught using an unregistered alt, you get all your known accounts deleted.

I know, I am fairly hostile to the idea of alts, because in my experience, people use them to get up to all kinds of no good.

So, as I was saying - the advantage to having something like this is it might motivate people to not use alts to get up to no good.  I do know some people use alts in ways that are not nefarious.


Title: Re: Account Switcher : File Submission/Discussion
Post by: Aeolus on August 28, 2018, 07:03:47 PM
I know.  But, if I were to have something like this on my site, I'd also have a rule that said all alts must be registered in this way...and if caught using an unregistered alt, you get all your known accounts deleted.

I know, I am fairly hostile to the idea of alts, because in my experience, people use them to get up to all kinds of no good.

So, as I was saying - the advantage to having something like this is it might motivate people to not use alts to get up to no good.  I do know some people use alts in ways that are not nefarious.

Site rules won't stop those who are deliberately there to create trouble.

Anyways, this thread is for discussion, issues and suggestions for the module itself.


Title: Re: Account Switcher : File Submission/Discussion
Post by: TGTarheel on August 28, 2018, 10:20:41 PM
I know.  But, if I were to have something like this on my site, I'd also have a rule that said all alts must be registered in this way...and if caught using an unregistered alt, you get all your known accounts deleted.

I know, I am fairly hostile to the idea of alts, because in my experience, people use them to get up to all kinds of no good.

So, as I was saying - the advantage to having something like this is it might motivate people to not use alts to get up to no good.  I do know some people use alts in ways that are not nefarious.

Site rules won't stop those who are deliberately there to create trouble.

Anyways, this thread is for discussion, issues and suggestions for the module itself.

Well, then consider that a suggestion for the module.  It should check, using existing tools for multis, and alert to possible multis that are not currently registered with the module...and alert Admin to that.


Title: Re: Account Switcher : File Submission/Discussion
Post by: Aeolus on August 29, 2018, 02:19:02 AM
Well, then consider that a suggestion for the module.  It should check, using existing tools for multis, and alert to possible multis that are not currently registered with the module...and alert Admin to that.

The primary use of the module is for it to be a player version, to make it easier for people to log into their alts without logging out. If you wish to make an administrative version of it, you're always more than welcome to.

© 2018 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines