Jump to content

scRO

Members
  • Posts

    8
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    EU
  • Server
    scRO
  • Github: Salfer13

Recent Profile Visitors

1330 profile views

scRO's Achievements

Santa Poring

Santa Poring (3/15)

  • First Post
  • Conversation Starter
  • Dedicated
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Good afternoon everyone. Can anyone tell me how to display hidden traps if there is a status on the character? static int skill_reveal_trap(struct block_list *bl, va_list ap) { TBL_SKILL *su = (TBL_SKILL*)bl; if (su->alive && su->group && su->hidden && skill_get_inf2(su->group->skill_id, INF2_ISTRAP)) { //Change look is not good enough, the client ignores it as an actual trap still. [Skotlex] //clif_changetraplook(bl, su->group->unit_id); su->hidden = false; skill_getareachar_skillunit_visibilty(su, AREA); return 1; } return 0; } Status: SC_INTRAVISION I tried adding this, but clearly I'm doing something wrong static int skill_reveal_trap(struct block_list *bl, va_list ap) { TBL_SKILL *su = (TBL_SKILL*)bl; status_change *tsc; tsc = status_get_sc(bl); if ((tsc->getSCE(SC_INTRAVISION) || (su->alive && su->group)) && su->hidden && skill_get_inf2(su->group->skill_id, INF2_ISTRAP)) { //Change look is not good enough, the client ignores it as an actual trap still. [Skotlex] //clif_changetraplook(bl, su->group->unit_id); su->hidden = false; skill_getareachar_skillunit_visibilty(su, AREA); return 1; } return 0; }
  2. scRO

    Freeze / Lag

    Good afternoon. I have already dealt with this problem. I came to the conclusion that the provider provided me with weaker processors than originally stated.
  3. scRO

    Freeze / Lag

    Thanks, I think the option with SQL is more likely
  4. scRO

    Freeze / Lag

    Good afternoon everyone. I encountered the following problem: Players and monsters periodically freeze, but at the moment of freezing, the monsters freeze in the same way as the players. CPU, network, RAM, SQL, do not show more than 5%, where should I look for the problem? VSP: 4 CPU 3.3 16 GB RAM 200mb/sec
  5. Good evening. You need to compile the project using visual studio. rAthena.sln 1. \rathena-master\src\config Try changing it to your version 2. try replacing the configs 3. When building the project, some data from the config and db is used 4. Administrator rights 5. antivirus program Perhaps some of this will help you
  6. The issue is resolved. In skill.cpp a list of weapons that cannot be broken is indicated int skill_break_equip(struct block_list *src, struct block_list *bl, unsigned short where, int rate, int flag) if (sd) { if (sd->bonus.unbreakable_equip) where &= ~sd->bonus.unbreakable_equip; if (sd->bonus.unbreakable) rate -= rate*sd->bonus.unbreakable/100; if (where&EQP_WEAPON) { switch (sd->status.weapon) { case W_FIST: //Bare fists should not break :P case W_1HAXE: case W_2HAXE: case W_MACE: // Axes and Maces can't be broken [DracoRPG] case W_2HMACE: case W_STAFF: case W_2HSTAFF: case W_BOOK: //Rods and Books can't be broken [Skotlex] case W_HUUMA: case W_DOUBLE_AA: // Axe usage during dual wield should also prevent breaking [Neutral] case W_DOUBLE_DA: case W_DOUBLE_SA: where &= ~EQP_WEAPON; } } }
  7. Good afternoon everyone, I encountered the following problem. Abilities/Skills/Cards cannot break weapons Even if you directly specify in the skill properties to break a weapon, it will break all equipment except the weapon. case SM_BASH: if( sd && skill_lv > 5 && pc_checkskill(sd,SM_FATALBLOW)>0 ){ //BaseChance gets multiplied with BaseLevel/50.0; 500/50 simplifies to 10 [Playtester] status_change_start(src,bl,SC_STUN,(skill_lv*10/4), skill_lv,0,0,0,skill_get_time2(skill_id,skill_lv),SCSTART_NONE); } skill_break_equip(src,src, EQP_WEAPON, 10000, BCT_SELF); skill_break_equip(src,src, EQP_ARMOR, 10000, BCT_SELF); break; What is written in skill_break_equip corresponds to the current version of rA /*========================================================================= Breaks equipment. On-non players causes the corresponding strip effect. - rate goes from 0 to 10000 (100.00%) - flag is a BCT_ flag to indicate which type of adjustment should be used (BCT_ENEMY/BCT_PARTY/BCT_SELF) are the valid values. --------------------------------------------------------------------------*/ int skill_break_equip(struct block_list *src, struct block_list *bl, unsigned short where, int rate, int flag) Can anyone tell me where to look for the problem? ==================================================== ADD I checked (break weapon) in the most recent version of rA. The same problem is observed Server: https://github.com/rathena/rathena (I don't know version) Client 20220303 Test on RE && next test on PRE-RE config set: equip_natural_break_rate: 10000 equip_self_break_rate: 100 equip_skill_break_rate: 100
  8. Hey, do you own a server?

×
×
  • Create New...