Best Auto Reset for Your server.

Results 1 to 16 of 16
  1. #1
    Account Upgraded | Title Enabled! IAmMe is offline
    MemberRank
    May 2005 Join Date
    MarsLocation
    548Posts

    Best Auto Reset for Your server.

    it's fast easy and best way to do autoreset at ur server :).
    Let's Start,
    go to Start->Programs->Microsoft SQL Server->Query Analyzer->press "oK"
    Change At the Top "master" to "MuOnline"
    Here's a Picture::
    After that write that:
    Picture:
    CREATE TRIGGER trigger_name_350_1
    ON [MuOnline].[dbo].[Character]
    FOR UPDATE AS
    UPDATE [MuOnline].[dbo].[Character]
    SET [cLevel]=1
    WHERE [cLevel]=350
    GO
    picture:
    and press on the top on "Green play button" or "f5"
    Thats all :), now close ur query,it will ask youif you wanttosave changes or not, select "NO!"
    dun save anychanged if u press f5 it saves auto and u have the auto reset, dun need to save then ur quiting the program(query) :).
    Sry for my bad english.


  2. #2
    Member quzopl is offline
    MemberRank
    Jan 2005 Join Date
    polandLocation
    72Posts
    this autoreset is too simple , its only reseting to lvl 1 no stats reset no cost reset but good idea to make a reset as trigger not job

  3. #3
    Account Upgraded | Title Enabled! IAmMe is offline
    MemberRank
    May 2005 Join Date
    MarsLocation
    548Posts
    it's how i was always making it at my server, also u can do select server and log after 10 seconds and the reset is ready :).

  4. #4
    Apprentice pezaobr is offline
    MemberRank
    May 2005 Join Date
    16Posts
    trigger? no memberstats cheking? its not a good script.

    use sql agent.

  5. #5
    Ex Post Whore Josh is offline
    MemberRank
    Dec 2004 Join Date
    8,333Posts
    Not the best, lol. It just makes it lvl 1, thats all :P.

  6. #6
    God AsterisKSM is offline
    MemberRank
    Jul 2005 Join Date
    United KingdomLocation
    443Posts
    This is Very Old Thing...

  7. #7
    Apprentice Troubleextreme is offline
    MemberRank
    Nov 2004 Join Date
    DenmarkLocation
    16Posts

    I cant get my autoreset too work

    It comes out whit this error when i try too Parse my text.

    and here is what i try too add.
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 18, Dexterity = 18, Vitality = 15, Energy = 30, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 0) OR (class = 1)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 28, Dexterity = 20, Vitality = 25, Energy = 10, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 16) OR (class = 17)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 22, Dexterity = 25, Vitality = 20, Energy = 15, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 32) OR (class = 33)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 48) OR (class = 64)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    PLZ any help will be welcome.
    Last edited by Troubleextreme; 06-10-05 at 06:52 AM.

  8. #8
    Apprentice Troubleextreme is offline
    MemberRank
    Nov 2004 Join Date
    DenmarkLocation
    16Posts
    thx for no help at all.:eh:

  9. #9
    Novice -=LaMeR=- is offline
    MemberRank
    Nov 2006 Join Date
    1Posts
    How To Stop This Shit ?
    I Start It But Now All Chars Is ! Lvl And I Cant Do Anything !

  10. #10
    Account Upgraded | Title Enabled! themad is offline
    MemberRank
    Dec 2004 Join Date
    BulgariaLocation
    1,018Posts
    Quote Originally Posted by -=LaMeR=- View Post
    How To Stop This Shit ?
    I Start It But Now All Chars Is ! Lvl And I Cant Do Anything !
    Code:
    DROP TRIGGER trigger_name_350_1;

  11. #11
    Account Upgraded | Title Enabled! SHANG is offline
    MemberRank
    Sep 2006 Join Date
    usaLocation
    444Posts
    I can say, this is not good auto reset, this is simple auto reset.
    I tested that script, but ppls know bugs to make alot of resets.
    use Auto reset Generator to create script :)

  12. #12
    Novice blow^^ is offline
    MemberRank
    Oct 2006 Join Date
    4Posts
    Quote Originally Posted by Troubleextreme View Post
    It comes out whit this error when i try too Parse my text.

    and here is what i try too add.
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 18, Dexterity = 18, Vitality = 15, Energy = 30, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 0) OR (class = 1)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 28, Dexterity = 20, Vitality = 25, Energy = 10, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 16) OR (class = 17)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 22, Dexterity = 25, Vitality = 20, Energy = 15, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 32) OR (class = 33)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    UPDATE Character
    SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (500 * (Reset + 1)), Money = Money - (10000000 * (Reset + 1)), Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 3, Reset = Reset + 1
    FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
    COLLATE Latin1_general_CI_AI
    WHERE ((class = 48) OR (class = 64)) AND (clevel >= 350) AND (Money >= (10000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
    PLZ any help will be welcome.
    Omg! It is obviously your ''Script'' can`t find Column name ''Reset'' in your db.

  13. #13
    Apprentice ggameboss is offline
    MemberRank
    Oct 2006 Join Date
    HaHaHa :))Location
    13Posts
    Tnx man.

  14. #14
    Member FT1FT1 is offline
    MemberRank
    Jan 2005 Join Date
    VenezuelaLocation
    78Posts
    Listen People
    The main problem on doing autoreset using a trigger is this: Gameserver doesn't read stats from database during gameplay, it only read data once at character login, after that it only write to DB and it consider his own version of the data the most secure and uptodate so, if you character reach level 350 the trigger will move him to level one, but, after any stat or inventory change, DB data will be overwrite by gameserver with online version so your trigger will only change 3rd party character who was at level 350 and loged off.

    I will give you my way to doit:
    1.- Create a stored procedure with your autoreset code, full of detail, zen priced, stat and inventory moded and add all your flavors of pain and gain to it. Stored procedure template is:
    CREATE PROCEDURE dbo.RESET
    @char varchar(10)
    as
    begin

    end
    go
    2.- Add a call to that procedure on WZ_DISCONNECT_MEMB like this:
    EXECUTE dbo.RESET @uid
    This will make accounts auto-reset on disconnect, so, character with correct experience, level, zen or what ever you want for reset price will reset with no user, website or GM furter actions needed.

    This is for skilled people who need a short push, I'll no write full procedure here since every one have a different criteria on reset.

    Enjoy
    Last edited by FT1FT1; 07-12-06 at 05:41 AM.

  15. #15
    Valued Member superman007 is offline
    MemberRank
    Jan 2007 Join Date
    Belgium/MalaysiaLocation
    134Posts

    Re: [Release] Best Auto Reset for Your server.

    Nice
    but how can i get 400 points per each reset

  16. #16
    Enthusiast eladlevy5 is offline
    MemberRank
    Jan 2006 Join Date
    IsraelLocation
    33Posts

    Re: [Release] Best Auto Reset for Your server.

    No!
    Dont Do That Script!
    Its Make Problems In Db!
    Its Not A Good Script!
    Warrning!!!!



Advertisement