Right so... I've been working on a replacement for centrepoint in my free time, however I've been wanting to automate the registering system.
I face one problem with this, I cannot automatically check if a character name exists on SWCombine or if the character is dead/has a new name or not. This could easily be done through using the Profile ID as a primary key and requesting the involving name with it. This way one can make sure nobody can have an account on the trading website that simply does not exist without the need of constant admin intervention, thus making it automatic.
I am unaware if the API (that I vaguely remember in the back of my mind being there somewhere on the combine site) has the possibility of cross referencing or requesting info like that, if it does.. Great! Question answered.
If it doesn't I'd like to request the possibility for this to be added (Or if my vague recollection is wrong, to be made).
For the sake of detailing the kind of info needed..
I would require the profile ID and the current name to be requested from the database to cross reference it with the name put in the registering form.
To detail how it would work:
- User registers using current SWCombine name on Trading Website
- Trading Website checks if this is a legimate name currently existing on the combine
- Trading Website requests and attaches the Profile ID to the account
- Every log in the website would check if the name to the attached Profile ID is still correct, if not it would force the user to change the name, Profile picture and any and all public history of the user (such as in Centrepoint's case positive reviews made out to the user and made by the user) will no longer be attached to this account. They'll still exist to their earlier name but will no longer have any attachment to the new name with no way of checking if the new name had made those past reviews or gained them. This is in the spirit of SWCombine's perma death system. Once a character dies, it dies.
So yeah, both a bit of a coding question as well as a question directed to admins (and staff in general).
I face one problem with this, I cannot automatically check if a character name exists on SWCombine or if the character is dead/has a new name or not. This could easily be done through using the Profile ID as a primary key and requesting the involving name with it. This way one can make sure nobody can have an account on the trading website that simply does not exist without the need of constant admin intervention, thus making it automatic.
I am unaware if the API (that I vaguely remember in the back of my mind being there somewhere on the combine site) has the possibility of cross referencing or requesting info like that, if it does.. Great! Question answered.
If it doesn't I'd like to request the possibility for this to be added (Or if my vague recollection is wrong, to be made).
For the sake of detailing the kind of info needed..
I would require the profile ID and the current name to be requested from the database to cross reference it with the name put in the registering form.
To detail how it would work:
- User registers using current SWCombine name on Trading Website
- Trading Website checks if this is a legimate name currently existing on the combine
- Trading Website requests and attaches the Profile ID to the account
- Every log in the website would check if the name to the attached Profile ID is still correct, if not it would force the user to change the name, Profile picture and any and all public history of the user (such as in Centrepoint's case positive reviews made out to the user and made by the user) will no longer be attached to this account. They'll still exist to their earlier name but will no longer have any attachment to the new name with no way of checking if the new name had made those past reviews or gained them. This is in the spirit of SWCombine's perma death system. Once a character dies, it dies.
So yeah, both a bit of a coding question as well as a question directed to admins (and staff in general).