SQL - A lot of guides

Results 1 to 22 of 22
  1. #1
    Web developer AnHiMiLaToR is offline
    MemberRank
    May 2005 Join Date
    BulgariaLocation
    492Posts

    SQL - A lot of guides

    === Auto PK Reset ===
    Open
    Start > Programs > Sql Server > Enterprise Manager
    Open Microsoft SQL Servers > SQL Server Group > (local) (Windows NT) > Management >

    Right click on SQL Server Agent > Start

    Then open this category,click Jobs
    Make Right Click > New Job
    Name it AutoPkReset
    change Owner to 'sa'
    Now go to Steps tab,make New Job
    Name it step1
    database : muonline
    command :
    Code:
    UPDATE Character
    SET PkLevel = ('0'), PkTime = ('0'), PkCount = ('0')
    Where PkLevel>2
    make parse,click apply then ok,now go to Schedules,click New Schedule
    Name : AutoPkReset
    Reccurting > Change
    Occurs : Daily,every 1 days
    Daily frequerency : occurs every : 1 minute
    duration :
    start date - make yesterday
    then make NO End date,and ok 2 times
    now click apply then ok,then right click on AutoPkReset job and Start job

    === Auto Reset ===
    Open
    Start > Programs > Sql Server > Enterprise Manager
    Open Microsoft SQL Servers > SQL Server Group > (local) (Windows NT) > Management >

    Right click on SQL Server Agent > Start

    Then open this category,click Jobs
    Make Right Click > New Job
    Name it AutoReset
    change Owner to 'sa'
    Now go to Steps tab,make New Job
    Name it step1
    database : muonline
    command :
    Code:
    UPDATE Character
    SET cLevel=('1') , experience=('0')
    WHERE cLevel>349
    make parse,click apply then ok,now go to Schedules,click New Schedule
    Name : AutoReset
    Reccurting > Change
    Occurs : Daily,every 1 days
    Daily frequerency : occurs every : 1 minute
    duration :
    start date - make yesterday
    then make NO End date,and ok 2 times
    now click apply then ok,then right click on AutoReset job and Start job

    === Auto Repair Stats ===
    Open
    Start > Programs > Sql Server > Enterprise Manager
    Open Microsoft SQL Servers > SQL Server Group > (local) (Windows NT) > Management >

    Right click on SQL Server Agent > Start

    Then open this category,click Jobs
    Make Right Click > New Job
    Name it RepairStats
    change Owner to 'sa'
    Now go to Steps tab,make New Job
    Name it step1
    database : muonline
    command :
    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'
    make parse,click apply then ok,now go to Schedules,click New Schedule
    Name : RepairStats
    Reccurting > Change
    Occurs : Daily,every 1 days
    Daily frequerency : occurs every : 1 minute
    duration :
    start date - make yesterday
    then make NO End date,and ok 2 times
    now click apply then ok,then right click on RepairStats job and Start job

    === Auto add 2,000,000,000 money and fix if its bugged ===
    Open
    Start > Programs > Sql Server > Enterprise Manager
    Open Microsoft SQL Servers > SQL Server Group > (local) (Windows NT) > Management >

    Right click on SQL Server Agent > Start

    Then open this category,click Jobs
    Make Right Click > New Job
    Name it Money
    change Owner to 'sa'
    Now go to Steps tab,make New Job
    Name it step1
    database : muonline
    command :
    Code:
    UPDATE Character
    Set Money=('2000000000')
    WHERE Money<1
    make parse,click apply then ok,now go to Schedules,click New Schedule
    Name : Money
    Reccurting > Change
    Occurs : Daily,every 1 days
    Daily frequerency : occurs every : 1 minute
    duration :
    start date - make yesterday
    then make NO End date,and ok 2 times
    now click apply then ok,then right click on Money job and Start job


    hope i help to some guys
    works @ all versions (but 99.62 not tested)

    Auto Class Upgrade:
    Quote Originally Posted by Wahooka View Post
    I know some 99B+ servers have a problem with the class change quests so I wrote a couple of simple (VERY SIMPLE, like, noobishly simple) scripts for you to build on or change however you want.

    Code:
    UPDATE Character
    SET Class = ('17')
    FROM Character inner join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
    WHERE Class = 16 AND Memb_Stat.ConnectStat = 0 AND clevel>149
    DK class change into BK

    Code:
    UPDATE Character
    SET Class = ('1')
    FROM Character inner join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
    WHERE Class = 0 AND Memb_Stat.ConnectStat = 0 AND clevel>149
    DW class change into SM

    Code:
    UPDATE Character
    SET Class = ('33')
    FROM Character inner join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
    WHERE Class = 32 AND Memb_Stat.ConnectStat = 0 AND clevel>149
    Elf class change into Muse Elf


    Hope this helps someone :wolfwood:

    :note: if you know how to combine 'em all together into one script, I'd like to know, I'm still starting out in SQL script so I'm more than eager to learn ^^
    Last edited by AnHiMiLaToR; 25-07-07 at 12:20 PM. Reason: Automerged Doublepost


  2. #2
    urvoice.info andsnake is offline
    MemberRank
    Feb 2005 Join Date
    NicosiaLocation
    398Posts
    thanks anhimilator! I forgot how to make the sql autoreset and i was looking to find it in the forums..

  3. #3
    Valued Member Skorpijon is offline
    MemberRank
    May 2006 Join Date
    LithuaniaLocation
    107Posts
    ty :))

  4. #4
    Valued Member Skorpijon is offline
    MemberRank
    May 2006 Join Date
    LithuaniaLocation
    107Posts
    can u write hox to make max stats not 32k but 64k or 96k (ty)
    :)

  5. #5
    Member florinabused is offline
    MemberRank
    Oct 2005 Join Date
    romaniaLocation
    62Posts
    wow so cool, do you think that if you post something that have been already posted you will win something? maybe a warn or something :\

  6. #6
    hello danse is offline
    MemberRank
    Jun 2004 Join Date
    1,809Posts
    how about some credits ?

  7. #7
    Account Upgraded | Title Enabled! HELL_IN_HEAVEN is offline
    MemberRank
    Apr 2006 Join Date
    BORACAY, PHILIPPINESLocation
    530Posts
    can u post how to add items but only once..after the 1st character created.

  8. #8
    Web developer AnHiMiLaToR is offline
    MemberRank
    May 2005 Join Date
    BulgariaLocation
    492Posts
    auto zen

    UPDATE Character
    SET Money= 2000000000
    WHERE Money < 1

    auto zen @ vault

    UPDATE Warehouse
    SET Money= 2000000000
    WHERE Money <1:batman:

  9. #9
    Member razu3 is offline
    MemberRank
    Oct 2005 Join Date
    Sega MuContinentLocation
    60Posts
    Very usefull, thanks.

  10. #10
    Apprentice bingbingz9 is offline
    MemberRank
    Aug 2005 Join Date
    SingaporeLocation
    9Posts
    Thanks AnHiMiLaToR,

    CooL guide.

    p.s. Keep Them Comin'

  11. #11
    Apprentice phowa is offline
    MemberRank
    Jul 2006 Join Date
    rwgasdgsdgLocation
    22Posts
    Thx man

  12. #12
    Account Upgraded | Title Enabled! checkmate is offline
    MemberRank
    Jun 2004 Join Date
    247Posts
    can you make a script for vault lock/unlock in game same globalmu

  13. #13
    Valued Member Alex1414 is offline
    MemberRank
    Aug 2006 Join Date
    <? $Location=Romania ?>Location
    131Posts
    thx for the stats repair

  14. #14
    Novice blow^^ is offline
    MemberRank
    Oct 2006 Join Date
    4Posts

    Re: [Guide] SQL - A lot of guides

    Quote Originally Posted by Skorpijon View Post
    can u write hox to make max stats not 32k but 64k or 96k (ty)
    :)
    UPDATE Character
    SET Strength = '32766'
    WHERE Strength < '1'

    in ( '32766' ) you can write your own optimal stats.

  15. #15
    Account Upgraded | Title Enabled! Tchekler is offline
    MemberRank
    Oct 2006 Join Date
    All-blue, la mer lLocation
    280Posts

    Re: [Guide] SQL - A lot of guides

    You have the auto reset Per Points ???

    Tanks ^^

  16. #16
    Account Upgraded | Title Enabled! ivo2296 is offline
    MemberRank
    Dec 2006 Join Date
    Bulgaria - GermanyLocation
    226Posts

    Re: [Guide] SQL - A lot of guides

    Any idea about Dark Lord commands stat points fix?

  17. #17
    Valued Member ♫Kamui♫ is offline
    MemberRank
    Feb 2007 Join Date
    130Posts

    Re: [Guide] SQL - A lot of guides

    Quote Originally Posted by ivo2296 View Post
    Any idea about Dark Lord commands stat points fix?
    UPDATE Character
    SET Leadership = 10000
    WHERE Leadership > 10000

    If im not wrong, that's the max for DL.

    EDIT: You cant go beyond 10k, the client dont allow it (99.62)

  18. #18
    Account Upgraded | Title Enabled! ivo2296 is offline
    MemberRank
    Dec 2006 Join Date
    Bulgaria - GermanyLocation
    226Posts

    Re: [Guide] SQL - A lot of guides

    Quote Originally Posted by ♫Kamui♫ View Post
    UPDATE Character
    SET Leadership = 10000
    WHERE Leadership > 10000

    If im not wrong, that's the max for DL.

    EDIT: You cant go beyond 10k, the client dont allow it (99.62)

    Thanks a lot!

  19. #19
    Enthusiast englezu is offline
    MemberRank
    Aug 2005 Join Date
    RomaniaLocation
    48Posts

    Re: [Guide] SQL - A lot of guides

    the post command to add ? at 99.6XT ?

  20. #20
    Back again Darkthrone is offline
    MemberRank
    Dec 2003 Join Date
    The NetherlandsLocation
    449Posts

    Re: [Guide] SQL - A lot of guides

    ty for autoreset script thats the simplest and best one out there

  21. #21
    AKA JamBooB xD cymonik is offline
    MemberRank
    Oct 2006 Join Date
    North East EnglandLocation
    256Posts

    Re: [Guide] SQL - A lot of guides

    thank you!!!! i reli needed the autoreset one but does it clear inventory and personal shop?
    and will it update the resets columb to show they hav reset?

  22. #22
    Apprentice kom75 is offline
    MemberRank
    Apr 2005 Join Date
    RussiaLocation
    15Posts

    Re: [Guide] SQL - A lot of guides

    Auto Class Upgrade by one command if someone need:

    UPDATE Character
    SET Class = Class | 1
    FROM Character inner join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
    WHERE Class in (0,16,32) AND clevel>149 AND Memb_Stat.ConnectStat = 0



Advertisement