Undeclared identifier HELP

04/03/2019 03:08 Ryandiffer9575#1
Hello everyone, I have a problem that takes my head for more than 2 hours
I fixed the undeclarer problem to identify, now I have to fix this:

d: \ v15 \ Flyff Repack (v15) (rev3.1) \ Source \ SRC \ _Common \ Mover.h (1804): fatal error C1070: mismatched #if / # endif peer in file d: \ v15 \ flyff repack (v15) (rev3.1) \ source \ src \ _common \ mover.h '

there are the yew endif at the beginning and at the end i do not understand where it can come from ..
Can you help me on this one? I'm going v15 in v16, so I add the 3rd class

But line in mover:

Code:
#ifdef __3RD_LEGEND16
#define MAX_SKILL_JOB	( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL + MAX_LEGEND_HERO_SKILL )
#else // __3RD_LEGEND16
#if __VER >= 10 // __LEGEND	//	10차 전승시스템	Neuz, World, Trans
#define MAX_SKILL_JOB	( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL )
#else //__LEGEND	//	10차 전승시스템	Neuz, World, Trans
#define MAX_SKILL_JOB	( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL )
#endif	//__LEGEND	//	10차 전승시스템	Neuz, World, Trans
#endif // __3RD_LEGEND16
Code:
#ifdef __3RD_LEGEND16
#define LEGEND_CLASS_LEGENDHERO	3
#endif // __3RD_LEGEND16
Code:
#if	__VER >= 16 //__3RD_LEGEND16
	BOOL			IsLegendHero();
#endif // __3RD_LEGEND16
I'm stuck, guys I'm looking for, I do not see ...
04/03/2019 08:12 Timelimits#2
Don't quote me on this but if you're working on a V15 source why are you pulling a greater than or equal to v16 function?

#if __VER >= 16 //__3RD_LEGEND16
BOOL IsLegendHero();
#endif // __3RD_LEGEND16

shouldn't this be

#ifdef __3RD_LEGEND16
BOOL IsLegendHero();
#endif

Edit
Yeah, I know you could simply change the working version but I also gather from the error you're re-declaring a #if not a #ifdef but do keep in mind I'm No C++'er Just pulling shit out of my ass...
04/03/2019 08:17 yasukomoonflyff#3
#ifdef __3RD_LEGEND16
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL + MAX_LEGEND_HERO_SKILL )
#else // __3RD_LEGEND16
#if __VER >= 10 // __LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL )
#else //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL )
#endif //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#endif // __3RD_LEGEND16

exactly the same problem here, with #if
04/03/2019 08:21 Timelimits#4
Quote:
Originally Posted by yasukomoonflyff View Post
#ifdef __3RD_LEGEND16
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL + MAX_LEGEND_HERO_SKILL )
#else // __3RD_LEGEND16
#if __VER >= 10 // __LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL + MAX_MASTER_SKILL + MAX_HERO_SKILL )
#else //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#define MAX_SKILL_JOB ( MAX_JOB_SKILL + MAX_EXPERT_SKILL + MAX_PRO_SKILL )
#endif //__LEGEND // 10차 전승시스템 Neuz, World, Trans
#endif // __3RD_LEGEND16

exactly the same problem here, with #if
That one should be fine.... even if it's not... #else won't allow that to run anyhow, but hell if I know.....
04/03/2019 13:25 Ryandiffer9575#5
Hello again, it still does not work, I have the same problem, what to do
04/03/2019 19:20 Timelimits#6
well if you're still having errors either re look over everything you've added or read the error code, look to see what line is pulling the error and check it out? did you provide us with the error line or just the parts you added?