Jump to content

simplexjay2

Members
  • Posts

    224
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by simplexjay2

  1. Quote

     

    Got this problem 

    strcat(strcat(strcat(strcat(out_msg, "["), item->ename), "] "), message);

     
    Error (active)    E0413    no suitable conversion function from "std::string" to "const char *" exists    map-server   
     


     

    NVM Already Solve

  2. @@ -1058,6 +1058,9 @@ TIMER_FUNC(mob_delayspawn){
    		}
    		md->spawn_timer = INVALID_TIMER;
    		mob_spawn(md);
    +                if( md->state.boss ) {
    +                map_setmapflag(bl->m, MF_PVP, true);
                    }
    	}
    	return 0;
    }
    @ -1139,6 +1142,7 @@ int mob_spawn (struct mob_data *md)
    		md->bl.m = md->spawn->m;
    		md->bl.x = md->spawn->x;
    		md->bl.y = md->spawn->y;
    +		if(md->spawn->state.boss)  map_setmapflag(md->bl.m, MF_PVP, true);
    
    		if( (md->bl.x == 0 && md->bl.y == 0) || md->spawn->xs || md->spawn->ys )
    		{	//Monster can be spawned on an area.
    @ -3158,6 +3162,9 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
    	// MvP tomb [GreenBox]
    	if (battle_config.mvp_tomb_enabled && md->spawn->state.boss && map_getmapflag(md->bl.m, MF_NOTOMB) != 1)
    		mvptomb_create(md, mvp_sd ? mvp_sd->status.name : NULL, time(NULL));
    +        if(md->spawn->state.boss)  {
    +        map_setmapflag(md->bl.m, MF_PVP, false);
    +        }
    
    	if( !rebirth )
    		mob_setdelayspawn(md); //Set respawning.
    

    This is Working for me 

  3. pc_setpos(pl_sd, pl_sd->mapindex, pl_sd->bl.x, pl_sd->bl.y, 3);

    Got this problem ON latest git

    Severity    Code    Description    Project    File    Line    Suppression State
    Error    C2664    'e_setpos pc_setpos(map_session_data *,unsigned short,int,int,clr_type)': cannot convert argument 5 from 'int' to 'clr_type'    map-server    c:\users\jhay tech\desktop\rathena\src\custom\atcommand.inc    114    
     

     

  4. On 5/26/2017 at 7:00 PM, Keitenai said:

    @simplexjay2 i have uploaded a new diff to fix the compatibility with the latest rathena's revision.

     

    Update:

    • Added feature which disconnects anyone who does inhumanly spamming.
    • Fixed compatibility with rathena 8d8712f revision ( as of 05/26/2017 )
    • Implemented "Show skill delay" for the Mod configuration only ( for testing purposes ).

     

    thank you very much i will try it now

    I found a bug here in this patch every time i use asura while far on the enemy if you click asura to the enemy it will stop near 2 cell of the enemy

    and b4 you can asura or sonic blow u should be 1-2cell near b4 it can use skill

    outside of 3 cell it will not used the skill that u cast it will just stop 3cell b4 the enemy

  5. +10 For you buddy Now even i wont purchase gepard i have this one Keep it up

    BUt i got a Problem clif_disp_onlyself(sd, message_skdelay, (int)strlen(message_skdelay));

    Severity    Code    Description    Project    File    Line    Suppression State
    Warning    C4013    'clif_disp_onlyself' undefined; assuming extern returning int    map-server    c:\users\client\desktop\trunk\src\map\skill.c    17403    
     

×
×
  • Create New...