Page 1 of 1

"How do I make myself a GM?"

Posted: Tue Nov 27, 2012 9:11 pm
by codiddle
Hopefully this is a cure-all for that question that's been asked so many times. I doubt it, but I figured I'd try it anyway. I created a SQL file that should automate the task of looking through the database to configure a character to be a GM.

There are a few things to keep in mind-
This will ONLY work if:
1. It's your first character you've created.
2. You've logged in and created the character with success.
3. You have all of the tables setup already in the database.
4. The database is actually running.
5. You have a program that will execute SQL files.
4a. HeidiSQL is a free one
4b. Navicat is another
If you'd like to make a different character in the database a GM,
you need to find out what the charid is in the database.

To do this, open HeidiSQL, or Navicat, and navigate through the database tables.
You should find 'account', under which holds the information for each account. Next, find the 'chars' tables and locate the account that corresponds, and figure out which character you want to have Senior GM privs. Take note of the number, then open a text editor (notepad++ or Windows text editor) and open SQL file. Change the number 21828 to the number you found in the database for your character.

Edit: Helps if I add the file....
Edit: Removed all spells, because for some reason the value you get when you have all spells doesn't work if it's copied/pasted. And if it's copied/pasted, and one were to use the @addallspells GM command to correct this problem, the client crashes.

Re: "How do I make myself a GM?"

Posted: Tue Nov 27, 2012 9:19 pm
by link
Set name flags to 83886080

Re: "How do I make myself a GM?"

Posted: Tue Nov 27, 2012 9:27 pm
by codiddle
Then, there's that... lol. I can't remember that number, so I'm always looking for my file with that info in it. I'd rather just load up the sql and be done w/ it.

Re: "How do I make myself a GM?"

Posted: Tue Nov 27, 2012 9:34 pm
by link
I have it saved in a special place xD

Re: "How do I make myself a GM?"

Posted: Tue Nov 27, 2012 9:36 pm
by codiddle
That's what she said.

Re: "How do I make myself a GM?"

Posted: Sat Dec 01, 2012 1:08 am
by Vanyel
67108864 - GM
83886080 - GM Senior
100663296 - GM Leader
117440512 - SE Producer

Re: "How do I make myself a GM?"

Posted: Tue Dec 04, 2012 9:43 pm
by bluekirby0
This is all on the wiki you know :P