[Release](Updated) SQL Trigger AutoReborn System Ep3/Ep4

Page 4 of 4 FirstFirst 1234
Results 46 to 55 of 55
  1. #46
    Account Upgraded | Title Enabled! myopia666 is offline
    MemberRank
    Jun 2008 Join Date
    Satan TownLocation
    250Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    Hello to all sir's and ragezoner's, good evening! sir!! any script for autoreborn sir with remain skill and stats sir... with no bug sir??? i cant finalize here autoreborn information sir... if it is ok sir's?? please help me sir...

  2. #47
    Account Upgraded | Title Enabled! KenWeiLL is offline
    MemberRank
    Dec 2007 Join Date
    Island of FireLocation
    209Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    Based on Thread Starter's reborn script, I have this reborn:

    Code:
    USE [RanGame1]
    GO
    /****** Object:  Trigger [dbo].[Auto_Reborn]    Script Date: 05/04/2009 09:46:19 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER TRIGGER [dbo].[Auto_Reborn] ON [dbo].[ChaInfo]
    after update
    as
    BEGIN
    
    Update [ChaInfo] set [ChaInfo].ChaRebornQuery = 1,
    [ChaInfo].ChaMoney = [ChaInfo].ChaMoney - 30000000
    From Inserted
    Where Inserted.ChaLevel = 300 
    and [ChaInfo].ChaReborn < 32
    and [ChaInfo].ChaName = inserted.ChaName 
    and [ChaInfo].UserNum = inserted.UserNum
    and [ChaInfo].ChaOnline = 0
    and [ChaInfo].ChaMoney >= 30000000 
    
    Update [ChaInfo] set [ChaInfo].ChaLevel = 1, 
    [ChaInfo].ChaStatMultiplyer = [ChaInfo].ChaReborn + 1,
    [ChaInfo].ChaReborn = [ChaInfo].ChaReborn + 1, 
    [ChaInfo].ChaExp = 0,
    [ChaInfo].ChaStRemain = 1000*[ChaInfo].ChaStatMultiplyer,
    [ChaInfo].ChaPower = 0,
    [ChaInfo].ChaStrong = 0,
    [ChaInfo].ChaStrength = 0,
    [ChaInfo].ChaSpirit = 0, 
    [ChaInfo].ChaDex = 0, 
    [ChaInfo].ChaIntel = 0
    From Inserted
    Where Inserted.ChaLevel = 300
    and [ChaInfo].ChaName = inserted.ChaName 
    and [ChaInfo].UserNum = inserted.UserNum
    and [ChaInfo].ChaOnline = 0
    and [ChaInfo].ChaRebornQuery = 1
    
    Update [ChaInfo] set [ChaInfo].ChaRebornQuery = 0
    From Inserted
    Where Inserted.ChaLevel = 1
    and [ChaInfo].ChaName = inserted.ChaName 
    and [ChaInfo].UserNum = inserted.UserNum
    and [ChaInfo].ChaOnline = 0
    
    End
    Used for episode 3 database.
    Supposed to have:
    Max reborn: 32
    Stats back to 0.
    Level back to 1.
    Stats remain per reborn: 1,000.

    Problem:
    At first reborn, it works. Characters stats are all back to 0. Pow, Dex, Int, etc.... Stats remain = 1000.
    But on second reborn, stats remain is still 1000. Third reborn = 2,000. Fourth reborn = 3,000.

    Supposed to be, 2nd reborn = 2,000. 3rd reborn = 3,000. 4th reborn = 4,000.

    How do i fix this problem?

  3. #48
    Account Upgraded | Title Enabled! mk1489 is offline
    MemberRank
    Oct 2008 Join Date
    marikinaLocation
    195Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    @KenWeiLL

    add this in your script

    Code:
    Update [ChaInfo] set [ChaInfo].ChaStatMultiplyer = [ChaInfo].ChaReborn + 1
    From Inserted
    Where Inserted.ChaName = inserted.ChaName 
    and [ChaInfo].UserNum = inserted.UserNum

  4. #49
    Account Upgraded | Title Enabled! KenWeiLL is offline
    MemberRank
    Dec 2007 Join Date
    Island of FireLocation
    209Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    that code is already present in my script....

    Update [ChaInfo] set [ChaInfo].ChaLevel = 1,
    [ChaInfo].ChaStatMultiplyer = [ChaInfo].ChaReborn + 1,
    [ChaInfo].ChaReborn = [ChaInfo].ChaReborn + 1,
    [ChaInfo].ChaExp = 0,
    [ChaInfo].ChaStRemain = 1000*[ChaInfo].ChaStatMultiplyer,
    [ChaInfo].ChaPower = 0,
    [ChaInfo].ChaStrong = 0,
    [ChaInfo].ChaStrength = 0,
    [ChaInfo].ChaSpirit = 0,
    [ChaInfo].ChaDex = 0,
    [ChaInfo].ChaIntel = 0
    From Inserted
    Where Inserted.ChaLevel = 300
    and [ChaInfo].ChaName = inserted.ChaName
    and [ChaInfo].UserNum = inserted.UserNum

    and [ChaInfo].ChaOnline = 0
    and [ChaInfo].ChaRebornQuery = 1

  5. #50
    Novice Zero100 is offline
    MemberRank
    Mar 2009 Join Date
    4Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    okey now im having a weird situation after using the 1st page trigger ,the problem is
    1=jump rb
    2=cant make character always say cant use this name
    3=cant dlete
    my server is ep3 mixed ep4 server all okey until i try to set auto rb system
    my server max lvl 220
    wan make max reborn 25
    can anybody make a simple trigger that can solve my problem or give link that teach how to make trigger.

  6. #51
    Member someD is offline
    MemberRank
    Jul 2008 Join Date
    71Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    i have this error when i try to execute the file



    can someone tell me what should i do

  7. #52
    Apprentice jayrules2009 is offline
    MemberRank
    Mar 2009 Join Date
    La Paz, Tarlac,Location
    15Posts

    Re: FINALRELEASE AutoReborn System 100%noJumpRB

    sir where can i attach this trigger im using ep3 server sql2005 i can see the design table...

    see my ss here hope you can help me..


  8. #53
    NewBee stephz09 is offline
    MemberRank
    Jan 2009 Join Date
    MansionLocation
    288Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    request ko po ito:FOR EP4 PO HA

    Req. LV = 300
    Req. Gold = 1M
    Stats per RB = 200
    Max RB = 50

  9. #54
    Account Upgraded | Title Enabled! andrei07 is offline
    MemberRank
    May 2010 Join Date
    Loading...Location
    374Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    that's nice! :D

  10. #55
    Enthusiast silverkira06 is offline
    MemberRank
    Sep 2009 Join Date
    30Posts

    Re: (Updated) SQL Trigger AutoReborn System Ep3/Ep4

    can i req for ep3 auto reborn script

    i want max lvl 300
    MAXRB=40

    and how can i put a quest after reborn?



Page 4 of 4 FirstFirst 1234

Advertisement