"How do I make myself a GM?"

Applications/Tools written to make running DarkStar easier for the rest of us.
Post Reply
codiddle
Posts: 56
Joined: Sat Aug 11, 2012 12:58 pm

"How do I make myself a GM?"

Post by codiddle » Tue Nov 27, 2012 9:11 pm

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.
Attachments
MainCharGM.zip
(712 Bytes) Downloaded 399 times
Last edited by codiddle on Tue Nov 27, 2012 9:35 pm, edited 4 times in total.

link
Developer
Posts: 169
Joined: Fri Jul 27, 2012 3:27 pm

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

Post by link » Tue Nov 27, 2012 9:19 pm

Set name flags to 83886080

codiddle
Posts: 56
Joined: Sat Aug 11, 2012 12:58 pm

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

Post by codiddle » Tue Nov 27, 2012 9:27 pm

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.

link
Developer
Posts: 169
Joined: Fri Jul 27, 2012 3:27 pm

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

Post by link » Tue Nov 27, 2012 9:34 pm

I have it saved in a special place xD

codiddle
Posts: 56
Joined: Sat Aug 11, 2012 12:58 pm

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

Post by codiddle » Tue Nov 27, 2012 9:36 pm

That's what she said.

Vanyel
Posts: 31
Joined: Sun Jul 22, 2012 10:58 am
Location: New Brunswick, Canada

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

Post by Vanyel » Sat Dec 01, 2012 1:08 am

67108864 - GM
83886080 - GM Senior
100663296 - GM Leader
117440512 - SE Producer

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

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

Post by bluekirby0 » Tue Dec 04, 2012 9:43 pm

This is all on the wiki you know :P

Post Reply