- Joined
- May 12, 2008
- Messages
- 2,547
- Reaction score
- 437
1.) Download:
2. Open SQL, click new Query and add this code.
3.) Download this comment.ini.
4.) Open the M- gmcharedit then put this values.
5.) Create new account that has the Usertype of 32 .
6.) Now log it in to the gmchareditor.
Note: password must not be Md5 Hash when logging in.
You must be registered to see links
2. Open SQL, click new Query and add this code.
PHP:
USE [RanUser]
GO
/****** Object: StoredProcedure [dbo].[gm_login] Script Date: 11/26/2008 21:15:16 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
-------------------------------------------------------------------------------
-- sp_gm_login.sql
-------------------------------------------------------------------------------
ALTER PROCEDURE [dbo].[gm_login]
@userId char(50),
@userPass char(50),
@authenticate char(50),
@nReturn int OUTPUT
AS
DECLARE @nUserNum int,
@nUserType int
SET NOCOUNT ON
SET @nReturn = 0
SET @nUserNum = 0
SELECT @nUserNum = UserInfo.UserNum, @nUserType=UserInfo.UserType
FROM UserInfo
WHERE UserID = @userId AND UserPass = @userPass AND UserAvailable = 1 AND UserType>=20
-- ID / PWD ??...
IF @nUserNum = 0
BEGIN
-- ID / PWD ??? ?? ???????
SET @nReturn = 0
END
ELSE
BEGIN
-- ID / PWD ??
SET @nReturn = @nUserType
-- ???? ???
INSERT INTO LogGmCmd (UserNum, GmCmd)
VALUES (@nUserNum, 'LOGIN GMTOOL UserID:' + @userId)
END
SET NOCOUNT OFF
RETURN @nReturn
3.) Download this comment.ini.
4.) Open the M- gmcharedit then put this values.
DB Name : RanUser
SQL User : sa
Password : yourpass
Retype : yourpass
5.) Create new account that has the Usertype of 32 .
6.) Now log it in to the gmchareditor.
Note: password must not be Md5 Hash when logging in.
Last edited: