wiki:How_to_manually_setup_accounts
Last modified 6 years ago Last modified on Oct 28, 2006 4:48:11 PM

How to manually setup accounts

Note: This will not set the account as a GM, please see
How to set GM access.

To add an account to a mysql based server manually we need to use specific server application.

Open the loginserver folder.

Locate and open the file startSQLAccountManager.bat.

It will look like this:

Please choose an option:
1 - Create new account or update existing one (change pass and access level)
2 - Change access level
3 - Delete existing account (this option _keeps_ character files)
4 - List accounts & access levels
5 - Exit

Your choice:
Create new account:
Select option 1
Enter a username: test
Enter a password: test
Enter access level: 0
Press any key to close.
Account is created, you can see it in database in table accounts.
This can be done while the servers are online. No restart needed.

Update existing account:
To change password and/or access level, select option 1
Enter desired username: test
Enter new password: new_test
Enter new access level: 100
This can be done while the servers are online. No restart needed.

Changing access level
Select option 2
Enter desired username: test
Enter new access level: 100
You will see:
Account test has been updated.
Press any key to close.
This can be done while the servers are online. No restart needed.

Deleting an account
Select option 3
Enter desired username: test
You will see:
Do you really want to delete this account ? Y/N :
To confirm deletion type Y (Y not y) and press Enter.
You will see:
Account test has been deleted.
Press any key to close.
This can be done while the servers are online but account should not be logged in.
Note: Characters associated to this account will NOT be deleted.

View accounts and access levels:
Choose option 4 and press Enter.
You will see all accounts listed with their access level, like this:
test -> 0
test1 -> 100
..............
test855 -> -100
Number of accounts: 856.
Press any key to close.
This can be done while the servers are online.

If you don't want to make any operations:
Select option 5 to exit, press any key to close.