can anyone create that procedure?
can anyone create that procedure?
1)Why should someone do something for you?
2)You don't have hands?
3)If you don't want to learn, you better leave the game dev .
4) don't like lazy people.
Wow, you sound like a real man.
Last edited by RGaming; 26-10-22 at 12:16 PM.
what's error....?
Error.
column name 'Reputation' is ambiguous.
![]()
You do not need to create a new stored procedure.
Open FUC_CharacterAddItem.Designer.cs and replace the name in line 826 with
DataTable dataTable = UtilityDatabase.selectStoredPro (GlobalClass.SQLGameDB, "cabal_sp_get_charpet", arrayList); on
DataTable dataTable = UtilityDatabase.selectStoredPro (GlobalClass.SQLGameDB, "cabal_sp_get_petinfo", arrayList);
Save and compile. Or create sp =
USE [SERVER01]
GO
/****** Object: StoredProcedure [dbo].[cabal_sp_get_charpet] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[cabal_sp_get_charpet]
(@PetSerial INT, @PetId INT, @CharId INT, @KINdIdx INT)
AS
BEGIN
SELECT * FROM cabal_pet_table where OwnerCharIdx = @CharId
END
GO
Last edited by hefajstos; 02-11-22 at 07:47 PM.
some get GM skill missing ???? how fix this????. only get one gm skill and 2 gm buff only.
anyone test the mail on this tools have error.. i create the procedure still got some error. the mail is use for giving compensation to all players..
https://ibb.co/ZxKvBV8
![]()
Last edited by Aerox009x; 02-11-22 at 12:19 PM.
It's depends on your Cabal Version, Is there GM skill in your Cabal.enc, your files?
- - - Updated - - -
Edit your procedure in your DB, remove parameter @ReceiverCharIdx
Here my procedure
ALTER PROCEDURE [dbo].[cabal_sp_mail_send_all]
( @Title varchar(40), @Content varchar(512), @Alz bigint = 0, @itemKindIdx int = 0, @itemOption int = 0, @itemDurationIdx int = 0)
ASbegin DECLARE @CharacterIdx int DECLARE CURSOR_ACCOUNTS CURSOR FOR SELECT CharacterIdx FROM Server01.dbo.cabal_character_table
OPEN CURSOR_ACCOUNTS FETCH NEXT FROM CURSOR_ACCOUNTS INTO @CharacterIdx WHILE @@FETCH_STATUS = 0 BEGIN INSERT INTO
cabal_mail_received_table
( IsCommitted, ReceiverCharIdx, Type, Alz, ItemKindIdx, ItemOption, ItemDurationIdx, SenderCharIdx, Title, Content )
VALUES
( 1,
-- IsCommitted @CharacterIdx,
dbo.Mail_GetGMType(),
@Alz,
@itemKindIdx,
@itemOption,
@itemDurationIdx,
1,
-- GM : 1,
미쟁: 0 @Title,
@Content )
FETCH NEXT FROM CURSOR_ACCOUNTS INTO @CharacterIdx End CLOSE CURSOR_ACCOUNTS DEALLOCATE CURSOR_ACCOUNTSEND