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

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    for(alive>0){makeMoney()} xphire is offline
    MemberRank
    Aug 2006 Join Date
    Usa, NYLocation
    1,257Posts

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

    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
    Screenshot
    2)When you click it, in the little box, for server type "(Local)" And tick windows authentication
    Screenshot
    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
    Screenshot

    4)Click on the little drop down tab and select the MuOnline database.
    Screenshot

    5)Press the little green play button and you are done :)
    Screenshot

    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 by xphire; 15-07-07 at 05:23 PM.


  2. #2
    Account Upgraded | Title Enabled! themad is offline
    MemberRank
    Dec 2004 Join Date
    BulgariaLocation
    1,018Posts

    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 ..

  3. #3
    for(alive>0){makeMoney()} xphire is offline
    MemberRank
    Aug 2006 Join Date
    Usa, NYLocation
    1,257Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    Quote Originally Posted by tomer434 View Post
    its not working :S..
    Forgot to add a part to the tutorial, fixed :)

  4. #4
    Apprentice o0nvt0o is offline
    MemberRank
    Aug 2006 Join Date
    vietnamLocation
    13Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    great release xphire!

  5. #5
    [MBT]Disconnect Disconnect1 is offline
    MemberRank
    Apr 2006 Join Date
    C:\Windows...Location
    969Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    Quote Originally Posted by xphire
    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
    Quote Originally Posted by themad
    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 ?

  6. #6
    for(alive>0){makeMoney()} xphire is offline
    MemberRank
    Aug 2006 Join Date
    Usa, NYLocation
    1,257Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    Quote Originally Posted by Disconnect1 View Post
    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 -_-

  7. #7
    [MBT]Disconnect Disconnect1 is offline
    MemberRank
    Apr 2006 Join Date
    C:\Windows...Location
    969Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    Ok, thx...

  8. #8
    Account Upgraded | Title Enabled! DestructiO is offline
    MemberRank
    Apr 2007 Join Date
    486Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    some of the scripts are helpful good work 7/10

  9. #9
    Account Upgraded | Title Enabled! =Ady= is offline
    MemberRank
    Apr 2006 Join Date
    UnderworldLocation
    799Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    and how can i disable this scripts?

  10. #10
    Account Upgraded | Title Enabled! themad is offline
    MemberRank
    Dec 2004 Join Date
    BulgariaLocation
    1,018Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    Quote Originally Posted by Disconnect1 View Post
    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..

  11. #11
    Account Upgraded | Title Enabled! =Ady= is offline
    MemberRank
    Apr 2006 Join Date
    UnderworldLocation
    799Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    works on 99.88T with no bugs?

  12. #12
    Account Upgraded | Title Enabled! GhostOne is offline
    MemberRank
    Mar 2007 Join Date
    SomeWhereLocation
    251Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    7/10

  13. #13
    Account Upgraded | Title Enabled! =Ady= is offline
    MemberRank
    Apr 2006 Join Date
    UnderworldLocation
    799Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    damn this scripts fk the database...
    how can i disable them now ???

  14. #14
    Enthusiast esperanza is offline
    MemberRank
    Apr 2009 Join Date
    swedenLocation
    49Posts

    Re: [Release]Nyc Mu Auto scripts + Guide on how to use them.

    Quote Originally Posted by =Ady= View Post
    damn this scripts fk the database...
    how can i disable them now ???
    re make your server xD

  15. #15
    Enthusiast Hummel is offline
    MemberRank
    Dec 2007 Join Date
    34Posts

    Re: [Release] Nyc Mu Auto scripts + Guide on how to use them.

    very good man!



Page 1 of 2 12 LastLast

Advertisement