Jump to content

Recommended Posts

Posted

i got an error when compiling :( anyone can fix this ??

 

 
make[1]: Warning: File `skill.c' has modification time 5e+04 s in the future
        CC      skill.c
skill.c: In function 'hs_skill_delay_check':
skill.c:15475: warning: suggest parentheses around assignment used as truth value
skill.c:15484: warning: suggest parentheses around assignment used as truth value
skill.c:15497: warning: suggest parentheses around assignment used as truth value
skill.c: In function 'hs_flood_delay_check':
skill.c:15566: warning: format '%d' expects type 'int', but argument 5 has type 'int64'

Thank you @Kichi Nice Work

Some line got error i fixed already

 

Zohan Source Code Combine  Hasip Souce code Fixed  /ic

 
make[1]: Warning: File `skill.c' has modification time 5e+04 s in the future
        CC      skill.c
skill.c: In function 'hs_skill_delay_check':
skill.c:15475: warning: suggest parentheses around assignment used as truth value
skill.c:15484: warning: suggest parentheses around assignment used as truth value
skill.c:15497: warning: suggest parentheses around assignment used as truth value
skill.c: In function 'hs_flood_delay_check':
skill.c:15566: warning: format '%d' expects type 'int', but argument 5 has type 'int64'

can you fix this ??
Posted (edited)

How to add name skill in report?

sprintf(message_to_gm, "[Hansip] : Spam Detected!  '%s' probably use third party. Constantly flood %d times, tick %d", sd->status.name,  sd->spam_count, sum);

and im found bug after add this source

CMIIW

 

use script trunk/npc/re/jobs/novice.txt

and talk with :

new_1-3,96,30,4    duplicate(NvBradeB)    Brade#nv1b    733

after heal map server disconnect

npcskill "AL_HEAL",11,99,60;
 percentheal 0,100;

thank u /no1

Edited by Akbare
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 3 weeks later...
  • 1 month later...
  • 3 months later...
  • 1 month later...
Posted

How to manually apply this?

2. Apply manual "rA - Hansip Protection.diff" to your src.

I don't have any idea on how to do that.

Also is 2012-04-10 supported?

Thank you in advance.

  • 2 months later...
  • 1 month later...
  • 2 weeks later...
  • 4 months later...
  • 2 weeks later...
  • 3 weeks later...
Posted (edited)

For anyone having bug on homunculus skill try this

in skill.c find this

*************************************************

// Hansip Protection [Kichi]
    if(battle_config.hansip_protection)
        if (sd->state.hs_skill_check_double){
           time = hs_skill_delay_penalty(skill_id);
           sd->state.hs_skill_check_double = 0 ;
       }

**************************************************

replace to

**************************************************

// Hansip Protection [Kichi]

struct homun_data *pilipindev = BL_CAST(BL_HOM, bl);

if (battle_config.hansip_protection)
        {
            if (pilipindev){
                time = hs_skill_delay_penalty(skill_id);
            }
            else
            {
                if (sd->state.hs_skill_check_double){
                    time = hs_skill_delay_penalty(skill_id);
                    sd->state.hs_skill_check_double = 0;
                }
            }
        }

**************************************************

this will fix the issue.

Edited by stealth62
  • 2 months later...
  • 2 months later...
  • 1 month later...

Join the conversation

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

Guest
Reply to this topic...

×   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...