Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

GM account tutorial

Experienced Elementalist
Joined
Sep 9, 2006
Messages
272
Reaction score
346
I will explain you how to seting up a GM account in SQL. This will make all user who use GM_Client on your server cannot use the GM_CMD without this check on DB .

Let's start :

First of all the registration account script is bad. I will give you the new :

OLD :

INSERT INTO TB_MEMBER

(
REGISTER_DATE,
LAST_DATE,
LOGINID,
PASSWORD,
LAST_SERVER_NUM,
LAST_CHANNEL_NUM,
SLEVEL
)

VALUES

(
GETDATE(),
GETDATE(),
'test1',
PWDENCRYPT(CONVERT(varbinary(100), UPPER('1111'))),
1,
1,
1
)

NEW :

INSERT INTO TB_MEMBER

(
REGISTER_DATE,
LAST_DATE,
LOGINID,
PASSWORD,
LAST_SERVER_NUM,
LAST_CHANNEL_NUM,
SLEVEL
)

VALUES

(
GETDATE(),
GETDATE(),
'test1',
PWDENCRYPT(CONVERT(varbinary(100), UPPER('1111'))),
1,
1,
0
)

You need register your account users with SLEVEL 0 ( SLEVEL 0 mean normal player , SLEVEL 1 mean GM_ACCOUNT , SLEVEL 2 mean Banned account ).

After this if you connect with an account SLEVEL 0 directly u will have error notice :

User is under investigation.

For enable SLEVEL 0 ( player account ) to connect just start the serverTooL and click on userIN *.



* make sure to use your ip ... in serverinfo.txt




Done .

Now enjoy this and now you can open your server to all.
 
Last edited:
CPP/C#/PHP/ASM
Joined
Apr 7, 2009
Messages
452
Reaction score
189
all cool but i have 1 question
how im creath new account ? im try put into
PASSWORD 1111 or somting like you say but its not working
here is an pictere
lucky40990 - GM account tutorial - RaGEZONE Forums


Uploaded with


NEW :

INSERT INTO TB_MEMBER

(
REGISTER_DATE,
LAST_DATE,
LOGINID,
PASSWORD,
LAST_SERVER_NUM,
LAST_CHANNEL_NUM,
SLEVEL
)

VALUES

(
GETDATE(),
GETDATE(),
'test1',
PWDENCRYPT(CONVERT(varbinary(100), UPPER('1111'))), HERE IS THE PROBLEM IDK WHAT TO PUT INTO PASSWORD -.-
1,
1,
0
)
 
Newbie Spellweaver
Joined
Aug 10, 2005
Messages
40
Reaction score
0
We use the provided "new" script to add in the account to our DB server and your password should be in binary data not in number..
 
Newbie Spellweaver
Joined
Mar 24, 2007
Messages
79
Reaction score
0
why i Gm acount..no funstion=.=
 
Last edited:
Back
Top