Jump to content
  • 0

NPC buff poem of bragis and service for you


Question

Posted

i use those script for auto buff poem of bragis and service for you
but when a player cast apple of idun, and walk to skill area
it will get damage, and the log show an error

this is the log :
 

Quote

(11/30/2020 00:21:14) [ Warning ] : skill_castend_damage_id: Unknown skill used:315
(11/30/2020 00:22:45) [ Warning ] : skill_castend_damage_id: Unknown skill used:323
(11/30/2020 00:24:46) [ Warning ] : skill_castend_damage_id: Unknown skill used:315
(11/30/2020 00:26:27) [ Warning ] : skill_castend_damage_id: Unknown skill used:323
(11/30/2020 00:28:20) [ Error ] : skill_dance_switch: Attempted to write to a full backup (skill_id=317, skill_lv=1, src_id=110329070).
(11/30/2020 00:28:36) [ Error ] : skill_dance_switch: Attempted to write to a full backup (skill_id=317, skill_lv=1, src_id=110329070).
(11/30/2020 00:28:36) [ Error ] : skill_dance_switch: Attempted to write to a full backup (skill_id=317, skill_lv=1, src_id=110329070).
(11/30/2020 00:29:00) [ Error ] : skill_dance_switch: Attempted to write to a full backup (skill_id=317, skill_lv=1, src_id=110329070).
(11/30/2020 00:30:39) [ Error ] : skill_dance_switch: Attempted to write to a full backup (skill_id=317, skill_lv=1, src_id=110329070).
(11/30/2020 00:30:39) [ Error ] : skill_dance_switch: Attempted to write to a full backup (skill_id=317, skill_lv=1, src_id=110329070).

can someone help me?
thank you in advance

service.txt bragis.txt

2 answers to this question

Recommended Posts

  • 1
Posted

in 

int skill_unit_move_sub(struct block_list* bl, va_list ap)

search for:

 

//bool dissonance;
//dissonance = skill_dance_switch(unit, 0);

if( group->interval != -1 && !(skill_get_unit_flag(skill_id)&UF_DUALMODE) && skill_id != BD_LULLABY ) //Lullaby is the exception, bugreport:411
    {    //Non-dualmode unit skills with a timer don't trigger when walking, so just return
        if( dissonance ) {
           skill_dance_switch(unit, 1);
            skill_unit_onleft(skill_unit_onout(unit,target,tick),target,tick); //we placed a dissonance, let's update
        }
        return 0;
    }

insert:
 

 if( group->interval != -1 && !skill_get_unit_flag(skill_id, UF_DUALMODE) && skill_id != BD_LULLABY ) //Lullaby is the exception, bugreport:411
    {    //Non-dualmode unit skills with a timer don't trigger when walking, so just return
        if( dissonance ) skill_dance_switch(unit, 1);
        return 0;
    }

or:

 

if( group->interval != -1 && !(skill_get_unit_flag(skill_id)&UF_DUALMODE) && skill_id != BD_LULLABY ) //Lullaby is the exception, bugreport:411
    {    //Non-dualmode unit skills with a timer don't trigger when walking, so just return
       // if( dissonance ) {
       //    skill_dance_switch(unit, 1);
       //     skill_unit_onleft(skill_unit_onout(unit,target,tick),target,tick); //we placed a dissonance, let's update
       // }
        return 0;
    }

 

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...