Jump to content
  • 0
Sign in to follow this  
dhaisuke

KOTH problem in patch

Question

Hi Guys I need help in KOTH after I patching there is an error

 

im using this patch

Index: battle.c===================================================================--- battle.c	(revision 16921)+++ battle.c	(working copy)@@ -5089,6 +5089,13 @@  	if( (s_bl = battle_get_master(src)) == NULL ) 		s_bl = src;+			if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {		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("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) )		return 0;	}  	if ( s_bl->type == BL_PC ) { 		switch( t_bl->type ) {Index: battle.h===================================================================--- battle.h	(revision 16921)+++ battle.h	(working copy)@@ -3,6 +3,7 @@  #ifndef _BATTLE_H_ #define _BATTLE_H_+#include "mapreg.h"  // state of a single attack attempt; used in flee/def penalty calculations when mobbed typedef enum damage_lv {

 

then after I recompile

battle.c: In function 'battle_check_target':battle.c:5830: warning: implicit declaration of function 'mapreg_readreg'battle.c:5830: warning: implicit declaration of function 'add_str'

 

 

Please help
 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.