Jump to content

hikashin-rae

Members
  • Posts

    208
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by hikashin-rae

  1. On 12/8/2020 at 7:30 PM, Get Backers said:

    sorry for late reply! thanks for mod but did you know for example when using @pk off in town then enter the gold room and still @pk on inside the gold room i need to checker of @pk commands for disable gold room and pvp room

    then mapflag on goldroom should be declared as 0;

  2. 3 hours ago, gerrythecat said:

    did you already order XPRO? may i know when was your last conversation. i just hope he's okay with the pandemic today its pretty scary. i really like the look of xpro compared to other mobile versions.

    November 3 our last convo.

  3. 9 hours ago, gerrythecat said:

    I really need to reach him. is it normal for him to not respond for almost a month? is he the only one I can reach for XPRO concerns? 

    I think xpro is just a littlebit busy. just take a wait also i am waiting for my server to be up on mobile.

  4. 1 hour ago, Scofield said:

    hello how would a vip ticket for this system look?

     

    script

     

      Reveal hidden contents

    //==========================================================================================================================
    //                          Função que adiciona 15 dias Vip ao usuário
    //==========================================================================================================================

    function    script    vip15    {

    set $nivelVip, 1;
    set $diasVip, 15;
    set $verificaVip, 1;

        if (getgroupid() == 1) goto estender;

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(CURDATE(),INTERVAL "+$diasVip+" DAY) WHERE `group_id` = 0 AND `account_id` = "+getcharid(3);

        dispbottom "Vip inserido com sucesso! Relogue seu personagem para ativá-lo.";
        end;

    estender:

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);

        dispbottom "Vip estendido por mais "+$diasVip+" dias! Relogue seu personagem para ativá-lo.";
        end;

    }

    //==========================================================================================================================
    //                          Função que adiciona 30 dias Vip ao usuário
    //==========================================================================================================================

    function    script    vip30    {

    set $nivelVip, 1;
    set $diasVip, 30;
    set $verificaVip, 1;

        if (getgroupid() == 1) goto estender;

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(CURDATE(),INTERVAL "+$diasVip+" DAY) WHERE `group_id` = 0 AND `account_id` = "+getcharid(3);

        dispbottom "Vip inserido com sucesso! Relogue seu personagem para ativá-lo.";
        end;

    estender:

        query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);

        dispbottom "Vip estendido por mais "+$diasVip+" dias! Relogue seu personagem para ativá-lo.";
        end;

    }

    //==========================================================================================================================
    //                Função que controla a data de término da conta vip e anúncios ao logar
    //==========================================================================================================================

    -    script    GerenciadorVip    -1,{

            OnPCLoginEvent:    

    set @site$, "www.heroragnarok.com.br";

            query_sql "UPDATE `login` SET `group_id`= 0 WHERE `group_id` = "+$nivelVip+" AND (`dt_vip` IS NULL OR `dt_vip` < CURDATE())";
            query_sql "SELECT (`dt_vip` IS NULL OR `dt_vip` < CURDATE()) FROM `login` WHERE `account_id` = "+getcharid(3), @verificaVip;

            if (@verificaVip) {

            dispbottom "Torne-se um(a) jogador(a) VIP e tenha benefícios exclusivos!";
            dispbottom "Acesse "+@site$+" e saiba mais!";
            end;

    }

        query_sql "SELECT DATE_FORMAT(`dt_vip`, '%d/%m/%Y') FROM `login` WHERE `account_id` = "+getcharid(3), @dataVencimento$;

        dispbottom "Sua conta VIP é válida até o dia "+@dataVencimento$+"";
        end;

    }

     

    My ticket

     

     

    this vip ticket does not add the vip days to the sql table or change the group id

     

    is your login char set up with group value 1?

    if (getgroupid() == 1) goto estender;

  5. On 2/14/2020 at 12:07 AM, boeyskie said:

    Does anyone know how to login a character by script only? I am trying make a simple bot..

     

    Somehow works like this: 

    But I can't get it working.

    It required source editing. for that example

  6. 37 minutes ago, domez86 said:

    hi, can I find out where the basic banner image of the flux control panel is? (blue poring with text flux control panel) I would like to change only that, without changing the whole skin, thanks.

    which one the logo? theme/default/img/

×
×
  • Create New...