item mall crash ( static db )

Results 1 to 13 of 13
  1. #1
    Member fable01 is offline
    MemberRank
    Mar 2012 Join Date
    39Posts

    item mall crash ( static db )

    Database ( Static )
    Media (Fonix ) or something like this name xD

    item mall crash with some player on static db

    i copy original files from db like

    refpackageitem
    refpricepolicyofitem
    refscrapofpackageitem
    refshopgoods

    was dc before , but when i do that cos fixed but still get dc
    some pplz got dc when press F10 other when buy smthing


  2. #2
    Elite Member BryanSA is offline
    Member +Rank
    Jan 2012 Join Date
    EnglandLocation
    215Posts

    Re: item mall crash ( static db )

    use the search tool to find the forum. ^^ | delet head knight avatar from item mall

  3. #3
    Member fable01 is offline
    MemberRank
    Mar 2012 Join Date
    39Posts

    Re: item mall crash ( static db )

    Quote Originally Posted by BryanSA View Post
    use the search tool to find the forum. ^^ | delet head knight avatar from item mall
    so only delete table form refshopgood and other or just disbale service 0 ^_^

  4. #4
    Elite Member BryanSA is offline
    Member +Rank
    Jan 2012 Join Date
    EnglandLocation
    215Posts

    Re: item mall crash ( static db )

    deleted, for no have future problem :)

    decided to issue a few friends with this error

    more have one quest for other player post in forum
    PHP Code:
    USE [SRO_VT_SHARD]
    GO
    /****** Object: StoredProcedure [dbo].[_UPDATE_COST] Script Date: 26.02.2012 14:03:32 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO

    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
    -- 
    »óÁ¡°³Æí (ÃÖ¼±È£
    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 

    ALTER PROCEDURE [dbo].[_UPDATE_COST
    @
    Operation tinyint
    @
    CharID int
    @
    PaymentDevice int
    @
    PackageItemCodeName varchar(129), 
    @
    RemainGold bigint
    @
    OwnSilkToPay int
    @
    GiftSilkToPay int
    @
    OffsetOptionalPoint int
    @
    MileageToPay int 
    AS

    SET NOCOUNT ON

    declare @PaymentDeviceTemp int
    declare @RemainOwnSilk int
    declare @RemainGiftSilk int
    declare @RemainMileage int
    declare @Result int

    set 
    @RemainOwnSilk 
    set 
    @RemainGiftSilk 
    set 
    @RemainMileage 

    IF (@RemainGold or @MileageToPay or @OwnSilkToPay or @GiftSilkToPay or @OffsetOptionalPoint 0
    BEGIN 
    RETURN -2001
    END 

    DECLARE @PC_ID INT 
    set 
    @PC_ID = @CharID 
    ---------------------------------------------------------- 
    -- 
    Operation¿¡ µû¶ó¼À¯Àú Ä³¸¯ÅÍ ¾ÆÀ̵𰡠³Ñ¾î ¿Ã¼öµµ ÀÖ°ícos ¾ÆÀ̵𰡠³Ñ¾î ¿Ã ¼öµµ ÀÖ´Ù
    -- 
    ij¸¯ÅÍ ¾ÆÀ̵𸦠¾î¶´ø ¾Ë¾Æ³»¾ß ÇϰڴÙ
    ---------------------------------------------------------- 
    if (@
    Operation 19
    begin 
    -- COS ¿ë ¹°Ç°À» ±¸ÀÔÇѰŴϱñ... Ä³¸¯ Ã£¾Æ¼µ· »©Áà¾ßÁö... 
    SELECT @PC_ID OwnerCharID FROM _CharCOS WHERE ID = @PC_ID 
    IF (@@ERROR <> OR @@ROWCOUNT 0
    BEGIN 
    RETURN -2002 
    END 
    end 
    /* 
    #define EXPAND_DEVICE_GOLDPRICE 1 
    #define EXPAND_DEVICE_SILKPRICE 2 
    #define EXPAND_DEVICE_GIFTSILKPRICE 4 
    #define EXPAND_DEVICE_GUILDPOINT 8 
    #define EXPAND_DEVICE_MILEAGE 16 
    */ 

    if ((@PaymentDevice & (16 )) > 0
    begin 
    -- ½ÇÅ©¼±¹°½ÇÅ©¸¶Àϸ®Áö¸¦ ±î¾ß Çϴ±¸¸¸
    -- 
    ´Ü¸¶Àϸ®Áö´Â ¿É¼ÇÀÌ´Ù

    -- 
    ij¸¯ÅÍÀÇ JID¸¦ ¾ò¾î¿À³Ê¶ó
    declare @
    JID int 
    select top 1 
    @JID UserJID from _User 
    where CharID 
    = @PC_ID 
    IF (@@ROWCOUNT OR @@ERROR <> 0
    BEGIN 
    RETURN -2006 
    END 

    DECLARE @PackageItemID int 
    select 
    @PackageItemID ID from dbo._RefPackageItem where codename128 = @PackageItemCodeName 

    DECLARE @rvalue int 
    -- EXEC @rvalue SRO_VT_ACCOUNT.DBO._ConsumeSilkByGameServer @JID, @OwnSilkToPay OUTPUT, @GiftSilkToPay OUTPUT, @MileageToPay output1, @CharID 
    EXEC 
    @rvalue SRO_VT_ACCOUNT.DBO._ConsumeSilkByGameServer @JID, @OwnSilkToPay OUTPUT, @GiftSilkToPay OUTPUT, @MileageToPay output0, @CharID, @PackageItemID 

    IF (@rvalue OR @@ERROR <> 0
    BEGIN 
    RETURN -2012 
    END 
    --------------------------
    --<< 
    1. ¼öÁ¤ Àü ÄÚµå >> -- ÁÖÈ*
    --------------------------
    -- -- 
    °ÔÀÓ ¼*¹öÂÊ¿¡¼°»½Å ¹Þ±â À§ÇØ cost °ªÀ» °á°ú Å×ÀÌºí¿¡ ³Ö¾îµÐ´Ù
    -- 
    insert into _ResultOfPackageItemToMappingWithServerSide 
    -- values (@Operation, @CharID255, @OwnSilkToPay201
    -- 
    -- if (@@
    ERROR <> or @@ROWCOUNT 0
    -- 
    begin 
    -- return -2007 
    -- end 
    -- 
    -- 
    insert into _ResultOfPackageItemToMappingWithServerSide 
    -- values (@Operation, @CharID254,@GiftSilkToPay401
    -- 
    -- if (@@
    ERROR <> or @@ROWCOUNT 0
    -- 
    begin 
    -- return -2007 
    -- end 
    -- 
    -- 
    insert into _ResultOfPackageItemToMappingWithServerSide 
    -- values (@Operation, @CharID253,@MileageToPay1601
    --------------------------
    --<< 
    1. ¼öÁ¤ ÈÄ ÄÚµå >> --
    --------------------------
    -- 
    °ÔÀÓ ¼*¹öÂÊ¿¡¼°»½Å ¹Þ±â À§ÇØ cost °ªÀ» °á°ú Å×ÀÌºí¿¡ ³Ö¾îµÐ´Ù.
    insert into _ResultOfPackageItemToMappingWithServerSide
    values 
    (@Operation, @CharID255, @OwnSilkToPay2010)

    if (@@
    ERROR <> or @@ROWCOUNT 0)
    begin 
    return -2007
    end

    insert into _ResultOfPackageItemToMappingWithServerSide
    values 
    (@Operation, @CharID254,@GiftSilkToPay4010)

    if (@@
    ERROR <> or @@ROWCOUNT 0)
    begin 
    return -2007
    end

    insert into _ResultOfPackageItemToMappingWithServerSide
    values 
    (@Operation, @CharID253,@MileageToPay16010)


    ----------------------------------------------------------------------------------------------------
    ----------------------------------------------------------------------------------------------------

    if (@@
    ERROR <> or @@ROWCOUNT 0
    begin 
    return -2007 
    end 
    end 

    -- gold 
    if ((@PaymentDevice 1) > 0
    begin 
    UPDATE _Char SET RemainGold 
    = @RemainGold WHERE CharID = @PC_ID 
    IF (@@ERROR <> OR @@ROWCOUNT 0)
    BEGIN
    RETURN -2003
    END
    end

    -- guildpoint 
    if ((@PaymentDevice 8) > 0
    BEGIN
    -- ±æµå¸¦ ¾Ë¾Æ¿Í¶ó
    declare @
    GuildID int 
    select 
    @GuildID GuildID from _GuildMember 
    where CharID 
    = @PC_ID 

    IF (@@ERROR <> OR @@ROWCOUNT 0
    BEGIN 
    RETURN -2004 
    END 

    -- ±æµå Æ÷ÀÎÆ® ±î¶ó
    update _Guild set GatheredSP GatheredSP - @OffsetOptionalPoint 
    where GatheredSP 
    >= @OffsetOptionalPoint and ID = @GuildID 

    IF (@@ERROR <> OR @@ROWCOUNT 0
    BEGIN 
    /*
    -- ¾øÀ»¼öµµ Àִ°ŴÙ.

    -- by novice. 2010-01-15 ¿¡·¯Äڵ堵¥ÀÌÅÍÇü È®Àå
    -- ¿ø·¡ ÁÖ¼®µÇ¾î ÀÖ´ø ÄÚµåÀÌÁö¸¸, ÃßÈÄ °³¹ßÇϴ »ç¶÷µéÀÌ
    -- ¼öÁ¤µÇÁö ¾ÊÀº ³»¿ëÀ» º¸°í È¥¶õ½º·¯¿ö ÇÒ ¼ö ÀÖ¾î¼*
    -- ÀÌ ºÎºÐ±îÁö ¼öÁ¤Çعö¸²!
    -- declare @Slot tinyint
    declare @Slot int
    declare @RefItemSerial64 bigint
    declare @RefItemDBID bigint
    declare @RefItemID int 
    declare @Type tinyint

    -- by novice. 2010-01-15 ¿¡·¯Äڵ堵¥ÀÌÅÍÇü È®Àå
    -- set @Slot = 0xd0 -- error_num ¼*¹ö¿¡¼* »ç¿ëÇϴ ¿¡·¯

    -- MAKE_SRO_SP_ERR_TYPE( _UPDATE_COST, 0x0004);
    -- DEFINE_SRO_SP_ERR( SRO_SP_ERR_NOT_ENOUGH_GUILD_POINT, _UPDATE_COST, 0x8001 ); // ==> 0x80010004
    -- BIND_SRO_SP_ERR_TO_SRO_ERR( SRO_SP_ERR_NOT_ENOUGH_GUILD_POINT, STRGERR_NOT_ENOUGH_GUILDPOINT );
    set @Slot = 0x80010004 -- error_num ¼*¹ö¿¡¼* »ç¿ëÇϴ ¿¡·¯
    set @RefItemSerial64 = 0
    set @RefItemDBID = 0
    set @RefItemID = 0
    set @Type = 2
    select @Operation, @Slot, @RefItemSerial64, @RefItemDBID, @RefItemID, @Type
    */
    RETURN -2005 
    END 
    --------------------------
    --<< 
    2. ¼öÁ¤ Àü ÄÚµå >> --
    --------------------------
    -- 
    °ÔÀÓ ¼*¹öÂÊ¿¡¼°»½Å ¹Þ±â À§ÇØ cost °ªÀ» °á°ú Å×ÀÌºí¿¡ ³Ö¾îµÐ´Ù
    -- 
    insert into _ResultOfPackageItemToMappingWithServerSide 
    -- values (@Operation, @CharID252, @OffsetOptionalPoint801
    --------------------------
    --<< 
    2. ¼öÁ¤ ÈÄ ÄÚµå >> --
    --------------------------
    -- 
    °ÔÀÓ ¼*¹öÂÊ¿¡¼°»½Å ¹Þ±â À§ÇØ cost °ªÀ» °á°ú Å×ÀÌºí¿¡ ³Ö¾îµÐ´Ù.
    insert into _ResultOfPackageItemToMappingWithServerSide
    values 
    (@Operation, @CharID252, @OffsetOptionalPoint8010)


    ----------------------------------------------------------------------------------------------------
    ----------------------------------------------------------------------------------------------------

    if (@@
    ERROR <> or @@ROWCOUNT 0
    begin 
    return -2007 
    end
    end

    -- honorpoint
    else if ((@PaymentDevice 32) > 0)
    begin
    -- honorpoint ±î¶ó.
    update _TrainingCampMember set HonorPoint HonorPoint - @OffsetOptionalPoint
    where HonorPoint 
    >= @OffsetOptionalPoint and CharID = @PC_ID

    if (@@ERROR <> or @@ROWCOUNT 0)
    begin 
    return -2006
    end
    --------------------------
    --<< 
    3. ¼öÁ¤ Àü ÄÚµå >> --
    --------------------------
    -- 
    °ÔÀÓ ¼*¹öÂÊ¿¡¼°»½Å ¹Þ±â À§ÇØ cost °ªÀ» °á°ú Å×ÀÌºí¿¡ ³Ö¾îµÐ´Ù.
    -- 
    insert into _ResultOfPackageItemToMappingWithServerSide
    -- values (@Operation, @CharID252, @OffsetOptionalPoint3201)

    --------------------------
    --<< 
    3. ¼öÁ¤ ÈÄ ÄÚµå >> --
    --------------------------
    -- 
    °ÔÀÓ ¼*¹öÂÊ¿¡¼°»½Å ¹Þ±â À§ÇØ cost °ªÀ» °á°ú Å×ÀÌºí¿¡ ³Ö¾îµÐ´Ù.
    insert into _ResultOfPackageItemToMappingWithServerSide
    values 
    (@Operation, @CharID252, @OffsetOptionalPoint32010)


    ----------------------------------------------------------------------------------------------------
    ----------------------------------------------------------------------------------------------------

    if (@@
    ERROR <> or @@ROWCOUNT 0)
    begin 
    return -2007
    end
    end 

    SET NOCOUNT OFF


    return 

    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
    --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
    fixed problem in crash item mall
    by: sroland

  5. #5
    Member omega0511 is offline
    MemberRank
    Apr 2006 Join Date
    74Posts

    Re: item mall crash ( static db )


  6. #6
    Member fable01 is offline
    MemberRank
    Mar 2012 Join Date
    39Posts

    Re: item mall crash ( static db )

    i deleted the full avatar from
    refpackageitem
    refpricepolicyofitem
    refscrapofpackageitem
    refshopgoods
    refobjcommen
    _RefObjItem

    still dc

  7. #7
    Elite Member BryanSA is offline
    Member +Rank
    Jan 2012 Join Date
    EnglandLocation
    215Posts

    Re: item mall crash ( static db )

    bro, ur configure correct DBConnect.asp ? from all information table?

  8. #8
    Sorcerer Supreme MikroBody is offline
    Member +Rank
    Jan 2012 Join Date
    EgyptLocation
    332Posts

    Re: item mall crash ( static db )

    Quote Originally Posted by BryanSA View Post
    bro, ur configure correct DBConnect.asp ? from all information table?
    What you Mean For Config correct DBConnect.asp from all information table?

  9. #9
    Elite Member BryanSA is offline
    Member +Rank
    Jan 2012 Join Date
    EnglandLocation
    215Posts

    Re: item mall crash ( static db )

    Quote Originally Posted by MikroBody View Post
    What you Mean For Config correct DBConnect.asp from all information table?
    name of the database, sql login, password sql

  10. #10
    Newbie Pexies is offline
    MemberRank
    Oct 2011 Join Date
    11Posts

    sad Re: item mall crash ( static db )

    I have the same error, still dc.

    It´s deleted and i configure DBConnect.asp right

  11. #11
    Newbie Pexies is offline
    MemberRank
    Oct 2011 Join Date
    11Posts

    Re: item mall crash ( static db )

    Fixed :D

    It works perfectly :D

    Pet DC is gone, too.

    No bugs with Item Mall or Items anymore :D

  12. #12
    Elite Member serseri1453 is offline
    Member +Rank
    Jan 2012 Join Date
    136Posts

    Re: item mall crash ( static db )

    all avatar npc add no proplem :D

  13. #13
    Sorcerer Supreme romio10 is offline
    Member +Rank
    Jan 2012 Join Date
    310Posts

    Re: item mall crash ( static db )

    hello


    First

    Delete some line in the Media refshopgoods

    avter nobles


    And then use this code

    update Tab_RefNest Set dwMaxTotalCount = 4 where dwMaxTotalCount >= 5 and dwMaxTotalCount <= 10
    update Tab_RefNest Set dwMaxTotalCount = 4 where dwMaxTotalCount >= 10 and dwMaxTotalCount <= 15
    update Tab_RefNest Set dwMaxTotalCount = 4 where dwMaxTotalCount >= 15
    good luck



Advertisement