-----------------------------------------------------------------------------------------------
Setting up Administration Account / GM Characters
-----------------------------------------------------------------------------------------------
For this to work you must have created an user account.
Open SQL Server Enterprise Manager (start menu again), double click SQL Server Group, double click on your local server then click OK. Double click on databases folder and select lin2db. Click on tables then find user_account, right click on it and select Open Table then Return All Rows. Note the name and uid of the account that you want to make a gm.
Go back to databases and this time select lin2world. Click tables and select builder_account, right click select Open table then Return All Rows. Under account name enter the name of your character (that you noted before in user_account) and under default builder enter 1 and under account_id enter the uid you noted from user_account.
When you make a new character on this account it will have GM powers, the commands are located in script/BuilderCmdAlias.txt and are used //command so to disable invisible mode you would type in: //hide off
To give a current character GM powers, Go back to databases and select lin2world. Click tables and select user_data, right click select Open table then Return All Rows. All the character on the server will be listed, you can just change the builder value from 0 to 9 for any character you want to give GM powers.
1 = Having all command access.
9 = Having limited access to commands.
So basically, you just need to find the account id and the person's account name for it to work. I'm pretty sure you can limit the gm access to player characters only as well. If you use the whole account number, you'll basically give GM access to all of the characters on that person's account. So be careful on who you give access to. They can really screw up your server. :P
|