Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 21:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help with some reborn system

Discussion on Help with some reborn system within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 9
Received Thanks: 0
Help with some reborn system

Hello guys and please help me with my server to get reborn in it.
I really want so when you reborn you just reset your lvl to lvl 1. And i want that you have the same stats that you was having before you reborn.

Thank you guys
kasper556 is offline  
Old 11/20/2010, 10:39   #2
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891

[Auto reborn system] - Written by @ : lolpol
@ Modified by: Janvier123



Code:
************************************************************************
***********************     Server Side Setup    ***********************
************************************************************************


1)   Open/start: "Query Analyzer"
2)   Login with your Login Name and password
3)   Copy and paste the following line:



[code]USE [character];
GO

ALTER TABLE [user_character] ADD [Reborn] [smallint] DEFAULT(0) NOT NULL;
4) Press "Parse Query (ctrl + F5) and press Execute Query (F5)
5) Copy and past the following lines:


Code:
USE [character];
GO

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 0) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 1) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 2) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 3) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 4) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 5) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);

UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 6) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);
6) Press "Parse Query (ctrl + F5) and press Execute Query (F5)
This will make all lvl 170 players reborn
NOTE: Gm's with lvl 200+ will also be reborn!

Note: That "WHERE (byPCClass = 6)" is the class, so 1 line for every class

7) Close: "Query Analyzer"
8) Start: "SQL Server Agent" (can be found in the taskbar or start menu)
9) Open/start: "Enterprise Manager"
10) Go to: Console Root/Microsoft SQL Servers/SQL Server Group/(local) (Windows NT)/Managemnt/SQL Server Agent/Jobs
11) Right click in the right windows "New Job"
12) In tab "General" look for "Name:" enter "reborn" of what ever you like
In tab "Steps" click "new"
"Step name:" enter "Class0"
"Type:" select: "Transact-SQL Script (TSQL)"
"Database:" select: "character"
"Command:" Enter the following line:



Code:
UPDATE dbo.user_character
SET wLevel = 1, dwExp = 0, wStatPoint = 250 * (Reborn + 1), nHP=106, nMP=16, dwMoney = dwMoney - (50000000), wStr = 6, wDex = 3, wCon = 4, wSpr = 2, wPosX = 336, wPosY = 366, Reborn = Reborn + 1, wMapIndex = 7, wSkillPoint = 0
WHERE (byPCClass = 0) AND (wlevel >= 170) AND (dwMoney >= (50000000)) AND (Reborn < 50);
Press "Apply" then "ok"
Repeat step: 12

WARNING: DONT FORGET TO CHANGE "WHERE (byPCClass = 0)" FOR EACH CLASS!!!

You should have 1 step for every class, if you dont it ok
13) In tab "Schedules" click "New Schedule"
14) "name:" enter "run" of what ever you want
"Schedule Type" select "Recurring"
Click "Change" and enter the following:


Occurs: Daily
Daily: Every 1 Day(s)
Daily Frequency: Occurs Every: 1 Minute(s)
Starting at: 0:00:00
Ending at: 23:59:59
Durdation: (today's date)
No end Date

15) Press "Ok" and "Apply" when asked"
This will make all classes reborn every 1 Minute(s)
IF! Lvl 170+
IF! 50.000.000 Dill
IF! Reborns less then 50 times

16) Open/start: "Query Analyzer"
17) Copy and past the following line:



Code:
USE [account];
GO


UPDATE dbo.user_profile
SET login_flag = 0, 
WHERE (login_flag0 = 1100);
18) Make a job for this also (see step 12)
19) Start All Jobs[/code]
janvier123 is offline  
Reply


Similar Threads Similar Threads
which reborn system is better?
12/07/2012 - Dekaron Private Server - 18 Replies
1. resets lvl to 1, resets stats,skills to original, and add +250 stats multiplied by reborn no. 2. resets lvl to 1, resets skills to original and REMAIN stats. which one people prefer and why?
[HELP]Auto Reborn System
11/24/2010 - Dekaron Private Server - 25 Replies
Hello All .. Can Some One Tell Me And Teach Me How To Create An Auto Reborn System ??? Thank You
[Help]Reborn system
12/20/2009 - Dekaron Private Server - 8 Replies
Trane Please delete my topic. reason users do not have the right to post it because it is a funny and say that and double post.
[Help]Reborn System
08/05/2009 - Dekaron Private Server - 1 Replies
http://img35.imageshack.us/img35/281/semttulogos.j pg Hi all im having this error and my characters not reborning(lv205 reborn) please a sollution xD
[New]Reborn System
08/31/2008 - EO PServer Hosting - 1 Replies
Hey ALL e*pvp Members im working on a new Reborn System and it will be kinda Hard because it will be a Great Quest beside its my first Custom Quest :D I will be letting pics here etc and will either Realse it if i got some thanks or only keep it for me and the people who will help me with :P I Promise nothing



All times are GMT +1. The time now is 21:16.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.