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 @
[Only registered and activated users can see links. Click Here To Register...]64 bigint
DECLARE @
[Only registered and activated users can see links. Click Here To Register...] int
set @
[Only registered and activated users can see links. Click Here To Register...]= DATEDIFF(s, '1970-01-01 00:00:00', GETUTCDATE()) --get curent timestamp
set @
[Only registered and activated users can see links. Click Here To Register...]= @
[Only registered and activated users can see links. Click Here To Register...]+28*24*440000
select @
[Only registered and activated users can see links. Click Here To Register...]64 = Serial64 from _Items where Data = @
[Only registered and activated users can see links. Click Here To Register...]_ID
IF(NOT EXISTS(SELECT * FROM _TimedJobForPet WHERE CharID = @
[Only registered and activated users can see links. Click Here To Register...]_ID))
BEGIN
exec _AddTimedJobForPet @
[Only registered and activated users can see links. Click Here To Register...]_ID,5,22926, @
[Only registered and activated users can see links. Click Here To Register...],1111708465,1,56,0,0,0,0,0, @
[Only registered and activated users can see links. Click Here To Register...]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