rebirth system

Results 1 to 24 of 24
  1. #1
    Apprentice che929 is offline
    MemberRank
    May 2014 Join Date
    17Posts

    information rebirth system

    rebirth system
    Code:
        -------------------------------------------------------- rebirth by che....
        declare @Strength int
                declare @Intellect int
                declare @MaxLevel int
                declare @ReMainStatPoint int
                declare @tworebirth int
                declare @Charname varchar(120)
                set @Charname = (select CharName16 from sro_vt_Shard_che.dbo._Char where CharID @CharID)
                select @MaxLevel = MaxLevel from sro_vt_Shard_che.DBO._Char where CharID = @CharID
                set @tworebirth = (select  COUNT(*) FROM sro_vt_Shard_che.dbo._Char WHERE CharID = @CharID)
                 declare @TotalSP int
                declare @TotalSPMastery int
                SELECT @TotalSP = SUM(sro_vt_Shard_che.dbo._RefSkill.ReqLearn_SP) FROM sro_vt_Shard_che.DBO._RefSkill, sro_vt_Shard_che.DBO._CharSkill WHERE sro_vt_Shard_che.dbo._RefSkill.ID=sro_vt_Shard_che.dbo._CharSkill.SkillID AND sro_vt_Shard_che.dbo._CharSkill.CharID @CharID AND sro_vt_Shard_che.dbo._RefSkill.ReqCommon_MasteryLevel1 <= '120'
                SELECT @TotalSPMastery = SUM(sro_vt_Shard_che.dbo._RefLevel.Exp_M) FROM sro_vt_Shard_che.DBO._CharSkillMastery, sro_vt_Shard_che.DBO._RefLevel WHERE sro_vt_Shard_che.dbo._RefLevel.Lvl=sro_vt_Shard_che.dbo._CharSkillMastery.Level AND sro_vt_Shard_che.dbo._CharSkillMastery.CharID @CharID AND sro_vt_Shard_che.dbo._CharSkillMastery.Level <= '120'
        IF (@Operation = 41) -- scroll is used
    BEGIN
        IF (@ItemRefID = 103062) -- rebirth scroll
        begin
                
                If @tworebirth = '1')
    begin
    
    
    If((SELECT COUNT(*) FROM sro_vt_Shard_che.dbo._CharRebirth WHERE CharName16 @Charname) = '0')
    begin
    insert into sro_vt_Shard_che.dbo._CharRebirth(CharName16, Reward) values @Charname, '0')
    end
    else 
    begin
    If((SELECT COUNT(*) FROM sro_vt_Shard_che.dbo._CharRebirth WHERE CharName16 @Charname And Reward = '0' And [No] <= 50000) = '1')
    begin
    update sro_vt_Shard_che.dbo._CharRebirth set Reward = 1 where CharName16 = @Charname
                set @ReMainStatPoint =  @MaxLevel*3+25)-3
                set @MaxLevel = @MaxLevel+19
                Update sro_vt_Shard_che.DBO._Char SET MaxLevel=120, CurLevel=120 WHERE CharID @CharID
                UPDATE sro_vt_Shard_che.DBO._CHAR SET Strength @MaxLevel, Intellect @MaxLevel, RemainStatPoint @ReMainStatPoint WHERE CharID @CharID
                UPDATE sro_vt_Shard_che.DBO._Char SET RemainSkillPoint=RemainSkillPoint @TotalSP @TotalSPMastery+200000 WHERE CharID @CharID
                DELETE sro_vt_Shard_che.DBO._CharSkill FROM sro_vt_Shard_che.DBO._RefSkill, sro_vt_Shard_che.DBO._CharSkill WHERE sro_vt_Shard_che.dbo._RefSkill.ID=sro_vt_Shard_che.dbo._CharSkill.SkillID AND sro_vt_Shard_che.dbo._CharSkill.CharID @CharID AND sro_vt_Shard_che.dbo._RefSkill.ReqCommon_MasteryLevel1 <= '125' AND sro_vt_Shard_che.dbo._RefSkill.ID NOT IN (1,70,40,2,8421,9354,9355,11162,9944,8419,8420,11526,10625)
                UPDATE sro_vt_Shard_che.DBO._CharSkillMastery SET Level='0' WHERE CharID @CharID AND Level <= '125'
            end
            end
            end
            end
            end
    Query:
    Code:
    CREATE TABLE [dbo].[_CharRebirth](
        [No] [int] IDENTITY(1,1) NOT NULL,
        [CharName16] [varchar](max) NULL,
        [Reward] [int] NULL,
     CONSTRAINT [PK_rebirthRewards] PRIMARY KEY CLUSTERED 
    (
        [No] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    
    
    GO
    SET ANSI_PADDING OFF
    GO
    Scroll:
    http://files.fm/g/dhgaqek#aa/rebirth.txt
    Last edited by che929; 24-05-14 at 12:15 PM.


  2. #2
    Enthusiast Free2DoM is offline
    MemberRank
    Feb 2013 Join Date
    38Posts

    Re: rebirth system

    Thx Bro

  3. #3
    Apprentice blackway33 is offline
    MemberRank
    Mar 2014 Join Date
    6Posts

    Re: rebirth system

    Old but thank you :)

  4. #4
    Valued Member tvquan90 is offline
    MemberRank
    Jul 2010 Join Date
    122Posts

    Re: rebirth system

    please help me, i dont add it in my server

  5. #5
    Apprentice isozy is offline
    MemberRank
    Feb 2012 Join Date
    11Posts

    Re: rebirth system

    Why does in every silkroad thread theres a motherfucking arab saying "old but thx", like, shut the fuck up.

  6. #6
    Valued Member bares1993 is offline
    MemberRank
    May 2013 Join Date
    135Posts

    Re: rebirth system

    Che for President (Y)

  7. #7
    Valued Member tvquan90 is offline
    MemberRank
    Jul 2010 Join Date
    122Posts

    Re: rebirth system

    please help me che :(

  8. #8
    Apprentice che929 is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: rebirth system

    Quote Originally Posted by isozy View Post
    Why does in every silkroad thread theres a motherfucking arab saying "old but thx", like, shut the fuck up.
    Last edited by che929; 25-05-14 at 10:33 AM.

  9. #9
    Valued Member tvquan90 is offline
    MemberRank
    Jul 2010 Join Date
    122Posts

    Re: rebirth system

    che, please help me to setup rebirth system

    - - - Updated - - -

    where is add
    -------------------------------------------------------- rebirth by che....
    declare @Strength int
    declare @Intellect int
    declare @MaxLevel int
    declare @ReMainStatPoint int
    declare @tworebirth int
    declare @Charname varchar(120)
    set @Charname = (select CharName16 from sro_vt_Shard_che.dbo._Char where CharID @CharID)
    select @MaxLevel = MaxLevel from sro_vt_Shard_che.DBO._Char where CharID = @CharID
    set @tworebirth = (select COUNT(*) FROM sro_vt_Shard_che.dbo._Char WHERE CharID = @CharID)
    declare @TotalSP int
    declare @TotalSPMastery int
    SELECT @TotalSP = SUM(sro_vt_Shard_che.dbo._RefSkill.ReqLearn_SP) FROM sro_vt_Shard_che.DBO._RefSkill, sro_vt_Shard_che.DBO._CharSkill WHERE sro_vt_Shard_che.dbo._RefSkill.ID=sro_vt_Shard_che.dbo._CharSkill.SkillID AND sro_vt_Shard_che.dbo._CharSkill.CharID @CharID AND sro_vt_Shard_che.dbo._RefSkill.ReqCommon_MasteryLevel1 <= '120'
    SELECT @TotalSPMastery = SUM(sro_vt_Shard_che.dbo._RefLevel.Exp_M) FROM sro_vt_Shard_che.DBO._CharSkillMastery, sro_vt_Shard_che.DBO._RefLevel WHERE sro_vt_Shard_che.dbo._RefLevel.Lvl=sro_vt_Shard_che.dbo._CharSkillMastery.Level AND sro_vt_Shard_che.dbo._CharSkillMastery.CharID @CharID AND sro_vt_Shard_che.dbo._CharSkillMastery.Level <= '120'
    IF (@Operation = 41) -- scroll is used
    BEGIN
    IF (@ItemRefID = 103062) -- rebirth scroll
    begin

    If @tworebirth = '1')
    begin


    If((SELECT COUNT(*) FROM sro_vt_Shard_che.dbo._CharRebirth WHERE CharName16 @Charname) = '0')
    begin
    insert into sro_vt_Shard_che.dbo._CharRebirth(CharName16, Reward) values @Charname, '0')
    end
    else
    begin
    If((SELECT COUNT(*) FROM sro_vt_Shard_che.dbo._CharRebirth WHERE CharName16 @Charname And Reward = '0' And [No] <= 50000) = '1')
    begin
    update sro_vt_Shard_che.dbo._CharRebirth set Reward = 1 where CharName16 = @Charname
    set @ReMainStatPoint = @MaxLevel*3+25)-3
    set @MaxLevel = @MaxLevel+19
    Update sro_vt_Shard_che.DBO._Char SET MaxLevel=120, CurLevel=120 WHERE CharID @CharID
    UPDATE sro_vt_Shard_che.DBO._CHAR SET Strength @MaxLevel, Intellect @MaxLevel, RemainStatPoint @ReMainStatPoint WHERE CharID @CharID
    UPDATE sro_vt_Shard_che.DBO._Char SET RemainSkillPoint=RemainSkillPoint @TotalSP @TotalSPMastery+200000 WHERE CharID @CharID
    DELETE sro_vt_Shard_che.DBO._CharSkill FROM sro_vt_Shard_che.DBO._RefSkill, sro_vt_Shard_che.DBO._CharSkill WHERE sro_vt_Shard_che.dbo._RefSkill.ID=sro_vt_Shard_che.dbo._CharSkill.SkillID AND sro_vt_Shard_che.dbo._CharSkill.CharID @CharID AND sro_vt_Shard_che.dbo._RefSkill.ReqCommon_MasteryLevel1 <= '125' AND sro_vt_Shard_che.dbo._RefSkill.ID NOT IN (1,70,40,2,8421,9354,9355,11162,9944,8419,8420,11526,10625)
    UPDATE sro_vt_Shard_che.DBO._CharSkillMastery SET Level='0' WHERE CharID @CharID AND Level <= '125'
    end
    end
    end
    end
    end
    Please help me, i try add it

  10. #10
    Member fuddreckers2 is offline
    MemberRank
    Jan 2013 Join Date
    92Posts

    Re: rebirth system

    that's pacific one right i know that you copy it from database when you was working with hassan crap man crap

  11. #11
    Valued Member tvquan90 is offline
    MemberRank
    Jul 2010 Join Date
    122Posts

    Re: rebirth system

    please help me add system here in my server

  12. #12
    Member ilowe is offline
    MemberRank
    Jun 2014 Join Date
    82Posts

    Re: rebirth system

    hi first script where add ?

  13. #13
    Apprentice che929 is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: rebirth system

    Quote Originally Posted by ilowe View Post
    hi first script where add ?
    Addlogitem

  14. #14
    Member ilowe is offline
    MemberRank
    Jun 2014 Join Date
    82Posts

    Re: rebirth system

    Quote Originally Posted by che929 View Post
    Addlogitem
    sro_vt_shard ?

  15. #15
    Apprentice che929 is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: rebirth system

    Quote Originally Posted by ilowe View Post
    sro_vt_shard ?
    sro_vt_log

  16. #16
    Member ilowe is offline
    MemberRank
    Jun 2014 Join Date
    82Posts

    Re: rebirth system

    adjusted according to the level of ?
    the hunter level 7 and give it to the line 1 stat

  17. #17
    Extacy plýs !!! Eroticus is offline
    MemberRank
    Nov 2007 Join Date
    Israel <3Location
    500Posts

    Re: rebirth system

    can you repload rebirth ?

  18. #18
    Apprentice NadaZayed is offline
    MemberRank
    Feb 2014 Join Date
    5Posts

    Re: rebirth system

    Can anyone re-upload the scroll ??

  19. #19
    Extacy plýs !!! Eroticus is offline
    MemberRank
    Nov 2007 Join Date
    Israel <3Location
    500Posts

    Re: rebirth system

    Up. !

    Really sorry :P

  20. #20
    Novice DACKERexe is offline
    MemberRank
    Nov 2013 Join Date
    2Posts

    Re: rebirth system

    Can u please upload the scroll again lol??

  21. #21
    Apprentice calipra is offline
    MemberRank
    Jan 2012 Join Date
    11Posts

    Re: rebirth system

    pls ready upload

  22. #22
    Member evilheart is offline
    MemberRank
    Sep 2012 Join Date
    73Posts

    Re: rebirth system

    reupload pls

  23. #23
    Retired blapanda is offline
    MemberRank
    Oct 2013 Join Date
    LocalhostLocation
    536Posts

    Re: rebirth system

    Lazy tards.
    You guys won't even bother reading the procedures and assuming that even a regular scroll will work for a reborn system, right?

    Create a usual teleport scroll and parse it as the item ID of 103062 into your _RefObjCommon (or change the item ID statment at your procedure. Search for it, don't ask me where to change that one). If you cannot do this little step, then you should consider giving up on game development, which you haven't started anyways.

    Last edited by blapanda; 29-04-16 at 10:26 PM.

  24. #24
    Apprentice sallam2 is offline
    MemberRank
    Aug 2012 Join Date
    15Posts

    Re: rebirth system

    reupload scroll @che929



Advertisement