Jump to content

Question

11 answers to this question

Recommended Posts

Posted

Have you patch the appropriate source with the provided patch script?
I can see few changes:

  1. 1 NPC Script
  2.  db/castle_db.txt
  3.  src/map/battle.c
  4.  src/map/battle.h

If you already patched the source code, did you re-compile?

Posted (edited)

You may want to post your battle_check_target function here if you want any help (Not all of it though).

 

Here's the source code im using

+ struct map_session_data *sd = BL_CAST(BL_PC, s_bl);
+ if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
+ ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) )
+ return 0;
+ }
+
Edited by Ginji
Posted

I clearly didn't ask for the code I saw on annie's patch.

 

I'm sorry i thought your asking on that since that's what im using..

((TBL_MOB*)target)->mob_id == 1288

for our current source, it's mob_id I guess.

 

How can i fixed this one? what should i do?

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