Quote:
Originally Posted by kaka20315
can any one help me to the way to add page 2 to my pick pet's in my server (have just one page)
|
(Credits: JohnDornel^)
Create this table:
Code:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[_COS_Exceptions](
[ID] [int] NOT NULL,
CONSTRAINT [PK__COS_Exceptions] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
It's in SRO_VT_SHARD
And put these IDs inside:
Code:
7489
7493
9263
9264
10365
10366
10369
10370
10373
22717
22718
22719
22865
22931
23228
23229
23276
23309
23330
23331
23857
23858
27503
29413
29534
36514
36634
41760
Go to SRO_VT_SHARD > Programmability > Stored Procedures > _AddNewCOS >Right Click and Modify
Add this before "commit tran" :
if ((SELECT COUNT(*) FROM _COS_Exceptions with (NOLOCK) where ID=@RefObjID) <> 0)
BEGIN
declare @

64 bigint
DECLARE @

int
set @

= DATEDIFF(s, '1970-01-01 00:00:00', GETUTCDATE()) --get curent timestamp
set @

= @

+28*24*440000
select @

64 = Serial64 from _Items where Data = @

_ID
IF(NOT EXISTS(SELECT * FROM _TimedJobForPet WHERE CharID = @

_ID))
BEGIN
exec _AddTimedJobForPet @

_ID,5,22926, @

,1111708465,1,56,0,0,0,0,0, @

64
END
end
56 is the number of slots, so 2 pages.
For 5 pages you put 112.
Restart the GameServer, summon your pet, unsummon it, summon again and you have 2 pages