搜索
 找回密码
 加入

[Any version] Knight Editor/'GM tool'

ctgwglzc 2011-3-7 20:10:02 2088
Original NoahSystem/mgame character data editor.
Description
Lets you edit character data (including skills, quests, inventory & inn), and clan data.


Download

http://files.2-stars.net/2011/01/KnightEditor.zip


http://files.knightsshout.com/file/KnightEditor.zip

4 回复

ctgwglzc
2011-2-21 00:04:33
楼主
点击查看详情
Usage guide

    * Add the following stored procedure:
  1. CREATE PROCEDURE [dbo].[UMG_LOGIN]
  2.     @AccountID    varchar( 21),
  3.     @Password    varchar(32),
  4.      @nRet        smallint    OUTPUT
  5. AS
  6. DECLARE @pwd varchar(32), @Authority int
  7. BEGIN

  8.     -- <RETRIEVE ACCOUNT DATA>
  9.     SELECT @pwd = strPasswd, @Authority = strAuthority FROM TB_USER WHERE strAccountID = @AccountID
  10.     -- </RETRIEVE ACCOUNT DATA>

  11.     -- <ACCOUNT DOES NOT EXIST>
  12.     IF @@ROWCOUNT = 0
  13.     BEGIN
  14.         SET @nRet = 0
  15.         RETURN
  16.     END
  17.      -- </ACCOUNT DOES NOT EXIST>

  18.     -- <NOT A 'GM'> [SET strAuthority TO 0]
  19.     IF @Authority <> 0
  20.     BEGIN
  21.         SET @nRet = 0
  22.         RETURN
  23.     END
  24.      -- </NOT A 'GM'>
  25.    
  26.     -- <EMPTY PASSWORD>
  27.     ELSE IF @pwd IS NULL
  28.     BEGIN
  29.         SET @nRet = 0
  30.         RETURN
  31.     END
  32.      -- </EMPTY PASSWORD>

  33.     -- <INVALID PASSWORD>   
  34.     ELSE IF @pwd <> @Password
  35.     BEGIN
  36.         SET @nRet = 0
  37.         RETURN
  38.     END
  39.      -- </INVALID PASSWORD>

  40.     SET @nRet = 1
  41. END
复制代码
Add the following tables:
  1. CREATE TABLE [dbo].[TOOL_USER_IP](
  2.     [strUserIP] [varchar](15) NULL,
  3.     [CreateTime] [datetime] NULL
  4. ) ON [PRIMARY]
  5. GO
  6. CREATE TABLE [dbo].[TOOL_VERSION](
  7.     [sIndex] [int] NOT NULL,
  8.     [sUserTool] [int] NULL,
  9. CONSTRAINT [PK_TOOL_VERSION] PRIMARY KEY CLUSTERED
  10. (
  11.     [sIndex] ASC
  12. )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
  13. ) ON [PRIMARY]
复制代码
Add the following version rows:
  1. INSERT INTO TOOL_VERSION VALUES(1, 1017)
  2. INSERT INTO TOOL_USER_IP VALUES('YOUR INTERNAL IP ADDRESS GOES HERE', GetDate())
复制代码
# Configure "editor.ini" to reflect your database details.
# Set the strAuthority value of your account to 0 in your TB_USER table.
# Start "Xydonis.exe".
天剑风小流
2011-2-21 00:42:07
什么东西 看不懂哈哈
ryan6755
2011-3-3 23:34:01
添加表的代码貌似有错误 执行不了,CT给处理下啊
evaydd
2011-3-7 20:10:02
什么东西 看不懂哈哈
高级模式
游客