• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

reborn.php working for ep4 plss of ypu have a good heart plss share me one plss

Junior Spellweaver
Joined
Dec 31, 2009
Messages
136
Reaction score
2
can anyone share me a reborn.php for ep4 plss i really need this plss cause every time i reborn on my rancp and look at the ranking it will work and if i refresh the page it will back to 0 olss share me a file plss
 
Last edited:
http://ranengine.ddns.net
Joined
Nov 16, 2009
Messages
450
Reaction score
87
Re: reborn.php working for ep4 plss

can anyone share me a reborn.php for ep4 plss i really need this plss cause every time i reborn on my rancp and look at the ranking it will work and if i refresh the page it will back to 0 olss share me a file plss

pm me at my YM
 
Upvote 0
Newbie Spellweaver
Joined
Sep 28, 2009
Messages
72
Reaction score
11
heres one for you

This is an auto reborn scrypt!


Go to Your database> RanGame1 >Tables >Triggers >Rightclick The Triggers >Create new trigger..



Then copy and paste this Then execute [!]
CREATE TRIGGER [dbo].[Auto_Reborn] ON [dbo].[ChaInfo]
after update
as
BEGIN

Update [ChaInfo] set [ChaInfo].ChaReborn = 0,[ChaInfo].ChaTribe = 1
from Inserted
Where Inserted.ChaTribe = 0

Update [ChaInfo] set [ChaInfo].ChaLevel=1, -- Level that you get after reborn
[ChaInfo].ChaReborn=[ChaInfo].ChaReborn + 1, -- Reborn counter
[ChaInfo].ChaExp=0, -- Set Exp back to 0
[ChaInfo].ChaStRemain = (100*[ChaInfo].ChaReborn), -- how many stat points you get per reborn
[ChaInfo].ChaPower = 0, -- Set the number of Pow you added to 0
[ChaInfo].ChaStrong = 0, -- Set the number of Vit you added to 0
[ChaInfo].ChaStrength = 0, -- Set the number of Stm you added to 0
[ChaInfo].ChaSpirit = 0, -- Set the number of Int you added to 0
[ChaInfo].ChaDex = 0, -- Set the number of Dex you added to 0
[ChaInfo].ChaMoney = [ChaInfo].ChaMoney - 2000000, -- Optional : Reborn cost 2m
[ChaInfo].ChaSkillPoint = (10*[ChaInfo].ChaReborn), -- Set the Skillpoints per reborn
[ChaInfo].ChaSkills = NULL, -- Optional : Forget all skills after reborn
[ChaInfo].ChaSkillSlot = NULL, -- Optional : Delete shortcut list of skills
[ChaInfo].ChaQuest = NULL -- Optional : Delete quest list (need restart all quests) after reborn
From Inserted
Where Inserted.ChaLevel = 300 -- Level to reborn
and [ChaInfo].ChaReborn < 10 -- Max Reborn number
and [ChaInfo].ChaName=inserted.ChaName
and [ChaInfo].UserNum =inserted.UserNum
and [ChaInfo].ChaBright >= 0 -- Optional : Require 0 or more attr for reborn
and [ChaInfo].ChaMoney >= 2000000 -- Optional : Require 2m gold for reborn

End


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

Credits to : Tammy!
 
Last edited:
Upvote 0
Junior Spellweaver
Joined
Dec 31, 2009
Messages
136
Reaction score
2
sir i need that reborn for ran cp not auto reborn sorry
 
Upvote 0
Back
Top