USE [sro_vt_shard]
GO
/****** Object: StoredProcedure [dbo].[_AddNewCOS] Script Date: 1/25/2018 12:42:44 PM ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
declare @CoS_ID int
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-- pet_skill_item (최선호)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
declare @MaxinventorySize tinyint
select @MaxinventorySize = InventorySize
from _RefObjCommon, _RefObjChar
where _RefObjCommon.ID = [MENTION=975074]Refo[/MENTION]bjID and _RefObjCommon.Link = _RefObjChar.ID
if( @@rowcount = 0 or @MaxinventorySize < @inventorySize )
begin
rollback tran
return -5
end
insert into _CharCOS values ( @OwNeRCharID, [MENTION=975074]Refo[/MENTION]bjID, @HP, 0, 1, [MENTION=1174895]state[/MENTION], NULL, @level, 0, @HGP, [MENTION=830797]Picki[/MENTION]temConfig, [MENTION=5344908]renten[/MENTION]dTime)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
set @CoS_ID = @@identity
if @CoS_ID = 0 OR ( @@error <> 0)
begin
rollback tran
return -1
end
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-- pet_skill_item (최선호)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
if ( @MaxinventorySize > 0)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
begin
declare [MENTION=303108]slot[/MENTION] int
set [MENTION=303108]slot[/MENTION] = 0
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-- pet_skill_item (최선호)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
while [MENTION=303108]slot[/MENTION] < (@MaxinventorySize)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
begin
insert into _InvCOS values (@CoS_ID, [MENTION=303108]slot[/MENTION], 0)
if (@@error <> 0)
begin
-- 인벤토리 생성 실패!
rollback tran
return -2
end
set [MENTION=303108]slot[/MENTION] = [MENTION=303108]slot[/MENTION] + 1
end
end
/* --더 이상 이 컬럼에는 데이터를 넣지 않는다!
UPDATE _Char SET EngagedCOS = @CoS_ID WHERE CharID = @OwNeRCharID
IF (@@ERROR <> 0 OR @@ROWCOUNT = 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -3
END
*/
if( @itemID <> 0 )
begin
update _Items set Data = @CoS_ID where ID64 = @itemID
if( @@error <> 0 or @@rowcount = 0 )
begin
rollback transaction
return -4
end
end
commit tran
declare @bla varchar(max);
select @bla = codename128 from _refobjcommon where ID = [MENTION=975074]Refo[/MENTION]bjID
if @bla like '%COS_T%'
begin
WAITFOR DELAY '0:00:00.5'
return @CoS_ID
END
Just a short question, to make it sure:
Did you initially decreased the total mob count?
If not, that will be your problem, due tobstock server settings having way too much mobs being spawned for a single game server.
Try to decrease it (there are enough queries around for that), and try spawning your pets again.
Just a short question, to make it sure:
Did you initially decreased the total mob count?
If not, that will be your problem, due tobstock server settings having way too much mobs being spawned for a single game server.
Try to decrease it (there are enough queries around for that), and try spawning your pets again.
Server spawn is lower mob rate, single area. Idk why ?
Server spawn is lower mob rate, single area. Idk why ?
Seems like people are hinting towards the procedure, which you already took a look about.
Do you have the stock files of your server?
Rename your current SRO_VT_SHARD to XSRO_VT_SHARD and create a new database with a clean backup. Retry it. If this ain't working, it might be something with your client (corrupted data, mostly noticable when joining a grid or an instance and getting "data error!!" while HP, MP and such displaying a zero (0)).
Seems like people are hinting towards the procedure, which you already took a look about.
Do you have the stock files of your server?
Rename your current SRO_VT_SHARD to XSRO_VT_SHARD and create a new database with a clean backup. Retry it. If this ain't working, it might be something with your client (corrupted data, mostly noticable when joining a grid or an instance and getting "data error!!" while HP, MP and such displaying a zero (0)).
Thank's for ur reply. I'm look in the _CharCOS table, and no row in there. Smt wrong, clean database, all client files is OK.
AQ Failed! Log out!! [AQType: 5] 02/06/2017 - SRO Private Server - 1 Replies Hey Elitepvpers,
i have a bug with my pets. Everytime i try to activate a grabpet or another pet
i get disconnected from my server. The gameserver is giving me this error:
AQ Failed! Log out!!
AQ Failed! Log Out!! [AQType : 5] 10/01/2015 - SRO Private Server - 2 Replies Hey guys,
I'm not sure I should do a new thread but actually I didn't find any answer to my problem.
We can buy silk items etc, but grab pet and attack pets aren't working, when we click them we just get an instant dc and this error appears
AQ Failed! Log Out!! [AQType : 5] 07/02/2013 - SRO Private Server - 3 Replies Everytime I try to spawn a pick up pet it dces me and gives this message in the game server.
AQ Failed! Log Out!! [AQType : 5] 11/05/2012 - SRO Private Server - 2 Replies Hey guys,
I'm not sure I should do a new thread but actually I didn't find any answer to my problem.
We can buy silk items etc, but grab pet and attack pets aren't working, when we click them we just get an instant dc and this error appears - using vsro files 1.188
http://i40.servimg.com/u/f40/12/10/51/03/bug10.jp g
Anyone has an idea from what it might come ? Would appreciate any help, thanks in advance :)
ps : billing server is working, otherwise we couldn't buy stuff from IM, it's...
AQ Failed! Log out!! [AQType: 18] 03/15/2012 - SRO Private Server - 3 Replies I have this error when buy Item in Item Mall.Who can help?
What can it's be?