Jump to content

GHul

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by GHul

  1. Try add this

    } else if (strncmp(map_name, "mall", 3) == 0) {
             town = 36;
    }

    Did it warp you to malangdo map when using @go mall?

    Then try change this

    Find

    } else if (strncmp(map_name, "malangdo", 3) == 0) {
             town = 33;
    }

    Replace

    } else if (strncmp(map_name, "malangdo", 4) == 0) {
             town = 33;
    }

    • Upvote 1
  2. Yes this would be source edit. Did you mean frost by WZ_Stormgust skill? Look into src/map/status.c

    Find

    	case SC_FREEZE:
      	 sc_def = 3 + status->mdef;
    	break;

    Replace with

    	case SC_FREEZE:
    	if (status->int_ >= 100)
    		return 0;
    	else
    		sc_def = 3 + status->mdef;
    	break;

  3. Its Renewal mechanics where you won't have instant cast regardless of your Instant Cast/Dex conf.

    Find in src/map/config/renewal.h

    
    /**
    * Renewal Cast Time
    * @values: 1 (enabled) or 0 (disabled)
    *  1 : Cast Time is decreased by DEX*2+INT, 20% of the cast time is not reduced by stats,
    *  - for example, on a skill whose cast time is 10s, only 8s may be reduced. other 2s are
    *  - part of a "fixed cast time" that is only reduced by special items and skills (such as
    *  - Arch Bishop's Sacrament skill).
    *  0 : the old cast time method, influenced by dex, items and skills.
    **/
    #define RECASTING 1
    

    Change to

    #define RECASTING 0

  4. Currently, i got 2 ways to make the client not to auto close when wrong password detected.

    All changes are done to server-side.

    Make sure your add this on your login conf.

    //Set this to yes to make client not to auto close when user input wrong password.
    //Usefull for Client 2011+
    re_client: yes

    First patch will make server send "Rejected from the server" and will not auto close the client.

    For second patch use "dummy" value and will make client receive "Fail to connect" if the user spam any wrong password on any account.

    :D

    This code has compability issue with harmony src.

    Server build with harmony src doesn't read from same line of code.

    Only account group_id or lvl set in conf to bypass harmony protection / Ignore client checksum <Not sure which 1 effected> will work.

    Won't fix this, since it will required harmony src to be exposed to public.

    rejected.patch

    fail_to_connect.patch

    • Upvote 2
  5. There are a "Trick" to make a 2011+ client not to auto close but Instead use "Fail to connect" notice when user input wrong password.

    But yeah its actually a "wrong way" to notice user client with "correct" message.

    :D

  6. Hi,

    This tiny src snippet thats will help to disable any skill or normal attack damage on mob or pc for GM ID.

    Its good to help control your current GM Team (especially Trainee) or if you feel obscure on your current GM Team.

    This will not allow your GM to assist player (in my case Trainee GM using @hide and helping guild to kill player on WoE),helping friends "needed" or kill any MvP mob in Events.

    You will need to import this on battle conf and change the value according to your server configuration.

    //Minimum account group_id thats are disable any skill or normal attack damage on mobs or PC.
    min_gm_lvl_cant_atk: 2
    //Maximum account group_id thats are disable any skill or normal attack damage on mobs or PC.
    //Change this to 0 to allow any kind of skill or nomal attack usage disregard of account group_id.
    max_gm_lvl_cant_atk: 10

    Update and compatible with r15816.

    disable_gm_skill_atk.patch

    Add @damageignore commands !

    Use this code if you want to disable skill or attacks using commands. Not restricted to GM ID.

    atcmd_disable_skill_atk.patch

  7. For more @go support, please check this link

    http://www.eathena.w...howtopic=205044

    Just change

    		{ MAP_PRONTERA,	156, 191 }, //  0=Prontera
    	{ MAP_MORROC,	  156,  93 }, //  1=Morroc
    	{ MAP_GEFFEN,	  119,  59 }, //  2=Geffen
    	{ MAP_PAYON,	   162, 233 }, //  3=Payon
    	{ MAP_ALBERTA,	 192, 147 }, //  4=Alberta
    	{ MAP_IZLUDE,	  128, 114 }, //  5=Izlude

    And define your custom map on mapindex.h

    And don't forget to change this line too

       	 clif_displaymessage(fd, " 0=Prontera		 1=Morroc	   2=Geffen");

    	if (strncmp(map_name, "prontera", 3) == 0) {
    	town = 0;

  8. about @

    when the normal player type @ it says "Unknown Command" how to disable it and it will be a "normal chat" .

    but in the GM side (it will be @ in command) like @item , @produce etc etc !

    Or maybe you can add GM Check. Make sure you set the lowest considered GM Level on your gm.conf

    // The level at which a player with access is considered a GM.

    // An account with an access level lower than this is not effected

    // by gm_can_drop_lv (battle_athena.conf).

    lowest_gm_level: 1

    		   	 if( info == NULL || info->func == NULL || ( type && ((*atcmd_msg == atcommand_symbol && pc_isGM(sd) < info->level) || (*atcmd_msg == charcommand_symbol && pc_isGM(sd) < info->level2)) ) )
    		 if ( battle_config.lowest_gm_level > pc_isGM(sd) )
    	   	 return false;
    	   	 else {
    			 sprintf(output, msg_txt(153), command); // "%s is Unknown Command."
    			 clif_displaymessage(fd, output);
    			 return true;
    	   	 }

    You can try this or mix with other's dev code and decide which is best fit for you.

    Try this code too if you don't want "#" <# failed. Player not found.> display on normal player ID.

    Find

       	 if ( (ssd = map_nick2sd(charname)) == NULL  && ( (ssd = map_nick2sd(charname2)) == NULL ) )
    	{
    		sprintf(output, "%s failed. Player not found.", command);
    		clif_displaymessage(fd, output);
    		return true;
    	}

    Replace

    
      	 if ( (ssd = map_nick2sd(charname)) == NULL  && ( (ssd = map_nick2sd(charname2)) == NULL ) )
    	{
    		if ( battle_config.lowest_gm_level > pc_isGM(sd) )
    		return false;
    		else {
    		sprintf(output, "%s failed. Player not found.", command);
    		clif_displaymessage(fd, output);
    		return true;
    		}
    	}
    

    Hope this help :)

  9. for removing @ "unknown commands" message for unintended player gm level.

    Find

        if( info == NULL || info->func == NULL || ( type && ((*atcmd_msg == atcommand_symbol && pc_isGM(sd) < info->level) || (*atcmd_msg == charcommand_symbol && pc_isGM(sd) < info->level2)) ) )
       {
          	 sprintf(output, msg_txt(153), command); // "%s is Unknown Command."
          	 clif_displaymessage(fd, output);
          	 return true;
       }

    Replace

        if( info == NULL || info->func == NULL || ( type && ((*atcmd_msg == atcommand_symbol && pc_isGM(sd) < info->level) || (*atcmd_msg == charcommand_symbol && pc_isGM(sd) < info->level2)) ) )
       {
               return false;
       }

  10. All 3rd Job Aura will not show to other player if you using higher/custom default Max Level than it should be.

    2nd Job is exceptional and it will show character Aura even if you use higher/custom default Max Level.

    This is a client side hex related.

×
×
  • Create New...