Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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