Jump to content

Psyz

Members
  • Content Count

    48
  • Joined

  • Last visited

Posts posted by Psyz


  1. I'm constantly receiving this alert and my map is falling without any kind of warning, so I can't identify the problem itself to fix, can someone help me?

     

    : DB error - Incorrect table name ''
    
    
    

    [Debug]: at npc.c:1669 - SELECT `name`, `itemId`, `amount`, `priceId`, `priceAmount` FROM ``


  2. @Dastgir Can you explain how to configure?

     

    Spoiler

    OnMinute00Sub: // Called by callsub
        .@ret = true;
        // Fallthrough
    OnMinute00:
        if (gettime(GETTIME_HOUR) < 4) // Don't Choose Ranked Time if it is 12:00AM ~ 4:00 AM (Less players)
            end;
        .@year = $BGRanked_ / 1000000;
        .@month = ($BGRanked_ % 1000000) / 10000;
        .@day = ($BGRanked_ % 10000) / 100;
        .@hour = $BGRanked_ % 100;
        if (.@year == gettime(GETTIME_YEAR) && .@month == gettime(GETTIME_MONTH) && .@day == gettime(GETTIME_DAYOFMONTH)) {
            if (.@hour == gettime(GETTIME_HOUR)) // Ranked Matches
                $BGRanked = 1;
            else // Time has passed or yet to arrive
                $BGRanked = 0;
        } else {
            .@hour = rand(gettime(GETTIME_HOUR), 23);
            $BGRanked_ = gettime(GETTIME_YEAR) * 1000000 + gettime(GETTIME_MONTH) * 10000 + gettime(GETTIME_DAYOFMONTH) * 100 + .@hour;
            if (.@hour == gettime(GETTIME_HOUR))
                $BGRanked = 1;
            else
                $BGRanked = 0;
        }
        if (.@ret)
            return;
        end;

     


  3. trocar armas gloriosas por distintivos?

    O sistema de happy hour pode colocar ou será colocado na fonte ou npc?

     

    Um ótimo roteiro já grato!

     

     

     

    Como se estivesse definido no eamod (common.txt):

     

    // Happy Hour do BattleGround

    OnDoHappyHour:
      OnClock1600:
      OnClock1800:
      OnClock2000:
      OnClock2200:
      switch (gettime (4))
      {
      caso 1:
      caso 3:
      caso 5:
      if (gettime (3)> = 20 && gettime (3) <22)
      {
      anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
      setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
      setbattleflag "bg_ranked_mode", 1;
      fim;
      }
       
      if (gettime (3) == 22)
      {
      anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
      setbattleflag "bg_reward_rates", 100; // Taxas normais
      setbattleflag "bg_ranked_mode", 0;
      fim;
      }
      quebrar;
      caso 2:
      caso 4:
      caso 6:
      if (gettime (3)> = 16 e& gettime (3) <18)
      {
      anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
      setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
      setbattleflag "bg_ranked_mode", 1;
      fim;
      }
       
      if (gettime (3) == 18)
      {
      anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
      setbattleflag "bg_reward_rates", 100; // Taxas normais
      setbattleflag "bg_ranked_mode", 0;
      fim;
      }
      quebrar;
      }
      fim;
     

    }

       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
     

     


  4. Spoiler

    #src/map/battle.cpp

    Search for:
    ----------------------------------------------------------------
    if (flag & BF_SHORT) {//Bounces back part of the damage.
    ---------------------------------------------------------------


    add below:
    ---------------------------------------------------------------
            if (!status_reflect && skill_id == WS_CARTTERMINATION && !status_bl_has_mode(src, MD_STATUS_IMMUNE)) //Ignoring all reflecting (psyz)
            {
                rdamage = 0;
                return 0;
            }
    ------------------------------------------------------------------

    change:
    -----------------------------------------------
    if (!status_reflect && sd && sd->bonus.short_weapon_damage_return) {
    ------------------------------------------------

    per:
    --------------------------------------------------------------------------
    else if (!status_reflect && sd && sd->bonus.short_weapon_damage_return) {
    --------------------------------------------------------------------------

     This modification was made in the rA, but you can adapt to Herc.

     

    @Haru ,CARTTERMINATION should not be reflected by cards nor using REFLECT SHIELD, this has long been configured to reflect by cards, pass this to the development manager.


  5. I'm starting a project on top of Hercules, but Kro is advancing a lot in the IDs of the items, so Hercules does not open spaces to customize the items.

    And we know that Hercules is far superior to rA in terms of performance.

    So does the emulator already support IDs above 30k?
    If not, do you already have some stable customization?


  6.  

     

    Eu pessoalmente tenho o seguinte problema.
    Meu hexed não está lendo nenhum equipamento da cabeça do ragnarok, como o capacete angélico.

    Tudo está correto, o erro está relacionado com o sprite, diz que o sprite está faltando.
    Eu tive o mesmo erro quando eu estava adicionado aos padrões e era apenas o ID máximo de hexadecimal que não estava em 6000.

    Meu hexed é o 2014-10-22b

     

     

     

    Spoiler

    Im2.jpg

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.