Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Pet Inventory 5/5 - REAL!

Newbie Spellweaver
Joined
Nov 19, 2011
Messages
45
Reaction score
5
Re: [Release]Pet Inventory 5/5 - REAL!

Try this one!

Code:
    declare @Serial64 bigint
    if(@HP = 109 and @HGP = 10000)
    begin
        select @Serial64 = Serial64 from _Items where Data = @COS_ID
        exec _AddTimedJobForPet @COS_ID,5,22926,1999999999,1111708465,1,112,0,0,0,0,0,@Serial64
    end

7739day :blink:
but it is also good :thumbup1:
Thank you very much !
 
Newbie Spellweaver
Joined
Dec 6, 2011
Messages
53
Reaction score
0
Re: [Release]Pet Inventory 5/5 - REAL!

Nice job but it makes my server crash... anyone knows how to change it back to normal? i changed the 112 to 28 but still has 2 pages... ideas :p?
 
Elite Diviner
Joined
May 15, 2009
Messages
403
Reaction score
414
Re: [Release]Pet Inventory 5/5 - REAL!

Nice job but it makes my server crash... anyone knows how to change it back to normal? i changed the 112 to 28 but still has 2 pages... ideas :p?

truncate in _TimedJobForPet and delete the added line for 5slot pet in _AddNewCOS sp..
 
Newbie Spellweaver
Joined
Oct 31, 2011
Messages
66
Reaction score
11
Re: [Release]Pet Inventory 5/5 - REAL!

WARNING! Crashes the server after some time (without errors)!
 
Skilled Illusionist
Joined
Apr 1, 2012
Messages
324
Reaction score
9
Re: [Release]Pet Inventory 5/5 - REAL!

work perfectly thx !
 
Newbie Spellweaver
Joined
Jan 31, 2012
Messages
87
Reaction score
0
Re: [Release]Pet Inventory 5/5 - REAL!

Can i Make This Only To 1 Account Not All The Server ??
 
Newbie Spellweaver
Joined
Mar 26, 2012
Messages
10
Reaction score
0
how i can change this time 7k days to 28 ?

so which value represents the Time?
 
Newbie Spellweaver
Joined
Aug 3, 2012
Messages
41
Reaction score
4
Re: [Release]Pet Inventory 5/5

I replaced everything inside _addNewCOS as you mentioned and when i bought all grab pets, only the first page was unlocked. Is there something else that must be done to get this to work? Plz anyone reply..

Edit:
It actually works when the grab pet is re-summoned. it is strange cause i do remember it working right away on one vsro private server though... anyone care to share how it can be made to work on first pet spawn??
 
Last edited:
Newbie Spellweaver
Joined
Jun 6, 2012
Messages
30
Reaction score
8
First my pet was 16 days,

then I tried the second code you sent me, and it made the pets 50 minuters.

Then I inserted this code
Code:
        --BEGIN ADDITIONAL 112 SLOT IN GRAB PETS FOR 7684 DAYS
        declare @Serial64 bigint
        select @Serial64 = Serial64 from _Items where Data = @COS_ID
        exec _AddTimedJobForPet @COS_ID,5,22926,1990000000,1111708465,1,112,0,0,0,0,0,@Serial64
        --BEGIN ADDITIONAL 112 SLOT IN GRAB PETS FOR 7684 DAYS

Made my pet -16 days and then changed to 7191 days.

enjoy!, thanks for a great release!
 
Newbie Spellweaver
Joined
Jan 2, 2009
Messages
5
Reaction score
0
Re: [Release]Pet Inventory 5/5

1992999999 = 7684 days
??????????? = 28 days
Changed into 28 days = ????
 
Newbie Spellweaver
Joined
Jun 1, 2011
Messages
15
Reaction score
10
Re: [Release]Pet Inventory 5/5

this is verry easy

add something like

Code:
DECLARE @newtime int
set @newtime= DATEDIFF(s, '1970-01-01 00:00:00', GETUTCDATE())  --get curent timestamp
set @newtime=@newtime+28*24*3600

and u must change this

Code:
exec _AddTimedJobForPet @COS_ID,5,22926,1992999999,1111708465,1,112,0,0,0,0,0,@Serial64

whith

Code:
exec _AddTimedJobForPet @COS_ID,5,22926,@newtime,1111708465,1,112,0,0,0,0,0,@Serial64


and for those who want 7 pages think to change 112 to 168 and inventory size of pet from _refobjchar from 140 to 196 database and client also , didn't test this
 
Last edited:
Experienced Elementalist
Joined
Aug 22, 2013
Messages
208
Reaction score
125
- question deleted -

(got it working with original pet extension item) :)
 
Last edited:
Back
Top