Register for your free account! | Forgot your password?

Go Back   elitepvpers › Popular Games › Silkroad Online › SRO Private Server
You last visited: Today at 01:07

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

Advertisement



Pet spawn DC VSRO

Discussion on Pet spawn DC VSRO within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
lepitismak's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 479
Received Thanks: 64
Pet spawn DC VSRO

when i spawn pick pet i get dc

- ATACK PET IS OK
- TRANS PET IS OK
- PICK PET 3 DAYS IS OK
- CLOSED ALL REGIONS AND GET DC



PHP Code:
USE [SRO_VT_SHARD]
GO
/****** Object:  StoredProcedure [dbo].[_AddNewCOS]    Script Date: 05/03/2014 18:35: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 = 0 or @MaxInventorySize < @InventorySize )
    
begin
        rollback tran
        
return -5
    end

    insert into _CharCOS values 
(@OwnerCharID, @RefObjID, @HP, @MP, @KeeperNPC, @State, NULL, @Level, 0, @HGP, @PickItemConfig, @RentEndTime)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
set @COS_ID = @@identity
    
if (@COS_ID = 0 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, @Slot, 0)
            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 <> 0 )
    
begin
        update _Items set Data 
= @COS_ID where ID64 = @itemID
        
if( @@error <> 0 or @@rowcount = 0 )
        
begin
            rollback transaction
            
return -4
        end
    end

    commit tran

return @COS_ID 
lepitismak is offline  
Old   #2

 
Dracula Untold's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1,885
Received Thanks: 523
check >SRO(SHARD)>Programmability>Storedprocedures>dbo._ AddNewChar

maybe there is the problem !
Dracula Untold is offline  
Old   #3
 
lepitismak's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 479
Received Thanks: 64
AddNewChar?
lepitismak is offline  
Old   #4
 
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,196
Quote:
Originally Posted by OwnerDracula View Post
check >SRO(SHARD)>Programmability>Storedprocedures>dbo._ AddNewChar

maybe there is the problem !
lol.
Crue* is offline  
Old   #5
 
lepitismak's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 479
Received Thanks: 64
fixed.
restored db and make updates again
thx
lepitismak is offline  
Reply


Similar Threads Similar Threads
[VSRO] Unique Spawn Time
06/07/2016 - SRO Private Server - 12 Replies
Hey guys, is it possible that i can change the original spawn time from Tiger Girl to Demon Shaitan etc from 4Hours to 1 Hour or lower?
[Guide] Unique spawn Area & Multi-spawn! & hints to Add New Uniqes ! [Vsro]
02/17/2013 - SRO PServer Guides & Releases - 31 Replies
Please Follow this thread, this topic OUTDATE and it have alot of wrong information http://www.elitepvpers.com/forum/private-sro-expl oits-hacks-bots-guides/2339110-epic-release-us-uni que-spot.html Well as you can read from the topic title lets start USE
[REQUEST] UNIQUE SPAWN MAP for Vsro
10/15/2012 - SRO Private Server - 7 Replies
Anyone have a nice pk2 edit or know how to make unique spawn map on vsro based server ? to look like this: http://i49.tinypic.com/b9gfpu.jpg
[Vsro]How spawn uniq?
10/23/2011 - SRO Private Server - 9 Replies
Hi :) Whats the command to spawn uniq? (tigerwoman, isy... )
RefMonsterID Spawn Possible? VSRO
10/03/2011 - SRO Private Server - 0 Replies
Im trying to figure out how to configure rare item drops and ive found within the table "_RefMonster_AssignedItemRndDrop" The rare items seem to be listed but linked to a MonsterRefID is there anyways we can spawn monsters via the ID?



All times are GMT +2. The time now is 01:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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