[crossfire] Account login limitation

Mark Wedel mwedel at sonic.net
Fri Jul 23 16:06:48 CDT 2021


On 7/23/21 12:25 PM, Preston Crow wrote:
> On 2021-07-23 15:12, Nicolas Weeger wrote:
>> The code currently forbids being connected more than one time per account.
>>
>>
>> I don't remember what the rationale was for that restriction - game-play ones?
>> technical ones?
>>
>> Any hint appreciated :)
>>
>>
>> I was thinking of removing it, to allow players to exchange easily stuff
>> between their characters...
> 
> Ideally it would be a server config option.  I'm a huge fan of letting the server administrators decide how they want their server to work. There are quests that are designed for multiple players, though only one that I've been unable to do solo, and I can understand trying to make them really encourage social play. Then again, in a pinch, players will just create multiple accounts, so there's not a lot of value in the restriction.
> 
> On a related note, I could see an argument for a method of letting other characters from your own account into your private apartments.

  This probably dates back to before the account system was added.

Back when you logged in with the character, it only made sense that a single login for a character.  In some cases, a connection could get dropped, and it take a while for the server to notice the dropped connection, so having the server see the same character log in and drop the existing connection made it easier to log in (I think before that, you got an error message if you tried to log in with a character already logged in)

  With the account system, this makes less sense.  There might still need to be some logic to cover the case above (connection dropped).  And any change would need to makes sure that the same character can not be logged in more than once.  I don't think there is any account info that is held by the server that would result in account corruption, eg, char A logs in, then char B.  Char B logs out, updates info, then char A logs out, and overwrites that info, but not 100% sure of that.

  To follow up on Preston's comment, having account based apartment instead of character based ones could also be interesting.




More information about the crossfire mailing list