Here is some werry helpfull scripts for Mu Online servers.
----------------------
Negative Money Fix :
Code:
UPDATE Character
SET Money='2000000000'
WHERE Money<-1
--------------------------------
Personal ID Code Check "Disabling" :
Code:
UPDATE MEMB_INFO
SET sno__numb=('')
WHERE sno__numb>1
-----------------------------
Starting Money (You starting money by changing ('10000000') to some other value.) :
Code:
UPDATE Character
SET Money=('10000000')
WHERE Money<1
-------------------------------
Auto Stats Fix :
Code:
UPDATE Character
SET Strength='32766'
WHERE Strength<1
UPDATE Character
SET Dexterity='32766'
WHERE Dexterity<1
UPDATE Character
SET Vitality='32766'
WHERE Vitality<1
UPDATE Character
SET Energy='32766'
WHERE Energy<1
If there is a Dark Lord Then it's will look so :
Code:
UPDATE Character
SET Strength='32766'
WHERE Strength<1
UPDATE Character
SET Dexterity='32766'
WHERE Dexterity<1
UPDATE Character
SET Vitality='32766'
WHERE Vitality<1
UPDATE Character
SET Energy='32766'
WHERE Energy<1
UPDATE Character
SET Leadership='32766'
WHERE Leadership<1
---------------------------------
Auto Clear PK
Code:
UPDATE Character
SET PkLevel = ('0'), PkTime = ('0'), PkCount = ('0')
Where PkLevel>2
--------------------------------------
Starting stats edditing:
Code:
UPDATE Character
SET Strength='how mutch starting strenght you wanth'
WHERE Strenght<18
UPDATE Character
SET Dexterity='how mutch starting dexterity you wanth'
WHERE Dexterity<16
UPDATE Character
SET Vitality='how much starting vitality you wanth'
WHERE Vitality<16
UPDATE Character
SET Energy='how much starting energy you wanth'
WHERE Energy<16
For versions that have Dark Lord :
Code:
UPDATE Character
SET Strength='how mutch starting strenght you wanth'
WHERE Strenght<18
UPDATE Character
SET Dexterity='how mutch starting dexterity you wanth'
WHERE Dexterity<16
UPDATE Character
SET Vitality='how much starting vitality you wanth'
WHERE Vitality<16
UPDATE Character
SET Energy='how much starting energy you wanth'
WHERE Energy<16
UPDATE Character
SET Leadership='how much starting command you wanth'
WHERE Leadership<15
-----------------------
Incorect connected users shown on the web fix. (First Take Server Offline !) (If your server is offline maybe there is connected users shown on the web, it will fix that).
Code:
UPDATE MEMB_STAT
SET Connect_Stat='0'
WHERE Connect_Stat>0
-------------------------
Thise script will automaticaly teleports users from "The Place Of Excile" To Lorencia, bar !
Code:
UPDATE Character
SET MapNumber=('0'), MapPosX=('125'), MapPosY=('125')
WHERE MapNumber=('5')
---------------------
Thise one will fix guild score -99 bug.
Code:
UPDATE Guild
SET G_Score=('0')
WHERE G_Score<-1
---------------------
Thise delete all there resets (DONT USE IT LIKE JOB).
Code:
UPDATE Character
SET Resets=('0')
WHERE Resets>0
----------------------
Thise one will clear all the vaults.
Code:
UPDATE warehouse
SET Items=('')
----------------------
Thise one for deleting all the items from inventories.
Code:
UPDATE Character
SET Inventory=('')
----------------------
Thise one will unban all the players.
Code:
UPDATE Character
SET CtlCode=('0')
WHERE CtlCode=('1')
-----------------------
Thise one will delete all GMs.
Code:
UPDATE Character
SET CtlCode=('0')
WHERE CtlCode='32' OR CtlCode='8'
------------------------
Thise one will delete all the level up points.
Code:
UPDATE Character
SET LevelUpPoints=('0')
WHERE LevelUpPoints>0
------------------------
Auto Reset
Code:
UPDATE Character
SET cLevel=('1') , experience=('0')
WHERE cLevel>349
---------------------
Thise delete all there resets (DONT USE IT LIKE JOB).
Code:
UPDATE Character
SET Resets=('0')
WHERE Resets>0
------------------------
Thise one will delete all the level up points.
Code:
UPDATE Character
SET LevelUpPoints=('0')
WHERE LevelUpPoints>0
------------------------
Give a NO of starting Level up points to characters.
Edit: 1500 with how much or less do you want.
Code:
UPDATE Character
SET LevelUpPoint=('') + 1500
WHERE cLevel<=1 and Resets<=1
-------------------------
This one will add free credits for ALL players
Code:
Update MEMB_CREDITS
SET credits=credits+100
---------------------------------
This one will drop MuOnline database (better dont use it ^^)
---------------------------------
This one will show you top 100 credited accounts
Code:
SELECT TOP 100 FROM MEMB_CREDITS
WHERE credits>0
---------------------------------
This one will delete all level up points for characters who has max stats
Code:
update Character set leveluppoint='0'
where
Strength+Dexterity+Vitality+Energy='131068'
OR
Strength+Dexterity+Vitality+Energy+Leadership='163835'
------------------------------------------------------------------
:SniperHea
:sweatdrop
I will make some more usefull scripts later =)
Only this thread will be updated now !
I know many identic scripts like thise, but all thise is writen by my hands, so it can contain mistakes. Please post all my mistekes in this thread.
Updated (06.11.2009)