cdoc 发表于 2010-12-2 16:28:38

如何取消或修改新用户登陆游戏时收到的那封邮件

新注册的用户登陆游戏后会在游戏里收到一封系统发送的信件,请问怎么更改这封信的内容,或是修改成不发送这封邮件。
还有,麻烦有权限的好心人把这个帖子移到技术交流区,我权限不够,无法在那里发帖。
谢谢了。

111333 发表于 2010-12-5 21:30:17

加QQ416913081 手机15024295154 我会

cdoc 发表于 2010-12-6 08:48:52

在论坛里说一下不行?

ubifk 发表于 2010-12-11 14:54:48

我想知道,,,,,,,,,,

oiwww 发表于 2010-12-11 15:50:19

1# cdoc
修改数据库存储,就是出生状态的那个存储!

fxjwvf 发表于 2010-12-11 19:25:48

改creat-new-char的存储过程。

ruruqq 发表于 2010-12-12 00:47:17

CREATE_NEW_CHARCREATE PROCEDURE CREATE_NEW_CHAR

@nRet                smallint OUTPUT,
@AccountID         char(21),
@index                 tinyint,
@CharID        char(21),
@Race         tinyint,
@Class                 smallint,
@Hair                 tinyint,
@Face                 tinyint,
@Str                 tinyint,
@Sta                 tinyint,
@Dex                 tinyint,
@Intel                 tinyint,
@Cha                 tinyint

AS

--禁止空格
if CHARINDEX(char(161),@CharID)>=1
begin
        --SET @nRet =1
        return
end
IF RIGHT(rtrim(@CharID),1)=char(161)
BEGIN
        --SET @nRet =1
        return
END

DECLARE @Row tinyint, @Nation tinyint, @Zone tinyint, @PosX int, @PosZ int
        SET @Row = 0        SET @Nation = 0SET @Zone = 0SET @PosX = 0 SET @PosZ = 0

        SELECT @Nation = bNation, @Row = bCharNum FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
       
        IF @Row >=1        SET @nRet =1
       
        IF @Nation = 1 AND @Race > 10        SET @nRet = 2
        ELSE IF @Nation = 2 AND @Race < 10        SET @nRet = 2
        ELSE IF @Nation <>1 AND @Nation <> 2        SET @nRet = 2

        IF @nRet > 0
                RETURN
       
        SELECT @Row = COUNT(*) FROM USERDATA WHERE strUserId = @CharID
        IF @Row > 0
        BEGIN
                SET @nRet =3
                RETURN
        END

        --SET @Zone = @Nation
        SET @Zone=21
        SELECT @PosX = InitX, @PosZ = InitZFROM ZONE_INFO WHERE ZoneNo = @Zone
       

BEGIN TRAN       
        IF @index = 0
                UPDATE ACCOUNT_CHAR SET strCharID1 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID
        --ELSE IF @index = 1
                --UPDATE ACCOUNT_CHAR SET strCharID2 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID
        --ELSE IF @index = 2
                --UPDATE ACCOUNT_CHAR SET strCharID3 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID
        --ELSE IF @index = 3
                --UPDATE ACCOUNT_CHAR SET strCharID4 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID
        --ELSE IF @index = 4
        --        UPDATE ACCOUNT_CHAR SET strCharID5 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID
       
                INSERT INTO USERDATA (strUserId, Nation, Race, Class, HairColor, Face, Strong, Sta, Dex, Intel, Cha, Zone, PX, PZ ,loyalty,gold,)
        VALUES       (@CharID, @Nation, @Race, @Class, @Hair, @Face, @Str, @Sta, @Dex, @Intel, @Cha, @Zone, @PosX, @PosZ,100,500000,1500000000)        
       
        IF @@ERROR <> 0
        BEGIN       
                ROLLBACK TRAN
                SET @nRet =4
                RETURN
        END
       
COMMIT TRAN
SET @nRet =0
GO
页: [1]
查看完整版本: 如何取消或修改新用户登陆游戏时收到的那封邮件