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!

Nyc Mu Auto scripts + Guide on how to use them.

for(alive>0){makeMoney()}
Loyal Member
Joined
Aug 1, 2006
Messages
357
Reaction score
68
Okay, i thought that i should make a guide on how to get a fast auto reset,auto pk reset, and auto stat fix and a few other things. This script is perfect for high rate servers. This script has Auto reset at 400,Auto pk reset,Auto stat fix, Auto money fix, and you get 1billion zen if you have less then 1bill zen. These scripts get executed right away after u go to the switch character menu. No waiting 1minite like sql jobs :)
Tutorial:
1)Go to start -> All programs -> Microsoft SQL Server -> Query Analyzer
xphire - Nyc Mu Auto scripts + Guide on how to use them. - RaGEZONE Forums

2)When you click it, in the little box, for server type "(Local)" And tick windows authentication
xphire - Nyc Mu Auto scripts + Guide on how to use them. - RaGEZONE Forums

3)Copy and paste this script into the text field
Code:
--Auto Reset
CREATE TRIGGER Auto_Reset
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [cLevel]=1, [Resets]=[Resets]+1,[Reset]=[Reset]+1,[Experience]=0
WHERE [cLevel]=400
Go

--Auto Pk Reset
CREATE TRIGGER Auto_Pk_Reset
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [PkLevel] = 2
WHERE [PkLevel] > 2
Go

--Auto Money Fix
CREATE TRIGGER Auto_Money_Fix
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [Money] = 1000000000
WHERE [Money]>2000000000
Go

--Auto free 1bill
CREATE TRIGGER Auto_Give_1bill
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [Money] = 1000000000
WHERE [Money]<1000000000
Go

--Auto str stat fix
CREATE TRIGGER Auto_Str_Fix
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [strength] = 32767
WHERE [strength]>32767
Go

--Auto agi stat fix
CREATE TRIGGER Auto_Agi_Fix
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET Dexterity = 32767
WHERE Dexterity>32767

--Auto vit stat fix
CREATE TRIGGER Auto_Vit_Fix
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET vitality = 32767
WHERE vitality>32767

--Auto ene stat fix
CREATE TRIGGER Auto_Ene_Fix
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET energy = 32767
WHERE energy>32767
xphire - Nyc Mu Auto scripts + Guide on how to use them. - RaGEZONE Forums


4)Click on the little drop down tab and select the MuOnline database.
xphire - Nyc Mu Auto scripts + Guide on how to use them. - RaGEZONE Forums


5)Press the little green play button and you are done :)
xphire - Nyc Mu Auto scripts + Guide on how to use them. - RaGEZONE Forums


Now you can exit SQL Query Analyzer, and when you get the popup do you wnat to save changes, press no :)

If you want to delete these scripts from your database, just run this in query analyzer:
Code:
Use MuOnline
drop trigger Auto_Reset
drop trigger Auto_Pk_Reset
drop trigger Auto_Money_Fx
drop trigger Auto_Give_1bill
drop trigger Auto_str_fix
drop trigger Auto_agi_fix
drop trigger Auto_vit_Fix
drop trigger Auto_ene_fix
GO

Enjoy.
 
Last edited:
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

CREATE TRIGGER Auto_Reset
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [cLevel]=1, [Resets]=[Resets]+1,[Reset]=[Reset]+1
WHERE [cLevel]=400


err....I suggest you don't use this .. The dataservers update the character level when its still online (real time), however if you update the character level through the database it will not be updated in the gameserver, therefor it will continue adding resets. Even if the max level is 400 and the character can no longer receive experience the gameserver updates his data on periods, so he'll gain resets staying afk....same goes for all ur scripts ..
 
Newbie Spellweaver
Joined
Aug 14, 2006
Messages
7
Reaction score
0
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

great release xphire!
 
Joined
Apr 19, 2006
Messages
564
Reaction score
99
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

xphire said:
CREATE TRIGGER Auto_Reset
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [cLevel]=1, [Resets]=[Resets]+1,[Reset]=[Reset]+1,[Experience]=0
WHERE [cLevel]=400
Go
themad said:
CREATE TRIGGER Auto_Reset
ON [MuOnline].[dbo].[Character]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[Character]
SET [cLevel]=1, [Resets]=[Resets]+1,[Reset]=[Reset]+1
WHERE [cLevel]=400
Wichy one is the best ?
 
for(alive>0){makeMoney()}
Loyal Member
Joined
Aug 1, 2006
Messages
357
Reaction score
68
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

Wichy one is the best ?

Mine is actually. What he copyed and pasted was just the first time i posted my scripts where i forgot to add experience = 0 -_-
 
Experienced Elementalist
Joined
Apr 29, 2007
Messages
260
Reaction score
4
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

some of the scripts are helpful good work 7/10
 
Elite Diviner
Joined
Apr 29, 2006
Messages
420
Reaction score
0
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

and how can i disable this scripts?
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

Wichy one is the best ?

Neither ... as i already said the database update does not effect online characters, they will eventually overwrite that data w/o overwriting the resets... it was just a quote..
 
Elite Diviner
Joined
Apr 29, 2006
Messages
420
Reaction score
0
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

works on 99.88T with no bugs?
 
Newbie Spellweaver
Joined
Mar 24, 2007
Messages
88
Reaction score
0
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

7/10
 
Elite Diviner
Joined
Apr 29, 2006
Messages
420
Reaction score
0
Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

damn this scripts fk the database...
how can i disable them now ???
 
Newbie Spellweaver
Joined
Dec 7, 2007
Messages
23
Reaction score
1
Re: [Release] Nyc Mu Auto scripts + Guide on how to use them.

very good man!
 
Newbie Spellweaver
Joined
May 30, 2009
Messages
18
Reaction score
0
i want to make reset system kinda = 1 res on 333 lvl , 2 res on 334 lvl, 3 res on 335 lvl and ...... and how to make it?
 
Newbie Spellweaver
Joined
Aug 25, 2008
Messages
11
Reaction score
0
To remove suspended automatically have nothing?
 
Initiate Mage
Joined
Jun 22, 2011
Messages
2
Reaction score
0
Hi, mate i dont have microsoft sql server, which one should i get? i took one but it doesnt have query.. :|
 
Back
Top