Hier wurde eine fehlende Prozedur gepostet. Das ist aber nicht die einzige..
Fehlende Prozeduren: (w00_Character)
p_Char_FameGet
p_Char_FameSet
p_Char_MoneyGet
p_Char_MoneySet
p_Guild_Member_Join
usp_GuildAcademy_setAcademy
p_Item_Create
p_Item_SetOption
p_Item_Delete
p_Item_GetStorageEmpty
p_Item_IsValidOwner
Fehlende Prozeduren: (w00_Character)
Code:
Das Modul 'p_Char_FameAdd' ist abhängig vom fehlenden Objekt 'p_Char_FameGet'. Das Modul 'p_Char_FameAdd' ist abhängig vom fehlenden Objekt 'p_Char_FameSet'. Das Modul 'p_Char_MoneyAdd' ist abhängig vom fehlenden Objekt 'p_Char_MoneyGet'. Das Modul 'p_Char_MoneyAdd' ist abhängig vom fehlenden Objekt 'p_Char_MoneySet'. Das Modul 'p_Guild_Make' ist abhängig vom fehlenden Objekt 'p_Guild_Member_Join'. Das Modul 'p_Guild_Make2' ist abhängig vom fehlenden Objekt 'p_Guild_Member_Join'. Das Modul 'p_Guild_Make2' ist abhängig vom fehlenden Objekt 'usp_GuildAcademy_setAcademy'. Das Modul 'p_Item_BuyAll' ist abhängig vom fehlenden Objekt 'p_Item_Create'. Das Modul 'p_Item_BuyLot' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_ClrWeaponTitle' ist abhängig vom fehlenden Objekt 'p_Item_Delete'. Das Modul 'p_Item_ClrWeaponTitle' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_CostumWeapon_Endure_Set' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_CostumWeapon_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_IsValidOwner'. Das Modul 'p_Item_CostumWeapon_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_IsValidOwner'. Das Modul 'p_Item_CostumWeapon_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_Delete'. Das Modul 'p_Item_CostumWeapon_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_CostumWeapon_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_Create_UseEmptyStorage' ist abhängig vom fehlenden Objekt 'p_Item_GetStorageEmpty'. Das Modul 'p_Item_Create_UseEmptyStorage_tmp' ist abhängig vom fehlenden Objekt 'p_Item_GetStorageEmpty'. Das Modul 'p_Item_Create_UseEmptyStorage_tmp' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_Furniture_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_IsValidOwner'. Das Modul 'p_Item_Furniture_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_IsValidOwner'. Das Modul 'p_Item_Furniture_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_Furniture_Endure_Update' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_Merge' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_Merge_New' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_SellLot' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_Item_SellLot_LotCheck' ist abhängig vom fehlenden Objekt 'p_Item_SetOption'. Das Modul 'p_User_Deposit' ist abhängig vom fehlenden Objekt 'p_User_MoneyAdd'. Das Modul 'p_User_Deposit' ist abhängig vom fehlenden Objekt 'p_User_MoneyGet'. Das Modul 'p_User_MoneyAdd' ist abhängig vom fehlenden Objekt 'p_User_MoneyGet'. Das Modul 'p_User_MoneyAdd' ist abhängig vom fehlenden Objekt 'p_User_MoneySet'. Das Modul 'usp_ChargeItem_Draw' ist abhängig vom fehlenden Objekt 'Account.dbo.usp_Charge_ItemDraw'. Das Modul 'usp_ChargeItem_GetList' ist abhängig vom fehlenden Objekt 'Account.dbo.usp_Charge_ItemSelectList'.
Code:
/****** Object: StoredProcedure [dbo].[p_Char_FameGet] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Char_FameGet] /* Get fame 2004.9 By CJC input: see SQL output: @nRet 1 = OK, Fame return 0 = Error */ @nCharNo int, @nCharFame int OUTPUT, @nRet tinyint OUTPUT AS SET NOCOUNT ON SET @nRet = 0 -- Get fame SELECT @nCharFame = nFame FROM tCharacter WHERE nCharNo = @nCharNo IF @@ROWCOUNT = 1 SET @nRet = 1 -- End RETURN GO
Code:
/****** Object: StoredProcedure [dbo].[p_Char_FameSet] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Char_FameSet] /* Set fame 2004.9 By CJC input: see SQL output: @nRet 1 = OK 0 = Error */ @nCharNo int, @nSetFame int, @nRet tinyint OUTPUT AS SET NOCOUNT ON SET @nRet = 0 UPDATE tCharacter SET nFame = @nSetFame WHERE nCharNo = @nCharNo IF @@ERROR = 0 AND @@ROWCOUNT = 1 SET @nRet = 1 -- end RETURN GO
Code:
/****** Object: StoredProcedure [dbo].[p_Char_MoneyGet] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Char_MoneyGet] /* Get money 2004.8 By CJC input: see SQL output: @nRet 1 = OK, Money return 0 = Error */ @nCharNo int, @nCharMoney bigint OUTPUT, @nRet tinyint OUTPUT AS SET NOCOUNT ON SET @nRet = 0 -- 돈 얻기 SELECT @nCharMoney = nMoney FROM tCharacter WHERE nCharNo = @nCharNo IF @@ROWCOUNT = 1 SET @nRet = 1 -- End RETURN GO
Code:
/****** Object: StoredProcedure [dbo].[p_Char_MoneySet] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Char_MoneySet] /* Set money 2004.8 By CJC input: see SQL output: @nRet 1 = OK 0 = Error */ @nCharNo int, @nSetMoney bigint, @nRet tinyint OUTPUT AS SET NOCOUNT ON SET @nRet = 0 UPDATE tCharacter SET nMoney = @nSetMoney WHERE nCharNo = @nCharNo IF @@ERROR = 0 AND @@ROWCOUNT = 1 SET @nRet = 1 -- end RETURN GO
Code:
/****** Object: StoredProcedure [dbo].[p_Guild_Member_Join] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Guild_Member_Join] /* Get Guild Member Join 2006.2 By CJC Input: See SQL Output: nRet = 0, Error nRet = 1, OK */ @nNo int, @nCharNo int, @nGrade tinyint, @nRet tinyint output AS SET NOCOUNT ON SET @nRet = 0 -- 만들기 INSERT tGuildMember ( nNo, nCharNo, nGrade ) VALUES ( @nNo, @nCharNo, @nGrade ) -- 오류 확인 IF @@ERROR <> 0 BEGIN RETURN END SET @nRet = 1 -- end RETURN GO
Code:
/****** Object: StoredProcedure [dbo].[usp_GuildAcademy_setAcademy] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO /*-------------------------------------------------------------------------------------- ' 이 름 : usp_GuildAcademy_setAcademy ' 작성자 : Ko Dong Gyun([Only registered and activated users can see links. Click Here To Register...]) ' 작성일 : 2008.5.30 ' Description : ' 길드아카데미 생성 ' 길드를 생성하는 저장프로시저에서 호출되는 저장프로시저임. ' Parameter : ' input Parameter ' @nNo : 길드번호 ' @nMasterCharNo : 길드아카데미 마스터번호 ' @nMaxMember : 가입제한인원 ' output Parameter ' @nRet : check SQL execute(valid/invalid) ' = 0 : works ok ' < 0 : error ' -1521 : already join nNo ' -1592 : db error(insert) '-------------------------------------------------------------------------------------*/ CREATE PROCEDURE [dbo].[usp_GuildAcademy_setAcademy] @nNo int , @nMasterCharNo int , @nMaxMember smallint , @nRet int = 0 output AS BEGIN SET NOCOUNT ON SET @nRet = 0 IF EXISTS(SELECT nNo FROM tGuildAcademy WHERE nNo = @nNo) BEGIN SET @nRet = -1521 RETURN END ELSE BEGIN INSERT INTO tGuildAcademy (nNo, nMasterCharNo, nMaxMember) VALUES (@nNo, @nMasterCharNo, @nMaxMember) IF @@ERROR <> 0 BEGIN SET @nRet = -1592 RETURN END END END GO
Code:
/****** Object: StoredProcedure [dbo].[p_Item_Create] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO /* Item Create 2004.8 By CJC 2010.12.27 By kodong ' 아이템테이블의 UNIQUE 제약조건 제거로 인해 해당 스토리지에 ' 아이템이 이미 존재하는지 체크하는 프로세스 추가 input: see SQL output: @nRet 0 = OK, ? = Error code */ CREATE PROCEDURE [dbo].[p_Item_Create] @nItemKey bigint , @nOwner int , @nStorageType tinyint , @nStorage smallint , @nItemID int , @nFlags int , @nRet int OUTPUT AS BEGIN SET NOCOUNT ON SET @nRet = 0 IF EXISTS(SELECT nItemKey FROM tItem WHERE nOwner = @nOwner AND nStorageType = @nStorageType AND nStorage = @nStorage AND nFlags = 0) BEGIN SET @nRet = -2 END ELSE BEGIN INSERT tItem ( nItemKey, nOwner, nStorageType, nStorage, nItemID, nFlags ) VALUES ( @nItemKey, @nOwner, @nStorageType, @nStorage, @nItemID, @nFlags ) IF @@ERROR <> 0 BEGIN SET @nRet = -9 END END END GO
Code:
/****** Object: StoredProcedure [dbo].[p_Item_SetOption] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Item_SetOption] /* Item Set Option 2004.8 By CJC input: see SQL output: @nRet 0 = OK, ? = Error code */ @nItemKey bigint, @nOptionType smallint, @nOptionData bigint, -- Output var @nRet int OUTPUT AS SET NOCOUNT ON UPDATE tItemOptions SET nOptionData = @nOptionData WHERE nItemKey = @nItemKey AND nOptionType = @nOptionType IF @@ERROR <> 0 OR @@ROWCOUNT = 0 BEGIN INSERT tItemOptions ( nItemKey, nOptionType, nOptionData ) VALUES ( @nItemKey, @nOptionType, @nOptionData ) END SET @nRet = @@ERROR -- end RETURN GO
Code:
/****** Object: StoredProcedure [dbo].[p_Item_Delete] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Item_Delete] /* Item Delete 2004.8 By CJC input: nItemKey = To be delete. output: @nRet 0 = OK, ? = Error code */ @nItemKey bigint, @nRet int OUTPUT AS SET NOCOUNT ON -- 아이템 삭제 옵션 DELETE FROM tItem WHERE nItemKey = @nItemKey SET @nRet = @@ERROR -- end GO
Code:
/****** Object: StoredProcedure [dbo].[p_Item_GetStorageEmpty] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO /*-------------------------------------------------------------------------------------- ' 이 름 : usp_Item_getEmptyStorage ' 작성자 : 고동균([Only registered and activated users can see links. Click Here To Register...]) ' 작성일 : 2008.4.1 ' Description ' owner와 storageType을 받아 빈공간의 storage번호를 리턴하는 프로시저 ' Parameter ' input Parameter ' @owner : 캐릭터번호 ' @storageType : 저장소 ' output Parameter ' @ret : result ' < 0 : fail ' >= 0 : empty storage number '-------------------------------------------------------------------------------------*/ CREATE PROCEDURE [dbo].[p_Item_GetStorageEmpty] @owner int = 0 , @storageType tinyint = 0 , @ret int = 0 output AS BEGIN SET NOCOUNT ON DECLARE @err AS bit DECLARE @emptyStorage AS smallint SET @err = 0 IF @owner = 0 SET @err = 1 IF @storageType = 0 SET @err = 1 IF @err <> 1 BEGIN IF EXISTS(SELECT nItemKey FROM tItem WHERE nOwner = @owner AND nStorageType = @storageType AND nStorage = 0) BEGIN SELECT @emptyStorage = ISNULL(MIN(nStorage + 1), 0) FROM tItem WHERE nOwner = @owner AND nStorageType = @storageType AND nStorage + 1 NOT IN ( SELECT nStorage FROM tItem WHERE nOwner = @owner AND nStorageType = @storageType) END ELSE BEGIN SET @emptyStorage = 0 END SET @ret = @emptyStorage PRINT @ret END ELSE SET @ret = -1 SET NOCOUNT OFF END GO
Code:
/****** Object: StoredProcedure [dbo].[p_Item_IsValidOwner] Script Date: 20.02.2015 18:10:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[p_Item_IsValidOwner] /* Is valid item owner ? 2004.8 By CJC input: nItemKey = Item Key nOwner = Item Owner output: 0 = OK 1 = Not found item 2 = Missmatch item owner */ @nItemKey bigint, @nOwner int, @nRet tinyint OUTPUT AS SET NOCOUNT ON DECLARE @nDBOwner int SET @nDBOwner = 0 SET @nRet = 0 SELECT @nDBOwner = nOwner FROM tItem WITH (READUNCOMMITTED) WHERE nItemKey = @nItemKey -- Check not found item IF @@ROWCOUNT <> 1 BEGIN SET @nRet = 1 RETURN END -- Check missmatch item owner IF @nDBOwner <> @nOwner BEGIN SET @nRet = 2 RETURN END -- end GO