Register for your free account! | Forgot your password?

You last visited: Today at 18:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help About trans pets

Discussion on Help About trans pets within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
russak8642's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 452
Received Thanks: 73
Help About trans pets

On my Server test the pet´s trans has only 1 space in the inventory
how i can open the rest to it be 5 page full ?_?

And if u know a easy way to make own quest´s tell me too <3 thx in advanced!
russak8642 is offline  
Old 12/22/2012, 17:54   #2
 
Zodiao's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 748
Received Thanks: 227
PHP Code:
USE [SRO_VT_SHARD]
GO
/****** Object:  StoredProcedure [dbo].[_AddNewCOS]    Script Date: 02/10/2012 11:32:15 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE 
[dbo].[_AddNewCOS]
    @
OwnerCharID    int,
    @
RefObjID    int,
    @
Level        int,
    @
HP        int,
    @
MP        int,
    @
HGP        int,
    @
KeeperNPC    int,
    @
State        int,
    @
InventorySize  int,
    @
itemID        int,
    @
PickItemConfig tinyint,
    @
RentEndTime     smalldatetime
as

begin tran

    
declare @COS_ID    int
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--        
pet_skill_item (ÃÖ¼±È£)        
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    declare @
MaxInventorySize tinyint
    select 
@MaxInventorySize InventorySize
    from _RefObjCommon
_RefObjChar
    where _RefObjCommon
.ID = @RefObjID and _RefObjCommon.Link _RefObjChar.ID
    
    
if( @@rowcount or @MaxInventorySize < @InventorySize )
    
begin
        rollback tran
        
return -5
    end

    insert into _CharCOS values 
(@OwnerCharID, @RefObjID, @HP, @MP, @KeeperNPC, @StateNULL, @Level0, @HGP, @PickItemConfig, @RentEndTime)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
set @COS_ID = @@identity
    
if (@COS_ID OR @@error <> 0)
    
begin
        rollback tran
        
return -1
    end

--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--        
pet_skill_item (ÃÖ¼±È£)        
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    if (@
MaxInventorySize 0)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
begin
        
declare @Slot  int
        set 
@Slot 0
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--        
pet_skill_item (ÃÖ¼±È£)        
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
        while (@
Slot < @MaxInventorySize)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
        
begin
            insert into _InvCOS values
(@COS_ID, @Slot0)
            if (@@
error <> 0)
            
begin
                
-- Àκ¥Å丮 »ý¼º ½ÇÆÐ!
                
rollback tran
                
return -2
            end    
        
            set 
@Slot = @Slot 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 <> )
    
begin
        update _Items set Data 
= @COS_ID where ID64 = @itemID
        
if( @@error <> or @@rowcount )
        
begin
            rollback transaction
            
return -4
        end
        
        
--BEGIN ADDITIONAL 112 SLOT IN GRAB PETS FOR 1 MONTH
        
declare @Serial64 bigint
        select 
@Serial64 Serial64 from _Items where Data = @COS_ID
        exec _AddTimedJobForPet 
@COS_ID,5,22926,1331260204,1111708465,1,112,0,0,0,0,0,@Serial64
        
--BEGIN ADDITIONAL 112 SLOT IN GRAB PETS FOR 1 MONTH
        
    end

    commit tran

return @COS_ID 
Regards
Zodiao is offline  
Thanks
1 User
Old 12/22/2012, 19:09   #3
 
russak8642's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 452
Received Thanks: 73
dont worked '-'
russak8642 is offline  
Reply


Similar Threads Similar Threads
Selling > [Dungeon defenders] Mana Token,trans weapon,trans armor
04/18/2012 - Steam Trading - 0 Replies
visit JyZh-DD-Shop
Selling > [Dungeon defenders] Mana Token,trans weapon,trans armor
04/18/2012 - Trading - 0 Replies
visit JyZh-DD-Shop
Selling > [Dungeon defenders] Mana Token,trans weapon,trans armor
04/18/2012 - elite*gold Trading - 0 Replies
visit JyZh-DD-Shop
Selling > [Dungeon defenders] Mana Token,trans weapon,trans armor[paypal]
04/10/2012 - Steam Trading - 0 Replies
Selling 2bil mana --> 2.50usd *can be in the form of 2bil mana itself or in mana token* Selling Trans Armor --> Per piece 2usd Set --> 7usd Trans Weapon -->6usd each 4 Pieces trans weapon --> 22usd Leave your steam ID here ! I will Add u
S>Lvl 125 BLADER Trans/Trans [Venus]
06/05/2008 - Trading - 1 Replies
As title states, looking to sell a Lvl 125 "Heavy" Blader Dual Trans Full +5/+6 Osm Armor Dual Slotted Gear (Crits, def, 200hp, etc.) +6 EoF +5 Red Osm Slotted Blades Class 3 Honor Rank Attk: 506 Dex 412 Int: 112



All times are GMT +1. The time now is 18:38.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.