Update: Conteudos instruidos e atualizados, disponivel gratuitamente em 14/04/2024, para servidores PC\Mobile. Anuncie conosco..

Indice do conteúdo.

Politica de privacidade..



    Por: allan
    7774 Views

    AutoReset Tabelado


    Va em SQL Server Enterprise Manager.
    Va em Databases, Muonline e Tables.
    3º Na tabela Character Click com botão direito, Design Table.
    4º Va até o ultimo campo (collun name) escrito e crie um chamado Reset.
    5º Colunname = Reset , DataType = int , Default value = 1 , salve e feche.
    6º Agora em Management. 
    7º Va em SQL Server Agent.
    8º Va em Jobs, e click com botão direito e NewJob.
    9º Va em General coloque um nome como AutoReset.
    10º Depois vai em Steps.
    11º New em Steps em "name" coloque AutoReset tambem.
    12º Va em Type deixe Transact-SQL Script (TSQL).
    13º Em Database selecione MUOnline. 
    14º No Command coloque o codigo do reset desejado, escolhe eles abaixo.

    UPDATE Character
    SET clevel=('1') , experience=('0') , LevelUpPoint=100+100*Resets , Resets=Resets+1 , Strength=('30') , Dexterity=('30') , Vitality=('30') , Energy=('30')
    FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS
    JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS
    WHERE clevel>319 and Resets<('20') and Money>('0') and MEMB_INFO.vip=0 and MEMB_STAT.ConnectStat=0

    UPDATE Character
    SET clevel=('1') , experience=('0') , LevelUpPoint=50+50*Resets+1000 , Resets=Resets+1 , Strength=('30') , Dexterity=('30') , Vitality=('30') , Energy=('30')
    FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS
    JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS
    WHERE clevel>339 and Resets<('100') and Money>('50000000') and MEMB_INFO.vip=0 and MEMB_STAT.ConnectStat=0
    UPDATE Character
    SET clevel=('1') , experience=('0') , LevelUpPoint=25+25*Resets+3500 , Resets=Resets+1 , Strength=('30') , Dexterity=('30') , Vitality=('30') , Energy=('30')
    FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS
    JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS
    WHERE clevel>349 and Resets<('5000') and Money>('50000000') and MEMB_INFO.vip=0 and MEMB_STAT.ConnectStat=0
    UPDATE Character
    SET clevel=('1') , experience=('0') , LevelUpPoint=200+200*Resets , Resets=Resets+1 , Strength=('50') , Dexterity=('50') , Vitality=('50') , Energy=('50')
    FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS
    JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS
    WHERE clevel>319 and Resets<('20') and Money>('0') and MEMB_INFO.vip=1 and MEMB_STAT.ConnectStat=0
    UPDATE Character
    SET clevel=('1') , experience=('0') , LevelUpPoint=100+100*Resets+2000 , Resets=Resets+1 , Strength=('50') , Dexterity=('50') , Vitality=('50') , Energy=('50')
    FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS
    JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS
    WHERE clevel>339 and Resets<('100') and Money>('25000000') and MEMB_INFO.vip=1 and MEMB_STAT.ConnectStat=0
    UPDATE Character
    SET clevel=('1') , experience=('0') , LevelUpPoint=50+50*Resets+7000 , Resets=Resets+1 , Strength=('50') , Dexterity=('50') , Vitality=('50') , Energy=('50')
    FROM Character join Memb_Stat on Character.Accountid = Memb_Stat.memb___id COLLATE Latin1_General_CS_AS
    JOIN MEMB_INFO ON Character.AccountID=MEMB_INFO.memb___id COLLATE Latin1_General_CS_AS
    WHERE clevel>349 and Resets<('5000') and Money>('25000000') and MEMB_INFO.vip=1 and MEMB_STAT.ConnectStat=0

    -------------------------------------------------------------------------------------------------------------
    O Reset ficaria assim:
    • Tabela Reset Para Player Free
    - Do 1º reset ate o 20º --> Reseta lvl 320 = 100 pontos por Reset "0"
    - Do 21º reset ate o 100º --> Reseta lvl 340 = 50 pontos por Reset "50 kk" - Do 101º reset ate o 5000º --> Reseta lvl 350 = 25 pontos por Reset "50 kk" 
    • Tabela Reset Para Player Vip

    - Do 1º reset ate o 20º --> Reseta lvl 320 = 200 pontos por Reset "0"
    - Do 21º reset ate o 100º --> Reseta lvl 340 = 100 pontos por Reset "25 kk"
    - Do 101º reset ate o 5000º --> Reseta lvl 350 = 50 pontos por Reset "25 kk"
    -------------------------------------------------------------------------------------------------------------

    15º Depois clique em Parse e de OK. 
    16º Va para Schedules.
    17º Em New Sechedule coloque tambem la AutoReset.
    18º Depois clique em Change.
    19º Na primeira parte selecione Daily e deixe em Every 1 day(s).
    20º Depois selecione em baixo Occurs every e troque Hour(s) por Minute(s).
    21º Duration selecione a data atual do dia e de ok. 
    22º Agora e so finalizar dando Aplicar e OK.
    23º Pronto está feito AUTORESET.
    24º Sempre de Start no SQL Server Agent, e deixe como auto start para facilitar.

    -------------------------------------------------------------------------------------------------------------
    Mudando o Código:

    LevelUpPoint = 300*Reset 
    Significa que os pontos por reset vão ser definidos assim:
    300 multiplicado pelo numero de resets atuais.

    Strength= ('20') , Dexterity= ('20') , Vitality= ('20') , Energy= ('20')
    Isso são os atributos que o char recomeça, ou seja, esse char recomeçaria com 20 pontos em todos os atributos (skills).

    WHERE clevel>349
    Level de Reset ( deixe -1 do lvl desejado ), nesse ele resetaria no 350. 
    ------------------------------------------------
     
     

    1/52/53/54/55/5

Suporte!

streamers

Promoção

Descontos mais recentes

PUBLICIDADE SUPER TOP ATÉ 08/2024

Banner destacado na parte superior

Obtenha 70x mais resultados publicitarios.

510 BRL *180 BRL

Entre em contato com o Gestor, e anuncie agora durante 120 dias:

Falar com o suporte.


Hospedagem para sites de mu online com segurança, CloudVPS e Dedicados, veja as promoções idelhost

Indicador de Mercado Financeiro de Opção Binaria, ganhe dinheiro em homeOffice, obtenha sua independencia financeira agora mesmo!


Parceiros







Hospedagem para sites de mu online com segurança, CloudVPS e Dedicados, veja as promoções idelhost