Jump to content

xJhay

Members
  • Content Count

    22
  • Joined

  • Last visited

Posts posted by xJhay


  1. 7 hours ago, Kuya Jeo said:

    as you can see, i just copied the same code below the sharpshooting, so it will work, i will not affect other skills because it has a BREAK on the end

    If other skills still in bug then maybe there something wrong with the skill behavior, i just test it on the latest svn and i didnt experience this kind of bug, im using 2013, 2015 and 2019 client

    I saw it now, skill is bugging because of this:

    Mine is good now. Thanks everyone.


  2. On 12/19/2020 at 5:29 PM, Kuroyama said:

    So my snipers weapon has been damaged by WS buff (and stripped by stalker), his weapon has been unequipped but he can still use sharpshooting skill

    How to make sharpshooting skill failed when the player has no equipped weapon?

    Experiencing this too on november svn revision, all of the skills can cast without pre-requisite or required weapons.

    You can rapid fire without gun, arrow shower and double strafe without bow, sonic blow without katar on assassin cross (equipped with dagger).

    I don't know if that's the new normal but that's not quite right.

     

    On 12/27/2020 at 7:53 PM, Kuya Jeo said:

    Try this one, i didnt test it yet
     

    Find this line in src/map/skill.c

    case NC_FLAMELAUNCHER: if (sd) pc->overheat(sd,1); /* Fall through */ case SN_SHARPSHOOTING: case MA_SHARPSHOOTING:

    
    		case NC_FLAMELAUNCHER:
    			if (sd) pc->overheat(sd,1);
    			/* Fall through */
    		case SN_SHARPSHOOTING:
    		case MA_SHARPSHOOTING:

    Then replace with this one

    case NC_FLAMELAUNCHER: if (sd) pc->overheat(sd,1); /* Fall through */ case SN_SHARPSHOOTING: case MA_SHARPSHOOTING: if(sd->weapontype != W_BOW){ clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0); } else{ skill->area_temp[1] = bl->id; map->foreachinpath(skill->attack_area,src->m,src->x,src->y,bl->x,bl->y, skill->get_splash(skill_id, skill_lv),skill->get_maxcount(skill_id,skill_lv), skill->splash_target(src), skill->get_type(skill_id, skill_lv), src, src, skill_id, skill_lv, tick, flag, BCT_ENEMY); } break;

    
    		case NC_FLAMELAUNCHER:
    			if (sd) pc->overheat(sd,1);
    			/* Fall through */
    		case SN_SHARPSHOOTING:
    		case MA_SHARPSHOOTING:
    			if(sd->weapontype != W_BOW){
    				clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
    			}
    			else{
    			skill->area_temp[1] = bl->id;
    			map->foreachinpath(skill->attack_area,src->m,src->x,src->y,bl->x,bl->y,
    			                   skill->get_splash(skill_id, skill_lv),skill->get_maxcount(skill_id,skill_lv), skill->splash_target(src),
    			                   skill->get_type(skill_id, skill_lv), src, src, skill_id, skill_lv, tick, flag, BCT_ENEMY);
    			}
    		break;

    after editing, please recompile and check it ingame

    if this code will fixed your problem, dont forget to make as solve :)

    This here works on me, but the concern is how bout the other skills?

    Does it really act to be like bug behavior or needed to manually code like this solution above?


  3. 7 hours ago, 4144 said:

    this error said what you have same constant TONATOS with different values. here i think it's id.

    dont use same SpriteName in different mobs. for your custom mob use for example SpriteName with value TONATOS2

     

    Thank you, it works. 

    image.png.547835f059335ab836da228c63bd86e7.png

     


  4. Hello mam, got a little request/concern/inquires? I put this cell_pvp script on my main town prontera.

    In my map_zone_db, I disable something skills like large aoe skills for towns (ex: storm gust, lov, meteor assault, etc...)

    Is there any chance that those skills will be enable once inside cell_pvp?

     

    Edit:

       • additional info : Behavior of the penalty of no skill outside cell_pvp is for the whole map, not with near cell_pvp.

                                  please correct me if I'm wrong with this but I don't think that's intentional or? (i just try to inc_agi myself far from cell_pvp but it won't let me")


  5. //===== rAthena Script =======================================
    //= Freebies NPC with Gepard Function supported
    //===== By: ==================================================
    //= BeWan
    //https://rathena.org/board/profile/62232-bewan/
    //===== Current Version: =====================================
    //= 1.0
    //===== Description: =========================================
    //= this freebies npc is supported gepard function " unique_id "
    //= you can add multiple reward items
    //============================================================
    
    prontera,150,150,4	script	Freebies NPC	123,{
    
    	.@unique_id$ = get_unique_id();
    
    	if(getd("$ID_" + .@unique_id$) > 0 || #FreebiesReward > 0){
    		mes "[Freebies NPC]";
    		mes "You have already claimed your Freebies.";
    		close;
    	}
    	
    	mes "[Freebies NPC]";
    	mes "Here's your Freebies. Have a nice day!";
    	setd "$ID_" + .@unique_id$,1;
    	#FreebiesReward = 1;
    	$freebies_count -= 1;
    	for (.@i = 0; .@i < getarraysize(.items); .@i += 2)
    		getitem .items[.@i],.items[.@i+1];
    	if ($freebies_count == 0)
    		$reward_status = 1;
    	end;
    	
    OnInit:
    	setarray .items, 501,10,502,10;
    	end;
    }

     

    I see this one on rathena, maybe he's referring to this one.


  6. 8 hours ago, Dastgir said:

    The error can ignore for now, but I will get it fixed soon.

    If you could tell me the steps to reproduce, I will fix it, but without the steps to reproduce, it's hard for me to test as well.

    Hello sir dastgir. I do nothing but to put the plugin and recompile it, then the warning shows up.

     

    Edit: When I compile it to windows, its okay and it has no error shows. Only in CentOS.

    image.png.d5c8b5e14f15c1ce3fa91d892a5ef6aa.png


  7. 1 hour ago, AnnieRuru said:

    wait, I thought I answered this on rathena forum already ?
    https://rathena.org/board/topic/126009-deadbloody-branch-timer/

    same user name, I actually thought I helped a rathena member there

    if you come here and ask the same question again it means you are actually hercules user ?

     

    anyway hercules has plugin system that rathena don't, and rathena still hasn't implement plugin system yet, so here goes

    https://github.com/AnnieRuru/Release/blob/master/plugins/deadbranch_timerdelete/deadbranch_timerdelete.c

    Hi mam annie, yes that was me. I recently migrated to hercules because of its unique features that rathena hasn't implement yet.

    I both trying to learn and adopt the two emu but I guess hercules was great and friendly user so far and I might stick with hercules starting this week.

     

    Regarding to the topic, I will try this asap and thank you so much.


  8. Is there a way to limit the spawn time for monsters on dead/bloddy branch? Like after the monster has been spawned, if it's not been hit for about 5mins. It'll automatically die or something like @killmonster2 for no drop. That's all. Thank you in advance.

    "I don't know if there's a related thread about this concern so please bear me if there's one already. (PS: I do the search)"

     


  9. 6 hours ago, AnnieRuru said:

    hmm ........ already 2 people getting the same error message

    I just tested on my test server, compile with visual studio 2019, no problem everything green though

    noviewon.png

     

    if you get this error does it means you also get disable view for whole server instead of individual player ?

    Hi mam annie. Sometimes, its happening and I'm not sure of that kind of behavior but the main thing is I kinda worried of those warning because it's too many and might cause of more exploits or something.


  10. 119994757_2183881825091092_8348352095742889442_n.png.dcb793656eb35b2b3ecc56f322422859.png

    Quote

    noview.c: In function ‘clif_send_helper’:
    noview.c:168:49: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_idle_unit *p = (CONST_PARAMETER struct packet_idle_unit *)RBUFP(buf, 0);
                                                     ^
    noview.c:169:50: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_idle_unit *p2 = (CONST_PARAMETER struct packet_idle_unit *)RBUFP(buf_new, 0);
                                                      ^
    noview.c:175:50: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_spawn_unit *p = (CONST_PARAMETER struct packet_spawn_unit *)RBUFP(buf, 0);
                                                      ^
    noview.c:176:51: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_spawn_unit *p2 = (CONST_PARAMETER struct packet_spawn_unit*)RBUFP(buf_new, 0);
                                                       ^
    noview.c:182:52: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_unit_walking *p = (CONST_PARAMETER struct packet_unit_walking *)RBUFP(buf, 0);
                                                        ^
    noview.c:183:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_unit_walking *p2 = (CONST_PARAMETER struct packet_unit_walking *)RBUFP(buf_new, 0);
                                                         ^
    noview.c:189:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_viewequip_ack *p = (CONST_PARAMETER struct packet_viewequip_ack *)RBUFP(buf, 0);
                                                         ^
    noview.c:190:54: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_viewequip_ack *p2 = (CONST_PARAMETER struct packet_viewequip_ack *)RBUFP(buf_new, 0);
                                                          ^
    noview.c: In function ‘clif_send_sub_hook’:
    noview.c:269:6: warning: variable ‘bool_’ set but not used [-Wunused-but-set-variable]
      int bool_;

    Is this normal to receive this warning? And is there any way to get rid of this?

     

×
×
  • Create New...

Important Information

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