[SQL] A Simple AutoReset in Trigger

Newbie Spellweaver
Joined
Sep 20, 2005
Messages
6
Reaction score
0

This sql script is created by my friend iiibbbmmm, and improved by myself today for everyone here.

*The reset times in the script is Relife_count, pls change it yourself if need.
*Formula:
LevelUpPoint = Relife_count * 100

you can change it if need.
*Conditions:
1. clevel >= 350
2. money>= 100000000
3. PkLevel <=3
you can change the conditions or add any other contition if need.

wish it's a help for you.
 
Last edited:
Newbie Spellweaver
Joined
Sep 14, 2005
Messages
11
Reaction score
0
u keep stats or u reset and ur stats gone but u get xtra points
 
Newbie Spellweaver
Joined
Sep 14, 2005
Messages
11
Reaction score
0
aight i c it dont keep stats. but how do i set it up?
 
Custom Title Activated
Loyal Member
Joined
Dec 31, 2004
Messages
4,091
Reaction score
25
Very nice release .
Did u create this yourself? If so, nice job !!
 
Custom Title Activated
Loyal Member
Joined
Dec 31, 2004
Messages
4,091
Reaction score
25
nice one man
 
Newbie Spellweaver
Joined
Sep 20, 2005
Messages
6
Reaction score
0
Mr.X said:
Very nice release .
Did u create this yourself? If so, nice job !!

I can do much more than this. it's easy and not perfect in my view. cuz when the level of character reach to 350, DS will write the info into database, the tigger will be effect, and when the character offline, it's taken place again. the reset times will be added twice.

A good idea is to modify the procedure WZ_CONNECT_MEMB. use your head, and do it yourself.
 
Newbie Spellweaver
Joined
Sep 20, 2005
Messages
6
Reaction score
0
Mr.X said:
Very nice release .
Did u create this yourself? If so, nice job !!

I can do much more better than this. it's easy and not perfect in my view. cuz when the level of character reach to 350, DS will record it into database and the tigger will be effect. and when the character leave out, DS will record it again. the reset times will be added twice.

A good idea is to modify the procedure WZ_CONNECT_MEMB... use your head, and do it yourself.
 
Newbie Spellweaver
Joined
Sep 20, 2005
Messages
6
Reaction score
0
Mr.X said:
Very nice release .
Did u create this yourself? If so, nice job !!

I can do much more better than this. it's easy and not perfect in my view. cuz when the level of character reach to 350, DS will record it into database, the tigger will be effect. and when the character leave out, DS will record it again. the reset times will be added twice.

and, we can join the memb_stat to slove this problem. such as

update character set ........ from character join memb_stat on character.accountid=memb_stat.memb___id where ..... and memb_stat.ConnectStat=0

Is it perfect? no! who knows ds will write memb_stat(to change connectStat to 0) before write character(to record character's info) or reverse, after the character leaving out?

A good idea is to modify the procedure WZ_CONNECT_MEMB... use your head, and do it yourself.
 
Junior Spellweaver
Joined
Dec 30, 2004
Messages
104
Reaction score
4
& what about Dark Lord's Command field (aka Charisma)? There does this points are stores & how can we reset them? Any ideas?
I think this interesting & not 4 only me. Cos from all known reset solutions for now the DL's Command points are keeping