红月论坛

 找回密码
 立即注册
查看: 8077|回复: 5

RMS_ADDBONUSINITQUEST

[复制链接]
发表于 2019-1-31 19:48:31 | 显示全部楼层 |阅读模式
  1. ALTER PROCEDURE [dbo].[RMS_ADDBONUSINITQUEST]
  2.         @GameID varchar(14),
  3.         @Time datetime
  4. AS

  5.         set nocount on

  6. declare @increasebonusinitcount_error int, @insertmail_error int

  7.         begin transaction

  8.         update tblGameID1 set BonusInitCount = BonusInitCount + 1 where GameID = @GameID

  9.         select @increasebonusinitcount_error = @@ERROR

  10.         insert tblMail1 (Time, Recipient, Sender, ReadOrNot, Title, Line, Content, Item) values(@Time, @GameID, '[Kasham]', 0, 'Urgent Message from Kasham', 11, 'I am Kasham. You may remember me from the last
  11. quest. I am one of the scientists from the
  12. state-of-the-art lab in Signus. I have been
  13. sent to help you out.

  14. I heard that you are suffering from wrong
  15. distribution of your attributes. Visit our agent
  16. disguising as a doctor. Our adavanced medical
  17. art will solve your problem.

  18. I will contact you again if something happens.
  19. Please take care of yourself.', '')

  20.         select @insertmail_error = @@ERROR

  21.         if @increasebonusinitcount_error = 0 AND @insertmail_error = 0
  22.         begin

  23.                 commit transaction

  24.         end
  25.         else
  26.         begin

  27.                 rollback transaction

  28.         end
复制代码


以下为邮件内容汉化版:
  1. ALTER PROCEDURE [dbo].[RMS_ADDBONUSINITQUEST]
  2.         @GameID varchar(14),
  3.         @Time datetime
  4. AS

  5.         set nocount on

  6. declare @increasebonusinitcount_error int, @insertmail_error int

  7.         begin transaction

  8.         update tblGameID1 set BonusInitCount = BonusInitCount + 1 where GameID = @GameID

  9.         select @increasebonusinitcount_error = @@ERROR

  10.         insert tblMail1 (Time, Recipient, Sender, ReadOrNot, Title, Line, Content, Item) values(@Time, @GameID, '[卡森]', 0, '紧急信件', 11, '我是卡森,你还记得我吗?
  11. 我是来自锡葛尼斯科学实验室的博士,
  12. 希望能帮助到你。

  13. 我听说你正饱受属性分配错误的困扰,
  14. 请去拜访我们伪装成医生的同事,
  15. 获取神秘的药剂,它能够解决你的问题。

  16. 必要时候,我会再次联系你。
  17. 保重!', '')

  18.         select @insertmail_error = @@ERROR

  19.         if @increasebonusinitcount_error = 0 AND @insertmail_error = 0
  20.         begin

  21.                 commit transaction

  22.         end
  23.         else
  24.         begin

  25.                 rollback transaction

  26.         end
复制代码
学习红月技术,我只来红月论坛!
回复

使用道具 举报

发表于 2019-2-1 15:52:30 | 显示全部楼层
这是什么啊?看不明白
学习红月技术,我只来红月论坛!
回复

使用道具 举报

 楼主| 发表于 2019-2-9 19:26:35 | 显示全部楼层
独孤信 发表于 2019-2-1 15:52
这是什么啊?看不明白

额,没啥新东西,原来的存储,汉化一下。
学习红月技术,我只来红月论坛!
回复

使用道具 举报

发表于 2019-5-25 18:26:48 | 显示全部楼层
有用吗啊啊啊
学习红月技术,我只来红月论坛!
回复

使用道具 举报

发表于 2021-4-20 12:01:47 | 显示全部楼层
好好学习,天天向上!
学习红月技术,我只来红月论坛!
回复

使用道具 举报

QQ|手机版|小黑屋|红月论坛

GMT+8, 2024-4-27 01:22

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表