Jump to content

Dani3lArt

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Dani3lArt

  1. On 9/5/2021 at 4:40 PM, Easycore said:

    Open cliff.cpp

    Search every:

    p.isBoss = ( (mob_data*)bl )->get_bosstype();

    And replace for:

    p.isBoss = ((mob_data*)bl)->get_bosstype()?2:0;

    PS: Not tested.

    Don't work but you give me a hint.
    Fixed changing mob.hpp

    enum e_mob_bosstype : uint8{
    	BOSSTYPE_NONE,
    	BOSSTYPE_MINIBOSS,
    	BOSSTYPE_MVP
    };

    to

    enum e_mob_bosstype : uint8{
    	BOSSTYPE_NONE,
    	BOSSTYPE_MVP,
    	BOSSTYPE_MINIBOSS
    };

    Thank you so much.

  2. On 6/22/2021 at 7:55 PM, cook1e said:

    When I try to attack an enemy from the other team, I can't do it without pressing the SHIFT key, sometimes it lets me attack. the moment he lets me attack the enemy emblem starts to appear / disappear repeatedly. Only problem I have seen so far (Using the latest revision June 22, 2021)

    Second bug, when a player get disconnected for being AFK in Battleground map-server crash

    It has to be something related to the emblem, any fixes?

    The crash is because the NPC called in the source don't exist, just duplicate it with the name of OnPCLeaveBG on bg_common.txt

    Spoiler

    image.png.7805d660b6cc3482f69a37d40c5dc219.png

    I fixed the crashes doing that.

  3. In the diff skill.cpp:3054:

    -#ifdef RENEWAL
     				skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv));
    -#else
    -				guild_block_skill(sd, skill_get_time2(skill_id, skill_lv));
    -#endif

    I suggest:
     

    #ifdef BGEXTENDED
    				skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv));
    #else
    	#ifdef RENEWAL
    				skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv));
    	#else
    				guild_block_skill(sd, skill_get_time2(skill_id, skill_lv));
    	#endif
    #endif

     

    And in diff skill.cpp:3140:

    -#ifdef RENEWAL
     				skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv));
    -#else
    -				guild_block_skill(sd, skill_get_time2(skill_id, skill_lv));
     #endif

    to:

    	#ifdef BGEXTENDED
    				skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv));
    	#else
    		#ifdef RENEWAL
    				skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv));
    		#else
    				guild_block_skill(sd, skill_get_time2(skill_id, skill_lv));
    		#endif
    	#endif
    #endif


     

    Thanks for the code.

  4. En caso de que lo actives con comando sería más viable 

    -	script	ONKICKGMWOE	-1,{
    OnPCLoginEvent:
    	if (getgmlevel() >= 90 && (agitcheck() || agitcheck2()))
    		atcommand "@kick "+strcharinfo(0);
    	end;
    }

    Así no importa la hora, si se encuentra activa WoE no dejará entrar al GM.

×
×
  • Create New...