Resultados 1 a 10 de 728

Hybrid View

  1. #1
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    40
    Thanks Thanks Received 
    877
    Thanked in
    68 Posts
    Mencionado
    499 Post(s)
    País
    Brazil
    Citação Originally Posted by HorrorStory Ver Post
    ss removi isso, olha ali o codigo que mandei em cima na hora de rodar da erro de END na linha 62 tentei tirar mesmo assim nao deu
    Isso você deve mudar nas jobs de 1 minuto que já estão criadas e não no script.
    Meu canal no YouTube com vídeos sobre os sistemas que desenvolvo:
    [Somente membros podem ver os links. ]

  2. #2
    Membro HorrorStory's Avatar
    Data de Ingresso
    Sep 2015
    Posts
    181
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Mencionado
    26 Post(s)
    MEU HUMOR
    Angelic
    Citação Originally Posted by louis Ver Post
    Isso você deve mudar nas jobs de 1 minuto que já estão criadas e não no script.
    ent tipo dai na jobs da erro que a Procedure nao foi criada, so que quando tento criar da esse erro que te falei la em cima

  3. #3
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    40
    Thanks Thanks Received 
    877
    Thanked in
    68 Posts
    Mencionado
    499 Post(s)
    País
    Brazil
    Citação Originally Posted by HorrorStory Ver Post
    ent tipo dai na jobs da erro que a Procedure nao foi criada, so que quando tento criar da esse erro que te falei la em cima
    Se ela não foi criada me explica onde aparece esse erro:

    ele da o seguinte erro Executed as user: NT AUTHORITY\SYSTEM. Invalid column name 'data_reset'. [SQLSTATE 42S22] (Error 207). The step failed.
    Meu canal no YouTube com vídeos sobre os sistemas que desenvolvo:
    [Somente membros podem ver os links. ]

  4. #4
    Membro HorrorStory's Avatar
    Data de Ingresso
    Sep 2015
    Posts
    181
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Mencionado
    26 Post(s)
    MEU HUMOR
    Angelic
    Citação Originally Posted by louis Ver Post
    Se ela não foi criada me explica onde aparece esse erro:
    esse ai eu arrumei, to falando agora o do job de 1 mes;-; tipo ele fala que nao existe a procedure PREMIAR_TOPS
    Last edited by HorrorStory; 05/05/2017 at 01:36 AM.

  5. #5
    Developer C++ louis's Avatar



    Data de Ingresso
    Apr 2016
    Posts
    1,681
    Thanks Thanks Given 
    40
    Thanks Thanks Received 
    877
    Thanked in
    68 Posts
    Mencionado
    499 Post(s)
    País
    Brazil
    Citação Originally Posted by HorrorStory Ver Post
    esse ai eu arrumei, to falando agora o do job de 1 mes;-; tipo ele fala que nao existe a procedure PREMIAR_TOPS
    Código:
    
    CREATE Procedure [dbo].[PREMIAR_TOPS] 
    @Account varchar(10),
    @Name varchar(10),
    @WC int,
    @WP int,
    @GP int,
    @XP int,
    @VIP1 int,
    @VIP2 int,
    @VIP3 int,
    @EVENTOS int
    AS
    BEGIN
    
    SET NOCOUNT ON
    SET XACT_ABORT ON
    
    IF @WC > 0 or @WP > 0 or @GP > 0
    BEGIN
    UPDATE CashShopData 
        SET WCoinC = WCoinC + @WC, WCoinP = WCoinP + @WP, GoblinPoint = GoblinPoint + @GP where AccountID = @Account
    END 
    
    IF @WC > 0
    BEGIN
        insert into log_creditos ( login, valor, ip, tipo ) values (@Account,@WC,'1','6')
    END
    
    IF @EVENTOS > 0 or @XP > 0
    BEGIN 
    UPDATE Character 
        SET exp_war = exp_war + @XP, eventos = eventos + @EVENTOS where Name = @Name and AccountID = @Account
    END
    
    IF @VIP1 > 0
    BEGIN
        -- ADD VIP NA CONTA VIP_AL1
        update memb_info set AccountExpireDate = AccountExpireDate+@VIP1 where memb___id = @Account and accountlevel = 1
        -- ADD VIP NA CONTA VIP_AL0
        update memb_info set accountlevel = 1, AccountExpireDate = (getdate())+@VIP1 where memb___id = @Account and accountlevel = 0
        
        if (select COUNT(*) from MEMB_INFO where memb___id = @Account and AccountLevel = 1) > 0
        Insert into log_vip (login,dias,tipo) values (@Account,@VIP1,'6' )
    END
    
    if @VIP2 > 0
    BEGIN
        -- ADD VIP NA CONTA VIP_AL2
        update memb_info set AccountExpireDate = AccountExpireDate+@VIP2 where memb___id = @Account and accountlevel = 2
        
        if (select COUNT(*) from MEMB_INFO where memb___id = @Account and AccountLevel = 2) > 0
        Insert into log_vip (login,dias,tipo) values (@Account,@VIP2,'7' )
    END
    
    if @VIP3 > 0
    BEGIN
        -- ADD VIP NA CONTA VIP_AL3
        update memb_info set AccountExpireDate = AccountExpireDate+@VIP3 where memb___id = @Account and accountlevel = 3
    
        if (select COUNT(*) from MEMB_INFO where memb___id = @Account and AccountLevel = 3) > 0
        Insert into log_vip (login,dias,tipo) values (@Account,@VIP3,'8' )
    END
    END
    GO
    
    
    CREATE Procedure [dbo].[PREMIAR_TOPS_MEDALHAS] 
    @Account    varchar(10),
    @Name        varchar(10),
    @MEDALHA    int
    AS
    BEGIN
    
    SET NOCOUNT ON
    SET XACT_ABORT ON
    
    IF @MEDALHA = 1 
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_sresets=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_sresets) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 2 
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_smresets=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_smresets) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 3 
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_tempo=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_tempo) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 4 
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_evento=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_evento) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 5 
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_pk=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_pk) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 6 
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_hr=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_hr) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 7
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_ds_s=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_ds_s) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 8
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_bc_s=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_bc_s) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 9
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_cc_s=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_cc_s) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 10
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_duel_semanal=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_duel_semanal) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 11
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_resets_m=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_resets_m) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 12
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_mresets_m=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_mresets_m) VALUES (@Account,@name,1)
    END
    
    
    IF @MEDALHA = 13
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_tempo_m=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_tempo_m) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 14
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_evento_m=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_evento_m) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 15
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_pk_m=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_pk_m) VALUES (@Account,@name,1)
    END
    
    IF @MEDALHA = 16
    BEGIN
        if exists (select login from mk_medalhas where login = @Account and name = @name)
            UPDATE MK_MEDALHAS SET medal_hr_m=1 where name = @name
        ELSE
            INSERT INTO MK_MEDALHAS (login,name,medal_hr_m) VALUES (@Account,@name,1)
    END
    END
    GO
    Tenta executar isso
    Meu canal no YouTube com vídeos sobre os sistemas que desenvolvo:
    [Somente membros podem ver os links. ]

  6. #6
    Developer C++ 4i20's Avatar

    Data de Ingresso
    Jan 2016
    Posts
    256
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Mencionado
    53 Post(s)
    MEU HUMOR
    Relaxed
    boa @[Somente membros podem ver os links. ], blz..., cara me tira uma duvida, estou mudando seu server para Hard, nisso alterei o arquivo da chaos machine colocando os respectivos rate para cada item a ser criado, os rate estao funcionando certinho quebrando e criando os itens, so q na chaos sempre mostra 100% para criacao, no caso, o visual nao esta mudando para o respectivo rate verdadeiro, mostrando na tela ingame apenas em 100%. Sabe o porque dessa causa, ou uma solucao para ela?

    abraco

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • You may not post Resposta(s)
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •  
Sobre nós
Somos uma comunidade em atividade a 8 anos que aborda assuntos relacionados a games em geral, principalmente games MMORPG. e que busca sempre ajudar os membros através de conteúdos, tutoriais e suporte...
Nossos anunciantes
Hinetworks
VelozHost
InovHost
Rede Sociais