Jump to content

Vykimo

Members
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    21

Community Answers

  1. Vykimo's post in Arealoot not reading splash from Greed was marked as the answer   
    Here is my solution.
    In your function :
    if (pc_cant_act(sd)) break; if(sd->state.arealoot == 1 && map_foreachinallrange(skill_greed, &sd->bl, 5, BL_ITEM, &sd->bl) == 0) return; else if (!pc_takeitem(sd, fitem)) break; In pc.cpp
    Change this :
    if (!check_distance_bl(&fitem->bl, &sd->bl, 2) && sd->ud.skill_id!=BS_GREED) return false; // Distance is too far to this :
    if (sd->state.arealoot == 0 && (!check_distance_bl(&fitem->bl, &sd->bl, 2) && sd->ud.skill_id!=BS_GREED)) return false; // Distance is too far  
  2. Vykimo's post in I need to add the @norecall command on my server was marked as the answer   
    Here : https://rathena.org/board/topic/117324-release-norecall-command/
  3. Vykimo's post in htlm/php based web was marked as the answer   
    It's way more complex… 
    https://www.google.com/search?source=hp&ei=74_VW56QI8iSa7iAiNAI&q=registration+form+php&oq=registration+form+php&gs_l=psy-ab.3..0l4j0i203k1j0l2j0i203k1j0l2.954.2767.0.2933.23.8.0.0.0.0.471.471.4-1.1.0....0...1c.1.64.psy-ab..22.1.469.0...0.u7hnBI2yUfA
    is a good start… but you should use fluxcp or one another CP if you've no experience in webcoding. You've many alternatives here : https://rathena.org/board/forum/117-web-releases/
  4. Vykimo's post in Long range reduce magic damage was marked as the answer   
    Yes,  it should work now.
    Explaination :
    #ifndef RENEWAL //It was discovered that ranged defense also counts vs magic! [Skotlex] if( flag&BF_SHORT ) cardfix = cardfix * (100 - tsd->bonus.near_attack_def_rate) / 100; else cardfix = cardfix * (100 - tsd->bonus.long_attack_def_rate) / 100; #endif as you can see, long_attack_def_rate is only taken in account in magic atk when RENEWAL is set.
    If you want to be sure, you can delete this all part shown above.
     
  5. Vykimo's post in Web templates coding was marked as the answer   
    I don't see the problem ... If you modify psd/png file, it doesn't matter for your website...
  6. Vykimo's post in Where can i add trigger for my custom label? (OnUseSkillEvent) was marked as the answer   
    Hi,
    Go in npc.cpp :
    after that :
    case NPCE_LOGIN: return script_config.login_event_name; Add that :
    case NPCE_USESKILL: return script_config.useskill_event_name;  
    Go in skill.cpp :
    after that :
    if( sd && sd->autobonus3[0].rate ) { for( i = 0; i < ARRAYLENGTH(sd->autobonus3); i++ ) { if( rnd()%1000 >= sd->autobonus3[i].rate ) continue; if( sd->autobonus3[i].atk_type != skill_id ) continue; pc_exeautobonus(sd,&sd->autobonus3[i]); } } add :
    npc_script_event(sd, NPCE_USESKILL);  
     
    It should be enough.
  7. Vykimo's post in Cutin Last Stop Image was marked as the answer   
    Rather easy...
     
    PS/ I added a randomisation of your cutin 'coz your script above is false, if cutin name are like hb501...
    .@last_item = rand(501,510); for(.@i=1;.@i<30;.@i++) { .@id = rand(501,510); cutin "hb"+.@id,4; sleep2 100; } cutin "hb"+.@last_item,4; getitem .@last_item,1;
  8. Vykimo's post in if(checkquest(.@i)) erasequest .@i; was marked as the answer   
    is better
  9. Vykimo's post in GHOST textures or BLANK ground.... was marked as the answer   
    Solved by raising all my map items (models/ground/effects) higher than previously
×
×
  • Create New...