Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Cabal GM Tool EP8 (edited from TDChien

Junior Spellweaver
Joined
Aug 23, 2022
Messages
100
Reaction score
5
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


this is my Code Please Like This ^_^

CREATE 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)
AS BEGIN 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,
@CharacterIdx,
dbo.Mail_GetGMType(),
@Alz,
@itemKindIdx,
@itemOption,
@itemDurationIdx,
1,
-- GM : 1,
@Title,
@Content )
FETCH NEXT FROM CURSOR_ACCOUNTS INTO @CharacterIdx End CLOSE CURSOR_ACCOUNTS DEALLOCATE CURSOR_ACCOUNTS END

This is the Fixed on Mail sent to all ^_^ i hope you Like This
error?, how, do you need to copy and query or what?
 
Newbie Spellweaver
Joined
Nov 23, 2023
Messages
5
Reaction score
0
it still missing the itemlist.txt skilllist.txt petlist.txt titlelist.txt
how to fix this please
 
Junior Spellweaver
Joined
Aug 23, 2022
Messages
100
Reaction score
5
Ple help still error
 

Attachments

You must be registered for see attachments list
Back
Top