sm
服务器租用 996 无法下载点击此处反馈
/
查看: 1850|回复: 0

GSR引擎20240113更新SQL更新汇总(2023.1.1-2024.1.12)

[复制链接]

826

主题

37

回帖

23万

积分

霸王教主

积分
237197
发表于 2024-1-14 00:17:38 | 显示全部楼层 |阅读模式
GSR引擎20240113更新SQL更新汇总(2023.1.1-2024.1.12)

  1. --2023.1.1扩展nameprefix,增加vip
  2. ALTER TABLE [TBL_ITEM] ALTER COLUMN [FLD_NAMEPREFIX] varchar(127)
  3. ALTER TABLE [TBL_SAVEDITEM] ALTER COLUMN [FLD_NAMEPREFIX] varchar(127)
  4. ALTER TABLE [TBL_DHLBOX] ALTER COLUMN [FLD_NAMEPREFIX] varchar(127)
  5. ALTER TABLE [TBL_ITEMMARKET] ALTER COLUMN [FLD_NAMEPREFIX] varchar(127)
  6. go

  7. ALTER TABLE [TBL_CHARACTER] ADD [FLD_VIPLEVEL] tinyint
  8. ALTER TABLE [TBL_CHARACTER] ADD [FLD_VIPENDDATE] datetime
  9. go

  10. --2023.1.5增加3个自定义段
  11. ALTER TABLE [TBL_CHARACTER] ADD [FLD_BINDJF] int
  12. ALTER TABLE [TBL_CHARACTER] ADD [FLD_CUSINT3] int
  13. ALTER TABLE [TBL_CHARACTER] ADD [FLD_CUSINT4] int
  14. ALTER TABLE [TBL_CHARACTER] ADD [FLD_CUSINT5] int
  15. go

  16. --2023.5.13PET相关
  17. --PET表
  18. CREATE TABLE [dbo].[TBL_PET] (
  19.         [FLD_CHARACTER] [char] (15) COLLATE Chinese_PRC_CI_AS NULL ,
  20.         [FLD_TIMEHASH] [int] NULL ,
  21.         [FLD_PETIDX] [tinyint] NULL ,
  22.         [FLD_LEVEL] [tinyint] NULL ,
  23.         [FLD_EXP] [int] NULL ,
  24.         [FLD_FOOD] [int] NULL ,
  25.         [FLD_FULLY] [int] NULL ,
  26.         [FLD_STATUS] [tinyint] NULL ,
  27.         [FLD_PETNAME] [char] (15) COLLATE Chinese_PRC_CI_AS NULL ,
  28.         [FLD_BAGINDEX] [int] NULL ,
  29.         [FLD_HEADWEARINDEX] [int] NULL ,
  30.         [FLD_WINGINDEX] [int] NULL ,
  31.         [FLD_HEADWEAREXPITIME] [int] NULL ,
  32.         [FLD_WINGEXPITIME] [int] NULL ,
  33.         [FLD_SKILL1] [int] NULL ,
  34.         [FLD_SKILL2] [int] NULL ,
  35.         [FLD_SKILL3] [int] NULL ,
  36.         [FLD_SKILL4] [int] NULL ,
  37.         [FLD_PICKUP] [bigint] NULL
  38. ) ON [PRIMARY]
  39. GO
  40. CREATE CLUSTERED INDEX IX_TBL_PET ON dbo.TBL_PET (FLD_CHARACTER) ON [PRIMARY]
  41. GO
  42. --物品表TBL_PETITEM
  43. CREATE TABLE [dbo].[TBL_PETITEM] (
  44.         [FLD_TIMEHASH] [int] NULL ,
  45.         [FLD_TYPE] [tinyint] NULL ,
  46.         [FLD_MAKEINDEX] [int] NOT NULL ,
  47.         [FLD_INDEX] [int] NULL ,
  48.         [FLD_DURA] [int] NULL ,
  49.         [FLD_DESC0] [int] NULL ,
  50.         [FLD_DESC1] [int] NULL ,
  51.         [FLD_DESC2] [int] NULL ,
  52.         [FLD_DESC3] [int] NULL ,
  53.         [FLD_DESC4] [int] NULL ,
  54.         [FLD_DESC5] [int] NULL ,
  55.         [FLD_DESC6] [int] NULL ,
  56.         [FLD_DESC7] [int] NULL ,
  57.         [FLD_DESC8] [int] NULL ,
  58.         [FLD_DESC9] [int] NULL ,
  59.         [FLD_DESC10] [int] NULL ,
  60.         [FLD_DESC11] [int] NULL ,
  61.         [FLD_DESC12] [int] NULL ,
  62.         [FLD_DESC13] [int] NULL ,
  63.         [FLD_NAMEPREFIX] [varchar] (127) COLLATE Chinese_PRC_CI_AS NULL ,
  64.         [FLD_HP] [int] NULL ,
  65.         [FLD_MP] [int] NULL ,
  66.         [FLD_TMINDEX] [int] NULL ,
  67.         [FLD_COLOR] [int] NULL ,
  68.         [FLD_EXPIRTIME] [int] NULL ,
  69.         [FLD_SOCKET] [bigint] NULL
  70. ) ON [PRIMARY]
  71. GO
  72. CREATE CLUSTERED INDEX IX_TBL_PETITEM ON dbo.TBL_PETITEM (FLD_TIMEHASH) ON [PRIMARY]
  73. GO

  74. --2023.10.14buff保存 (10.15日更改FLD_ID和FLD_ICON为int类型)
  75. CREATE TABLE [dbo].[TBL_BUFF] (
  76.         [FLD_CHARACTER] [char] (15) COLLATE Chinese_PRC_CI_AS NULL ,
  77.         [FLD_BUFFNAME] [char] (24) COLLATE Chinese_PRC_CI_AS NULL ,
  78.         [FLD_BUFFTYPE] [tinyint] NULL ,
  79.         [FLD_TIMERTYPE] [tinyint] NULL ,
  80.         [FLD_ID] [int] NULL ,
  81.         [FLD_ICON] [int] NULL ,
  82.         [FLD_BEGINTIME] [int] NULL ,
  83.         [FLD_ENDTIME] [int] NULL
  84. ) ON [PRIMARY]
  85. GO
  86. CREATE CLUSTERED INDEX IX_TBL_BUFF ON dbo.TBL_BUFF (FLD_CHARACTER, FLD_BEGINTIME) ON [PRIMARY]
  87. GO

  88. --2024.1.8任务表
  89. --增加任务DB表
  90. CREATE TABLE [dbo].[SYS_Quest] (
  91.         [FLD_QUESTID] [int] NOT NULL primary key,
  92.         [FLD_KIND] [tinyint] NULL ,
  93.         [FLD_CRLV] [int] NULL ,
  94.         [FLD_SERIESNAME] [varchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,
  95.         [FLD_OPENNPC] [int] NULL ,
  96.         [FLD_COMPNPC] [int] NULL ,
  97.         [FLD_TIMELIMIT] [int] NULL ,
  98.         [FLD_PREVQUESTID] [int] NULL ,
  99.         [FLD_PASSBYCASH] [int] NULL ,
  100.         [FLD_REQLV] [int] NULL ,
  101.         [FLD_REQZS] [int] NULL ,
  102.         [FLD_REQJOB] [tinyint] NULL ,
  103.         [FLD_DISABLE] [tinyint] NULL ,
  104.         [FLD_CALLBACK] [tinyint] NULL ,
  105.         [FLD_REACTION] [varchar] (127) COLLATE Chinese_PRC_CI_AS NULL ,
  106.         [FLD_QUESTTAR] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
  107.         [FLD_REWARD] [varchar] (160) COLLATE Chinese_PRC_CI_AS NULL ,
  108.         [FLD_QUESTTITLE] [varchar] (70) COLLATE Chinese_PRC_CI_AS NULL ,
  109.         [FLD_OPENSENTENCE] [varchar] (900) COLLATE Chinese_PRC_CI_AS NULL ,
  110.         [FLD_COMPSENTENCE] [varchar] (356) COLLATE Chinese_PRC_CI_AS NULL ,
  111.         [FLD_CLEARSENTENCE] [varchar] (356) COLLATE Chinese_PRC_CI_AS NULL
  112. ) ON [PRIMARY]
  113. GO

  114. --增加任务用户表
  115. CREATE TABLE [dbo].[TBL_QUESTDATA] (
  116.         [FLD_CHARACTER] [nchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,
  117.         [FLD_QUESTID] [int] NULL ,
  118.         [FLD_AMOUNT1] [int] NULL ,
  119.         [FLD_AMOUNT2] [int] NULL ,
  120.         [FLD_AMOUNT3] [int] NULL ,
  121.         [FLD_AMOUNT4] [int] NULL ,
  122.         [FLD_EXPIRETIME] [int] NULL ,
  123.         [FLD_COMPLETED] [tinyint] NULL
  124. ) ON [PRIMARY]
  125. GO
  126. CREATE CLUSTERED INDEX IX_TBL_QUESTDATA ON dbo.TBL_QUESTDATA (FLD_CHARACTER, FLD_QUESTID) ON [PRIMARY]
  127. GO

  128. --扩充任务记录表
  129. ALTER TABLE [TBL_QUEST] ADD [FLD_QUEST] binary(512)

  130. --2024.1.8增加item的最大持久
  131. ALTER TABLE [TBL_PETITEM] ADD [FLD_DURAMAX] int
  132. GO
  133. ALTER TABLE [TBL_ITEM] ADD [FLD_DURAMAX] int
  134. GO
  135. ALTER TABLE [TBL_SAVEDITEM] ADD [FLD_DURAMAX] int
  136. GO
  137. ALTER TABLE [TBL_DHLBOX] ADD [FLD_DURAMAX] int
  138. GO
  139. ALTER TABLE [TBL_ITEMMARKET] ADD [FLD_DURAMAX] int
  140. GO

  141. UPDATE TBL_PETITEM
  142. SET FLD_DURAMAX = DuraMax
  143. FROM TBL_PETITEM, SYS_Stditems
  144. WHERE FLD_INDEX = idx + 1

  145. UPDATE TBL_ITEM
  146. SET FLD_DURAMAX = DuraMax
  147. FROM TBL_ITEM, SYS_Stditems
  148. WHERE FLD_INDEX = idx + 1

  149. UPDATE TBL_SAVEDITEM
  150. SET FLD_DURAMAX = DuraMax
  151. FROM TBL_SAVEDITEM, SYS_Stditems
  152. WHERE FLD_INDEX = idx + 1

  153. UPDATE TBL_DHLBOX
  154. SET FLD_DURAMAX = DuraMax
  155. FROM TBL_DHLBOX, SYS_Stditems
  156. WHERE FLD_INDEX = idx + 1

  157. UPDATE TBL_ITEMMARKET
  158. SET FLD_DURAMAX = DuraMax
  159. FROM TBL_ITEMMARKET, SYS_Stditems
  160. WHERE FLD_INDEX = idx + 1

  161. --2024.1.12物品库扩展
  162. ALTER TABLE [SYS_Stditems] ADD [addHideFunc_Type] tinyint
  163. ALTER TABLE [SYS_Stditems] ADD [addHideFunc] int
复制代码








上一篇:GSR引擎更新包下载-20231216 -传奇3GSRUpdate
下一篇:GSr引擎服务端_TipMsg.txt_20240111_GS控件说明+工具
回复

使用道具 举报

© 2001-2024 Discuz! Team. Powered by Discuz! X3.5

GMT+8, 2024-11-21 14:47 , Processed in 0.254065 second(s), 42 queries 手机版|美林GM论坛 ( 蜀ICP备2020030293号-2 )|网站地图

禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.如遇版权问题,请及时QQ联系

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