Kết quả 1 đến 10 của 21
Chủ đề: Fix Strengthen item
-
18-12-12, 10:46 PM #1
- Ngày tham gia
- Jun 2012
- Bài viết
- 7
- Thanks
- 1
- Thanked 27 Times in 2 Posts
Fix Strengthen item
this fix strengthen item
fix multi strengthen
you can select multi item for upgrade
see on video
edit database
use 2 query
Code:USE [db_tank] GO /****** Object: StoredProcedure [dbo].[SP_Users_Items_Update] Script Date: 12/19/2012 12:45:00 ******/ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[SP_Users_Items_Update]') AND type in (N'P', N'PC')) DROP PROCEDURE [dbo].[SP_Users_Items_Update] GO USE [db_tank] GO /****** Object: StoredProcedure [dbo].[SP_Users_Items_Update] Script Date: 12/19/2012 12:45:00 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Ken> -- ALTER date: <2009-10-22> -- Description: <用户信息:更新人物物品信息> -- ============================================= CREATE PROCEDURE [dbo].[SP_Users_Items_Update] @ItemID int, @UserID int, @TemplateID int, @Place int, @Count int, @IsJudge bit, @Color nvarchar(100), @IsExist bit, @StrengthenLevel int, @AttackCompose int, @DefendCompose int, @LuckCompose int, @AgilityCompose int, @IsBinds bit, @BeginDate DateTime, @ValidDate int, @BagType int, @Skin nvarchar(50), @IsUsed bit, @RemoveDate datetime, @RemoveType int, @Hole1 int, @Hole2 int, @Hole3 int, @Hole4 int, @Hole5 int, @Hole6 int, @StrengthenTimes int, @Hole5Level int, @Hole5Exp int, @Hole6Level int, @Hole6Exp int, @IsGold bit, @StrengthenExp int AS begin /*if @Place>-1 begin update Sys_Users_Goods set Place=-2 where UserID=@UserID and BagType=@BagType and Place=@Place and IsExist=1 end*/ UPDATE Sys_Users_Goods Set UserID=@UserID,BagType=@BagType, TemplateID=@TemplateID, Place=@Place, Count=@Count, IsJudge=@IsJudge, Color=@Color, IsExist=@IsExist, StrengthenLevel=@StrengthenLevel, AttackCompose=@AttackCompose, DefendCompose=@DefendCompose, LuckCompose=@LuckCompose, AgilityCompose=@AgilityCompose, IsBinds=@IsBinds, BeginDate=@BeginDate, ValidDate=@ValidDate,Skin=@Skin,IsUsed=@IsUsed,RemoveDate=@RemoveDate,RemoveType=@RemoveType,Hole1=@Hole1,Hole2=@Hole2,Hole3=@Hole3,Hole4=@Hole4,Hole5=@Hole5,Hole6=@Hole6,StrengthenTimes=@StrengthenTimes,Hole5Level=@Hole5Level,Hole5Exp=@Hole5Exp,Hole6Level=@Hole6Level,Hole6Exp=@Hole6Exp,IsGold=@IsGold,strengthenexp=@StrengthenExp WHERE ItemID =@ItemID end GO
Code:USE [db_tank] GO /****** Object: StoredProcedure [dbo].[SP_Users_Items_Add] Script Date: 12/19/2012 12:44:49 ******/ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[SP_Users_Items_Add]') AND type in (N'P', N'PC')) DROP PROCEDURE [dbo].[SP_Users_Items_Add] GO USE [db_tank] GO /****** Object: StoredProcedure [dbo].[SP_Users_Items_Add] Script Date: 12/19/2012 12:44:49 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Ken> -- ALTER date: <2009-10-22> -- Description: <用户信息:用户新增一个物品> -- ============================================= CREATE PROCEDURE [dbo].[SP_Users_Items_Add] @ItemID int output, @UserID int, @TemplateID int, @Place int, @Count int, @IsJudge bit, @Color nvarchar(100), @IsExist bit, @StrengthenLevel int, @AttackCompose int, @DefendCompose int, @LuckCompose int, @AgilityCompose int, @IsBinds bit, @BeginDate DateTime, @ValidDate int, @BagType int, @Skin nvarchar(50), @IsUsed bit, @RemoveType int, @Hole1 int, @Hole2 int, @Hole3 int, @Hole4 int, @Hole5 int, @Hole6 int, @StrengthenTimes int, @Hole5Level int, @Hole5Exp int, @Hole6Level int, @Hole6Exp int, @IsGold bit, @strengthenexp int AS declare @temp int select @temp = count(*) from Sys_Users_Goods where ItemID=@ItemID if @temp=0 begin /*if @Place>-1 begin update Sys_Users_Goods set Place=-2 where UserID=@UserID and BagType=@BagType and Place=@Place and IsExist=1 end*/ INSERT INTO Sys_Users_Goods( UserID, BagType,TemplateID, Place, Count, IsJudge, Color, IsExist, StrengthenLevel, AttackCompose, DefendCompose, LuckCompose, AgilityCompose, IsBinds, BeginDate, ValidDate,Skin,IsUsed,RemoveType,Hole1,Hole2,Hole3,Hole4,Hole5,Hole6,StrengthenTimes,Hole5Level,Hole5Exp,Hole6Level,Hole6Exp,IsGold,strengthenexp) VALUES( @UserID, @BagType,@TemplateID, @Place, @Count, @IsJudge, @Color, @IsExist, @StrengthenLevel, @AttackCompose, @DefendCompose, @LuckCompose, @AgilityCompose, @IsBinds, @BeginDate, @ValidDate,@Skin,@IsUsed,@RemoveType,@Hole1,@Hole2,@Hole3,@Hole4,@Hole5,@Hole6,@StrengthenTimes, @Hole5Level, @Hole5Exp, @Hole6Level, @Hole6Exp, @IsGold,@strengthenexp) select @@identity as 'identity' set @ItemID=@@identity end GO
sorry my English is bad
[Only registered and activated users can see links. ]
Thank TrminhpcLần sửa cuối bởi jaeker1, ngày 19-12-12 lúc 12:48 PM.
Khách viếng thăm hãy cùng jaeker1 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
The Following 17 Users Say Thank You to jaeker1 For This Useful Post:
biendong1980 (18-12-12), daicadoibung (18-12-12), duyluong_2108 (20-12-12), gamegn (19-12-12), haidang115 (19-12-12), hoaloi (19-12-12), hung3020 (19-12-12), ironhide (18-12-12), KaizLuvPy (19-12-12), luadola000 (19-12-12), minhhailc (19-12-12), razent (19-12-12), satthupro95 (18-12-12), silop1d (19-12-12), trungqbbn (19-12-12), zinky (19-12-12), zznh0kkun (19-12-12)
-
19-12-12, 01:17 AM #2
- Ngày tham gia
- Mar 2012
- Bài viết
- 64
- Thanks
- 159
- Thanked 11 Times in 5 Posts
Ðề: Fix Strengthen item
use gunny II database
this error : can't read some para from database
không thể ghi thì đúng hơn fix para 1207 PlayerBussiness
SqlParameter[] para = new SqlParameter[34];
ok you can share Source?
sorry my English is badLần sửa cuối bởi biendong1980, ngày 19-12-12 lúc 01:21 AM.
Khách viếng thăm hãy cùng biendong1980 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
19-12-12, 05:52 AM #3
- Ngày tham gia
- Aug 2009
- Bài viết
- 150
- Thanks
- 97
- Thanked 74 Times in 20 Posts
Ðề: Fix Strengthen item
Can you share ItemStrengthenHandler.cs file?
Tks...Khách viếng thăm hãy cùng silop1d xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
19-12-12, 06:59 AM #4
- Ngày tham gia
- Dec 2012
- Bài viết
- 4
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Ðề: Fix Strengthen item
cái này vẫn bị lỗi biến hình thank ak rất nhiều
Khách viếng thăm hãy cùng bi.kute01 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
19-12-12, 07:05 AM #5
Ðề: Fix Strengthen item
are you crazy bi.kute01. is it China
Sorry is English my badKhách viếng thăm hãy cùng hung3020 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
19-12-12, 07:11 AM #6
Ðề: Fix Strengthen item
Khách viếng thăm hãy cùng hoaloi xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
19-12-12, 07:19 AM #7
- Ngày tham gia
- Mar 2012
- Bài viết
- 64
- Thanks
- 159
- Thanked 11 Times in 5 Posts
Ðề: Fix Strengthen item
Khách viếng thăm hãy cùng biendong1980 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
19-12-12, 07:55 AM #8
Ðề: Fix Strengthen item
Khách viếng thăm hãy cùng hoaloi xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
Các thành viên gởi lời cảm ơn đến hoaloi vì bài viết này !
biendong1980 (19-12-12)
-
19-12-12, 08:09 AM #9
-
19-12-12, 10:47 AM #10
- Ngày tham gia
- May 2012
- Bài viết
- 69
- Thanks
- 4
- Thanked 5 Times in 5 Posts
Ðề: Fix Strengthen item
Khách viếng thăm hãy cùng hoandd xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[MU] Update NWebMU v4.12.0622 - Event VIP Ép Item - Bảo vệ Item
Bởi bistro007_hp trong diễn đàn SQL Server & WebsiteTrả lời: 10Bài viết cuối: 14-08-12, 10:36 AM -
[MU] Xin hướng dẫn update item +13 lên item +15 và đổi tên server trong file text.bmd
Bởi truongvu1983 trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 1Bài viết cuối: 16-06-12, 08:36 PM -
release musever 1.04x+item dragonMu+new item+minimap...
Bởi KhuongCK_Dev trong diễn đàn ReleasesTrả lời: 11Bài viết cuối: 23-04-08, 12:47 PM