Jump to content
Araştır
  • Diğer seçenekler ...
Sonuçları bul ...
Sonuçları bul ...
GUNEYHAN

v21xx Pus-İnvertory Hatası

Önerilen Mesajlar

Merhaba arkadaşlar,
Elimde olan pusu oyuna bağladım. Oyun içersinde pus açılıyor. İtem çekiyorum cash düşüyor buraya kadar herşey normal ama item üzerime gelmiyor. Yardımcı olabilecek varsa sevinirim

İletiyi paylaş


Link to post
Sitelerde Paylaş

oyun içi letter sistemi çalışmıyor. oyuncular birbirine letter atamıyor.
Ama başlangıçta letter ile item geliyor
-- mesaja ek olarak --
şuan baktığımda letter düzgün çalışıyor. userlar bile birbirine letter atabiliyor

İletiyi paylaş


Link to post
Sitelerde Paylaş
Alıntı
@ GUNEYHAN.

INSERT_WEBITEM görebilir miyim buraya eklebilir misi sql kod bakayim.


USE [Kn_Online]

GO
/****** Object: StoredProcedure [dbo].[INSERT_WEBITEM] Script Date: 04.01.2018 16:16:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE [dbo].[INSERT_WEBITEM]
@account varchar(50),
@itemid int,
@itemcount smallint,
@days int

AS
BEGIN

if @itemid=389130000 begin

set @itemcount=1000
end

if @itemid=389070000 begin

set @itemcount=1000
end

declare @char char(21)
select @char = strCharID from CURRENTUSER where strAccountID = @account
declare @duration int
select @duration=Duration from ITEM where Num = @itemid

IF @char is null
BEGIN
SELECT @char = strCharID1 from ACCOUNT_CHAR where strAccountID = @account
END

IF @char is null
BEGIN
SELECT @char = strCharID2 from ACCOUNT_CHAR where strAccountID = @account
END

IF @char is null
BEGIN
SELECT @char = strCharID3 from ACCOUNT_CHAR where strAccountID = @account
END

IF @char is null
BEGIN
SELECT @char = strCharID4 from ACCOUNT_CHAR where strAccountID = @account
END

INSERT INTO MAIL_BOX (dtSendDate, bStatus, strSenderID, strRecipientID, strSubject, strMessage, bType, nItemID, sCount, sDurability, nSerialNum, nCoins, bDeleted)
VALUES
(GetDate(), 1, 'Power Up Store',@char, 'Power Up Store', '', 2, @itemid, @itemcount,@duration,@days,0,'false');
--INSERT INTO WEB_ITEMMALL VALUES (@account,@char,1,@itemid,@itemcount,GetDate(),'','',0,0,@days);

END




buyur dostum

İletiyi paylaş


Link to post
Sitelerde Paylaş
@ GUNEYHAN bunu Dener misi

ALTER PROCEDURE [dbo].[INSERT_WEBITEM]
@account varchar(50),
@itemid int,
@itemcount smallint

AS
BEGIN

declare @char varchar(50)
select @char = strCharID from CURRENTUSER where strAccountID = @account

INSERT INTO WEB_ITEMMALL VALUES (@account,@char,1,@itemid,@itemcount,GetDate(),'','',0,0,0)

END

İletiyi paylaş


Link to post
Sitelerde Paylaş
Alıntı
@ GUNEYHAN bunu Dener misi

ALTER PROCEDURE [dbo].[INSERT_WEBITEM]
@account varchar(50),
@itemid int,
@itemcount smallint

AS
BEGIN

declare @char varchar(50)
select @char = strCharID from CURRENTUSER where strAccountID = @account

INSERT INTO WEB_ITEMMALL VALUES (@account,@char,1,@itemid,@itemcount,GetDate(),'','',0,0,0)

END




bu sefer q.a da bole bi hata veriyor
Msg 213, Level 16, State 1, Procedure INSERT_WEBITEM, Line 12

Column name or number of supplied values does not match table definition.

İletiyi paylaş


Link to post
Sitelerde Paylaş
@ GUNEYHAN INSERT_WEBITEM Sil baştan ekle.


CREATE PROCEDURE [dbo].[INSERT_WEBITEM]
@account varchar(50),
@itemid int,
@itemcount smallint

AS
BEGIN

declare @char varchar(50)
select @char = strCharID from CURRENTUSER where strAccountID = @account

INSERT INTO WEB_ITEMMALL VALUES (@account,@char,1,@itemid,@itemcount,GetDate(),'','',0,0,0)

END
GO


İletiyi paylaş


Link to post
Sitelerde Paylaş

sorunu hallettim. Aynı durumda olan arkadaşlar;

ALTER PROCEDURE [dbo].[INSERT_WEBITEM]

@account varchar(50),
@itemid int,
@itemcount smallint

AS
BEGIN

declare @char varchar(50)
select @char = strCharID from CURRENTUSER where strAccountID = @account

INSERT INTO WEB_ITEMMALL VALUES (@account,@char,1,@itemid,@itemcount,GetDate(),'','',0,0,0)

END


hazırda olan INSERT_WEBITEM'i bununla değiştirsinler.

Konu kapatılabilir.

İletiyi paylaş


Link to post
Sitelerde Paylaş

×
×
  • Yeni Oluştur...