Welcome to the RaGEZONE - MMORPG development forums.

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

This is a discussion on [Release](Updated) SQL Trigger AutoReborn System Ep3/Ep4 within the Ran Online Releases forums, part of the Ran Online category; Hello to all sir's and ragezoner's, good evening! sir!! any script for autoreborn sir with remain skill and stats sir... ...

Page 4 of 4 FirstFirst 1234
Results 46 to 55 of 55
  1. #46
    3Designer[UMG]VideoEditor
    Rank
    Member +
    Join Date
    Jun 2008
    Location
    Satan Town
    Posts
    250
    Liked
    0

    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...
    _____________________________
    [SIGPIC][/SIGPIC]

    Respect Me and i Respect You.. \m/ (',..,') \m/

  2. #47
    ☀ Deceased ☀
    Rank
    Subscriber
    Join Date
    Dec 2007
    Location
    Island of Fire
    Posts
    213
    Liked
    3

    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
    i-BuGz
    Rank
    Member +
    Join Date
    Oct 2008
    Location
    marikina
    Posts
    193
    Liked
    1

    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
    ☀ Deceased ☀
    Rank
    Subscriber
    Join Date
    Dec 2007
    Location
    Island of Fire
    Posts
    213
    Liked
    3

    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
    Newbie
    Rank
    Member
    Join Date
    Mar 2009
    Posts
    4
    Liked
    0

    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
    Rank
    Member
    Join Date
    Jul 2008
    Posts
    68
    Liked
    1

    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
    Registered
    Rank
    Member
    Join Date
    Mar 2009
    Posts
    15
    Liked
    1

    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
    Rank
    Member +
    Join Date
    Jan 2009
    Location
    Mansion
    Posts
    288
    Liked
    6

    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
    The son of my dad
    Rank
    Member +
    Join Date
    May 2010
    Location
    Loading...
    Posts
    375
    Liked
    9

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

    that's nice! :D

    EPIC FAIL.


    I'm a newbie so please help me. ;)

  10. #55
    Member
    Rank
    Member
    Join Date
    Sep 2009
    Posts
    29
    Liked
    0

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •