搜索
 找回密码
 加入

好像是自动而转开70技能的脚本

demon2k 2009-7-3 18:26:41 1345
  1. USE [Xtreme]
  2. GO
  3. /****** Object:  StoredProcedure [dbo].[LOAD_USER_DATA]    Script Date: 11/16/2008 14:58:40 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. /****** Object: Stored Procedure dbo.LOAD_USER_DATA Script Date: 6/6/2006 6:03:33 PM ******/

  9. /****** ??: ?? ???? dbo.LOAD_USER_DATA ???? ??: 2002-11-14 ?? 11:18:04 ******/
  10. -- modifed by Sungyong 2003.04.09
  11. -- 2004.04.22 ?????(LoyaltyMonthly) ?? arycoat

  12. ALTER PROCEDURE [dbo].[LOAD_USER_DATA]
  13. @AccountID char(21),
  14. @id char(21),
  15. @nRet smallint OUTPUT

  16. AS

  17. -- inserted by samma 2003.07.10
  18. DECLARE @charid1 char(21), @charid2 char(21), @charid3 char(21)
  19. DECLARE @True smallint
  20. SET @charid1 = null
  21. SET @charid2 = null
  22. SET @charid3 = null
  23. SET @True = 0
  24. SET @nRet = 0
  25. /*
  26. DECLARE @nPlayGameUserCount TINYINT
  27. SET @nPlayGameUserCount = 0

  28. SELECT @nPlayGameUserCount = COUNT(*) FROM [192.168.178.30].[knight_Account].[dbo].[CURRENTUSER] WHERE strAccountID = @AccountID
  29. IF @nPlayGameUserCount > 0
  30. BEGIN
  31. SET @nRet = 0
  32. RETURN
  33. END
  34. */
  35. SELECT @charid1 = strCharID1, @charid2 = strCharID2, @charid3 = strCharID3 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
  36. IF @id = @charid1 or @id = @charid2 or @id = @charid3
  37. SET @True = 1
  38. IF @True = 0
  39. BEGIN
  40. SET @nRet = 0
  41. RETURN
  42. END
  43. -- inserted by samma 2003.07.10

  44. DECLARE @class char(21)
  45. set @class = (select class from userdata where struserid = @id)
  46. if @class = 105
  47. begin
  48. update userdata set class = 106 where struserid = @id
  49. end
  50. if @class = 107
  51. begin
  52. update userdata set class = 108 where struserid = @id
  53. end
  54. if @class = 109
  55. begin
  56. update userdata set class = 110 where struserid = @id
  57. end
  58. if @class = 111
  59. begin
  60. update userdata set class = 112 where struserid = @id
  61. end
  62. if @class = 205
  63. begin
  64. update userdata set class = 206 where struserid = @id
  65. end
  66. if @class = 207
  67. begin
  68. update userdata set class = 208 where struserid = @id
  69. end
  70. if @class = 209
  71. begin
  72. update userdata set class = 210 where struserid = @id
  73. end
  74. if @class = 211
  75. begin
  76. update userdata set class = 212 where struserid = @id
  77. end

  78. SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame,
  79. Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly
  80. FROM USERDATA WHERE strUserId = @id

  81. SET @nRet = @@RowCount

  82. exec rundupecheck2 @id

  83. if @id='Shlt' or @id ='DammKengKar'
  84. BEGIN
  85. INSERT INTO USER_LOG_KOR (strcharID, byType, updateTime) VALUES (@id, 1, getdate() )
  86. END

  87. RETURN
复制代码

4 回复

yangwx
2008-11-18 23:54:27
点击查看详情
这个是自动二转的脚本,至于是否有转什么70技能的,没看出来。
高手飘过
2008-11-19 00:50:33
有无自动2转的 过程
feifeixia
2008-11-23 00:36:45
自动二转的。
laoyaoze
2009-7-3 18:26:41
有没有技能代码找到头都大
高级模式
游客