|
You last visited: Today at 09:46
Advertisement
grab pet bug
Discussion on grab pet bug within the SRO PServer Questions & Answers forum part of the SRO Private Server category.
05/06/2021, 12:47
|
#1
|
elite*gold: 0
Join Date: Oct 2010
Posts: 152
Received Thanks: 11
|
grab pet bug
Hello my favorites developers ♥
i have problem with my grab pet all item in grab pet remove after i restart game !
Any Solution To Fix it ?!
|
|
|
05/06/2021, 13:00
|
#2
|
elite*gold: 0
Join Date: Jan 2017
Posts: 42
Received Thanks: 13
|
can you give me the error image?,
Bro can check logitem or addlogchar
|
|
|
05/06/2021, 13:08
|
#3
|
elite*gold: 0
Join Date: Oct 2010
Posts: 152
Received Thanks: 11
|
AddLogItem
PHP Code:
USE [LOG_DB]
GO
/****** Object: StoredProcedure [dbo].[_AddLogItem] Script Date: 5/6/2021 1:06:53 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-------------------------------------------------------------------------------------------------------------------
-- Step 2
-- ±âÁ¸ ¾ÆÀÌÅÛ ·Î±× ÀÔ·Â Stored procedure ¼öÁ¤
-- DataBase : Shard Log
ALTER procedure [dbo].[_AddLogItem] @CharID int,
@ItemRefID int,
@ItemSerial bigint,
@dwData int,
[MENTION=5292286]Targets[/MENTION]torage tinyint,
@Operation tinyint,
[MENTION=5337177]slot_[/MENTION]From tinyint,
[MENTION=5337177]slot_[/MENTION]To tinyint,
@EventPos varchar(64),
[MENTION=812922]sTrd[/MENTION]esc varchar(128),
@Gold bigint -- #ifdef EXTEND_GOLD_TYPE »ðÀÔ
as
declare @len_pos int
declare @len_desc int
declare [MENTION=812922]sTrd[/MENTION]esc_separado varchar(128)
declare @len_desc1 int
set @len_pos = len(@EventPos)
set @len_desc = len [MENTION=812922]sTrd[/MENTION]esc)
if (@len_pos > 0 and @len_desc > 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, EventPos, strDesc, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, [MENTION=5292286]Targets[/MENTION]torage, @Operation, [MENTION=5337177]slot_[/MENTION]From, [MENTION=5337177]slot_[/MENTION]To, @EventPos, [MENTION=812922]sTrd[/MENTION]esc, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
else if (@len_pos > 0 and @len_desc = 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, EventPos, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, [MENTION=5292286]Targets[/MENTION]torage, @Operation, [MENTION=5337177]slot_[/MENTION]From, [MENTION=5337177]slot_[/MENTION]To, @EventPos, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
else if (@len_pos = 0 and @len_desc > 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, strDesc, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, [MENTION=5292286]Targets[/MENTION]torage, @Operation, [MENTION=5337177]slot_[/MENTION]From, [MENTION=5337177]slot_[/MENTION]To, [MENTION=812922]sTrd[/MENTION]esc, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
else if (@len_pos = 0 and @len_desc = 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, [MENTION=5292286]Targets[/MENTION]torage, @Operation, [MENTION=5337177]slot_[/MENTION]From, [MENTION=5337177]slot_[/MENTION]To, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
-- À¯·á ¾ÆÀÌÅÛ ±¸ÀÔÀ̸é!
-- #define LOG_ITEMEVENT_BUY_CASHITEM (BYTE)35
if (@Operation = 35)
begin
insert _LogCashItem (RefItemID, CharID, Cnt, EventTime, Serial64)
values(@ItemRefID, @CharID, @dwData, GetDate(), @ItemSerial)
end
if (@Operation = 90 OR @Operation = 160)
begin
set @len_desc1 = CHARINDEX (']' [MENTION=812922]sTrd[/MENTION]esc)
if(@len_desc1 = 9)
begin
set [MENTION=812922]sTrd[/MENTION]esc = SUBSTRING [MENTION=812922]sTrd[/MENTION]esc,0,9)
set [MENTION=812922]sTrd[/MENTION]esc_separado = SUBSTRING [MENTION=812922]sTrd[/MENTION]esc, 8, 1)
end
else if(@len_desc1 = 10)
begin
set [MENTION=812922]sTrd[/MENTION]esc = SUBSTRING [MENTION=812922]sTrd[/MENTION]esc,0,10)
set [MENTION=812922]sTrd[/MENTION]esc_separado = SUBSTRING [MENTION=812922]sTrd[/MENTION]esc, 8, 2)
end
if [MENTION=812922]sTrd[/MENTION]esc_separado >= 1)
begin
--set [MENTION=812922]sTrd[/MENTION]esc_separado = @len_desc1
Declare @itemID_ForBOT int= ( select RefItemID from SRO_VT_SHARD.._Items where Serial64 = @ItemSerial)
insert G_Events.dbo._LogItemPlus(CharID, Serial64, Plus, Data, Lido, ItemID) values(@CharID, @ItemSerial, [MENTION=812922]sTrd[/MENTION]esc_separado, GetDate(), '0', @itemID_ForBOT)
end
end
AddLogChar
PHP Code:
USE [LOG_DB]
GO
/****** Object: StoredProcedure [dbo].[_AddLogChar] Script Date: 5/6/2021 1:07:48 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddLogChar]
@CharID int,
@EventID tinyint,
@Data1 int,
@Data2 int,
[MENTION=414808]str[/MENTION]Pos varchar(64),
@Desc varchar(128)
as
declare @len_pos int
declare @len_desc int
set @len_pos = len [MENTION=414808]str[/MENTION]Pos)
set @len_desc = len(@Desc)
if (@len_pos > 0 and @len_desc > 0)
begin
insert _LogEventChar values(@CharID, GetDate(), @EventID, @Data1, @Data2, [MENTION=414808]str[/MENTION]Pos, @Desc)
end
else if (@len_pos > 0 and @len_desc = 0)
begin
insert _LogEventChar (CharID, EventTime, EventID, Data1, Data2, EventPos) values(@CharID, GetDate(), @EventID, @Data1, @Data2, [MENTION=414808]str[/MENTION]Pos)
end
else if (@len_pos = 0 and @len_desc > 0)
begin
insert _LogEventChar (CharID, EventTime, EventID, Data1, Data2, strDesc) values(@CharID, GetDate(), @EventID, @Data1, @Data2, @Desc)
end
else
begin
insert _LogEventChar (CharID, EventTime, EventID, Data1, Data2) values(@CharID, GetDate(), @EventID, @Data1, @Data2)
end
IF (@EventID = '20')
BEGIN
IF (@Desc LIKE '%My: no job, Neutral%')
BEGIN
Declare @Killer1 Varchar(64),
@Killer2 Varchar(64),
[MENTION=831308]userid[/MENTION] int
Set @Killer1 = SUBSTRING(@Desc, CHARINDEX('His(', @Desc),
CHARINDEX('): no job,', @Desc) - CHARINDEX('His(', @Desc) + LEN('): no job,'))
Set @killer2 = REPLACE(@Killer1,'His(','');
Set @killer2 = REPLACE(@Killer2,'): no job,','');
SET [MENTION=831308]userid[/MENTION] = (select UserJID from SRO_VT_SHARD.dbo._User where CharID = (SELECT CharID FROM SRO_VT_SHARD.dbo._Char where CharID = @CharID))
Declare @CharNa Varchar(64) = ( Select CharName16 From SRO_VT_SHARD.dbo._Char Where CharID = @CharID )
IF EXISTS (Select CharName From [G_Events].[dbo].[_LMS_Players] Where CharName Like @CharNa )
BEGIN
IF EXISTS (Select CharName From [G_Events].[dbo].[_LMS_Players] Where CharName Like @killer2 )
BEGIN
EXEC G_Events..LMSCheck_PDead @killer2,@CharNa
END
END
ELSE
BEGIN
EXEC [G_Events].[dbo].[KillFetch] @CharID,@Desc [MENTION=414808]str[/MENTION]Pos
END
END
IF (@Desc LIKE '%My: no job, Murderer%')
BEGIN
EXEC [G_Events].[dbo].[KillFetch] @CharID,@Desc [MENTION=414808]str[/MENTION]Pos
END
END
IF (@EventID = 6)
BEGIN
Declare @CharLogOut Varchar(max) = ( Select CharName16 From SRO_VT_SHARD.._Char Where CharID = @CharID )
if Exists (Select PlayerName From G_Events.._MW_PlayerName Where PlayerName = @CharLogOut)
BEGIN
INSERT into [G_Events].[dbo].[_NoticeQueue] (Service,Message,Date)
Values (0,'[Most Wanted Event] ' + @CharLogOut + ' Has Logout And Event Finished',GETDATE())
TRUNCATE Table G_Events.._MW_PlayerName
END
END
|
|
|
 |
Similar Threads
|
[Solved] Problem with Grab pet, attack pet disconnect bug
08/08/2022 - SRO PServer Questions & Answers - 9 Replies
Unluckily I've checked this thread How to Fix Attack / Pick Pet Bug
And the images expired, so anyone can help me with this trouble ?
|
VSRO Grab pet sometimes "forgets" to grab
01/05/2021 - SRO PServer Questions & Answers - 1 Replies
I am just playing in my local non-edited vsro server. In probably 2 out of 10 drops, pet forgets to grab. its not a specific item. sometimes it doesn't grab gold, sometimes quest piece, or just junk items.
Pet options are correct, and I am not using a bot. What could be the problem?
|
[ZSZC] "Pick with Pet" won't work, grab pet won't grab
08/06/2010 - SRO Private Server - 8 Replies
Hi guys
My char picks up the items but when i choose pick with pet, the pet won't pit the items. I have deleted bot, i have put the grab pet to storage, closed game, re-logged in etc. But the pet won't grab the items...
This problem occured 1 week ago, i did deleted the settings and setup the bot again. It was gone. But now, it still occurs.
Please help me.:handsdown:
|
Delay Grab <vs> Ininite Grab
05/10/2010 - Grand Chase Philippines - 25 Replies
Delay Grab vs. Infinite Grab
Again..Before starting the Topic..may i remind you..
Just Visit:http://www.elitepvpers.com/forum/grand-chase- philippines/312990-must-read-before-posting-avoid- receiving-warning-infraction.html
>>Now Can I Start??<<
Delay Grab is Grabbing the enemy and making a delay or using skills..
|
All times are GMT +1. The time now is 09:47.
|
|